/* =============================
   REVIEWS PAGE STYLES
   ============================= */

.reviews-hero {
    padding: 80px 0;
    text-align: center;
}

.reviews-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.reviews-hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto;
}

.reviews-container {
    background-color: var(--light);
    padding: 60px 0;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.reviews-stats .stat-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    min-width: 200px;
    border-top: 4px solid #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.reviews-stats .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    display: block;
    margin-bottom: 10px;
}

.reviews-stats .stat-label {
    color: var(--dark);
    font-size: 1.1rem;
}

/* Swiper слайдер отзывов */
.reviews-slider-wrapper {
    margin-bottom: 60px;
    padding: 20px 0 60px;
    position: relative;
}

.reviews-swiper {
    padding-bottom: 50px;
}

.reviews-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
    color: var(--primary);
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.reviews-swiper .swiper-button-next:after,
.reviews-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 700;
}

.reviews-swiper .swiper-button-next:hover,
.reviews-swiper .swiper-button-prev:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.reviews-swiper .swiper-pagination {
    bottom: 0;
}

.reviews-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--light-gray);
    opacity: 1;
    transition: all 0.3s ease;
}

.reviews-swiper .swiper-pagination-bullet-active {
    background: var(--primary);
    transform: scale(1.2);
}

.review-card {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 20px;
}

.review-author h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.review-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.review-rating {
    color: #fbbf24;
    margin: 10px 0;
}

.review-text {
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-service {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.add-review {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.add-review h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.rating-input {
    text-align: center;
    margin-bottom: 20px;
}

.rating-input i {
    color: #475569;
    font-size: 1.8rem;
    margin: 0 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input i.active {
    color: #fbbf24;
}

.reviews-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.reviews-form .form-group {
    margin-bottom: 20px;
}

.reviews-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.reviews-form .form-control {
    width: 100%;
    padding: 12px 15px;
    background: white;
    border: 1px solid #334155;
    border-radius: 8px;
    color: var(--dark);
    font-size: 1rem;
}

.reviews-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.reviews-form .submit-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    transition: background 0.3s ease;
}

.reviews-form .submit-btn:hover {
    background: #2563eb;
}

@media (max-width: 768px) {
    .reviews-hero h1 {
        font-size: 2.2rem;
    }

    .reviews-swiper .swiper-button-next,
    .reviews-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .reviews-swiper .swiper-button-next:after,
    .reviews-swiper .swiper-button-prev:after {
        font-size: 14px;
    }

    .reviews-form .form-row {
        grid-template-columns: 1fr;
    }

    .reviews-stats .stat-item {
        min-width: 150px;
    }
}
