/* Testimonials — soft elevated crossfade slider. */

.testimonials {
    position: relative;
    padding: var(--section-pad) 0;
    background: var(--bg-elevated);
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../../images/topo-dark.svg') 0 0 / 880px 760px repeat;
    opacity: 0.03;
    pointer-events: none;
}

.testimonials__inner { position: relative; z-index: 1; }

.testimonials__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.25rem;
}

.testimonials__track {
    position: relative;
    width: 100%;
    display: grid;
}

.testimonials__item {
    grid-area: 1 / 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.testimonials__item.is-active { opacity: 1; visibility: visible; }

.testimonials__title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--gold-deep);
}

.testimonials__quote {
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 56ch;
}

.testimonials__author {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.testimonials__author::before {
    content: '—';
    margin-right: 0.625rem;
    color: var(--gold-deep);
}

.testimonials__dots { display: flex; gap: 0.75rem; }

.testimonials__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border-strong);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonials__dot.is-active {
    background: var(--gold-deep);
    transform: scale(1.25);
}
