html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

:root {
    --main-color: #414957;   
    --aсcent-color: #E6E7E9;
    --stroke-color: #F1F4FF;
}

a {
    text-decoration: none;
    color: var(--main-color);
}

body {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--main-color);
}

h3 {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
}

.header {
    height: 100vh;
    width: 100%;
    background-image: url(/assets/img/header_img.jpg);
    background-size: cover;
    background-position: 0%;
    background-position: bottom;
    max-height: 1200px;
    max-width: 1800px;
    margin: auto auto;
}

.header_inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header_inner__nav {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_inner__nav__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: end;
}

.header_inner__nav__contacts__line {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header_inner__nav__phone {
    font-weight: 400;
    font-size: 22px;
}

.header_inner__nav__contacts__booking {
    font-weight: 100;
    text-decoration: underline;
}

.header_inner__map {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header_inner__map_img {
    width: 100%;
    opacity: 0.5;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    margin-bottom: 62px;
}

.main_title {
    font-size: 68px;
    font-size: 4.3em;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 120%;
}

.main_tittle__size {
    font-size: 30px;
}

.main_title__color {
    color: var(--aсcent-color);
}

.route_list {
    display: flex;
    gap: 20px;
    overflow: scroll;
}

.route_item {
    width: 400px;
    min-width: 320px;
    border: 1px solid var(--stroke-color);
    border-radius: 9px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rout_item_img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 12px;
    max-height: 266px;
    background-size: cover;
}

.rout_item__subtitle {
    text-transform: uppercase;
    font-weight: 600;
    color: #BAC0CB;
    font-size: 12px;
}

.rout_item__title {
    margin-bottom: 6px;
}

.rout_items__details {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 100;
}


.rout_items__details__price {
    font-weight: 600;
}

.rout_items__details__price > span {
    font-weight: 100;
    color:#BAC0CB ;
}

.booking_button {
    text-align: center;
    background: var(--main-color);
    color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    font-style: 18px;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.5s;
    cursor: pointer;
    display: none;
}

.booking_button:hover {
    background: #6b7481;
}

.route_item > .booking_button {
    margin-top: 12px;
}

.booking {
    display: flex;
    gap: 40px;
}

.booking-block {
    width: 100%;
}

.booking-title {
    font-size: 2.5em;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 26px;
}

.booking__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking__form-item {
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.bookin__form-item__name {
    font-size: 14px;
    text-transform: uppercase;
    color: #BAC0CB;
    font-weight: 700;
}

.booking_form-item__input {
    padding: 12px 12px;
    border: 1px solid var(--aсcent-color);
    border-radius: 6px;
    font-size: 18px;
}

.booking__form__button {
    text-align: center;
    background: var(--main-color);
    color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.5s;
    cursor: pointer;
}

.faq {
    display: flex;
    /* flex-direction: column; */
    gap: 26px;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: 124px;
}

.faq__title-block {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.faq__title {
    font-size: 72px;
    font-weight: 800;
    text-align: center;
}

.faq__line {
    background: #E6E7E9;
    width: 300px;
    height: 9px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.faq__subtitle {
    margin-bottom: 22px;
    text-align: center;
    line-height: 120%;
}

.faq__inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 600px;
}

.faq__inner__item__title {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 10px;
    line-height: 120%;
}

.faq__inner__item__descr {
    line-height: 120%;
}

.footer {
    background: var(--main-color);
    margin-bottom: 0;
}

.footer-inner {
    padding: 62px 20px;
    display: flex;
    gap: 32px;
    justify-content: space-between;
}

.footer__contacts {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__contacts__title {
    font-weight: 100;
    /* text-transform: uppercase; */
}

.footer__contacts__item {
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.footer__contacts__icons-title {
    font-weight: 100;
    margin-bottom: 6px;
    margin-top: 10px;
}

.footer__corp {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__corp__title {
    color: #fff;
    font-weight: 100;   
}

.footer__corp__item {
    color: #fff;
}

.footer__copiright__item {
    color: #fff;
    font-size: 10px;
}

.footer__copiright__madein {
    color: #fff;
    font-size: 10px;
}

.footer__copiright__madein-span {
    color: #fff;
    font-weight: 700;
}

.footer__copiright {
    display: flex;
    flex-direction: column;
    /* justify-content: end; */
    gap: 12px;
}


@media (max-width: 480px) {


    .header {
        height: 280px;
        width: auto;
        background-size: cover;
        background-position: top;
        margin: auto auto;
    }

    .header_inner__nav {
        margin-top: 12px;
    }

    .logo {
        max-width:120px;
    }
    .header_inner__nav__phone {
        font-size: 16px;
    }

    .header_inner__nav__icons > * > * {
        height: 22px;
    }

    .header_inner__nav__contacts__booking {
        font-size: 14px;
    }

    .main_title {
        font-size: 2.1em;
        text-align: center;
        margin-top: 32px;
    }

    .main_tittle__size {
        font-size: 16px;
        margin-right: 20%;
        margin-left: 20%;
        padding-bottom: 1px;
    }

    .route_list::-webkit-scrollbar {
        display: none; 
    }

    .route_item {
        min-width: 320px;
    }

    .booking {
        flex-wrap: wrap;
    }

    .booking-title {
        font-size: 36px;
    }

    .booking__img {
        width: 100%;
    }

    .faq {
        flex-direction: column;
    }

    .footer-inner {
        flex-wrap: wrap;
        flex-direction: column;
    }
 

}