/* ==========================================
   Testimonials
========================================== */

.testimonials-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.testimonials-heading {
    max-width: 900px;
    margin: 0 auto 4.5rem;
    text-align: center;
}

/* ==========================================
   Testimonials — Eyebrow
========================================== */

.testimonials-section .section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;

    margin-bottom: 2rem;

    color: #55a2f6;
    font-size: 13.6px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.testimonials-section .section-eyebrow .accent-line {
    display: block;

    width: 36px;
    height: 2px;

    flex-shrink: 0;

    background: #f28c28;
}

.testimonials-title {
    margin: 0 0 1.5rem;
    font-size: clamp(3.2rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.testimonials-title span {
    color: var(--color-primary);
}

.testimonials-description {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1.5;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    flex-wrap: nowrap;

    align-items: stretch;

    gap: 0;

    width: 100%;

    will-change: transform;
}

.testimonials-track .testimonial-card {
    flex: 0 0 33.3333%;

    max-width: 33.3333%;

    margin: 0 .75rem;

    box-sizing: border-box;
}

.testimonial-card {
    position: relative;
    padding: 1px;
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(77,124,255,.9),
            rgba(77,124,255,.2) 45%,
            rgba(242,140,40,.8)
        );
    box-shadow:
        0 0 30px rgba(77,124,255,.1),
        0 0 50px rgba(242,140,40,.04);
}

.testimonial-card-inner {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    padding: 2rem 2.2rem;
    border-radius: 19px;
    background: linear-gradient(
            135deg,
            rgba(10, 27, 53, .72),
            rgba(3, 11, 22, .86)
        );
}

.testimonial-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.testimonial-quote-mark {
    color: #6EA8FF;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: .6;
    font-weight: 700;
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    letter-spacing: .12em;
    line-height: 1;
}

.testimonial-quote {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
}

.testimonial-divider {
    width: 100%;
    height: 2px;
    margin-top: auto;
    margin-bottom: 1.7rem;
    background: linear-gradient(
        90deg,
        rgba(110,168,255,.35),
        rgba(110,168,255,.7),
        rgba(110,168,255,.2)
    );
    box-shadow: 0 0 8px rgba(77,124,255,.15);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #75AEFF,
        #4D7CFF
    );
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(77,124,255,.25);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.testimonial-role {
    color: rgba(255,255,255,.25);
    font-size: .9rem;
}

.testimonial-author-info strong {
    color: var(--color-primary);
    font-size: 1rem;
}

.testimonials-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.3rem;
    margin-top: 4rem;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #9CC8FF;
    opacity: .9;
    cursor: pointer;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.testimonial-dot.is-active {
    background: var(--color-accent);
    box-shadow: 0 0 14px rgba(242,140,40,.5);
    transform: scale(1.15);
}

/* ==========================================
   Responsive — Tablet
========================================== */

@media (max-width: 1000px) {

    .testimonials-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card:nth-child(3) {
        display: none;
    }

}


/* ==========================================
   Responsive — Mobile
========================================== */

@media (max-width: 700px) {

    .testimonials-section {
        padding: 3.5rem 0;
    }

    .testimonials-heading {
        margin-bottom: 2.5rem;
    }

    .testimonials-title {
        font-size: 2.8rem;
    }

    .testimonials-description {
        font-size: .95rem;
    }

    .testimonials-track {
        display: block;
    }

    .testimonial-card {
        display: none;
    }

    .testimonial-card:first-child {
        display: block;
    }

    .testimonial-card-inner {
        min-height: 350px;
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1.05rem;
        line-height: 1.5;
    }

}


/* ==========================================
   Small Mobile
========================================== */

@media (max-width: 400px) {

    .testimonial-card-inner {
        min-height: 330px;
        padding: 1.35rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

}

/* =========================================================
   LOGO FIRMY W OPINII
========================================================= */

.testimonial-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 64px;
    height: 64px;

    padding: 0;

    box-sizing: border-box;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;

    background: rgba(255, 255, 255, .06);
}

.testimonial-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.1);
}