/* === Общие сбросы и переменные === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block;}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === Шапка === */
.site-header {
    background: #5e7761;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 2px;
    max-height: 130px;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.logo {
    flex-shrink: 0;
}
.header-phone {
    font-weight: 600;
    font-size: 18px;
    color: #ffffff;
    white-space: nowrap;
}
@media (min-width: 769px) {
    .header-phone.mobile-only {
        display: none;
    }
}

/* Основное меню */
.main-nav {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    gap: 20px;
    font-weight: 600;
    font-size: 15px;
}
.nav-list a {
    color: #ffffff;
    transition: color 0.3s;
}
.nav-list a:hover {
    color: #f0f0f0;
}

/* Виджет репутации */
.header-rating {
    width: 180px;
    margin-left: auto;
    padding-left: 30px;
    margin-top: 10px;
}

/* Бургер-кнопка */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 70px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-toggle .bar {
    width: 100%;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    margin: 3px 0;
}

/* === Hero-секция (внутренние страницы) === */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
}
.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* === Основной контент === */
.main-content {
    padding: 10px 0;
    min-height: 400px;
}

/* === Подвал === */
.site-footer {
    background: #5e7761;
    color: #ecf0f1;
}
.footer-main {
    padding: 50px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 5px;
    display: inline-block;
}
.footer-col p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.footer-contacts,
.footer-links,
.footer-blog {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.footer-contacts li,
.footer-links li,
.footer-blog li {
    margin-bottom: 0;
    font-size: 0.95rem;
}
.footer-col a {
    color: #bdc3c7;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: #fff;
}
.footer-contacts li i,
.footer-links li i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: #c0392b;
}
.footer-bottom {
    background: #4a6350;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

/* === Адаптивность (общие моменты) === */
@media (max-width: 768px) {
    .site-header {
        min-height: 45px;
    }
    .header-container {
        flex-wrap: wrap;
        padding: 5px 10px;
        /*gap: 5px;*/
        align-items: flex-start;
    }
    .header-brand {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        max-height: 100px;
    }
    .logo {
        order: 1;
    }
    .nav-toggle {
        display: flex;
        order: 2;
        
        transform: translateY(-35px);
    }
    .header-phone.mobile-only {
        display: block;
        order: 3;
        width: 100% !important;
        flex-basis: 100% !important;
        text-align: right;
        
        transform: translateY(-35px);
    }
    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        order: 4;
    }
    .main-nav.active {
        max-height: 400px;
    }
    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }
    .header-rating {
        width: 100%;
        margin: 10px 0;
        padding-left: 0;
        margin-top: 0;
        order: 5;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* === Страница "Номера" === */
.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Play', sans-serif;
    color: #2c3e50;
}
.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.room-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.room-img {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.room-card:hover .room-img img {
    transform: scale(1.03);
}
.room-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #c0392b;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.room-price small {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.9;
}
.room-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.room-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.4;
}
.room-specs {
    list-style: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #444;
}
.room-specs li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}
.room-specs li i {
    width: 20px;
    color: #c0392b;
    margin-right: 8px;
    text-align: center;
}
.room-guests {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 12px;
}
.btn-book {
    display: block;
    background: #c0392b;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.1s;
    text-align: center;
    margin: 10px auto 0;
    width: fit-content;
    border: none;
    cursor: pointer;
}
.btn-book:hover {
    background: #a93226;
    color: #fff;
    transform: scale(1.02);
}
.btn-details {
    display: inline-block;
    padding: 8px 88px;
    border: 2px solid #c0392b;
    color: #c0392b;
    background: #fff;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s;
    margin-top: 10px;
    text-align: center;
}
.btn-details:hover {
    background: #c0392b;
    color: #fff;
}

/* === Страница отдельного номера === */
.room-detail {
    padding: 60px 0;
}
.room-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.room-gallery {
    position: static;
}
.room-details h1 {
    font-size: 2rem;
    font-family: 'Play', sans-serif;
    color: #2c3e50;
    margin-bottom: 20px;
}
.room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
}
.room-meta span i {
    margin-right: 5px;
    color: #c0392b;
}
.room-detail .room-price {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    color: #c0392b;
    font-size: 1.1rem;
    font-weight: 700;
}
.room-description {
    margin-bottom: 30px;
}
.room-description h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: #2c3e50;
}
.room-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.room-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.room-features-list li i {
    color: #c0392b;
    width: 20px;
    text-align: center;
}
.btn-book-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}
/* Белый текст на детальной странице номера */
.room-detail .room-details,
.room-detail .room-details h1,
.room-detail .room-details h3,
.room-detail .room-details p,
.room-detail .room-meta,
.room-detail .room-meta span,
.room-detail .room-price,
.room-detail .room-price small,
.room-detail .room-features-list li {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* === Галерея номера (миниатюры) === */
.gallery-main {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.gallery-main img {
    width: 100%;
    display: block;
}
.gallery-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gallery-thumbs-wrapper {
    flex: 1;
    overflow: hidden;
    scroll-behavior: smooth;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    flex-wrap: nowrap;
}
.gallery-thumbs img {
    width: calc((100% - 30px) / 4);
    flex-shrink: 0;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.gallery-thumbs img:hover {
    border-color: #c0392b;
}
.carousel-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.carousel-btn:hover {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}
.carousel-btn:disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* === Лайтбокс === */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* === Страница контактов === */
.contacts-page .container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.layout-main {
    flex: 2;
}
.layout-main p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.layout-main a {
    color: #c0392b;
}
aside {
    flex: 1;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-list {
    list-style: none;
    margin-bottom: 25px;
}
.contact-list li {
    margin-bottom: 35px;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 35px;
}
.contact-list li i {
    width: 20px;
    color: #c0392b;
    margin-top: 3px;
    text-align: center;
}
.btn-big {
    display: block;
    width: 100%;
    text-align: center;
    background: #c0392b;
    color: #fff;
    padding: 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
    text-decoration: none;
    margin-top: 150px;
}
.btn-big:hover {
    background: #a93226;
    color: #fff;
}

/* Слайдер карт на странице контактов */
.map-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}
.map-slider-img {
    order: 2;
    flex: 1;
}
.map-btn:first-child {
    order: 1;
}
.map-btn:last-child {
    order: 3;
}
.map-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* === Страница бронирования === */
.booking-page {
    padding: 5px 0;
}
.booking-info {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}
.booking-info ul {
    margin: 15px 0;
    padding-left: 20px;
    list-style: disc;
}
.booking-info li {
    margin-bottom: 10px;
}
.booking-info a {
    color: #c0392b;
    text-decoration: underline;
}
.promocode {
    background: #f9f9f9;
    padding: 10px 15px;
    border-left: 4px solid #c0392b;
    border-radius: 4px;
    font-size: 1.1rem;
    margin: 20px 0;
}
#tl-booking-form {
    margin-top: 0;
    margin-bottom: 30px;

}
#tl-booking-form iframe {
    max-width: 100% !important;
    min-width: 100% !important;
    width: 100% !important;
}

/* === Блог (список) === */
.blog-list {
    padding: 50px 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.blog-card-img {
    height: 200px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.03);
}
.blog-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-body h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-body h2 a {
    color: #2c3e50;
    transition: color 0.2s;
}
.blog-card-body h2 a:hover {
    color: #c0392b;
}
.blog-card-body p {
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}
.read-more {
    color: #c0392b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    transition: gap 0.2s;
}
.read-more:hover {
    gap: 10px;
    color: #a93226;
}

/* === Статья блога === */
.article-page {
    padding: 50px 0;
}
.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}
.article-featured {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px 0;
}
.article-content p {
    margin-bottom: 20px;
}
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
    margin-top: 30px;
    transition: color 0.2s;
}
.btn-back:hover {
    color: #a93226;
}

/* === Страница услуг === */
.services-page {
    padding: 50px 0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.service-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}
.service-item i {
    font-size: 2.5rem;
    color: #c0392b;
    margin-bottom: 15px;
    display: block;
}
.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}
.service-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
.services-note {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #c0392b;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* === Уголок потребителя === */
.consumer-page {
    padding: 50px 0;
}
.consumer-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: 'Play', sans-serif;
}
.consumer-info p {
    margin-bottom: 30px;
    color: #555;
}
.consumer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.consumer-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.consumer-list li i {
    font-size: 1.5rem;
    color: #c0392b;
    margin-top: 3px;
}
.consumer-list li strong {
    display: block;
    margin-bottom: 4px;
    color: #2c3e50;
}
.consumer-list li span,
.consumer-list li a {
    color: #555;
    font-size: 0.95rem;
}
.consumer-list li a {
    color: #c0392b;
    text-decoration: underline;
}
.consumer-note {
    background: #f9f9f9;
    border-left: 4px solid #c0392b;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.95rem;
}
.consumer-note i {
    margin-right: 8px;
    color: #c0392b;
}

/* === Отзывы === */
.reviews-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #555;
}
#tl-reviews-widget {
    min-height: 300px;
}
#tl-reviews-widget iframe {
    width: 100% !important;
    min-width: 100% !important;
    display: block;
}

/* === Заглушка для формы бронирования === */
.booking-form-placeholder {
    background: #f9f9f9;
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: 30px;
}
.booking-form-placeholder a {
    color: #c0392b;
    font-weight: 600;
}

/* === Страница "О нас" === */
.page-fullscreen {
    position: relative;
    min-height: calc(100vh - 80px);
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #fff;
}
.page-fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}
.page-fullscreen-content {
    position: relative;
    z-index: 2;
}
.page-fullscreen-content h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-family: 'Play', sans-serif;
    color: #fff;
}
.page-fullscreen-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #fff;
}
.page-fullscreen-content p,
.page-fullscreen-content ul {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}
.page-fullscreen-content ul {
    list-style: disc;
    padding-left: 25px;
}
.about-cta {
    margin-top: 40px;
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 12px;
}

/* === Фон для внутренних страниц === */
body:not(.home) {
    background-image: url('../img/FON-INNER.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* === Светлый текст на внутренних страницах === */
body:not(.home) .page-title,
body:not(.home) .page-subtitle,
body:not(.home) .services-note,
body:not(.home) .reviews-intro,
body:not(.home) .article-page h1,
body:not(.home) .article-page h2,
body:not(.home) .article-page h3,
body:not(.home) .article-page h4,
body:not(.home) .article-page h5,
body:not(.home) .article-page h6,
body:not(.home) .article-content p,
body:not(.home) .booking-info p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
body:not(.home) .contacts-page .layout-main p,
body:not(.home) .contacts-page .layout-main a,
body:not(.home) .consumer-page .consumer-info p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
body:not(.home) .consumer-page .consumer-note p,
body:not(.home) .consumer-page .consumer-note a {
    color: #000000;
    text-shadow: none;
}

/* === Главная страница === */
.home .index-main {
    background-image: url('../img/FON.jpg');
    background-size: cover;
    background-position: center calc(50% - 45px);
    background-repeat: no-repeat;
    min-height: calc(100vh - 80px);
}

/* Обёртка формы бронирования */
.index-booking-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 560px 20px 30px;
    
}

/* Своя форма бронирования */
.custom-booking-form {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    padding: 15px 25px;
    width: 100%;
    max-width: 1100px;
}
.cbf-left {
    flex-shrink: 0;
    line-height: 1.3;
    color: #2c3e50;
}
.cbf-left strong {
    display: block;
    font-size: 1.1rem;
}
.cbf-left span {
    font-size: 0.85rem;
    color: #666;
}
.cbf-fields {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex: 1;
}
.cbf-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.cbf-field label {
    font-size: 0.8rem;
    color: #888;
}
.cbf-field input,
.cbf-field select {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
}
.cbf-submit {
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}
.cbf-submit:hover {
    background: #a93226;
}

/* Блок с номерами */
.index-rooms {
    flex: 1;
    padding: 40px 0 60px;
    background: rgba(0, 0, 0, 0.35);
}
.index-rooms-title {
    text-align: center;
    color: #ffffff;
    font-family: 'Play', sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.index-rooms .rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Мобильная версия главной */
@media (max-width: 768px) {
    /* Отступ сверху, чтобы форма не прилипала к шапке */
    .index-booking-wrapper {
        padding: 40px 10px 20px;
    }

    /* Форма — в одну колонку */
    .custom-booking-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 15px;
    }

    /* Заголовок формы */
    .cbf-left {
        text-align: center;
    }

    /* Поля — в одну колонку */
    .cbf-fields {
        flex-direction: column;
        gap: 10px;
    }

    .cbf-field {
        width: 100%;
    }

    .cbf-field input,
    .cbf-field select {
        font-size: 16px;   /* важно: чтобы iOS не зумил при фокусе */
        padding: 10px;
    }

    /* Кнопка на всю ширину */
    .cbf-submit {
        width: 100%;
        padding: 14px;
        font-size: 1.05rem;
    }

    /* Блок с номерами */
    .index-rooms {
        padding: 25px 0 40px;
    }
    .index-rooms-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .index-rooms .rooms-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
/* Тёмная подложка под описанием номера */
.room-detail .room-details {
    background: rgba(0, 0, 0, 0.65);   /* полупрозрачный чёрный */
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(2px);        /* легкое размытие фона, по желанию */
}
/* Тёмная подложка под блоком информации о бронировании */
.booking-info {
    background: rgba(0, 0, 0, 0.65);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

/* Светлый текст внутри подложки для читаемости */
.booking-info p,
.booking-info li,
.booking-info a,
.booking-info strong {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
@media (min-width: 769px) {
    .main-nav {
        margin-left: 10px;   /* регулируйте значение */
    }
}
/* Подложка под первым абзацем на странице контактов */
.contacts-page .layout-main > p {
    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
    border-radius: 12px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

/* Подложка под текстом в слайдере карт */
.contacts-page .map-slider-text {
    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
    border-radius: 12px;
}

.contacts-page .map-slider-text p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
/* Тёмная подложка под блоком "Информация для гостей" */
.consumer-info {
    background: rgba(0, 0, 0, 0.65);
    padding: 30px;
    border-radius: 12px;
}

/* Белый текст внутри блока */
.consumer-info h2,
.consumer-info p,
.consumer-info strong,
.consumer-info span,
.consumer-info a {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Белые иконки в списке */
.consumer-list li i {
    color: #ffffff;
    background: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
/* Чёрные символы внутри белых иконок */
.consumer-list li i::before {
    color: #000000;
}

/* Иконка в примечании */
.consumer-note i {
    color: #ffffff;
    background: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-right: 8px;
    vertical-align: middle;
}
.consumer-note i::before {
    color: #000000;
}

/* Текст в примечании тоже белый */
.consumer-note p,
.consumer-note a {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
/* === Страница "Гостям": убираем белые фоны, делаем текст и значки белыми === */

/* Карточки списка — прозрачный фон */
.consumer-list li {
    background: transparent !important;
    box-shadow: none !important;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Примечание — прозрачный фон */
.consumer-note {
    background: transparent !important;
    border-left: 4px solid #ffffff;
}

/* Белый текст для всех элементов внутри consumer-info */
.consumer-info h2,
.consumer-info p,
.consumer-info strong,
.consumer-info span,
.consumer-info a,
.consumer-info li,
.consumer-note p,
.consumer-note a {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Значки в списке — белый круг с чёрным символом */
.consumer-list li i {
    color: #000000 !important;
    background: #ffffff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0;
}

/* Значок в примечании — тоже белый круг */
.consumer-note i {
    color: #000000 !important;
    background: #ffffff !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-right: 8px;
    vertical-align: middle;
}
/* === Страница "Как дойти" === */
.how-to-get-page {
    padding: 60px 0;
}
.how-to-get-page .page-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}
.how-to-get-page .map-slider {
    max-width: 900px;
    margin: 0 auto;
}
.how-to-get-page .map-slider-text {
    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}
.how-to-get-page .map-slider-text p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
/* Блок контактов: чуть уже и выше */
.contacts-page .layout-sidebar {
    max-width: 40%;    /* ограничиваем ширину */
    margin: 0 auto 50px;      /* центрируем */
    min-height: 300px
      /* больше отступов по вертикали */
}
@media (max-width: 768px) {
    .contacts-page .layout-sidebar {
        max-width: 90%;
        padding: 10px 10px;
        max-height: 150px;
        margin-top: auto;
    }
}
@media (max-width: 768px) {
    .btn-big{
        max-width: 100%;
        padding: 10px 10px;
        max-height: 150px;
        margin-top: 80px;
    }
}
.contacts-page .contact-list li {
    font-size: 2.1rem;   /* было 1rem, увеличиваем */
}
.contacts-page .contact-list li i {
    font-size: 2.1rem;
    width: 30px;
}
.contacts-page .contact-list li a {
    display: inline-flex;
    align-items: center;
    gap: 35px;
}
@media (max-width: 768px) {
    .contacts-page .contact-list li {
        font-size: 1.1rem;    /* меньше, чем на десктопе */
    }
    .contacts-page .contact-list li i {
        font-size: 1.2rem;
        width: 22px;
    }
    .contacts-page .contact-list li a,
    .contacts-page .contact-list li {
        gap: 10px;            /* меньше отступ между иконкой и текстом */
    }
}
/* Кнопка MAX */
.btn-max {
    display: block;
    width: 40%;
    text-align: center;
    background: #005bff;   /* фирменный цвет MAX */
    color: #fff;
    padding: 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s;
    text-decoration: none;
    margin: 0 auto;
}
.btn-max:hover {
    background: #0048cc;
    color: #fff;
}
/* Карточка номера: кнопки всегда внизу */
.room-info {
    display: flex;
    flex-direction: column;
}

/* Список характеристик растягивается, занимая всё свободное место */
.room-info .room-specs {
    flex: 1 1 auto;
    margin-bottom: 0;
}

/* Кнопка "Подробнее" — сразу над "Забронировать" */
.room-info .btn-details {
    margin-top: 10px;
    align-self: center;   /* если нужно по центру */
}

/* Кнопка "Забронировать" — внизу с отступом */
.room-info .btn-book {
    margin-top: 10px;
    margin-bottom: 5px;   /* небольшой отступ от низа карточки */
    align-self: center;
}
/* Мобильная версия: компактная шапка на всех страницах, кроме главной */
@media (max-width: 768px) {
    /* Шапка внутренних страниц на мобильных */
    body:not(.home) .site-header {
        min-height: 70px;
        height: 70px;
        overflow: visible;
    }
    body:not(.home) .header-container {
        padding: 0 10px;
        align-items: center;
        height: 70px;
        flex-wrap: nowrap;
    }
    body:not(.home) .header-brand {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        height: 70px;
    }

    /* Логотип — чуть меньше и слева */
    body:not(.home) .logo {
        order: 1;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    body:not(.home) .logo img {
        width: 100px;   /* уменьшаем логотип */
        height: auto;
    }

    /* Телефон — рядом с логотипом */
    body:not(.home) .header-phone.mobile-only {
        order: 2;
        display: block;
        font-size: 14px;
        margin-left: 12px;
        white-space: nowrap;
        transform: none;
        position: static;
        margin-right: 10px;
    }

    /* Бургер — справа */
    body:not(.home) .nav-toggle {
        order: 3;
        display: flex;
        margin-left: auto;
        transform: none;
        position: static;
        align-self: center;
    }

    /* Меню раскрывается под шапкой */
    body:not(.home) .main-nav {
        order: 4;
    }

    /* Скрываем рейтинг на внутренних страницах */
    body:not(.home) .header-rating {
        display: none;
    }

    /* Кнопка «На главную» — тоже убираем, если она есть в header-brand */
    body:not(.home) .btn-home-mobile {
        display: none;
    }
}
 
/* Кнопка "На главную" — только на мобильных, кроме главной */
.btn-home-mobile {
    display: none;
}
@media (max-width: 768px) {
    body:not(.home) .btn-home-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        color: #fff;
        font-size: 1rem;
        margin-right: 10px;
        text-decoration: none;
        flex-shrink: 0;
        transition: background 0.3s;
    }
    body:not(.home) .btn-home-mobile:hover {
        background: rgba(255,255,255,0.4);
    }
}
@media (max-width: 768px) {
    .main-nav.active .nav-list {
        background: rgba(0, 0, 0, 0.75);
        padding: 15px;
        border-radius: 12px;
    }
}
.header-rating {
    width: 160px;      /* было 180px — уменьшаем ширину */
    height: 130px;      /* фиксируем высоту */
    overflow: hidden;  /* обрезаем лишнее */
    margin-left: auto;
    padding-left: 20px;
    margin-top: 0px;
}

.header-rating #tl-reputation-widget {
    width: 100%;
    height: 100%;
}

.header-rating iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block;
}
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap !important;
    }
    .main-nav {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        order: 4;
    }
    .main-nav.active {
        max-height: 400px;
    }
    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.75);
        border-radius: 12px;
    }
}