.testimonials-section {
    background: linear-gradient(135deg, #0b1221 0%, #0f1a33 100%);
    color: #f7f9fc;
    padding: 3.5rem 1.25rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.testimonials-section .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    background: rgba(13, 110, 253, 0.12);
    color: #7dc4ff;
    font-weight: 600;
    border-radius: 999px;
    font-size: 0.9rem;
}

.testimonials-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 800;
    margin: 0.4rem 0;
}

.testimonials-section .section-subtitle {
    color: #c7d2e4;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonials-shell {
    position: relative;
    margin: 0 auto;
    max-width: 1180px;
}

.testimonials-track {
    --gap: 1rem;
    display: flex;
    gap: var(--gap);
    transition: transform 380ms ease;
    will-change: transform;
    padding: 0.25rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    padding: 1.2rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 0 0 calc(100% - var(--gap));
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.testimonial-meta strong {
    display: block;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

.testimonial-meta span {
    color: #9ab6d7;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: inline-flex;
    gap: 0.2rem;
    color: #f6c343;
    font-size: 1rem;
}

.testimonial-quote {
    color: #e6eef8;
    line-height: 1.6;
    font-size: 0.98rem;
    margin: 0;
}

.testimonial-quote strong {
    color: #fff;
    font-weight: 700;
}

.testimonials-controls {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.testimonials-arrows {
    display: flex;
    gap: 0.65rem;
}

.testimonials-arrows button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    color: #f7f9fc;
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    transition: all 180ms ease;
    cursor: pointer;
}

.testimonials-arrows button:hover {
    background: rgba(125, 196, 255, 0.16);
    transform: translateY(-2px);
}

.testimonials-arrows button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.testimonials-progress {
    flex: 1;
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.testimonials-progress span {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #7dc4ff 0%, #0d6efd 100%);
    width: 0;
    transition: width 300ms ease;
}

@media (min-width: 640px) {
    .testimonial-card {
        flex-basis: calc(50% - var(--gap));
    }
}

@media (min-width: 1024px) {
    .testimonials-section {
        padding: 4rem 2rem 3rem;
    }

    .testimonial-card {
        flex-basis: calc(33.333% - var(--gap));
    }
}

@media (min-width: 1280px) {
    .testimonial-card {
        flex-basis: calc(33.333% - var(--gap));
    }
}
