@import url('fonts.css');
@import url('reset.css');


:root {
    --black: #000000;
    --white: #ffffff;
    --brown: #543C3B;
    --ceramic: #F8F0E5;
    --orange: #FFB31B;
    --dark-orange: #C1822D;
    --green: #00B430;
    --carmine: #9d423a;
}


/* Общие стили */
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    color: var(--black);
    overflow-x: hidden;
}
.container {
    width: 100%;
    padding: 0 20px;
    max-width: 1080px;
    margin: auto;
}
input,
button,
textarea {
    font-family: 'Montserrat', sans-serif;
}
@keyframes fadeIn-right {
    from {
        opacity: 0;
        transform: translateX(100%)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}
.brand-title {
    text-shadow: #c8c8c8 1px 1px 0px, #b4b4b4 0px 2px 0px, #a0a0a0 0px 3px 0px, rgb(140 140 140 / 50%) 0px 4px 0px, #787878 0px 0px 0px, rgb(0 0 0 / 50%) 0px 5px 10px;
    color: var(--white);
    text-align: center;
    font-size: 76px;
    font-weight: 500;
    line-height: 110px;
}
.brand-text {
    text-shadow: rgb(255 255 255 / 60%) 1px 1px 1px, rgb(0 0 0 / 60%) -1px -1px 1px;
    color: var(--white);
    background-color: var(--brown);
    padding: 6px 16px 10px;
    border-radius: 4px;
    font-size: 28px;
    display: inline-block;
    line-height: 1;
    font-weight: 500;
    text-align: center;
}
.brand-text--red {
    background-color: #ff2118;
}
.brand-text-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.social-networks {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px -8px;
}
.social-networks--link {
    display: inline-block;
    line-height: 0;
    width: 55px;
    height: 55px;
    margin: 0 8px;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity 0.1s ease-out;
}
.social-networks--link:hover,
.social-networks--link:active {
    opacity: 0.8;
    transition: opacity 0.1s ease-out;
}
.social-networks--whatsapp {
    background-image: url('../icons/whatsapp--brown.png');
}
.social-networks--telegram {
    background-image: url('../icons/telegram--brown.png');
}
.social-networks--youtube {
    background-image: url('../icons/youtube--brown.png');
}
.social-networks--instagram {
    background-image: url('../icons/instagram--brown.png');
}
.social-networks--whatsapp-alfa {
    background-image: url('../icons/whatsapp--alfa.png');
}
.social-networks--telegram-alfa {
    background-image: url('../icons/telegram--alfa.png');
}
.social-networks--youtube-alfa {
    background-image: url('../icons/youtube--alfa.png');
}
.social-networks--instagram-alfa {
    background-image: url('../icons/instagram--alfa.png');
}
.bg-overlay {
    background-color: rgba(36, 35, 35, 0.55);
}
.camera-icon {
    background-image: url('../icons/camera.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    display: inline-block;
}
.video-icon {
    background-image: url('../icons/video.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    display: inline-block;
}
.youtube-iframe {
    width: 100vw;
    max-width: 60vw;
    min-height: calc(60vw / 1.7);
    height: auto;
}
.validation--error {
    color: red;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 0;
}
.brand-description {
    text-shadow: rgb(0 0 0 / 30%) 0px 5px 0px;
    font-size: 30px;
    text-align: center;
    color: var(--white);
    line-height: 40px;
    padding-bottom: 20px;
    font-weight: 300;
}


/* Tingle */
.tingle-modal-box__content {
    padding: 0;
}
.tingle-modal-box {
    width: auto;
}
.tingle-modal {
    overflow-y: scroll;
}


/* Checkbox */
/* для элемента input c type="checkbox" */
.custom-checkbox > input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
/* для элемента label, связанного с .custom-checkbox */
.custom-checkbox > span {
    display: inline-flex;
    align-items: center;
    user-select: none;
}
/* создание в label псевдоэлемента before со следующими стилями */
.custom-checkbox > span::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid var(--brown);
    border-radius: 2px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    background-color: var(--white);
    cursor: pointer;
}
/* стили для чекбокса, находящегося в состоянии checked */
.custom-checkbox > input:checked + span::before {
    background-color: var(--white);
    background-image: url('../icons/check-checkbox.svg');
    background-repeat: no-repeat;
    background-size: 20px 15px;
}
/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox > input:disabled + span::before {
    background-color: #e9ecef;
    cursor: default;
}


/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.1s ease-out;
}
.header.scrolling {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.1s ease-out;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    padding: 15px 20px;
    margin: auto;
    position: relative;
}
.header__navigation {
    display: flex;
    align-items: center;
}
.header__logo {
    margin-right: 20px;
}
.navigation-item {
    display: inline-block;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    padding: 2px 4px;
    color: var(--black);
    text-decoration: none;
    margin: 0 5px;
    background-color: transparent;
    transition: all 0.1s ease-out;
}
.navigation-item:hover,
.navigation-item:active {
    color: var(--white);
    background-color: var(--brown);
    border-radius: 4px;
    transition: all 0.1s ease-out;
}
.header__phone-section {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.header__phone-item {
    display: flex;
    align-items: center;
    margin: 0 12px;
}
.phone {
    color: var(--brown);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.1s ease-out;
}
.phone:hover,
.phone:hover {
    color: var(--carmine);
    transition: color 0.1s ease-out;
}
.header__email-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brown);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    transition: color 0.1s ease-out;
}
.header__email-button:hover,
.header__email-button:active {
    color: var(--carmine);
}
.header__email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ad332d;
    transition: background-color 0.1s ease-out;
}
.header__email-button:hover .header__email-icon,
.header__email-button:active .header__email-icon {
    background-color: var(--carmine);
}
.header__email-icon img {
    display: block;
    width: 12px;
    height: 12px;
}
.logo {
    width: 175px;
    height: 55px;
    object-fit: cover;
}
.whatsapp-logo {
    object-fit: cover;
    width: 20px;
    height: 20px;
}
.whatsapp-link {
    line-height: 0;
    display: inline-block;
    margin-right: 8px;
}
.header__phone-timezone {
    margin-left: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #ff2118;
}
.header__prize-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4b3f 0%, #ad332d 100%);
    box-shadow: 0 6px 14px rgba(173, 51, 45, 0.24);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: box-shadow 0.15s ease-out, background 0.15s ease-out;
}
.header__prize-button:hover,
.header__prize-button:active {
    background: linear-gradient(135deg, #e33b32 0%, #8f2924 100%);
    box-shadow: 0 8px 18px rgba(173, 51, 45, 0.34);
    color: var(--white);
}
.header__prize-button:focus-visible {
    outline: 3px solid rgba(255, 75, 63, 0.32);
    outline-offset: 3px;
}
.booking-button {
    background-color: var(--brown);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 4px;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.1s ease-out;
}
.booking-button:hover,
.booking-button:active {
    background-color: var(--carmine);
    transition: background-color 0.1s ease-out;
}
.menu-button {
    display: none;
}
.header__phone-mobile-container {
    display: none;
}


/* Footer */
.footer {
    background-color: var(--white);
    padding: 20px 0;
}
.footer__copyright {
    font-size: 16px;
    text-align: center;
}


/* Главная страница */
.home-bg {
    background-image: url('../../public/photos/home-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 48px;
}
.brand-title--home {
    max-width: 1080px;
    padding-top: 140px;
    margin: 0 auto;
}
.brand-text-container--home-1 {
    padding-top: 30px;
}
.brand-text--home {
    max-width: 100%;
    padding: 10px 22px 12px;
    line-height: 1.2;
}
.home-offer {
    position: relative;
    width: min(100%, 560px);
    margin: 120px auto 0;
    padding: 48px 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    background-color: rgba(248, 240, 229, 0.84);
    box-shadow: 0 16px 36px rgba(50, 31, 28, 0.2);
    text-align: center;
}
.home-offer__icon {
    position: absolute;
    top: -100px;
    left: 50%;
    width: 140px;
    height: 140px;
    object-fit: contain;
    transform: translateX(-50%) rotate(8deg);
}
.home-offer__title {
    color: var(--black);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}
.home-offer__description {
    margin-top: 14px;
    color: #262626;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.45;
}
.home-offer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 22px;
    padding: 11px 26px;
    border-radius: 14px;
    background-color: #bd3028;
    box-shadow: 0 8px 18px rgba(157, 66, 58, 0.24);
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.home-offer__button:hover,
.home-offer__button:active {
    background-color: var(--carmine);
    box-shadow: 0 10px 22px rgba(157, 66, 58, 0.34);
}
.home-offer__button:focus-visible {
    outline: 3px solid rgba(189, 48, 40, 0.35);
    outline-offset: 3px;
}
.home-social-networks {
    margin: 64px auto 0;
}
.home-social-networks .social-networks--link {
    width: 64px;
    height: 64px;
}


/* Коттеджи */
.cottages-bg--top {
    background-image: url('../../public/photos/cottages-bg--top.jpg');
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}
.cottages-bg--bottom {
    background-image: url('../../public/photos/cottages-bg--bottom.jpg');
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}
.brand-title--cottages {
    text-shadow: rgb(0 0 0 / 30%) 0px 5px 0px;
    line-height: 80px;
    padding: 10px 0;
    font-size: 60px;
}
.cottages-bg--line-top {
    width: 100%;
    max-width: 250px;
    height: 1px;
    background-color: var(--white);
    margin: auto;
}
.cottages-bg--line-bottom {
    width: 100%;
    max-width: 540px;
    height: 1px;
    background-color: var(--white);
    margin: auto;
}
.cottages--bg-top-overlay {
    padding: 140px 0 50px;
}
.cottages--page-description {
    color: var(--black);
    font-size: 20px;
    text-align: center;
    font-weight: 500;
    padding: 30px 0;
    line-height: 26px;
}
.cottages-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 25px;
    row-gap: 20px;
}
.cottages-item {
    box-shadow: rgb(0 0 0 / 10%) 0px 4px 10px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
}
.cottages-item--photo-section {
    position: relative;
}
.cottages-item--photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    line-height: 0;
}
.cottages-item--name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 180px;
    background-color: var(--white);
    color: var(--dark-orange);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 10px;
}
.cottages-item--main-section {
    padding: 5px 10px;
}
.cottages-item--description {
    font-size: 20px;
    color: var(--black);
    font-weight: normal;
}
.cottages-item--list {
    color: #577083;
    font-size: 16px;
    padding: 10px 0;
}
.cottages-item--list > li {
    padding-bottom: 8px;
}
.cottages-item--list > li::before {
    content: '•';
    display: inline-block;
    margin-right: 4px;
    font-size: 24px;
    line-height: 0;
}
.cottages-item--button-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    padding: 0 10px
}
.cottages-item--button {
    background-color: var(--brown);
    color: var(--white);
    font-weight: 500;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
    transition: background-color 0.1s ease-out;
}
.cottages-item--button:hover,
.cottages-item--button:active {
    background-color: var(--carmine);
    transition: background-color 0.1s ease-out;
}
.camera-icon--cottages-item-button {
    margin-right: 10px;
}
.video-icon--cottages-item-button {
    margin-right: 10px;
}
.cottages-item--booking-button {
    background-color: var(--carmine);
}
.cottages-item--booking-button:hover,
.cottages-item--booking-button:active {
    background-color: var(--dark-orange);
}
.cottages--social-networks {
    padding-top: 50px;
    padding-bottom: 30px;
}
.cottages-bg--bottom-text-container {
    padding: 120px 0;
    text-align: center;
}
.cottages-bg--bottom-brand-text {
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    margin-top: 40px;
}
.cottages-bg--bottom-text-container .brand-text {
    background-color: rgba(36, 35, 35, 0.80);
    text-shadow: rgb(0 0 0 / 30%) 0px 5px 0px;
}


/* Баня */
.sauna-bg--top {
    background-image: url('../../public/photos/sauna-bg--top.jpg');
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}
.sauna--bg-top-overlay {
    padding: 180px 0 140px;
}
.sauna-items {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, auto);
}
.sauna-item {
    object-fit: cover;
    width: 100%;
    max-height: 655px;
    height: auto;
}
.sauna-item--3 {
    grid-column: 2 / 2;
    margin-top: -312px;
}
.sauna--social-networks {
    padding-top: 20px;
    padding-bottom: 20px;
}


/* Экскурсии */
.trip-bg {
    background-image: url('../../public/photos/trip-bg--top.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    padding-bottom: 110px;
}
.trip-title {
    font-weight: 800;
    font-size: 50px;
    text-align: center;
    padding-top: 180px;
    color: #1E2E45;
    line-height: 1.2;
}
.trip-title--big {
    font-size: 82px;
    text-transform: uppercase;
}
.trip-title-line {
    width: 100%;
    height: 1px;
    max-width: 800px;
    background-color: #1E2E45;
    margin: 20px auto;
}
.trip-description {
    font-size: 26px;
    color: #1E2E45;
    text-align: center;
    font-weight: 500;
    line-height: 1.5;
}
.trip-buttons {
    padding-top: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.trip-button {
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    padding: 16px 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--ceramic);
    color: var(--black);
    text-align: center;
    border-radius: 48px;
    transition: background-color 0.1s ease-out;
    max-width: 360px;
    width: 100%;
}
.trip-button:hover,
.trip-button:active {
    background-color: var(--white);
    transition: background-color 0.1s ease-out;
}
.trip-button--whatsapp {
    background-color: var(--carmine);
    color: var(--white);
    margin-bottom: 20px;
}
.trip-button--whatsapp:hover,
.trip-button--whatsapp:active {
    background-color: var(--brown);
    transition: background-color 0.1s ease-out;
}
.trip-car {
    display: flex;
}
.trip-car--text-section {
    max-width: 470px;
    flex: 1;
    padding: 40px;
    max-height: 660px;
}
.trip-car--text {
    font-size: 24px;
    color: var(--black);
    line-height: 1.5;
    font-weight: 300;
}
.trip-car--photo {
    background-image: url('../../public/photos/trip-car.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
    flex: 1;
}
.trip-bg--bottom {
    background-image: url('../../public/photos/trip-bg--bottom.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 200px;
    padding-bottom: 40px;
    background-position: center bottom;
}
.trib-bg--bottom-text {
    color: var(--black);
    font-size: 36px;
    text-align: center;
    line-height: 1.5;
}
.trip-bg--bottom-tel {
    color: var(--black);
    font-weight: 600;
    font-size: 42px;
    white-space: nowrap;
}
.trip-bg--bottom-copyright {
    font-size: 20px;
    color: var(--white);
    line-height: 1.5;
    text-align: center;
    font-weight: 600;
    padding-top: 230px;
}
.place-carousel--image {
    object-fit: cover;
    object-position: center bottom;
    max-height: 680px;
    width: 100%;
    height: 100vh;
}
.place-carousel {
    position: relative;
}
.place-carousel--item {
    line-height: 0;
}
.place-carousel--title {
    text-shadow: rgb(0 0 0 / 40%) 0px 4px 5px;
    font-weight: 600;
    font-size: 84px;
    line-height: 1.2;
    text-align: center;
    color: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-transform: uppercase;
    white-space: nowrap;
}
.place-carousel .slick-dots {
    bottom: 30px;
}
.place-carousel .slick-dots li button:before {
    font-size: 20px;
    opacity: 0.4;
    color: var(--white);
}
.place-carousel .slick-dots li.slick-active button:before {
    color: var(--white);
    opacity: 0.8;
}
.place-carousel .slick-dotted.slick-slider {
    margin-bottom: 0;
}
.place-carousel .slick-next:before,
.place-carousel .slick-prev:before {
    width: 15px;
    height: 28px;
}
.place-carousel .slick-prev,
.place-carousel .slick-next {
    width: 48px;
    height: 48px;
}
.place-carousel--author {
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    position: absolute;
    bottom: 20px;
    right: 40px;
}


/* Оффер */
.offer-image {
    object-fit: cover;
    width: 100%;
    height: auto;
}
.offer-item--first {
    padding-top: 60px;
}
.offer-item {
    position: relative;
}
.offer--button {
    color: var(--white);
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 600;
    background-color: var(--brown);
    border-radius: 8px;
    transition: background-color 0.1s ease-out;
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 36px;
    text-align: center;
}
.offer--button:hover,
.offer--button:active {
    background-color: var(--carmine);
    transition: background-color 0.1s ease-out;
}
.offer--button_presentation {
    bottom: 15%;
}


/* Контакты */
.contacts-bg {
    background-image: url('../../public/photos/contacts-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    width: 100%;
    padding-top: 240px;
    padding-bottom: 180px;
}
.contacts--title {
    color: var(--white);
    font-size: 38px;
    text-align: center;
}
.contacts--phone {
    color: var(--white);
    font-size: 32px;
    font-weight: 600;
    text-align: center;
}
.contacts--text {
    color: var(--white);
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
}
.contacts--text-link {
    color: var(--white);
}
.contacts-line {
    background-color: var(--white);
    height: 1px;
    width: 100%;
    max-width: 520px;
    margin: 40px auto 60px;
}
.map-description-section {
    background-color: var(--white);
    padding: 20px 40px;
}
.map-description--title {
    text-align: center;
    font-size: 28px;
    color: var(--black);
    padding-bottom: 10px;
}
.map-description--text {
    text-align: center;
    font-size: 20px;
    color: var(--black);
    line-height: 1.4;
}


/* Форма бронирования */
.booking-form {
    background-color: rgba(255,255,255,0.8);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    box-shadow: 0 0 4px 0 rgba(0,0,0,.15);
    padding: 20px;
    max-width: 446px;
    width: 100%;
    margin: auto;
}
.booking-form__field-name {
    color: var(--black);
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 8px;
    padding-right: 5px;
}
.booking-form__flex-row {
    display: flex;
    align-items: center;
}


/* Dropdown */
[data-component="dropdown"] {
    position: relative;
    width: 100%;
}
[data-dropdown="items"] {
    display: none;
    position: absolute;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0px 12px 18px rgba(0,0,0,0.25);
    border: 1px solid var(--black);
    width: 100%;
    z-index: 99;
}
.dropdown-items {
    border: none;
    width: 100%;
    top: 100%;
    left: 0;
}
.dropdown-default {
    cursor: pointer;
}
.dropdown-item {
    border: none;
    font-weight: 500;
    font-size: 16px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--black);
    line-height: 1;
    padding: 10px 8px;
    width: 100%;
    white-space: nowrap;
    transition: .1s ease-out;
    border-radius: 0;
}
.dropdown-item.active {
    background-color: var(--brown);
    color: var(--white);
    border-radius: 4px;
}
.dropdown-item:hover {
    background-color: var(--brown);
    transition: .1s ease-out;
    color: var(--white);
    border-color: var(--brown);
    border-radius: 4px;
}
.dropdown-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.dropdown-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}


/* Languages */
.languages {
    display: flex;
    align-items: center;
}
.languages-item {
    display: inline-block;
    padding: 0 4px;
}
.languages-item.active {
    background-color: var(--brown);
    border-radius: 4px;
}
.languages--en,
.languages--ru,
.languages--de,
.languages--es {
    background-image: url('../images/uk.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 30px;
    height: 25px;
    display: inline-block;
}
.languages--ru {
    background-image: url('../images/russia.svg');
}
.languages--de {
    background-image: url('../images/germany.svg');
}
.languages--es {
    background-image: url('../images/spain.svg');
}


@media (max-width: 1079px) {
    .logo {
        width: 150px;
        height: auto;
    }
    .navigation-item {
        font-size: 16px;
    }
    .header__logo {
        margin-right: 10px;
        display: flex;
        align-items: center;
    }
    .header__phone-mobile-container {
        margin-left: 20px;
    }
    .cottages-bg--bottom-brand-text {
        font-size: 14px;
    }
    .sauna-item {
        max-height: none;
    }
    .sauna-item--3 {
        grid-column: 1 / 1;
        margin-top: 0;
    }
    .sauna-items {
        grid-template-columns: repeat(1, auto);
    }
    .trip-title {
        font-size: 38px;
        padding-top: 120px;
    }
    .trip-title--big {
        font-size: 54px;
    }
    .trip-description {
        font-size: 20px;
    }
    .trip-button {
        font-size: 18px;
        padding: 12px 10px;
        max-width: 300px;
    }
    .trib-bg--bottom-text {
        font-size: 28px;
        line-height: 1.2;
    }
    .trip-bg--bottom-tel {
        font-size: 34px;
    }
    .trip-bg--bottom-copyright {
        font-size: 18px;
        line-height: 1.2;
    }
    .place-carousel--title {
        font-size: 54px;
    }
    .place-carousel .slick-dots li button:before {
        font-size: 18px;
    }
    .offer--container {
        padding: 0;
    }
    .booking-container {
        max-width: 100vw;
    }
}


@media (max-width: 1023px) {
    .header.open {
        background-color: var(--white);
    }
    .header__booking-button {
        display: none;
    }
    .header__main {
        display: none;
    }
    .menu-button {
        display: flex;
    }
    .menu-button__icon {
        width: 32px;
        height: 32px;
        object-fit: cover;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #menu-close {
        display: none;
        width: 28px;
        height: 28px;
    }
    .header__phone-mobile-container {
        display: flex;
    }
    .menu-button.open #menu-close {
        display: block;
    }
    .menu-button.open #menu-open {
        display: none;
    }
    .header__main.open {
        position: absolute;
        top: 72px;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        display: block;
        z-index: 999;
        animation: .3s ease-out fadeIn-right;
        padding: 0 10px;
    }
    .header__navigation {
        align-items: flex-start;
        flex-direction: column;
    }
    .navigation-item {
        margin: 0 -10px;
        padding: 12px 10px !important;
        display: block;
        width: 100%;
        text-align: left;
    }
    .navigation-item:hover,
    .navigation-item:active {
        border-radius: 0;
    }
    .header__phone-section {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0;
    }
    .header__phone-item {
        margin: 0;
    }
    .phone {
        display: block;
        width: 100%;
        padding: 12px 0;
    }
    .header__email-button {
        padding: 12px 0;
    }
    .header__prize-button {
        width: 100%;
        min-height: 44px;
        margin-top: 10px;
        padding: 12px 20px;
        font-size: 15px;
    }
    .header__prize-item {
        width: min(100%, 260px);
    }
    .header__booking-button--menu {
        background-color: transparent;
        color: var(--brown);
        font-size: 16px;
        font-weight: 700;
        margin-left: 0;
        text-transform: uppercase;
    }
    .header__booking-button--menu:hover,
    .header__booking-button--menu:active {
        background-color: transparent;
    }
    .brand-title {
        font-size: 60px;
        line-height: 90px;
    }
    .brand-title--home {
        max-width: 820px;
        padding-top: 115px;
    }
    .brand-text {
        font-size: 24px;
    }
    .brand-text--home {
        font-size: 22px;
    }
    .home-offer {
        max-width: 520px;
        margin-top: 120px;
        padding: 44px 24px 22px;
    }
    .home-offer__icon {
        top: -90px;
        width: 128px;
        height: 128px;
    }
    .home-offer__title {
        font-size: 25px;
    }
    .home-offer__description {
        font-size: 19px;
    }
    .cottages-bg--bottom-brand-text {
        font-size: 14px;
    }
    .brand-title--cottages {
        font-size: 48px;
        line-height: 62px;
    }
    .cottages--page-description {
        font-size: 18px;
    }
    .cottages-item--list {
        font-size: 14px;
    }
    .cottages-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .trip-car--text {
        font-size: 20px;
    }
    .navigation-item[data-component="dropdown"] {
        display: none;
    }
    .languages--desktop {
        display: none;
    }
}


@media (max-width: 767px) {
    .brand-text {
        font-size: 18px;
    }
    .brand-title--home {
        max-width: 680px;
        padding-top: 105px;
    }
    .brand-title {
        font-size: 48px;
        line-height: 80px;
    }
    .home-bg {
        padding-bottom: 32px;
    }
    .brand-text-container--home-1 {
        padding-top: 20px;
    }
    .brand-text--home {
        padding: 9px 14px 11px;
        font-size: 18px;
    }
    .home-offer {
        margin-top: 100px;
        padding: 42px 16px 20px;
        border-radius: 12px;
    }
    .home-offer__icon {
        top: -80px;
        width: 112px;
        height: 112px;
    }
    .home-offer__title {
        font-size: 23px;
    }
    .home-offer__description {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.5;
    }
    .home-offer__button {
        min-height: 44px;
        margin-top: 20px;
        padding: 10px 20px;
        border-radius: 12px;
        font-size: 16px;
    }
    .home-social-networks {
        margin-top: 40px;
    }
    .home-social-networks .social-networks--link {
        width: 52px;
        height: 52px;
    }
    .footer {
        padding: 16px 0;
    }
    .footer__copyright {
        font-size: 14px;
    }
    .youtube-iframe {
        width: 100vw;
        max-width: 100vw;
        min-height: calc(100vw / 1.7);
        height: auto;
    }
    .cottages-items {
        grid-template-columns: repeat(1, 1fr);
    }
    .brand-title--cottages {
        font-size: 28px;
        line-height: 40px;
    }
    .cottages--bg-top-overlay {
        padding: 110px 0 40px;
    }
    .cottages--page-description {
        font-size: 16px;
        padding: 20px 0;
    }
    .cottages-bg--bottom-text-container .brand-text {
        font-size: 14px;
    }
    .cottages-bg--bottom-text-container {
        padding: 60px 0;
    }
    .brand-description {
        font-size: 20px;
        line-height: 26px;
        padding-bottom: 15px;
    }
    .sauna--bg-top-overlay {
        padding: 140px 0 80px;
    }
    .trip-title {
        font-size: 20px;
    }
    .trip-title--big {
        font-size: 36px;
    }
    .trip-description {
        font-size: 16px;
        line-height: 1.4;
    }
    .trip-buttons {
        padding-top: 40px;
    }
    .trip-button {
        font-size: 16px;
        max-width: 280px;
    }
    .trip-buttons {
        align-items: center;
    }
    .trip-car--photo {
        flex: none;
        height: 420px;
    }
    .trip-car {
        flex-direction: column;
    }
    .trip-car--text-section {
        padding: 20px;
        max-width: 100%;
    }
    .trip-car--text {
        font-size: 18px;
    }
    .trip-bg--bottom {
        padding-top: 60px;
    }
    .trib-bg--bottom-text {
        font-size: 24px;
    }
    .trip-bg--bottom-tel {
        font-size: 26px;
    }
    .trip-bg--bottom-copyright {
        font-size: 16px;
        padding-top: 100px;
    }
    .place-carousel--title {
        font-size: 24px;
    }
    .place-carousel .slick-dots {
        bottom: 10px;
    }
    .place-carousel .slick-prev,
    .place-carousel .slick-next {
        width: 32px;
        height: 32px;
    }
    .place-carousel .slick-next:before,
    .place-carousel .slick-prev:before {
        width: 11px;
        height: 20px;
    }
    .place-carousel .slick-dots li button:before {
        font-size: 16px;
    }
    .place-carousel--image {
        height: auto;
    }
    .place-carousel--author {
        font-size: 8px;
        bottom: 10px;
        right: 10px;
    }
    .offer--button {
        white-space: nowrap;
        padding: 12px 24px;
        font-size: 18px;
    }
    .contacts--title {
        font-size: 28px;
    }
    .contacts--phone {
        font-size: 28px;
    }
    .contacts--text {
        font-size: 18px;
    }
    .map-description--title {
        font-size: 24px;
    }
    .map-description--text {
        font-size: 16px;
    }
    .contacts-bg {
        padding-top: 140px;
        padding-bottom: 60px;
    }
    .contacts-line {
        margin: 20px auto 40px;
    }
}


@media (max-width: 576px) {
    .phone {
        font-size: 14px;
    }
    .logo {
        width: 120px;
    }
    .header__container {
        padding: 15px 10px;
    }
    .header__phone-mobile-container {
        margin-left: 5px;
    }
    .brand-title {
        font-size: 36px;
        line-height: 56px;
    }
    .brand-title--home {
        padding-top: 90px;
    }
    .brand-title.brand-title--home {
        font-size: 32px;
        line-height: 1.3;
    }
    .brand-text--home {
        font-size: 16px;
    }
    .home-offer {
        margin-top: 90px;
        padding: 40px 10px 18px;
    }
    .home-offer__icon {
        top: -72px;
        width: 102px;
        height: 102px;
    }
    .home-offer__title {
        font-size: 21px;
    }
    .home-offer__description {
        font-size: 14px;
    }
    .home-offer__button {
        width: min(100%, 300px);
        font-size: 14px;
    }
    .home-social-networks .social-networks--link {
        width: 48px;
        height: 48px;
        margin: 0 6px;
    }
    .brand-text {
        font-size: 16px;
        line-height: 1.5;
    }
    .brand-title--cottages {
        font-size: 28px;
        line-height: 40px;
    }
    .header__booking-button--menu {
        padding: 10px 10px;
        font-size: 14px;
    }
}


@media (max-width: 540px) {
    .tingle-modal__close {
        background-color: var(--carmine);
    }
}


@media (min-width: 1080px) {
    .custom-checkbox > span::before {
        width: 20px;
        height: 20px;
    }
    .custom-checkbox > input:checked + span::before {
        background-size: 14px 11px;
    }
}
