html{
    box-sizing: border-box;
}

*,*::after, *::before{
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

html,
body{
    height: 100%;
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
    color: inherit;
}

.wrapper{
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
}


.container{
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 10px;
}

body{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.header{
    background-color: #151515;
}

.header-main{
   background-color: transparent;
   position: absolute;
   z-index: 20;
   left: 0;
   right: 0;
}

.header_inner{
    padding-top: 40px;
    padding-bottom: 45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.menu_list{
    display: flex;
    gap: 35px;
}

.menu_list-link{
    color: white;
    text-transform: uppercase;
    font-weight: 700;
}

.menu_list-link--active{
    color: #0066FF;
}

.footer{
    background-color: #151515;
    padding: 50px 0 32px;
    color: white;
}

.footer_menu{
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

.footer_menu-list{
    max-width: 250px;
}

.footer_menu-title{
    font-size: 24px;
    font-weight: 700;
}

.footer_menu-item + .footer_menu-item{
    padding-top: 20px;
}

.app{
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 52px;
}

.footer_copy,
.copy_nav{
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.copy_nav-list{
   display: flex;
   justify-content: center;
   gap: 40px;
}

.main{
    flex-grow: 1;
}

.top{
    color: white;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 50px;
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
}


.title{
    padding-bottom: 100px;
    font-size: 96px;
    font-weight: 700;
}

.top_link {
    background-color: #151515;
    padding: 23px;
    max-width: 430px;
    width: 100%;
    display: inline-block;
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 700;
    border: 1px solid white;
    color: white; 
    text-align: center; 
}


.swiper{
    width: 100%;
    height: 100vh; 
}

.swiper-slide {
    background-size: cover; 
    background-position: center ;
    background-repeat: no-repeat;
    height: 100vh;
    
}

.swiper-pagination-bullet{
    width: 120px;
    height: 3px;
    background-color: #151515;
    border-radius: 0;
    
}

.swiper-pagination-bullet-active{
    height: 3px;
    background-color: white;
    margin: 0 15px !important;
}

.why-lease{
    padding: 150px 0;
}

.section-title{
    margin-bottom: 50px;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
}


.why-lease_list{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    text-align: center;
}

.why-lease_item-img{
 margin-bottom: 30px;
}

.why-lease_item-title{
    margin-bottom: 30px;
    font-weight: 700;
}

.why-lease_item-text{
    text-align: left;
}

.how-does{
    padding-bottom: 150px;
}

.how-does_inner{
    max-width: 600px;
    margin: 0 auto;
}

.how-does_title{
    font-size: 24px;
    font-weight: 700;
    padding-top: 50px;
}

.how-does_list{
    padding: 50px 0 70px;
    counter-reset: myCounter;
}

.how-does_item{
    list-style-type: none;
    width: 270px;
    position: relative;
    margin-left: auto;
    padding-left: 240px;
    box-sizing:content-box;
    padding: 19px 0 19px 240px;
    min-height: 63px;
}

.how-does_item + .how-does_item{
    margin-top: 40px;
}

.how-does_item::before{
    counter-increment: myCounter;
    content: counter(myCounter);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    font-weight: 700;
    background-color: #0066FF;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    color: white;
    position: absolute;
    left: 0;
    top: 0;
}

.video{
    padding-bottom: 150px;
}

.video_title{
    margin-bottom: 20px;
}

.video_text{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.video_content{
    margin: 0 auto;
    display: block;
}

.important{
    padding-bottom: 150px;
}

.important_title{
    margin-bottom: 20px;
}

.important_text{
    margin: 0 auto 50px;
    width: 100%;
}

.important_list{
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.important_item-img{
    margin-bottom: 20px;
}

.contacts{
    padding: 100px 0 15px;
}

.contacts_title{
    margin-bottom: 20px;
}

.contacts-text{
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 50px;
    padding: 0 100px;
}

form{
    max-width: 580px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form_input{
    width: 270px;
    padding: 18px 20px;
    display: inline-block;
    border: 1px solid #0066FF;
    margin-bottom: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    
}

.form_input::placeholder,
.form_textarea::placeholder{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    opacity: 0.5;
}

.form_textarea{
    width: 100%;
    resize: none;
    padding: 28px 20px;
    height: 290px;
    border: 1px solid #0066FF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    margin-bottom: 50px;
}

.form-btn{
    text-transform: uppercase;
    color: white;
    background-color: #151515;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 13px 61px;
    margin: 0 auto;
}

.blog{
    margin-bottom: 150px;
}

.blog_items{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 70px;
}

.blog_item{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blog_item-img{
    margin-bottom: 30px;
    width: 100%;
}

.blog_item-title{
    flex-basis: 446px;
    font-size: 24px;
    font-weight: 700;
}
 
.blog_item-link{
    color: white;
    background-color: #0066FF;
    padding: 4px 20px;
}

.showmore_link{
    text-transform: uppercase;
    background-color:#151515;
    padding: 13px;
    color: white;
    width: 225px;
    margin: 0 auto;
    text-align: center;
    display: block;
}

.choose{
    padding: 150px 0;
}

.tabs_btn{
    padding: 0 150px 100px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.tabs_btn-item{
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background-color: transparent;
    padding: 0;
    margin-bottom: 50px;
}

.tabs_btn-item--active{
    color: #0066FF;
}

.tabs_content-item{
    display: none;
    grid-template-columns: repeat(4, 4fr);
    gap: 100px 40px;
    margin-bottom: 50px;
}

.tabs_content-item.tabs_content-item--active{
    display: grid;
}

.card{
    text-align: center;
}

.card-content{
    padding: 0 5px;
    border: 1px solid #0066FF;
    border-top: 0;
}

.card-img{
    display: block;
    width: 100%}


.card-title{
    padding-top: 20px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-text{
    margin-bottom: 20px;
}

.card-price{
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 24px;
}

.card-link{
    display: block;
    color: #0066FF;
    border: 1px solid #0066FF;
    border-top: 0;
}


.menu_btn{
    width: 30px;
    height: 2cap;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: none;
}

.menu_btn span{
    height: 2px;
    background-color: #fff;
    width: 100%;
}



@media (max-width: 1180px){
     .important_list{
        gap: 30px 20px;
     }

     .important_item-img{
        width: 100%;
     }

     .tabs_content-item{
        grid-template-columns: repeat(3, 1fr);
    }

    
}

@media (max-width: 1040px){
    .video_content{
        width: 100%;
    }

    .tabs_btn{
        padding: 0 0 50px; 
        gap: 20px;
    }
}

@media (max-width: 860px){
    .menu_btn{
        display: flex;
    }

    .menu_btn,
    .logo{
        position: relative;
        z-index: 10;
    }

    .menu_list{
        position: absolute;
        z-index: 5;
        background-color: #151515;
        flex-direction: column;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding-top: 200px;
        height: 100vh;
        align-items: center;
        transform: translateY(-100%);
        transition: transform .3s;
    }

    .menu_list.menu_list--active{
        transform: translateY(0%);
    }

    .why-lease_list{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;

    }
    .important_list{
        grid-template-columns: repeat(2, 1fr);
     }

     .tabs_content-item{
        grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 768px){
    .title{
        font-size: 70px;
    }
    .top_link{
        background-color: #151515;
        padding: 16px;
        min-width: 200px;
        width: 100%;
        display: inline-block;
        text-transform: uppercase;
        font-size: 28px;
        font-weight: 700;
    }

    .swiper-pagination-bullet{
        width: 60px;
    }

    .swiper-pagination-bullet--active{
        height: 4px;
    }

      .how-does_inner {
        max-width: 90%;
    }

    .how-does_item {
        width: 100%;
        padding-left: 0;
        padding-top: 130px; 
        margin-left: 0;
        text-align: center;
        min-height: auto;
    }

    .how-does_item::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
    .video{
        padding-bottom: 50px;
    }

    .video_content{
        height: 400px;
    }
    .footer_menu{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 650px){
     .tabs_content-item{
        grid-template-columns: repeat(1, 1fr);
    }

     .tabs_btn-item{
         font-size: 18px;
    }

    .blog_items{
        grid-template-columns: repeat(1, 1fr);
    }

    .contacts{
        padding: 50px 0;
    }

    .form_input{
        width: 100%;
        margin-bottom: 30px;
    }

    .contacts-text{
        padding: 0;
    }

}

@media (max-width: 540px){
    .title{
        font-size: 50px;
    }

    .top_link{
        background-color: #151515;
        padding: 15px;
        max-width: 20px;
        width: 100%;
        display: inline-block;
        text-transform: uppercase;
        font-size: 36px;
        font-weight: 700;
        border: 1px solid white;
        color: white; 
        text-align: center; 
        font-size: 10px;
    }

    .swiper-pagination-bullets.swiper-pagination-horizontal.swiper-pagination-bullet{
        margin: 0 10px;
    }

    .swiper-pagination-bullet{
        width: 35px;
    }

    .how-does_list{
        grid-template-columns:repeat(1, 1fr);
    }

    .why-lease{
        padding-top: 50px;
    }

    .section-title{
        font-size: 34px;
    }

    .how_does-list{
        padding: 30px 0 40px;
    }

    .how-does{
        padding-bottom: 50px;
    }

    .how_does-item{
        padding: 65px 0 19px 0;
        margin:0 auto;
    }

    .important_list{
        grid-template-columns: repeat(1, 1fr);
    }

    .app,
    .copy_nav-list{
        flex-direction: column;
        align-items: center;
    }

    .copy_nav-list{
        gap: 20px;
    }
    
    .blog_item-title{
        margin-bottom: 10px;
    }

    .blog_item-link{
        margin-left: auto;
    }


    .tabs_btn{
        flex-direction: column;
    }

    .choose{
        padding: 50px 0;
    }

    .tabs_content-item{
        gap: 40px;
    }

    .blog{
        padding-bottom: 50px;
    }
}