
/* === Блок отзывов === */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.review-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-letter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}

.review-info {
    flex: 1;
    min-width: 0;
}

.review-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.review-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffd700;
    font-size: 16px;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.reviews-button {
    text-align: center;
    margin-top: 30px;
}

/* === Адаптивность === */
@media (max-width: 1400px) {
    .reviews-container {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding: 0 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .reviews-container::-webkit-scrollbar {
        display: none;
    }
    
    .review-item {
        flex: 0 0 300px;
        scroll-snap-align: start;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .review-item {
        padding: 16px;
    }
    
    .review-header {
        gap: 10px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
    }
    
    .review-name {
        font-size: 13px;
    }
    
    .review-date {
        font-size: 11px;
    }
    
    .review-text {
        font-size: 13px;
    }
}