/* ========== СТРАНИЦА ОТЗЫВОВ ========== */

.reviews-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.reviews-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #0A2463;
    text-align: center;
    margin-bottom: 1rem;
}

.reviews-section__subtitle {
    text-align: center;
    color: #343A40;
    margin-bottom: 3rem;
}

/* Сетка отзывов */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Карточка отзыва */
.review-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F3F5;
}

.review-card__name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0A2463;
}

.review-card__date {
    font-size: 0.8rem;
    color: #666;
}

.review-card__rating {
    margin-bottom: 1rem;
}

.review-card__rating i {
    color: #FFD700;
    font-size: 1rem;
    margin-right: 2px;
}

.review-card__rating i.far {
    color: #ddd;
}

.review-card__text {
    color: #343A40;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-card__status {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: #e8f5e9;
    color: #2e7d32;
}

/* Форма */
.review-form-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-title {
    font-size: 1.5rem;
    color: #0A2463;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
    color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Рейтинг звездами */
.rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating span {
    font-weight: 500;
    color: #343A40;
}

.stars {
    display: flex;
    gap: 0.25rem;
    cursor: pointer;
}

.stars i {
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s;
}

.stars i.active,
.stars i:hover {
    color: #FFD700;
}

.btn-submit {
    width: 100%;
    background: #8B0000;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: #7A0000;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
}

/* Пустое состояние */
.empty-reviews {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: white;
    border-radius: 16px;
    grid-column: 1 / -1;
}

/* Сообщения об успехе/ошибке */
.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-section {
        padding: 100px 0 60px;
    }
    
    .reviews-section__title {
        font-size: 2rem;
    }
    
    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .review-card {
        padding: 1.25rem;
    }
    
    .review-form-container {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .stars i {
        font-size: 1.25rem;
    }
}

/* Желтые звезды */
.stars .fas.fa-star {
    color: #FFD700 !important;
}

.stars .far.fa-star {
    color: #ddd !important;
}

.stars i.fas {
    color: #FFD700 !important;
}

.stars i.far {
    color: #ddd !important;
}