/* =========================================
    ОТЗЫВЫ — СПЕЦИФИЧЕСКИЕ СТИЛИ СТРАНИЦЫ
   ========================================= */

html, body.reviews-page {
    background-color: #FDFBF4 !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.reviews-main-container {
    padding: 60px 0 100px;
    background-color: #FDFBF4 !important;
}

/* --- КОРПОРАТИВНЫЕ ЦВЕТА --- */
[data-lucide] {
    color: #244471;
}

.reviews-title, h3, h4 {
    color: #244471 !important;
}

/* 3. БЕЛЫЕ КАРТОЧКИ РЕЙТИНГА */
.sutochno-rating-card {
    background: #ffffff !important;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 4. БЕЛЫЕ КАРТОЧКИ ОТЗЫВОВ */
.single-review {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    background: #ffffff !important;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* --- БЛОК ОТПРАВКИ ОТЗЫВА --- */
.review-cta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 20px;
    background: #ffffff !important;
    border-radius: 20px;
    border: 1px solid #eee;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.review-cta p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* КНОПКИ МЕССЕНДЖЕРОВ */
.cta-btn.whatsapp, 
.cta-btn.telegram {
    background-color: #244471 !important;
    border-color: #244471 !important;
    color: #ffffff !important;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.cta-btn [data-lucide] {
    color: #ffffff !important;
}

.cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 68, 113, 0.2);
}

/* 5. СТИЛИ КОНТЕНТА И РЕЙТИНГА */
.rating-main-info { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    min-width: 250px; 
}

.big-badge { 
    background: #399d7b; 
    color: #fff; 
    font-size: 32px; 
    font-weight: 700; 
    padding: 10px 18px; 
    border-radius: 14px; 
    line-height: 1; 
}

.rating-details-grid { 
    flex-grow: 1; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px 50px; 
}

.detail-item { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 15px; 
    font-size: 15px; 
}

.p-line { 
    flex-grow: 1; 
    height: 4px; 
    background: #f0f0f0; 
    border-radius: 10px; 
    overflow: hidden; 
}

.p-fill { 
    height: 100%; 
    background: #244471 !important; 
}

.guest-avatar { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: block; 
    object-fit: cover;
    margin-bottom: 15px; 
}

.guest-name { 
    font-weight: 700; 
    font-size: 17px; 
    margin-bottom: 8px; 
}

.stay-meta { 
    font-size: 13px; 
    color: #777; 
    line-height: 1.6; 
}

.meta-row { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 4px; 
}

.review-top-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
}

.small-badge { 
    background: #399d7b; 
    color: #fff; 
    padding: 4px 10px; 
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 14px; 
}

.comment { 
    font-size: 16px; 
    line-height: 1.7; 
    color: #2c2c2c; 
    margin: 0; 
}

/* 6. АДАПТИВНОСТЬ КОНТЕНТА */
@media (max-width: 900px) {
    .sutochno-rating-card { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 30px; 
    }
    .rating-details-grid { 
        grid-template-columns: 1fr; 
        width: 100%; 
    }
}

@media (max-width: 600px) {
    .single-review { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        padding: 20px; 
    }
    .guest-info-side { 
        display: flex; 
        flex-direction: row; 
        align-items: center; 
        gap: 15px; 
        flex-wrap: wrap; 
    }
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 768px) {
    /* Проявление бургера, который скрыт в HTML */
    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    /* Настройка мобильного меню для страницы отзывов */
    .nav {
        display: none; /* Скрыто по умолчанию */
        position: fixed !important;
        top: 85px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 85px);
        background: #ffffff !important;
        flex-direction: column !important;
        padding: 25px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    /* Класс, который добавляется скриптом при клике на бургер */
    .nav.active {
        display: flex !important;
    }

    /* Адаптация сетки отзывов, чтобы блоки шли вертикально */
    .reviews-grid-new {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 10px;
    }

    .review-card-modern {
        width: 100%;
        box-sizing: border-box;
    }
}
