/* =============================================
   KULLANICI YORUMLARI / SOSYAL KANIT
   ============================================= */

.testimonials {
    padding: 0.75rem 0 1rem;
}

.testimonials__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.testimonials__title {
    width: 100%;
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 1.25rem;
    text-align: center;
}

.testimonials__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 56rem;
    margin-inline: auto;
}

.testimonials__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.testimonials__desc {
    max-width: 34rem;
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1.25rem;
    text-align: center;
}

.testimonials__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 1.5rem;
    padding: 1rem 1.125rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #eef1f6;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    max-width: 22rem;
    width: 100%;
}

.testimonials__score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 5.5rem;
}

.testimonials__score-top {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.testimonials__score-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.testimonials__score-star {
    display: inline-flex;
    color: #f59e0b;
    font-size: 1rem;
    transform: translateY(1px);
}

.testimonials__score-count {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
}

.testimonials__bars {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 9rem;
}

.testimonials__bar-row {
    display: grid;
    grid-template-columns: 0.75rem 0.875rem 1fr;
    align-items: center;
    gap: 0.35rem;
}

.testimonials__bar-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    text-align: right;
}

.testimonials__bar-star {
    font-size: 0.5rem;
    color: #f59e0b;
    line-height: 1;
}

.testimonials__bar-track {
    display: block;
    height: 5px;
    border-radius: 999px;
    background: #eef1f6;
    overflow: hidden;
}

.testimonials__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3566df 0%, #5b7fe8 100%);
}

.testimonials__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.testimonials__image {
    display: block;
    width: min(100%, 22rem);
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.12));
}

@media (min-width: 768px) {
    .testimonials {
        padding: 1rem 0 1.25rem;
    }

    .testimonials__card {
        padding: 1.75rem 2rem 1.5rem;
    }

    .testimonials__title {
        margin-bottom: 1.5rem;
    }

    .testimonials__body {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    .testimonials__content {
        flex: 0 1 22rem;
        align-items: flex-start;
    }

    .testimonials__desc {
        font-size: 0.9375rem;
        text-align: left;
    }

    .testimonials__rating {
        justify-content: flex-start;
    }

    .testimonials__visual {
        flex: 0 1 26rem;
        width: auto;
    }

    .testimonials__image {
        width: min(100%, 26rem);
    }
}

@media (min-width: 992px) {
    .testimonials__card {
        padding: 2rem 2.25rem 1.75rem;
    }

    .testimonials__body {
        gap: 2.5rem;
        max-width: 62rem;
    }

    .testimonials__image {
        width: min(100%, 28rem);
    }
}

@media (max-width: 575px) {
    .testimonials__rating {
        max-width: none;
    }
}
