/* =========================================
   PONTIN SYSTEMS — TESTIMONIALS
========================================= */

.ps-testimonials {
    position: relative;
    padding: 65px 24px 70px;
    background: #101619;
    color: #ffffff;
    overflow: hidden;
}

.ps-testimonials__container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Heading */

.ps-testimonials__heading {
    margin-bottom: 30px;
}

.ps-testimonials__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #8a9a9c;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ps-testimonials__heading h2 {
    margin: 0;
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.ps-testimonials__period {
    color: #6fc5a4;
}

/* Slider */

.ps-testimonials__slider {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    align-items: center;
    min-height: 150px;
}

.ps-testimonials__slide {
    grid-area: 1 / 1;
    width: 100%;
    margin: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);

    transition:
        opacity 650ms ease,
        transform 650ms ease,
        visibility 650ms;
}

.ps-testimonials__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Quote */

.ps-testimonials__quote {
    margin: 0 0 22px;
    max-width: 850px;
}

.ps-testimonials__quote p {
    margin: 0;
    font-size: clamp(17px, 1.8vw, 23px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.015em;
    color: #edf1f0;
}

/* Author */

.ps-testimonials__author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 13px;
    border-left: 2px solid #6fc5a4;
}

.ps-testimonials__name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.ps-testimonials__role {
    font-size: 12px;
    color: #92a1a2;
}

/* Mobile */

@media (max-width: 767px) {

    .ps-testimonials {
        padding: 48px 20px 52px;
    }

    .ps-testimonials__heading {
        margin-bottom: 24px;
    }

    .ps-testimonials__heading h2 {
        font-size: 27px;
    }

    .ps-testimonials__slider {
        min-height: 190px;
    }

    .ps-testimonials__quote {
        margin-bottom: 18px;
    }

    .ps-testimonials__quote p {
        font-size: 17px;
        line-height: 1.55;
    }

}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .ps-testimonials__slide {
        transition: none;
        transform: none;
    }

}