@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Montserrat:wght@500&display=swap');

*,
::before,
::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* ============================== */

.wrapper {
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

[class*="__container"] {
    max-width: 77rem;
    margin: 0 auto;
    padding: 0 1rem;
}

html,
body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 150%;
}

.main {
    flex: 1 1 auto;
}

.main__title {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    color: #192252;
    line-height: 150%;
}

.main__title:not(:last-child) {
    margin-bottom: 1.5rem;
}

.main__subtitle {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 1.5rem;
    color: #000000;
}

.main__subtitle:not(:last-child) {
    margin-bottom: 1rem;
}

.main__text {
    color: #848FAC;
    font-size: calc(16px + (18 - 16) * ((100vw - 767px) / (1200 - 767)));
}

.main__text:not(:last-child) {
    margin-bottom: 2rem;
}

/* ==========Header========== */

.header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 50;
}

.header__container {
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    margin-bottom: -7px;
}

.menu__list {
    display: flex;
}

.menu__item:not(:last-child) {
    margin-right: 2rem;
}

.menu__link {
    font-weight: 500;
    font-size: 1rem;
    line-height: 119%;
    color: #192252;
    position: relative;
    transition: .3s ease;
}

.menu__link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #0E1734;
    bottom: -5px;
    left: 0;
    transition: all .3s ease-in;
}

.menu__link:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    font-weight: 500;
    font-size: 1rem;
    line-height: 119%;
    color: #fff;

    padding: 1rem 2rem;
    background-color: #0E1734;
    border-radius: 0.25rem;

    transition: .3s ease;
}

.btn:hover {
    background-color: #102053;
}

.header__btn {
    padding: 0.7rem 0.7rem;
}

.header__burger {
    display: none;
}

@media (max-width: 767.98px) {
    .header__container {
        height: 4rem;
    }

    .header .header__container {
        padding: 0 0.5rem;
    }

    .header {
        position: fixed;
    }

    .header::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #fff;
        top: 0;
        left: 0;
        z-index: 2;
    }

    .header__logo {
        position: relative;
        z-index: 10;
    }

    .header__button {
        position: relative;
        z-index: 10;
        margin: 0 1rem 0 auto;
    }

    .header__menu {
        position: fixed;
        width: 100%;
        height: 100%;
        top: -100%;
        left: 0;
        background-color: #fff;
        overflow: auto;
        transition: .3s ease;
    }

    .header__menu.active {
        top: 0;
    }

    .menu__list {
        flex-direction: column;
        align-items: center;
        padding: 5rem 0 2rem;
    }

    .menu__item {
        margin: 1rem 0;
    }

    .menu__item:not(:last-child) {
        margin-right: 0;
    }

    .menu__link {
        font-size: 1.5rem;
    }

    .header__burger {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 10;
    }

    .header__burger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #000000;
        left: 0;
        top: 9px;
        transition: .3s ease;
    }

    .header__burger.active span {
        transform: scale(0);
    }

    .header__burger::before,
    .header__burger::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #000000;
        left: 0;
        transition: .3s ease;
    }

    .header__burger::before {
        top: 0;
    }

    .header__burger::after {
        bottom: 0;
    }

    .header__burger.active::before {
        top: 9px;
        transform: rotate(-45deg);
    }

    .header__burger.active::after {
        bottom: 9px;
        transform: rotate(45deg);
    }

    body.lock {
        overflow: hidden;
    }
}

/* ==========Intro========== */

.intro__container {
    margin-top: 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.intro__content {
    flex: 0 1 49%;
}

.intro__title {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: calc(40px + (48 - 40) * ((100vw - 767px) / (1200 - 767)));
    letter-spacing: -0.01em;
    line-height: 150%;
    color: #192252;
}

.intro__title:not(:last-child) {
    margin-bottom: 1.5rem;
}

.intro__media {
    flex: 0 1 50%;
    text-align: center;
}

.intro__media img {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .intro__container {
        margin-top: 5rem;
        flex-direction: column;
    }

    .intro__media {
        margin-top: 1rem;
        text-align: center;
    }

    .intro__media img {
        max-width: 80%;
    }
}

/* ==========Info========== */

.info__container {
    margin-top: 10rem;
}

.info__block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info__block:not(:last-child) {
    margin-bottom: 2rem;
}

.info__block:nth-child(2n) .info__media {
    order: 2;
}

.info__block:nth-child(2n) .info__content {
    order: 1;
}

.info__media {
    flex: 0 1 35%;
}

.info__media img {
    max-width: 100%;
}

.info__content {
    flex: 0 1 50%;
}

@media (max-width: 767.98px) {
    .info__container {
        margin-top: 4rem;
    }

    .info__block {
        flex-direction: column-reverse;
    }

    .info__block:nth-child(2n) {
        flex-direction: column;
    }

    .info__title {
        font-size: calc(30px + (36 - 30) * ((100vw - 320px) / (767 - 320)));
    }

    .info__media {
        margin-top: 1rem;
        text-align: center;
    }

    .info__media img {
        max-width: 60%;
    }
}

/* ==========Rooms========== */

.rooms__container {
    margin-top: 8rem;
}

.rooms__top {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 6rem;
}

.rooms__top:not(:last-child) {
    margin-bottom: 6rem;
}

.rooms__blocks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.room__block {
    max-width: 20rem;
}

.room__block:not(:last-child) {
    margin-bottom: 1.5rem;
    margin-right: 1.4rem;
}

.room__media {
    text-align: center;
}

.room__media:not(:last-child) {
    margin-bottom: 2rem;
}

.room__media img {
    max-width: 100%;
    border-radius: 0.25rem;
}

.room__btn {
    color: #424F7B;
    position: relative;
    padding-right: 3rem;
    transition: .3s ease;
}

.room__btn:hover {
    text-shadow: 1px 0 0 currentColor;
}

.room__btn::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    right: 0;
    top: 60%;
    transform: translate(0, -50%);
    background: url("../img/rooms/arrow-r.svg") no-repeat center;
}

@media (max-width: 767.98px) {
    .rooms__container {
        margin-top: 3rem;
    }

    .rooms__top:not(:last-child) {
        margin-bottom: 2.5rem;
    }

    .room__block {
        max-width: 15rem;
    }
}

/* ==========Journey========== */

.journey__container {
    margin-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.journey__content {
    flex: 0 1 34%;
}

.journey__text-top {
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
    color: #424F7B;
}

.journey__text-top:not(:last-child) {
    margin-bottom: 0.75rem;
}

.journey__btn {
    background-color: transparent;
    color: #0E1734;
    margin-left: 1rem;
}

.journey__btn:hover {
    background-color: transparent;
    color: #0e2e97;
    text-shadow: 1px 0 0 currentColor;
}

.journey__spoller {
    flex: 0 1 49%;
}

.spoller__block {
    max-width: 37rem;
    padding: 2rem 2.25rem;
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.spoller__block:not(:last-child) {
    margin-bottom: 1.5rem;
}

.block__title {
    cursor: pointer;
    position: relative;
    padding-right: 2.5rem;
}

.block__title::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    top: -5px;
    right: 0;
    background: url('../img/icons/spoller-down.svg') no-repeat center;
    transition: .3s ease;
}

.block__title.active::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    top: -5px;
    right: 0;
    background: url('../img/icons/spoller-top.svg') no-repeat center;
    transform: rotate(360deg);
}

.spoller__down {
    margin-bottom: 25px;
}

.block__title {
    color: #424F7B;
}

.block__text {
    margin-top: 1.5rem;
    display: none;
}

@media (max-width: 1281px) {
    .journey__btn {
        margin-top: 1rem;
    }
}

@media (max-width: 1100px) {
    .journey__container {
        flex-direction: column;
    }

    .journey__content {
        text-align: center;
    }

    .journey__content {
        margin-bottom: 2rem;
    }
}

@media (max-width: 425px) {
    .block__title {
        font-size: 1.25rem;
    }
}

/* ==========Review========== */

.reviews__container {
    text-align: center;
    margin-top: 5rem;
}

.reviews__title:not(:last-child) {
    margin-bottom: 3.875rem;
}

.reviews__slider {
    position: relative;
}

.review {
    max-width: 50rem;
    margin: 0 auto;
}

.review__media:not(:last-child) {
    margin-bottom: 3rem;
}

.review__name {
    font-weight: 500;
    font-size: 1.25rem;
    color: #192252;
}

@media (max-width: 767.98px) {
    .reviews__title {
        font-size: calc(32px + 4 * ((100vw - 320px) / (767 - 320)));
    }
}

.slick-list {
    overflow: hidden;
}

/* Лента слайдов */
.slick-track {
    display: flex;
}

/* Точки (булиты) */
.slick-dots {
    display: flex;
    justify-content: center;
}

.slick-dots li {
    font-size: 0;
    margin-top: 1rem;
    background-color: rgba(250, 176, 71, 0.35);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    font-size: 0;
}

.slick-dots li:not(:last-child) {
    margin-right: 0.75rem;
}

/* Активная точка */
.slick-dots li.slick-active {
    background-color: #FAB047;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-top: 0.8rem;
}

/* Элемент точки */
.slick-dots li button {
    font-size: 0;
}

/* ==========Footer========== */

.footer {
    margin-top: 7rem;
    padding: 7.25rem 0;
    background-color: #0B265A;
}

.footer__container {
    display: flex;
    justify-content: space-between;
}

.footer__left {
    display: flex;
    flex-direction: column;
    max-width: 11.625rem;
}

.footer__logo:not(:last-child) {
    margin-bottom: 2.5rem;
}

.footer__text {
    font-size: 1rem;
    line-height: 139%;
    color: #D9DBDE;
}

.footer__text:not(:last-child) {
    margin-bottom: 1.5rem;
}

.footer__icon-link:not(:last-child) {
    margin-right: 1.5rem;
}

.footer__right {
    display: flex;
    justify-content: space-between;
}

.footer__block {
    display: flex;
    flex-direction: column;
}

.footer__block:not(:last-child) {
    margin-right: calc(48px + (95 - 48) * ((100vw - 768px) / (1200 - 768)));
}

.footer-block__title {
    font-weight: 700;
    position: relative;
    padding-right: 35px;
}

.footer-block__title:not(:last-child) {
    margin-bottom: 2rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
}

.footer__link:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .footer__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__left:not(:last-child) {
        margin-bottom: 3rem;
    }

    .footer__right {
        flex-direction: column;
    }

    .footer__links-body {
        display: none;
    }

    .footer__block:not(:last-child) {
        margin-bottom: 2.5rem;
        margin-right: 0;
    }

    .footer__text {
        font-size: 1.125rem;
    }

    .footer-block__title {
        font-size: 1.5rem;
    }

    .footer-block__title::before,
    .footer-block__title::after {
        content: "";
        position: absolute;
        width: 15px;
        height: 2px;
        right: 0;
        top: 16px;
        background-color: #fff;
        border-radius: 33px;
        transition: .3s ease;
    }

    .footer-block__title::before{
        right: 10px;
        transform: rotate(45deg);
    }

    .footer-block__title::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    .footer-block__title.active::before{
        transform: rotate(-45deg);
    }

    .footer-block__title.active::after {
        transform: rotate(45deg);
    }
}

@media (max-width: 425px) {
    .footer {
        padding: 3rem;
    }
}