 /* Секция отзывов */
        .testimonials {
            padding: 60px 0;
        }
        
        .testimonials h2 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.2rem;
            color: #2c3e50;
        }
        
        /* Обертка слайдера */
        .testimonial-slider {
            position: relative;
        }
        
        /* Контейнер для слайдов */
        .testimonial-slider__container {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding: 10px 0;
            margin: 0 -10px;
        }
        
        .testimonial-slider__container::-webkit-scrollbar {
            display: none;
        }
        
        /* Элемент слайда */
        .testimonial-slider__item {
            flex: 0 0 auto;
            width: calc(100% - 20px);
            scroll-snap-align: start;
            padding: 0 10px;
            box-sizing: border-box;
        }
        
        /* Карточка отзыва */
        .testimonial-card {
            background: #fff;
            border-radius: 16px;
            padding: 20px;
            height: auto;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
            position: relative;
        }
        
        /* Шапка карточки с аватаром */
        .testimonial-card__header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .testimonial-card__avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
            flex-shrink: 0;
            border: 3px solid #f6f6f6;
        }
        
        .testimonial-card__profile {
            display: flex;
            flex-direction: column;
        }
        
        .testimonial-card__author {
            font-weight: 600;
            margin-bottom: 4px;
            color: #2c3e50;
            font-size: 0.95rem;
        }
        
        .testimonial-card__rating {
            font-size: 0.85rem;
            color: #f39c12;
        }
        
        .testimonial-card__date {
            font-size: 0.75rem;
            color: #7f8c8d;
            margin-top: 2px;
        }
        
        /* Текст отзыва */
        .testimonial-card__text {
            margin-bottom: 0;
            line-height: 1.5;
            color: #34495e;
            font-size: 0.9rem;
            position: relative;
            overflow: hidden;
        }
        
        /* Обертка текста для ограничения высоты */
        .testimonial-card__text-inner {
            display: block;
            overflow: hidden;
        }
        
        /* Кнопка "Читать далее" - стиль ссылки */
        .testimonial-card__read-more {
            background: none;
            border: none;
            color: #3498db;
            cursor: pointer;
            font-size: 0.9rem;
            margin-top: 8px;
            padding: 0;
            text-align: left;
            font-weight: 500;
            display: inline-block;
            opacity: 0.8;
            transition: opacity 0.2s ease;
            text-decoration: underline;
        }
        
        .testimonial-card__read-more:hover {
            opacity: 1;
        }
        
        /* Состояние развернутого текста */
        .testimonial-card__text.expanded {
            height: auto !important;
        }
        
        .testimonial-card__text.expanded .testimonial-card__text-inner {
            -webkit-mask-image: none !important;
            mask-image: none !important;
        }
        
        /* Кнопки управления - скрыты на мобильных */
        .testimonial-slider__controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 25px;
        }
        
        .testimonial-slider__control {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: none;
            background-color: #f6f6f6;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .testimonial-slider__control:hover {
            background-color: #e9e9e9;
            transform: scale(1.05);
        }
        
        .testimonial-slider__control svg {
            width: 20px;
            height: 20px;
        }
        
        /* Индикаторы слайдов */
        .testimonial-slider__indicators {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 8px;
        }
        
        .testimonial-slider__indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #ddd;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .testimonial-slider__indicator.active {
            background-color: #3498db;
        }
        
       /* Анимированная иконка прокрутки для мобильных */
.scroll-hint {
    position: absolute;
    top: -5%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: center;
    /*background: rgba(255, 255, 255, 0.95);*/
    padding: 10px 12px;
    /*border-radius: 25px;*/
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);*/
    /*backdrop-filter: blur(10px);*/
}

.scroll-hint__icon {
    mix-blend-mode: multiply;
}

.scroll-hint__icon svg {
    height: 32px;
    width: auto;
}

/* Показывать только на мобильных */
@media (max-width: 768px) {
    .scroll-hint {
        display: flex !important;
        animation: fadeInRight 0.5s ease forwards;
    }
    
    /* Скрыть кнопки на мобильных */
    .testimonial-slider__controls {
        display: none;
    }
}

@media (min-width: 769px) {
    .scroll-hint {
        display: none !important;
    }
}

/* Анимация появления подсказки */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate(30px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* Анимация исчезновения подсказки */
@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translate(0, -50%);
    }
    to {
        opacity: 0;
        transform: translate(30px, -50%);
    }
}

.scroll-hint.hiding {
    animation: fadeOutRight 0.5s ease forwards;
}
        
        /* Адаптивность для планшетов и десктопов */
        @media (min-width: 768px) {
            .testimonial-slider__item {
                width: calc(50% - 20px);
            }
            
            .testimonial-card {
                padding: 24px;
            }
            
            .testimonial-card__avatar {
                width: 80px;
                height: 80px;
            }
            
            .testimonial-card__author {
                font-size: 1rem;
            }
            
            .testimonial-card__text {
                font-size: 0.95rem;
            }
        }
        
        @media (min-width: 1024px) {
            .testimonial-slider__item {
                width: calc(33.333% - 20px);
            }
            
            .testimonial-slider__controls {
                position: absolute;
                top: 50%;
                left: 0;
                right: 0;
                justify-content: space-between;
                margin-top: 0;
                transform: translateY(-50%);
                pointer-events: none;
                padding: 0 15px;
            }
            
            .testimonial-slider__control {
                pointer-events: auto;
                position: relative;
                width: 50px;
                height: 50px;
            }
            
            .testimonial-slider__control_prev {
                left: -15px;
            }
            
            .testimonial-slider__control_next {
                right: -15px;
            }
            
            /* Скрываем подсказку на десктопах */
            .scroll-hint {
                display: none !important;
            }
            
            /* На десктопе убираем ограничение высоты */
            .testimonial-card {
                height: auto !important;
            }
            
            .testimonial-card__read-more {
                display: none !important;
            }
            
            .testimonial-card__text-inner {
                -webkit-mask-image: none !important;
                mask-image: none !important;
            }
        }
        
        /* Стили для мобильных устройств */
        @media (max-width: 1023px) {
            .testimonials {
                padding: 40px 0;
            }
            
            .testimonials h2 {
                font-size: 1.75rem;
                margin-bottom: 30px;
            }
            
            /* Фиксированная высота карточек на мобильных */
            .testimonial-card {
                height: 350px;
            }
            
            /* Скрываем кнопки на мобильных */
            .testimonial-slider__controls {
                display: none;
            }
            
            /* Показываем подсказку на мобильных */
            .scroll-hint {
                display: flex;
                animation: fadeInRight 0.8s ease;
            }
            
            /* Увеличиваем отступы для лучшего скролла */
            .testimonial-slider__container {
                padding: 15px 0;
                margin: 0 -15px;
            }
            
            .testimonial-slider__item {
                width: calc(100% - 30px);
                padding: 0 15px;
            }
            
            /* Градиент для плавного скрытия текста */
            .testimonial-card__text:not(.expanded) .testimonial-card__text-inner {
                -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
                mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
                max-height: 180px;
            }
            
            /* Показываем кнопку только если текст обрезан */
            .testimonial-card__read-more.hidden {
                display: none;
            }
        }
        
        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .testimonial-slider__item {
            animation: fadeIn 0.5s ease forwards;
        }

/* Стили для видео отзывов */
.video-testimonial {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.testimonial-video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 15px 0;
    background: #000;
    aspect-ratio: 16/9;
}

.testimonial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.testimonial-video:hover {
    transform: scale(1.02);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.video-play-button:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Состояние когда видео играет */
.testimonial-video-container.playing .video-play-button {
    opacity: 0;
    pointer-events: none;
}

/* Адаптивность для видео */
@media (max-width: 768px) {
    .testimonial-video-container {
        margin: 10px 0;
    }
    
    .video-play-button svg {
        width: 50px;
        height: 50px;
    }
}

/* Индикатор загрузки */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}