* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "Inter";
    src: url(font/Inter-VariableFont_opsz\,wght.ttf);
}

@font-face {
    font-family: "weekend";
    src: url(font/MV-WEEKEND.otf);
}

html {
    font-size: 16px;
    font-family: "Inter";
    color: #151515;
    scroll-behavior: smooth;
}

body {
    background-color: #F4F7F8;
}

a {
    text-decoration: none;
    color: initial;
}

header {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 100px;
    padding: 0px 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button {
    cursor: pointer;
}

.block-nav {
    display: flex;
    align-items: center;
    gap: 56px;
}

.block-nav a {
    font-weight: 600;
}

.block-nav-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-nav-contact img {
    width: 40px;
    height: 40px;
}

.block-nav-contact-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-nav-contact a {
    font-weight: 400;
}

.block-nav-contact-number {
    color: #2365BC;
    font-weight: 800 !important;
    font-size: 20px;
}

.button-bron {
    width: 240px;
    height: 54px;
    background-color: #F2CE2D;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-family: "Inter";
    color: #151515;
    font-weight: 700;
}

.block-banner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 650px;
    background-image: url(img/second-banner-back.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.tl-wrapper {
    position: initial !important;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    gap: 100px;
}

.page-title {
    font-size: 40px;
    font-weight: 600;
}

.page-title span {
    color: #3664D9;
}

.advantages-block {
    margin-top: -40px;
    width: 100%;
    max-width: 1640px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.advantages-item {
    width: 100%;
    height: 350px;
    padding-top: 50px;
    background-size: 99%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    text-align: center;
}

.advantages-item.b1 {
    background-image: url(img/b1.png);   
}

.advantages-item.b2 {
    background-image: url(img/b2.png);  
    color: #0D2A50;
}

.advantages-item.b3 {
    background-image: url(img/b3.png);   
}

.advantages-item.b4 {
    background-image: url(img/b4.png);
    color: #0D2A50;
}

.advantages-item-title {
    font-family: "weekend";
    font-size: 42px;
}

.about_block {
    width: 100%;
    height: 500px;
    max-width: 1537px;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 40px;
}

.video-container {
    width: 800px;
    height: 100%;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.video-cover {
    width: 100%;
    height: 100%;
    background-image: url(img/video.png);
    position: relative;
    border-radius: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about_block.text {
    display: flex;
    height: 100%;
    flex-direction: column;
    flex: 1;
    gap: 15px;
    justify-content: space-between;
}

.about_block.text h2{
    font-size: 40px;
    font-weight: 600;
}

.about-button {
    width: 340px;
    height: 54px;
    border-radius: 20px;
    border: 2px solid #9DCCFF;
    background-color: #FFFFFF;
    font-size: 16px;
    font-family: "Inter";
    color: #151515;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery {
    width: 100%;
    max-width: 1640px;
    max-height: 4000px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.gallery-wrapper.expanded {
    max-height: 6000px;
}

.block-filters {
    width: 100%;
    max-width: 950px;
    height: 56px;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0px 0px 24px 0px #7E8FA61A;
    padding: 5px;
}

.block-filters-item {
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-family: "Inter";
    color: #151515;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-wrapper {
    width: 100%;
    max-height: 1030px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.gallery-more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 45px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 50px;
    box-shadow: 0px 10px 20px 0px #7E8FA61A;
    cursor: pointer;
    color: #151515;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-more-btn:hover {
    background-color: #9DCCFF; 
    color: #FFFFFF;
}

.gallery-more-btn svg {
    transition: transform 0.3s ease;
}

.gallery-more-btn.active svg {
    transform: rotate(180deg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(395px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1640px;
}

.gallery-item {
    height: 505px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none; 
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.gallery-item.show {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

.block-rooms {
    width: 100%;
    max-width: 1640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.block-rooms-items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.room-item {
    width: 100%;
    max-width: 810px;
    height: 530px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 20px;
}

.room-item-photo {
    width: 100%;
    height: 320px;
    border-radius: 4px;
    position: relative;
}

.room-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.progress-dots {
    position: absolute;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    left: 50%;
}

.dots-item {
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    border-radius: 10px;
}

.dots-item.active {
    background-color: #9DCCFF;
}

.number-guest {
    position: absolute;
    bottom: 30px;
    left: 15px;
    width: 130px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.room-item-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
}

.room-item-info-name {
    font-size: 24px;
    font-weight: 600;
}

.room-item-info-price {
    font-size: 30px;
    font-weight: 500;
}

.room-item-info-price span {
    font-size: 24px;
    font-weight: 400;
}

.room-item-buttons {
    margin-top: 15px;
    display: flex;
    gap: 18px;
}

.button-bron.room {
    width: 240px;
}

.about-button.room {
    width: 240px;
}

.block-review, .block-conditions {
    width: 100%;
    max-width: 1640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.rewiews_slider {
    width: 100%;
    height: 260px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(395px, 1fr));
}

.rewiew_item {
    flex: 1;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 15px;
    gap: 16px;
    background-color: #FFFFFF;
}

.rewiew_block {
    display: flex;
    gap: 13px;
}

.rewiew_block.column {
    display: flex;
    flex-direction: column;
}

.rewiew_block_name {
    font-size: 16px;
    font-weight: 500;
}

.rewiew_block_date {
    font-size: 14px;
    font-weight: 400;
}

.rewiew_block_opis {
    width: 370px;
    text-wrap: wrap;
    font-size: 14px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rewiew_block_from {
    width: 269px;
    height: 54px;
    border-radius: 20px;
    border: 2px solid #9DCCFF;
    background-color: #FFFFFF;
    font-size: 16px;
    font-family: "Inter";
    color: #151515;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about_info {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(512px, 1fr));
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about_info_item {
    width: 470px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.faq-section {
    width: 100%;
    max-width: 1640px;
    display: flex;
    align-items: flex-start;
    gap: 35px;
}

.faq-info {
    flex: 0 0 525px;
}

.faq-info h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: #151515;
    margin-bottom: 24px;
    margin-top: 0;
}

.faq-info h2 span {
    color: #3664D9; 
}

.faq-info p {
    font-size: 18px;
    line-height: 1.5;
    color: #151515;
    font-weight: 500;
}

.faq-accordion {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 0px 24px 0px #7E8FA61A;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0px 8px 25px rgba(35, 101, 188, 0.08);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 27px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-family: "Inter";
}

.faq-trigger span {
    font-size: 18px;
    font-weight: 400;
    color: #151515;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-trigger span {
    color: #2365BC; 
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg); 
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
    grid-template-rows: 1fr;
}

.faq-content-inner {
    overflow: hidden;
}

.faq-content-inner p {
    padding: 0 32px 28px 32px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #151515;
    opacity: 0.85;
    border-top: 1px solid #9DCCFF; 
    padding-top: 16px;
}

.selection-section {
    width: 100%;
    height: 350px;
    background-image: url('img/backform.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selection-container {
    width: 100%;
    max-width: 1640px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.selection-title {
    font-size: 40px;
    font-weight: 600;
    color: #151515;
}

.selection-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.input-group {
    flex: 1;
    max-width: 420px;
}

.selection-form input {
    width: 100%;
    height: 54px;
    background-color: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 16px; 
    padding: 0 24px;
    font-size: 16px;
    font-family: "Inter", sans-serif;
    color: #151515;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.selection-form input::placeholder {
    color: #151515;
    opacity: 0.4;
}

.selection-form input:focus {
    border-color: #2365BC; 
    box-shadow: 0 0 0 4px rgba(35, 101, 188, 0.15);
}

.button-submit {
    width: 300px;
    height: 54px;
    background-color: #F2CE2D;
    color: #151515;
    font-size: 16px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;
    white-space: nowrap;
    padding: 0 20px;
}

.block-map {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 556px;
    position: relative;
    margin-top: -100px;
}

.contact_block {
    width: 630px;
    height: 430px;
    position: absolute;
    top: 60px;
    right: 50px;
    max-width: 1300px;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
    background-color: #FFFFFF;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.contact_info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.contact_top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact_item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
}

.phone {
    font-weight: 600;
    font-size: 20px;
    color: var(--primary_text);
}

.contact_item p, .contact_text p, .contact_text a {
    font-weight: 400;
    font-size: 14px;
    color: var(--text);
    text-wrap: nowrap;
}

.contact_text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact_address {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.contact_image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

footer {
    width: 100%;
    padding: 60px 140px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-direction: column;
    gap: 50px;
}

.footer-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    color: #151515;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.block-filters-item.active {
    background-color: #9DCCFF;
    
}

.menu-burger {
    flex-shrink: 0;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.menu-burger span {
    width: 100%;
    height: 3px;
    background-color: #151515;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu {
    display: none;
}

.form-policy {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: absolute;
    bottom: 50px;
}

.form-policy input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border: 2px solid #9DCCFF; 
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-policy:hover .custom-checkbox {
    border-color: #2365BC;
}

.form-policy input:checked ~ .custom-checkbox {
    background-color: #2365BC;
    border-color: #2365BC;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-policy input:checked ~ .custom-checkbox::after {
    display: block;
}

.policy-text {
    font-size: 14px;
    line-height: 1.4;
    color: #151515;
    font-family: "Inter", sans-serif;
}

.policy-text a {
    color: #2365BC;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

@media (max-width: 1750px) {
    .block-banner {
        min-height: 570px;
    }

    .advantages-item {
        padding: 50px 10px;
    }

    .rewiews_slider {
        height: initial;
    }

    .advantages-block, .about_block, .gallery, 
    .block-rooms, .block-review, .block-conditions, 
    .faq-section, .selection-section {
        padding: 0px 40px;
    }

    .block-rooms-items {
        justify-content: center;
    }

    .room-item {
        max-width: 700px;
    }

    .block-nav {
        gap: 40px;
    }
}

@media (max-width: 1550px) {
    header {
        padding: 0px 80px;
    }

    .block-nav {
        gap: 20px;
    }

    .block-banner {
        min-height: 500px;
    }

    main {
        gap: 50px;
    }

    .block-map {
        margin-top: -50px;
    }

    .about_block {
        flex-direction: column;
        height: initial;
        gap: 20px;
    }
    
    .video-container {
        width: 100%;
        height: 450px;
    }

    .room-item {
        max-width: 500px;
    }

    .about_block.text h2 {
        margin: 0 auto;
    }
}

@media (max-width: 1340px) {
    .block-banner {
        min-height: 450px;
    }

    #block-search-main {
        max-width: 95% !important; 
    }

    .advantages-item-title {
        font-size: 32px;
    }

    .advantages-item {
        height: 270px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(222px, 1fr));
    }

    .gallery-item {
        height: 282px;
    }

    .block-nav {
        gap: 10px;
    }
}

@media (max-width: 1240px) {
    header {
        padding: 0px 40px;
    }

    .block-nav {
        gap: 10px;
    }

    .button-bron {
        width: 200px;
    }

    .block-banner {
        min-height: 450px;
    }

    .block-banner {
        background-image: url(img/mobile-banner-back.png);
    }

    footer {
        padding: 60px 40px;
    }

    .footer-block {
        gap: 30px;
    }

    .faq-info {
        flex: 0 0 415px;
    }

    .contact_block {
        width: 450px;
    }

    .about_info {
        grid-template-columns: repeat(auto-fill, minmax(470px, 1fr));
    }
}

@media (max-width: 1100px) {
    .advantages-block {
        gap: 20px;
    }

    .about_info {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }

    .desktop-only {
        display: none !important;
    }

    .menu-burger {
        display: flex;
        transform: scaleX(-1);
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        height: 100vh;
        background-color: #FFFFFF;
        padding: 100px 40px 60px 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 105;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .menu-burger-mini {
        width: 50% !important;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .mobile-menu-links a {
        font-size: 22px;
        font-weight: 600;
        color: #151515;
    }
    
    .mobile-menu-links a:hover {
        color: #2365BC;
    }

    .mobile-menu-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        width: 100%;
    }

    .mobile-menu-bottom .button-bron {
        width: 100%;
    }

    .block-nav {
        width: 100%;
        justify-content: space-evenly;
    }

    .block-nav-contact {
        flex-direction: row;
    }

    .block-nav-contact.footer {
        flex-direction: column;
    }

    .advantages-block {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .advantages-item {
        width: 445px;
        height: 280px;
        background-size: cover;
    }

    .advantages-item.b1 {
    background-image: url(img/table-b1.png);   
    }

    .advantages-item.b2 {
        background-image: url(img/table-b2.png);  
        color: #0D2A50;
    }

    .advantages-item.b3 {
        background-image: url(img/table-b3.png);   
    }

    .advantages-item.b4 {
        background-image: url(img/table-b4.png);
        color: #0D2A50;
    }

    .advantages-block {
        margin: initial;
    }

    .room-item {
        max-width: 420px;
    }
}

@media (max-width: 1000px) {
    html {
        font-size: 14px;
    }

    .advantages-block, .about_block, 
    .gallery, .block-rooms, .block-review, 
    .block-conditions, .faq-section, .selection-section {
        padding: 0px 20px;
    }

    .block-nav-contact-number {
        font-size: 18px;
    }

    .about_info_item {
        font-size: 16px;
    }
    
    .block-banner {
        background-image: url(img/header_table.png);
        min-height: 670px;
    }

    .room-item {
        max-width: 380px;
    }
    
    .faq-section {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .faq-info {
        width: 100%;
        flex: initial;
    }

    .faq-accordion {
        flex: initial;
        width: 100%;
    }

    .advantages-item {
        background-size: 100%;
    }
}

@media screen and (max-width: 991px) {
    .tl-wrapper {
        width: 100%;
        margin: initial !important;
        position: absolute !important;
        bottom: 0px !important;
    }

    #block-search-main {
        bottom: 10px !important;
    }
}

@media (max-width: 950px) {
    .advantages-item {
        width: 400px;
    }

    .block-banner {
        min-height: 600px;
    }
}

@media (max-width: 920px) {
    .tl-wrapper {
        display: none;
    }

    header {
        padding: 0px 20px;
    }
}

@media (max-width: 860px) {
    .advantages-item {
        width: 100%;
        height: 170px;
        background-position-y: -90px;
        background-size: 101%;
        padding: 30px 10px;
    }

    .room-item {
        max-width: 330px;
        height: fit-content;
    }

    .room-item-buttons {
        flex-direction: column;
        align-items: center;
    }

    .number-guest {
        bottom: initial;
        top: 20px;
    }

    .rewiews_slider {
        grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    }

    .block-map {
        height: fit-content;
        align-items: center;
    }

    .contact_block {
        width: 90%;
        position: initial;
        margin: 0 auto;
    }

    footer {
        margin-top: 20px;
        padding: 40px 20px;
    }

    .footer-block {
        flex-direction: column;
        align-items: start;
    }

    .block-nav {
        justify-content: initial;
    }

    .block-banner {
        min-height: 470px;
    }

    header .button-bron {
        display: none;
    }

    .block-nav-contact {
        width: 100%;
        justify-content: center;
    }

    .rewiew_block_opis {
        width: 100%;
    }
    
    .progress-dots {
        left: 45%;
    }

    .block-nav-contact {
        align-items: start;
    }
}

@media (max-width: 770px) {
    .room-item {
        max-width: 280px;
    }

    .selection-form {
        width: 100%;
        flex-direction: column;
    }

    .input-group {
        flex: initial;
        width: 100%;
        max-width: initial;
    }

    .selection-form .button-submit {
        width: 100%;
    }

    .selection-title {
        font-size: 30px;
    }

    .selection-section {
        height: 430px;
    }

    .form-policy {
        bottom: 20px;
    }
}

@media (max-width: 670px) {
    .block-banner {
        background-image: url(img/header_mobile.png);
        min-height: 800px;
    }

    .page-title, .about_block.text h2, .faq-info h2, .selection-title {
        font-size: 30px;
        text-align: center;
    }

    .advantages-item {
        background-position-y: -20px;
    }

    .about-button {
        width: 100%;
    }

    .block-filters-item {
        text-align: center;
    }

    .room-item {
        max-width: 246px;
    }

    .rewiew_block_from, .button-bron.room, .about-button.room {
        width: 100%;
        height: 42px;
        font-size: 12px;
    }

    .selection-section {
        padding: 20px;
        justify-content: start;
        align-items: start;
        height: 400px;
    }

    .about_info {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }

    .about_info_item {
        width: 340px;
    }

    .rewiews_slider {
        grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    }

    .rewiew_block img {
        width: 30px;
        height: 30px;
    }

    .logo {
        width: 300px;
    }

    .logo img {
        width: 100%;
    }

    .phone {
        font-size: 16px;
    }

    .contact_top {
        gap: 20px;
        flex-direction: column;
    }
}

@media (max-width: 550px) {
        .room-item {
        max-width: 200px;
    }

    .block-filters-item, .block-nav-contact a {
        font-size: 12px;
    }

    .block-nav-contact-number {
        font-size: 14px;
    }

    .mobile-menu-links a {
        font-size: 16px;
    }

    .block-banner {
        min-height: 680px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .gallery-item {
        width: 100%;
        height: 140px;
    }

    .contact_block {
        width: 98%;
    }

    .selection-section {
        height: 415px;
    }
    
    .block-nav-contact img {
        width: 30px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0px 20px;
    }
    .mobile-menu {
        width: 100%;
    }

    .room-item {
        width: 154px;
    }

    .number-guest {
        width: 70px;
        height: 20px;
        font-size: 12px;
    }

    .room-item-photo {
        height: 154px;
    }

    .progress-dots {
        left: 37%;
    }

    .room-item-info-name {
        font-size: 16px;
    }

    .room-item-info-price, .room-item-info-price span {
        font-size: 14px;
    }

    .block-banner {
        min-height: 560px;
    }

    .selection-section {
        height: 440px;
    }

    .logo {
        width: 190px;
    }
}