.rooms-banner {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    text-align: center;
    color: var(--color3);
    padding: 79px 0;
    min-height: 430px;
    display: flex;
    align-items: center;
}

.rooms-banner:after {
    content: '';
    background: var(--color1-70);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.rooms-banner__text {
    max-width: 930px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.rooms-list {
    margin-top: 41px;
    margin-bottom: 120px;
}

.rooms-list > .row {
    margin-top: 101px;
}

.rooms-list__text {
    margin-top: -20px;
}

.rooms-item + .rooms-item {
    margin-top: 43px;
}

.rooms-item__img {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.rooms-item__img:before {
    content: '';
    position: absolute;
    top: 8.5%;
    bottom: 40.4%;
    width: 48px;
    left: 15px;
    background: var(--color5);
}

.rooms-item__img a {
    width: calc(100% - 24px);
}

.rooms-item__img img {
    width: 100%;
    height: 395px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.rooms-item__info {
    padding-left: 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rooms-item__title {
    position: relative;
    padding-bottom: 20px;
    padding-right: 30px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.rooms-item__title:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 77px;
    height: 1px;
    background-color: var(--color2);
}

.rooms-item__title a {
    transition: color .3s;
}

.rooms-item__title a:hover {
    color: var(--color2);
}

.rooms-item__booking {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.rooms-item__booking-btn {
    white-space: nowrap;
    max-width: none;
    width: auto;
    padding: 0 20px;
    background: var(--color5);
}

.rooms-item__booking-btn:hover {
    background: var(--color5-70);
}

.rooms-detail {
    margin-top: 40px;
    margin-bottom: 100px;
}

.rooms-detail__heading {
    line-height: 1.3;
    padding-top: 10px;
}

.rooms-detail__info {
    margin: 140px 0 170px;
    background: var(--color5);
    color: var(--color3);
}

.rooms-detail__slider {
    position: relative;
    padding-left: 20px;
    margin: -50px 0;
    height: calc(100% + 100px);
}

.rooms-detail__slider .swiper {
    height: 100%;
}

.rooms-detail__slider .swiper-slide img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.75;
    object-fit: cover;
}

.rooms-detail__slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 43px;
    height: 43px;
    background: var(--color2);
    z-index: 1;
}

.rooms-detail__slider-button svg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.rooms-detail__slider-button-prev {
    left: 10px;
}

.rooms-detail__slider-button-next {
    right: -10px;
}

.rooms-detail__slider .rooms-detail__slider-pagination {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    line-height: 0;
    padding-left: 20px;
}

.rooms-detail__slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    border-radius: 0;
    background: var(--color2-50);
    opacity: 1;
}

.rooms-detail__slider-pagination .swiper-pagination-bullet-active {
    background: var(--color2);
}

.rooms-detail__description {
    padding: 50px 20px 30px 18px;
}

.rooms-detail__description ul {
    list-style-type: none;
    margin: 24px 0 42px;
    column-count: 2;
    column-gap: 46px;
    font-size: 16px;
}

.rooms-detail__description ul li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 18px;
}

.rooms-detail__description ul li:before {
    content: '';
    background: var(--color2);
    width: 6px;
    height: 6px;
    position: absolute;
    top: 8px;
    left: 0;
}

.rooms-detail__description p + p {
    margin-top: 10px;
}

.rooms-detail__booking {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.rooms-detail__booking-btn {
    white-space: nowrap;
    max-width: none;
    width: auto;
    padding: 0 20px;
}

.rooms-detail__advantages {
    margin: 170px 0 95px;
}

.rooms-detail__advantages-title {
    text-align: center;
    margin-bottom: 66px;
}

.rooms-detail__advantages-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 70px;
}

.rooms-detail__advantages-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.rooms-detail__advantages-item:not(:first-of-type):before {
    content: '';
    width: 1px;
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -40px;
    background: var(--color2);
}

.rooms-detail__advantages-item-icon  {
    flex: 0 0 auto;
}

.rooms-detail__advantages-item-info {
    min-height: 86px;
}

.rooms-detail__advantages-item-title {
    margin-bottom: 10px;
    white-space: nowrap;
}

.rooms-detail__advantages-item-text {
    color: var(--color1-70);
    max-width: 235px;
}

.rooms-detail__advantages-item:nth-of-type(1) .rooms-detail__advantages-item-text {
    max-width: 170px;
}

.rooms-detail__price {
    background: var(--color2);
    color: var(--color3);
    padding: 40px 30px 35px;
}

.rooms-detail__price-title {
    text-align: center;
    margin-bottom: 55px;
}

.rooms-detail__price-list {
    display: flex;
    justify-content: center;
    gap: 110px;
}

.rooms-detail__price-item-title {
    margin-bottom: 10px;
    white-space: nowrap;
}

.rooms-detail__price-item-text {
    color: var(--color3-50);
}

@media (max-width: 1589px) {
    .rooms-detail__price-list,
    .rooms-detail__advantages-list {
        gap: 30px;
    }

    .rooms-detail__advantages-item {
        gap: 15px;
    }

    .rooms-detail__advantages-item:not(:first-of-type):before {
        left: -15px;
    }

    .rooms-detail__advantages-item-text {
        max-width: 225px;
    }

    .rooms-detail__advantages-item:nth-of-type(1) .rooms-detail__advantages-item-text {
        max-width: 160px;
    }

    .rooms-detail__advantages-item:nth-of-type(1) img {
        width: 87px;
        height: 59px;
    }

    .rooms-detail__advantages-item:nth-of-type(2) img {
        width: 87px;
        height: 36px;
    }

    .rooms-detail__advantages-item:nth-of-type(3) img {
        width: 65px;
        height: 51px;
    }

    .rooms-detail__advantages-item:nth-of-type(4) img {
        width: 58px;
        height: 59px;
    }
}

.mfp-content .rooms-modal {
    display: flex;
    max-width: 770px;
    padding: 0;
    border-radius: 100px 0 0 0;
}

.rooms-modal__img {
    flex: 0 0 45%;
    width: 45%;
}

.rooms-modal__img img {
    object-fit: cover;
    width: calc(100% + 22px);
    height: calc(100% + 54px);
    margin: -27px 0 -27px -22px;
    border: 1px solid var(--color2);
    border-radius: 100px 0 0 0;
    max-width: none;
}

.rooms-modal__content {
    flex: 0 0 55%;
    width: 55%;
    padding: 62px 30px 35px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rooms-modal__heading {
    color: var(--color2);
    margin-bottom: 36px;
}

.rooms-modal__content p + p {
    margin-top: 30px;
}

.rooms-modal__phone a {
    position: relative;
    padding-left: 36px;
    color: var(--color2-70);
}

.rooms-modal__phone a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: var(--color2-70);
    mask: url('/assets/components/theme/img/job/job-tel.svg') no-repeat center / contain;
    transition: .3s background-color;
}
.rooms-modal__phone a:hover {
    color: var(--color2);
}

.rooms-modal__phone a:hover:before {
    background-color: var(--color2);
}

@media (max-width: 1399px) {
    .rooms-banner {
        min-height: 287px;
    }

    .rooms-banner__text {
        max-width: 830px;
    }

    .rooms-list {
        margin-bottom: 90px;
    }

    .rooms-list > .row {
        margin-top: 95px;
    }

    .rooms-list__text {
        margin-top: -10px;
    }

    .rooms-item + .rooms-item {
        margin-top: 33px;
    }

    .rooms-item__img:before {
        top: 9%;
        bottom: 39%;
        width: 36px;
    }

    .rooms-item__img a {
        width: calc(100% - 17px);
    }

    .rooms-item__img img {
        height: 304px;
    }

    .rooms-item__info {
        padding-left: 5.2%;
    }

    .rooms-item__title {
        padding-bottom: 16px;
        padding-right: 0;
        margin-bottom: 14px;
    }

    .rooms-item__title:before {
        width: 50px;
    }

    .rooms-item__booking {
        margin-top: 16px;
    }

    .rooms-item__booking-btn {
        padding: 0 18px;
    }

    .rooms-detail__info {
        margin-top: 87px;
        margin-bottom: 100px;
    }

    .rooms-detail__slider {
        padding-left: 10px;
        margin: -12px 0;
        height: calc(100% + 24px);
    }

    .rooms-detail__slider-button {
        width: 35px;
        height: 35px;
    }

    .rooms-detail__slider-button svg {
        width: 10px;
        height: 21px;
    }

    .rooms-detail__slider-button-prev {
        left: 2px;
    }

    .rooms-detail__slider-button-next {
        right: -9px;
    }

    .rooms-detail__slider .rooms-detail__slider-pagination {
        bottom: -23px;
        padding-left: 10px;
    }

    .rooms-detail__slider-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .rooms-detail__description {
        padding: 22px 10px 22px 0;
    }

    .rooms-detail__description ul {
        margin: 18px 0 7px;
    }

    .rooms-detail__description ul li {
        margin-bottom: 8px;
        padding-left: 18px;
    }

    .rooms-detail__booking {
        margin-top: 14px;
    }

    .rooms-detail__booking-btn {
        padding: 0 18px;
    }

    .rooms-detail__advantages {
        margin: 100px 0;
    }

    .rooms-detail__advantages-title {
        margin-bottom: 70px;
    }

    .rooms-detail__advantages-list {
        gap: 50px
    }

    .rooms-detail__advantages-item {
        flex: 1;
    }

    .rooms-detail__advantages-item:not(:first-of-type):before {
        left: -25px;
    }

    .rooms-detail__advantages-item:nth-of-type(1) {
        flex: 0 0 20.6%;
        width: 20.6%;
    }

    .rooms-detail__advantages-item:nth-of-type(2) {
        flex: 0 0 24.8%;
        width: 24.8%;
    }

    .rooms-detail__advantages-item:nth-of-type(3) {
        flex: 0 0 24.4%;
        width: 24.4%;
    }

    .rooms-detail__advantages-item:nth-of-type(4) {
        justify-content: flex-start;
    }

    .rooms-detail__advantages-item-text {
        max-width: 210px;
    }

    .rooms-detail__advantages-item:nth-of-type(1) .rooms-detail__advantages-item-text {
        max-width: 140px;
    }

    .rooms-detail__price {
        padding: 30px 30px 25px;
    }

    .rooms-detail__price-title {
        margin-bottom: 43px;
    }

    .rooms-detail__price-list {
        gap: 50px;
    }

    .mfp-content .rooms-modal {
        max-width: 720px;
        border-radius: 110px 0 0 0;
    }

    .rooms-modal__img img {
        border-radius: 110px 0 0 0;
    }

    .rooms-modal__content p + p {
        margin-top: 25px;
    }
}

@media (max-width: 1023px) {
    .rooms-banner {
        min-height: 320px;
    }

    .rooms-banner__text {
        max-width: 100%;
    }

    .rooms-list {
        margin-top: 20px;
        margin-bottom: 85px;
    }

    .rooms-list > .row {
        margin-top: 52px;
    }

    .rooms-item + .rooms-item {
        margin-top: 50px;
    }

    .rooms-item__img:before {
        top: 9.5%;
        bottom: 35%;
        width: 67px;
    }

    .rooms-item__img a {
        width: calc(100% - 29px);
    }

    .rooms-item__img img {
        height: auto;
        aspect-ratio: 1.54;
    }

    .rooms-item__info {
        padding-left: 45px;
        padding-top: 20px;
        margin-top: 0;
    }

    .rooms-item__title {
        padding-bottom: 18px;
        margin-bottom: 10px;
    }

    .rooms-detail {
        margin-top: 25px;
        margin-bottom: 90px;
    }

    .rooms-detail__heading {
        padding-top: 5px;
    }

    .rooms-detail__info {
        margin: 86px -15px 55px;
    }

    .rooms-detail__slider {
        padding-left: 0;
        padding-right: 0;
        margin: -35px 0 0;
        height: calc(100% + 35px);
    }

    .rooms-detail__slider .swiper-slide img {
        aspect-ratio: 1.8;
    }

    .rooms-detail__slider-button {
        width: 26px;
        height: 26px;
    }

    .rooms-detail__slider-button svg {
        width: 9px;
        height: 15px;
    }

    .rooms-detail__slider-button-prev {
        left: -7px;
    }

    .rooms-detail__slider-button-next {
        right: -7px;
    }

    .rooms-detail__slider .rooms-detail__slider-pagination {
        bottom: -20px;
        padding-left: 0;
    }

    .rooms-detail__description {
        padding: 45px 0 30px;
    }

    .rooms-detail__description ul {
        margin: 25px 0 17px;
        max-width: 560px;
        font-size: 14px;
        line-height: 1.3;
    }

    .rooms-detail__description ul li {
        margin-bottom: 7px;
    }

    .rooms-detail__description ul li:before {
        top: 6px;
    }

    .rooms-detail__booking {
        margin-top: 15px;
    }

    .rooms-detail__advantages {
        margin: 55px 0 58px;
    }

    .rooms-detail__advantages-title {
        margin-bottom: 59px;
    }

    .rooms-detail__advantages-list {
        flex-wrap: wrap;
        gap: 36px 70px;
    }

    .rooms-detail__advantages-list .rooms-detail__advantages-item {
        flex: 0 0 auto;
        width: auto;
        justify-content: center;
    }

    .rooms-detail__advantages-item:not(:first-of-type):before {
        left: -35px;
        height: 63px;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
    }

    .rooms-detail__advantages-item:nth-of-type(1) img {
        width: 80px;
        height: 53px;
    }

    .rooms-detail__advantages-item:nth-of-type(2) img {
        width: 75px;
        height: 31px;
    }

    .rooms-detail__advantages-item:nth-of-type(3) img {
        width: 55px;
        height: 43px;
    }

    .rooms-detail__advantages-item:nth-of-type(4) img {
        width: 50px;
        height: 52px;
    }

    .rooms-detail__advantages-item-info {
        min-height: 0;
    }

    .rooms-detail__advantages-item-text {
        margin-bottom: 5px;
        max-width: 175px;
    }

    .rooms-detail__advantages-item:nth-of-type(1) .rooms-detail__advantages-item-text  {
        max-width: 125px;
    }

    .rooms-detail__advantages-item:nth-of-type(3) .rooms-detail__advantages-item-text  {
        max-width: 190px;
    }

    .rooms-detail__price {
        padding: 25px 30px;
    }

    .rooms-detail__price-title {
        margin-bottom: 34px;
    }

    .rooms-detail__price-item {
        min-width: 160px;
    }

    .rooms-detail__price-item-title {
        margin-bottom: 5px;
    }

    .mfp-content .rooms-modal {
        max-width: 690px;
    }

    .rooms-modal__content {
        padding: 58px 20px 32px 15px;
    }

    .rooms-modal__heading {
        margin-bottom: 32px;
    }

    .rooms-modal__phone a {
        padding-left: 30px;
    }

    .rooms-modal__phone a:before {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 767px) {
    .rooms-banner {
        padding: 60px 0;
    }

    .rooms-list {
        margin-top: 26px;
        margin-bottom: 50px;
    }

    .rooms-list__text {
        margin-top: -5px;
    }

    .rooms-list > .row {
        margin-top: 35px;
    }

    .rooms-item + .rooms-item {
        margin-top: 45px;
    }

    .rooms-item__img:before {
        top: 9%;
        bottom: 36%;
        width: 30px;
    }

    .rooms-item__img a {
        width: calc(100% - 13px);
    }

    .rooms-item__img img {
        aspect-ratio: 1.55;
    }

    .rooms-item__info {
        padding-top: 10px;
        padding-left: 28px;
    }

    .rooms-item__booking {
        margin-top: 20px;
    }

    .rooms-detail__info {
        margin-top: 61px;
        margin-bottom: 50px;
    }

    .rooms-detail__slider {
        margin-top: -25px;
        height: calc(100% + 25px);
    }

    .rooms-detail__slider .swiper-slide img {
        aspect-ratio: 1.25;
    }

    .rooms-detail__description ul {
        max-width: 100%;
        columns: 1;
    }

    .rooms-detail__description ul li {
        margin-bottom: 8px;
    }

    .rooms-detail__booking {
        margin-top: 28px;
    }

    .rooms-detail__advantages {
        margin: 50px 0 60px;
    }

    .rooms-detail__advantages-title {
        margin-bottom: 35px;
    }

    .rooms-detail__advantages-list {
        display: block;
    }

    .rooms-detail__advantages-item {
        gap: 12px;
        justify-content: flex-start;
    }

    .rooms-detail__advantages-item + .rooms-detail__advantages-item {
        margin-top: 36px;
    }

    .rooms-detail__advantages-item:not(:first-of-type):before {
        width: 100%;
        height: 1px;
        left: 0;
        right: 0;
        top: -20px;
        transform: none;
    }

    .rooms-detail__advantages-item-icon {
        flex: 0 0 78px;
        width: 78px;
        display: flex;
        justify-content: center;
    }

    .rooms-detail__advantages-item-info {
        flex: 0 0 calc(100% - 90px);
        width: calc(100% - 90px);
    }

    .rooms-detail__price {
        padding: 25px 20px;
    }

    .rooms-detail__price-title {
        margin-bottom: 35px;
    }

    .rooms-detail__price-list {
        display: block;
        max-width: 150px;
        margin: 0 auto;
    }

    .rooms-detail__price-item-title {
        margin-bottom: 11px;
    }

    .rooms-detail__price-item + .rooms-detail__price-item {
        margin-top: 22px;
    }

    .mfp-content .rooms-modal {
        display: block;
        max-width: 310px;
    }

    .rooms-modal__img,
    .rooms-modal__content {
        width: 100%;
    }

    .rooms-modal__img img {
        width: auto;
        height: 183px;
        border-radius: 0 0 0 80px;
        margin: -5px -10px 0;
    }

    .rooms-modal__content {
        padding: 15px 15px 25px;
    }

    .rooms-modal__heading {
        margin-bottom: 25px;
    }

    .rooms-modal__phone {
        margin-top: 36px;
    }

    .rooms-modal .mfp-close {
        opacity: 1;
        top: -40px;
        right: -10px;
    }
}