/* Секция отзывов */
.reviews-section {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
    padding-top: 10px !important;
}

.reviews-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-header {
    text-align: left;
    margin-bottom: 60px;
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 20px;
}

.reviews-badge-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
}

.reviews-badge-text {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviews-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Контейнер с кнопками */
.reviews-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Swiper контейнер */
.reviews-swiper {
    overflow: hidden;
    flex: 1;
}

.reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

/* Карточка отзыва */
.review-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Аватар клиента */
.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 32px;
    object-fit: cover;
    border: 4px solid #f1f5f9;
}

/* Текст отзыва */
.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 32px;
    flex-grow: 1;
    font-style: italic;
    position: relative;
    margin-top: 20px;
}

.review-text::before {
    content: '"';
    font-size: 60px;
    color: #3b82f6;
    position: absolute;
    top: -50px;
    left: -15px;
    font-family: serif;
    opacity: 0.3;
    z-index: 1;
}

/* Имя клиента */
.review-author {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Кнопки навигации */
.reviews-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviews-button:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.05);
}

.reviews-button.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-button.swiper-button-disabled:hover {
    background: white;
    border-color: #e5e7eb;
    color: #6b7280;
    transform: none;
}

.swiper {
    padding: 20px !important;
}

.reviews-button svg {
    width: 24px;
    height: 24px;
}

/* Мобильная навигация скрыта по умолчанию */
.reviews-mobile-navigation {
    display: none;
}

/* Мобильные кнопки скрыты на десктопе */
.reviews-mobile-btn {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
        padding-top: 10px !important;
    }
    
    .reviews-container {
        padding: 0 16px;
    }
    
    .reviews-header {
        margin-bottom: 40px;
    }
    
    .reviews-title {
        font-size: 32px;
    }
    
    .reviews-slider-container {
        gap: 20px;
    }
    
    .review-card {
        padding: 40px 24px 30px;
    }
    
    .review-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 24px;
    }
    
    .review-text {
        font-size: 15px;
        margin-bottom: 24px;
        margin-top: 16px;
    }
    
    .review-author {
        font-size: 16px;
    }
    
    .reviews-button {
        width: 48px;
        height: 48px;
    }
    
    .reviews-button svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .reviews-title {
        font-size: 28px;
    }
    
    /* Скрываем десктопные кнопки */
    .reviews-desktop-btn {
        display: none;
    }
    
    /* Меняем структуру на мобильных */
    .reviews-slider-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .reviews-swiper {
        order: 1;
        width: 100%;
    }
    
    /* Показываем мобильные кнопки внизу */
    .reviews-mobile-navigation {
        order: 2;
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    
    .reviews-mobile-btn {
        display: flex;
    }
    
    .reviews-button {
        width: 48px;
        height: 48px;
    }
    
    .reviews-button svg {
        width: 20px;
        height: 20px;
    }
    
    .review-card {
        padding: 35px 16px 24px;
    }
    
    .review-text {
        font-size: 14px;
        margin-top: 12px;
        padding-left: 0;
    }
    
    .review-text::before {
        left: 0;
        top: -45px;
    }
    
    .review-author {
        font-size: 15px;
    }
}