/* ── Testimonials Carousel ── */
.testimonials-carousel {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.testimonials-carousel .track {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quote icon */
.testimonial-slide .quote-icon {
    color: #539D95;
    opacity: 0.15;
    font-size: 4rem;
    line-height: 1;
}

/* Testimonial text */
.testimonial-slide .testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4B5563;
    font-style: italic;
}

/* Photo */
.testimonial-slide .testimonial-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #539D95;
}

.testimonial-slide .testimonial-photo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #539D95;
}

.testimonial-slide .testimonial-photo-placeholder i {
    color: #9CA3AF;
    font-size: 1.75rem;
}

/* Arrows */
.test-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid #E5E7EB;
    color: #539D95;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.test-carousel-arrow:hover {
    background: #539D95;
    color: white;
    border-color: #539D95;
    box-shadow: 0 6px 20px rgba(83,157,149,0.3);
}

.test-carousel-arrow-prev {
    left: -56px;
}

.test-carousel-arrow-next {
    right: -56px;
}

/* Dots */
.test-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.test-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.test-carousel-dot.active {
    background: #539D95;
    width: 28px;
    border-radius: 5px;
}

.test-carousel-dot:hover {
    background: #9CA3AF;
}

.test-carousel-dot.active:hover {
    background: #539D95;
}

/* Responsive */
@media (max-width: 860px) {
    .test-carousel-arrow-prev {
        left: -12px;
    }
    .test-carousel-arrow-next {
        right: -12px;
    }
    .test-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        background: rgba(255,255,255,0.95);
    }
}

@media (max-width: 640px) {
    .test-carousel-arrow {
        display: flex;
    }
    .test-carousel-arrow-prev {
        left: 4px;
    }
    .test-carousel-arrow-next {
        right: 4px;
    }
    .testimonial-slide .testimonial-text {
        font-size: 1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .testimonial-slide {
        animation: none;
    }
}
