/* =====================================================================
   Testimonials
   Section is built, styled, AND fully wired to Swiper (sliders.js) —
   but NOT rendered on the live page yet, see the $show_testimonials
   flag in pages/home.php. No real client quotes exist. Flip the flag
   once real quotes land and this is ready to go.
   ===================================================================== */

.testimonials__slider {
    overflow: hidden;
}

.testimonials__track {
    display: flex;
    gap: var(--space-xl);
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 640px;
    padding: var(--space-2xl);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex-basis: calc(50% - var(--space-xl) / 2);
    }
}

.testimonial-card__quote-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.testimonial-card__quote {
    font-size: var(--fs-body-lg);
    color: var(--color-text-dark);
    margin-bottom: var(--space-lg);
}

.testimonial-card__author {
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
}

.testimonial-card__role {
    font-size: var(--fs-small);
    color: var(--color-text-grey);
}

/* ---- Swiper pagination (sliders.js) ------------------------------------
   Overrides Swiper's default absolute-overlay position so the dots sit
   in normal flow below the cards instead of on top of them. */
.testimonials__pagination {
    position: static;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}
