/* CSS indexPage
1. Reset CSS and utilites 
2. Header         
3. Navigation
4. First screen
5. News Section
6. Services Section
7. Testimonials
8. Callback Section
9. FAQ
10. Team
11. Footer

*/

/* 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-weight: 300;
    font-size: 32px;
    line-height: 40px;
}
.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-bg-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: 25px;
    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: 16px;
    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 */
#first{
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}


.h1__section{
    padding-top: 40px;
    padding-bottom: 40px;
    
}
.h1__section__container{
    justify-content: center;
    align-items: center;
}

.h1__title{
    text-align: center;
    padding-bottom: 32px;
    color: var(--main-color, #001A34);
}
.main__button{
    width: 100%;
    height: 48px;
}
.btn{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color:#ffffff;
    background: var(--main-color);
    border-radius: 4px;
    padding: 12px 32px;
    text-align: center;
}
.main__text{

    font-size: 18px;
    line-height: 23px;

}
.text{
    color: var(--main-text-color);
}
.subtitle__text{
    padding-bottom: 40px;
    max-width: 100%;
    text-align: center;
    /* max-width: 41.08%; */
}

.d-flex{
    display: flex;
}
.fd-column{
    flex-direction: column;
}
.accent-color{
    background: var(--second-bg-color);
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 1240px) { 
    .h1__section {
        padding-bottom: 85px;
    }
    .subtitle__text{
        padding-bottom: 40px;
        max-width: 41.08%;
    }
    .main__button {
        width: 200px;
        
    }
}

/* End of 4. First section */


/* 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 */


/* Autopark */
.autopark__section{
    padding-top: 40px;
    padding-bottom: 80px;
}
.autopark__container{
    justify-content: space-between;
    grid-gap:40px;
    align-items: flex-start;
    flex-direction: column-reverse;
    
}

.autopark__content__h2{
    color: var(--main-color, #001A34);
    padding-bottom: 24px; 
}
.autopark__picture img{
    max-width: auto;
    min-height: 360px;
    
}
.dotted{
    /*padding-top: 32px;*/
    margin-left: 14px;
}
ul.dotted li::before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: var(--main-text-color);
    font-weight: bold; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
}
.autopark__content{
    max-width: 100%;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 1240px) {
    .autopark__container{
        flex-direction: row;
        padding: 0 16px;
        margin: 0 auto;
        
    }
    .autopark__picture img{
        object-fit: cover;
    }
    .autopark__content{
        max-width: 41%;
        
    }
    .autopark__section{
        padding: 188px 0;
    }

    .main__text{
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
    }
    .dotted{
        margin-left: 16px;
    }
}


/* Standarts */

.standarts__section{
    padding:188px 0;
}
.standarts__title{
    padding-bottom: 80px;
    color: var(--main-color, #001A34);
}
.standarts__items{
    /* display: grid;
    grid-template-columns: repeat(auto-fit,minmax(448px, 1fr));
    gap: 40px; */
    flex-direction: row;
    justify-content: space-between;
    grid-gap: 40px;
}
.standarts__item{
    width: 31%;
    flex-flow: wrap;
    background: #F5F6F7;
    border-radius: 16px;
    align-items: center;
    flex-grow: 1;
    padding: 24px 30px 40px;
    gap: 32px;
}
.standarts__item-picture{
    padding-bottom: 32px;
}
.standarts__item-picture:last-child{
    align-self: center;
}
.standarts__item-picture:not(:last-child){
    align-self: center;
}
.standarts__item-picture img{
    max-width: 281.19px;
    max-height: 154px;

}

.h4__standarts__heading{
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 31px;
    padding-bottom: 8px;
    color: var(--main-color, #001A34);
}
.h4__main__text{
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    opacity: 0.6;
}
.h4__main__text li > span{
    font-weight: 700;
}
.standarts__item-button{
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-color);
    border: 1px solid rgba(0, 26, 52, 0.24);
    border-radius: 4px;
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.standarts__item-button:hover{
    background: var(--main-color);
    color: var(--reverse-main-color);
    transition: all .5s ease;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 1240px) {
    .standarts__section {
        padding: 80px 0;
    }
    .standarts__title {
        padding-bottom:24px;
    }
    .h4__standarts__heading{
        font-weight: 700;
        font-size: 20px;
        line-height: 28px;
    }
    .standarts__items{
        flex-direction: column;
    }
    .standarts__item{
        width: 100%;
        padding: 24px 16px 40px;
    }
    .h4__main__text{
        font-size: 16px;
        line-height: 24px;
    }
    .h4__main__text li > span {
        font-weight: 500;
    }
}


.delivery__section{
    padding: 188px 0;
}
.delivery__description{
    max-width: 1000px;
    padding-bottom: 32px;
}
.delivery__title{
    color: var(--main-color, #001A34);
    max-width: 585px;
    padding-bottom: 24px;
}

.delivery__countries{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: minmax(80px, auto); 
}

.delivery__country__svg{
   display: flex;
   flex-direction: row;
   grid-gap:10px;
}
.delivery__country__name{
    align-self: center;
    opacity: 0.6;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 1240px) {
    .delivery__section{
        padding: 80px 0;
    }
    .delivery__container{
        flex-direction: column;
        justify-content: space-between;
        gap:40px;
    }
    .delivery__countries {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(60px, auto);
        grid-gap: 18px;
    }
    .delivery__country__svg{
        flex-direction: column;
    }
}
/* FLAGS */
.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    align-self: center;
  }



/* 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(--second-bg-color);
}

footer {
    background-color: var(--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(--reverse-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;
}

@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;
    }
    h2.wp-block-heading{
    font-weight: 300;
    font-size: 46px;
    line-height: 60px;
    
}
}
/* End of 11. Footer */


h2.wp-block-heading{
    font-weight: 300;
    font-size: 28px;
    line-height: 40px;
    color: var(--main-color);
}