@media(max-width: 1650px) {
    .top::before {
        right: -4vw
    }
}

@media(max-width: 1500px) {
    .top::before {
        right: -6vw
    }
}

@media(max-width: 1440px) {
    .top::before {
        display: none
    }
}

@media(max-width: 1330px) {
    .header__list {
        gap: 10px;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between
    }
    .header__nav {
        max-width: 100%;
        width: 100%;
        margin: 0 auto
    }
    .header__logo img{
        max-width: 120px;
        width: 100%
    }
    .header__social-list,
    .header__btn-register {
        margin-left: auto
    }
    .header__inner {
        gap: 20px
    }
    .top__info-item {
        font-size: 20px;
        min-height: 50px
    }

    .top__info-item.top__info-item_date {
        max-width: 300px
    }
    .top {
        padding-top: 150px
    }
    .top__title {
        font-size: 65px;
        line-height: 110%
    }
    .top__text {
        max-width: 600px;
        width: 100%
    }
    .top__text br {
        display: none
    }
    .top {
        min-height: 740px
    }
}

@media (max-width: 1250px) {
    .partners__list{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .partners__item{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media(max-width: 1200px) {
    .informations {
        background-position: top center;
        padding-block: 50px;
        background-size: cover
    }
    .for-whom__list::before {
        bottom: -260px
    }
    .for-whom__list-item:first-child,
    .for-whom__list-item:nth-child(2),
    .for-whom__list-item:nth-child(3) {
        padding-left: 20px
    }
    .accommodation__list{
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 20px;
    }
}

@media(max-width: 1150px) {
    .header__list-link {
        font-size: 16px;
        line-height: 120%
    }
    .header__logo img{
        max-width: 90px
    }
    .header__btn-register {
        max-width: 140px
    }
    .contacts__text br {
        display: none
    }
}

@media(max-width: 992px) {
    .header__nav._dynamic_adapt_ .header__list {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .header__social-list._dynamic_adapt_ {
        margin: 0 auto
    }
    .header__btn-register._dynamic_adapt_ {
        margin: 0 auto;
        max-width: 200px
    }
    .burgerbtn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center
    }
    .header__inner {
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between
    }
    .header-menu {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex
    }
    .burgerbtn {
        position: relative;
        z-index: 21
    }
    .informations__inner {
        gap: 30px
    }
    .informations__image {
        max-width: 200px;
        /* height: 236px */
    }
    .informations__texts {
        font-size: 20px
    }
    .informations__texts br {
        display: none
    }
    .informations__texts {
        margin-top: 0
    }
    .informations__texts p:not(:last-child) {
        margin-bottom: 20px
    }
    .for-whom__list {
        grid-template-columns: repeat(2, 1fr)
    }
    .for-whom__list-item:last-child {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-grid-column-span: 2;
        grid-column: span 2
    }
    .title-page,
    .for-whom__top-row .title-page,
    .partners__title {
        font-size: 50px;
        line-height: 105%
    }
    .for-whom__text,
    .how-it-was__text,
    .contacts__text {
        font-size: 18px;
        line-height: 110%
    }
    .for-whom__text br,
    .how-it-was__text br,
    .contacts__text br {
        display: none
    }
    .how-it-was__photos-item {
        min-height: 300px;
        max-height: 300px
    }
    .how-it-was__photos-link {
        max-width: 200px
    }
    .price__info-parent {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center
    }
    .contacts::before {
        bottom: -6px
    }
    .modal__inner {
        max-width: calc(100vw - var(--container-padding)*2);
        max-height: calc(100svh - var(--container-padding)*2);
        width: 100%
    }
    .modal__accordion-top {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
    .modal__label-check-text {
        font-size: 18px
    }
    .modal__label input {
        font-size: 20px
    }
    .modal__inner {
        padding-bottom: 100px
    }
    .top__info{
        grid-template-columns: 1fr;
    }
    .top__info-s-item{
        max-width: 330px;
        min-height: 90px;
    }
    .top__title {
        font-size: 50px;
        line-height: 105%
    }
}

@media(max-width: 768px) {
    .accommodation__list{
        grid-template-columns: 1fr;
    }
    .top__text {
        font-size: 20px
    }
    .top__info {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
    .informations__inner {
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start
    }
    .for-whom__list {
        max-width: 100%;
        width: 100%;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        grid-gap: 20px
    }
    .for-whom__list-item {
        max-width: 100%;
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
        padding-inline: unset !important;
        border: 1px solid #f0eeee
    }
    .for-whom__list-item:last-child {
        grid-column: unset
    }
    .for-whom__list-item-title {
        font-size: 18px
    }
    .for-whom__list-item-text {
        font-size: 16px
    }
    .for-whom__list::before {
        display: none
    }
    .for-whom,
    .how-it-was {
        padding-block: 100px
    }
    .contacts {
        padding-top: 150px
    }
    .how-it-was__photos {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr
    }
    @-webkit-keyframes rotate {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg)
        }
        100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg)
        }
    }
    @keyframes rotate {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg)
        }
        100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg)
        }
    }
    .how-it-was__photos-link {
        position: static;
        left: unset;
        top: unset;
        margin: 0 auto
    }
    .price__info {
        background-size: contain
    }
    .top__text br {
        display: none
    } 
    .top__text .br-mobile {
        display: block
    } 
}

@media (max-width: 700px) {
    .top__info{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .partners__item {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        height: 70px
    }
    .partners__item a {
        max-width: 100%;
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center
    }
    .partners__item img {
        max-width: 80%;
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: contain
    }
    .partners__item:last-child img {
        height: 60%
    }
    .partners__list {
        display: -ms-grid;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }
}
@media (max-width: 600px) {
    .top__info{
        grid-template-columns: 1fr;
    }
    .top__info-s-item{
        max-width: 60%;
        width: 100%;
    }
}
@media(max-width: 568px) {
    .informations__image {
        max-width: 169px;
        /* height: 200px */
    }
    .informations__image::before{
        left: -95px;
    }
    .price__info-text {
        font-size: 25px
    }
    .price__info-price {
        font-size: 40px
    }
    .price__info-item:nth-child(1) {
        margin-bottom: 30px;
        margin-top: 35px
    }
    .price__info {
        background-position: bottom center
    }
    .price__info {
        padding-top: 0px
    }
    .price__info-btn,
    .modal__button {
        padding: 26.5px;
        font-size: 20px
    }
    .price__inner {
        overflow: hidden
    }
    .price__info-parent::before {
        left: -8px;
        bottom: 0
    }
    .price__info {
        padding-bottom: 100px
    }
    .modal__top {
        margin-bottom: 30px
    }
    .modal__label:not(:last-child) {
        margin-bottom: 30px
    }
    .modal__title {
        font-size: 30px
    }
    .modal__description {
        font-size: 18px
    }
    .modal__description br {
        display: none
    }
    .modal__label-two-col {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        margin-bottom: 30px
    }
    .modal__inner {
        border-radius: var(--rad)
    }
    .top__info{
        gap: 10px;
    }
    .modal__label-col{
        margin-bottom: 30px;
    }
}

@media (max-width: 500px) {
    .top__title {
        font-size: 48px;
        line-height: 105%;
    }
}

@media(max-width: 480px) {
    .top__register-btn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        max-width: 80%;
        width: 100%;
        margin: 0 auto
    }
    .top__info {
        gap: 5px
    }
    .top__info-item {
        font-size: 16px;
        min-height: 45px
    }
    .top__info-item svg {
        height: 25px
    }
    .top__info-item.top__info-item_city,
    .top__info-item.top__info-item_date {
        max-width: -webkit-max-content;
        max-width: -moz-max-content;
        max-width: max-content;
        width: 100%;
        gap: 5px;
        padding-inline: 5px
    }
    .top {
        padding-top: 125px;
        min-height: 670px;
        padding-bottom: 40px
    }
    .top__title {
        font-size: 30px
    }
    .top__info,
    .top__title,
    .top__text {
        margin-bottom: 20px
    }
    .informations__inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column
    }
    .for-whom__top,
    .how-it-was__top,
    .price__top {
        margin-bottom: 30px
    }
    .title-page,
    .partners__title {
        font-size: 30px
    }

    .how-it-was__photos-item {
        min-height: 250px;
        max-height: 250px
    }
    .price::before {
        bottom: -200px
    }
    .price__info {
        max-width: 90%;
        background-size: 130%;
        background-position: center;
        border: 3px solid #fff;
        border-radius: 35px;
        background-position: center -18px
    }
    .price__info-text {
        font-size: 18px
    }
    .price__info-price {
        font-size: 30px
    }
    .price__info-btn {
        max-width: 80%
    }
    .price__info-item:nth-child(2) {
        margin-bottom: 30px
    }
    .partners__title {
        margin-bottom: 30px
    }

    .modal__personal {
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start
    }
    .modal__accordion-top {
        margin-bottom: 30px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row
    }
    .modal__label-check-text {
        font-size: 14px
    }
    .modal__label-check-decor {
        width: 16px;
        height: 16px
    }
    .modal__label-check-decor::before {
        width: 8px;
        height: 8px
    }
    .modal__label-check {
        gap: 3px
    }
    .top::after {
        bottom: -37px
    }
    .informations__texts p br {
        display: none
    }
    .top {
        background-position: 52% 100%
    }
    .informations__image {
        margin: 0 auto;
        -webkit-box-ordinal-group: 3;
        -webkit-order: 2;
        -ms-flex-order: 2;
        order: 2;
        filter: drop-shadow(-48px -26px 33px rgba(0, 0, 0, 0.3));
    }
    .top__text {
        font-size: 18px
    }
    .for-whom::before {
        max-width: 100%;
        width: 100%;
        content: "";
        background-image: url(../images/for-whom-decor-3.png);
        height: 100px;
        background-repeat: no-repeat;
        background-size: cover;
        bottom: 0
    }
    .for-whom,
    .how-it-was {
        padding-block: 70px
    }
    .price::before {
        content: "";
        background: url(../images/price-bg-3.png);
        height: 200px;
        bottom: 0;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        bottom: -74px;
        max-width: 100%;
        width: 100%
    }
    .contacts {
        padding-top: 70px;
        padding-bottom: 150px
    }
    .contacts::before {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        background: url(../images/contact-bg-2.png);
        height: 150px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        max-width: 100%;
        width: 100%
    }
    .modal__inner {
        padding-inline: 10px
    }
    .modal__inner {
        background-position: 10% 105%;
        background-size: 116%
    }
    .modal__personal-text .br-mob {
        display: block
    }
    .modal.modal-email .modal__top {
        margin-bottom: 30px
    }
    .modal.modal-email .modal__label {
        margin-bottom: 30px
    }
    .price__title {
        max-width: 90%
    }
    .how-it-was__title .br-mobile,
    .how-it-was__text .br-mobile {
        display: block
    }
    .for-whom__text .br-mobile {
        display: block
    }
    .for-whom__text .br-mobile {
        display: block
    }

    .how-it-was__photos-link {
        max-width: 150px
    }
    .how-it-was__photos-link svg {
        max-width: 110%
    }
    .for-whom__list::after {
        content: "";
        top: -30px;
        right: -38px;
        background-image: url(../images/for-whom-decor-1.png);
        background-repeat: no-repeat;
        width: 110px;
        height: 90px;
        background-position: center;
        background-size: cover
    }
    .informations__texts {
        font-size: 18px
    }
    .informations__inner {
        gap: 40px
    }
    .informations {
        padding-block: 70px 50px
    }
    .modal__label input {
        font-size: 16px;
        padding-bottom: 10px
    }
    .modal__personal-text {
        font-size: 16px
    }
    .for-whom__list-item {
        padding-block: 20px
    }
    .for-whom__list-item-icon {
        padding: 0 !important;
        margin-bottom: 15px !important
    }
    .price__info-btn,
    .modal__button {
        padding: 20.5px;
        font-size: 16px
    }
    .modal__button {
        max-width: 80%;
        margin-inline: auto;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center
    }
    .top__info-item{
        font-size: 13px;
    }
    .top__info-item svg{
        width: 16px;
    }
    .top__info-item.top__info-item_city{
        max-width: 100%;
        width: 100%;
    }
    .top__info-item.top__info-item_city{
        justify-content: flex-start;
    }
    .top{
        background-image: url(../images/bg-top-mob.png) !important;
        background-position: 52% 100%;
    }
    .header-logo-item{
        display: block;
    }
    .header-logos{
        max-width: 100%;
        width: 100%;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .top{
        min-height: auto;
        padding-top: 0px;
        padding-bottom: 0;
    }
    .top__inner {
        display: flex;
        flex-direction: column;

        padding-top: 125px;
        min-height: 520px;
        padding-bottom: 40px;
    }

    .top__text{
        margin-top: auto;
    }

    .top__info-s-item-title{
        font-size: 18px;
        line-height: 120%;
    }

    .top__info-s-item-text{
        font-size: 16px;
        line-height: 120%;
    }
    .top__info {
        gap: 10px;
    }
    .header-logo-item:nth-child(3) img{
        width: 70px;
    }
    /* .top__info-s-item,
    .top__text {
        border: 2px solid rgba(255, 255, 255, 0.26);
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(9px);
        padding: 10px 15px;
        border-radius: 8px;
    }
    .top__text{
        max-width: max-content;
        width: 100%;
    } */
    .top{
        position: relative;
    }
    .top::before{
        display: block !important;

        content: "";
        
        width: 100%;
        height: 100%;

        position: absolute;
        left: -50vw;
        bottom: 0;

        backdrop-filter: blur(2px);
        /* background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%); */
        z-index: 1;
    }
    .top__inner {
        position: relative;
        z-index: 2;
    }
    .header__logo img{
        max-width: 120px;
    }
    .header-logos{
        gap: 5px;
    }
    .informations__image {
        max-width: 300px;
    }
    .informations__image::before {
        left: -70px;
    }
    .for-whom__top-row{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .top__info{
        grid-template-columns: 1fr;
    }
    .top__info-s-item{
        min-height: 90px;
    }
    .top__info-s-item {
        max-width: 75%;
        width: 100%;
    }
    .top__info-s-item{
        max-width: 230px !important;
    }
    .for-whom__top-row .title-page{
        font-size: 18px;
        text-align: center;
    }

    .for-whom__top-row img{
        max-width: 80px;
    }
    .price__info-description{
        font-size: 14px;
    }
    .for-whom__top-row{
        margin-bottom: 20px;
    }
    .for-whom__top-icon{
        margin-bottom: 20px;
    }
    .how-it-was__photos{
        margin-bottom: 40px;
    }
    .accommodation-decor_top{
        margin-bottom: 45px;
    }
    .accommodation__title.title-page {
        font-size: 30px;
        margin-bottom: 8.55px;
    }
    .accommodation__text{
        font-size: 16px;
    }
    .accommodation__item{
        min-height: 262px;
    }
    .accommodation__item-info{
        font-size: 14px;
    }
    .accommodation__item-top {
        padding: 17px 18px 0px 15px;
    }
    .accommodation__item-stars{
        font-size: 36px;
    }
    .accommodation__item-title{
        font-size: 24px;
        line-height: 100%;
    }
    .accommodation__item-promo{
        font-size: 16px;
    }
    .accommodation__item-link{
        font-size: 16px;
    }

    .accommodation__item-link svg {
        width: 32px;
        height: 12px;
    }

    .accommodation__item-link{
        gap: 6px;
    }

    .accommodation__item-content{
        padding-inline: 20px;
    }

    .accommodation__item-content{
        margin-bottom: 21px;
    }

    .accommodation__item-promo{
        margin-bottom: 19px;
    }

    .accommodation__item-title{
        margin-bottom: 10px;
    }
    .modal__label:has(.modal__label-name) select{
        padding-bottom: 10px;
    }
    .modal__label-name,
    .modal__label:has(.modal__label-name) select,
    .modal__accordion-new-top,
    .modal__label-description{
        font-size: 16px;
    }
    .modal__accordion-decor{
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    .modal__accordion-decor::before,
    .modal__accordion-new.is-open .modal__accordion-decor::before {
        width: 8px;
        height: 8px;
    }
    .modal__personal-text{
        font-size: 16px;
    }
}
@media (max-width: 400px) {
    .top__info-s-item{
        min-height: 100px;
        max-width: 70%;
    }
}
@media(max-width: 375px) {
    .price__info {
        background-position: center -6px
    }
    .top__info-s-item{
        max-width: 230px;
    }
}