/* Слайдер отзывов */
.reviews-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.reviews-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.reviews-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    transition: transform 0.3s ease;
}

.review-card {
    flex: 0 0 100%;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
    min-height: 180px;
}

.review-card.featured {
    border: 2px solid #007bff;
    position: relative;
}

.review-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #007bff;
    border-radius: 8px 8px 0 0;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
    border: 2px solid #e9ecef;
}

.review-info {
    flex: 1;
}

.review-author {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.review-rating {
    margin-bottom: 0.25rem;
}

.star {
    color: #ddd;
    font-size: 1rem;
    margin-right: 1px;
}

.star.filled {
    color: #ffc107;
}

.review-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.review-content p {
    color: #495057;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #007bff;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Элементы управления слайдером */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.75rem;
}

.slider-prev,
.slider-next {
    background: #6c757d;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: #5a6268;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dot.active {
    background: #007bff;
}

.dot:hover {
    background: #adb5bd;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-section {
        margin: 1.5rem 1rem;
        padding: 1rem;
    }

    .reviews-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .review-card {
        padding: 1rem;
        margin: 0 0.25rem;
        min-height: 160px;
    }

    .review-header {
        margin-bottom: 0.75rem;
    }

    .review-avatar {
        width: 35px;
        height: 35px;
        margin-right: 0.5rem;
    }

    .review-author {
        font-size: 0.95rem;
    }

    .review-content p {
        font-size: 0.85rem;
    }

    .slider-controls {
        margin-top: 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        margin: 1rem 0.5rem;
        padding: 0.75rem;
    }

    .review-card {
        padding: 1rem;
        margin: 0 0.25rem;
        min-height: 140px;
    }

    .review-author {
        font-size: 0.9rem;
    }

    .review-content p {
        font-size: 0.8rem;
    }

    .featured-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }
}

/* Анимации */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: slideIn 0.3s ease-out;
}