/* ================= SCOPED: TESTIMONIALS ================= */
.sp-testimonials {
    position: relative;
    padding: clamp(50px, 6vw, 90px) 0;
    background: linear-gradient(96deg, #e8590c 0%, #e85d04 55%, #d34a00 100%);
    overflow: hidden;
    box-sizing: border-box;
}

.sp-testimonials .main-container {
    position: relative;
}


.sp-testimonials__head {
    text-align: center;
    margin-bottom: clamp(30px, 4vw, 45px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sp-testimonials__title {
    font-family: 'Saira', sans-serif;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.sp-testimonials__rating {
    font-size: clamp(17px, 1.4vw, 22px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-testimonials__stars {
    color: #fff;
    letter-spacing: 2px;
    font-size: clamp(18px, 1.5vw, 24px);
}


.sp-testimonials__carousel {
    position: relative;
    width: 100%;
    
    padding: 10px 0 35px 0;
}

.sp-testimonials__swiper {
    position: relative;
    width: 100%;
    padding: 14px 6px 36px 6px !important;
    margin: -14px -6px -36px -6px !important;
    overflow: hidden !important;
    z-index: 1;
}


.sp-testimonials__swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    height: auto !important;
    box-sizing: border-box;
}

.sp-testimonials__swiper .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}


.sp-testimonials__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #e85d04;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    border: none;
    box-shadow: 0 6px 18px rgba(120, 45, 0, 0.25);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.sp-testimonials__arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: #1f1a14;
    color: #fff;
}

.sp-testimonials__arrow svg {
    width: 22px;
    height: 22px;
}

.sp-testimonials__arrow--prev {
    left: -20px;
}

.sp-testimonials__arrow--next {
    right: -20px;
}


.sp-testimonials__card {
    width: 100%;
    max-width: 360px;
    min-height: 250px;
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(22px, 2.5vw, 28px) clamp(18px, 2vw, 24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    box-shadow: 0 18px 40px rgba(120, 45, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.sp-testimonials__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 50px rgba(120, 45, 0, 0.26);
}

.sp-testimonials__quote {
    font-size: clamp(14px, 1.1vw, 15.5px);
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 16px 0;
    font-weight: 400;
}

.sp-testimonials__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.sp-testimonials__score {
    color: #e85d04;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.sp-testimonials__author {
    font-size: 18px;
    font-weight: 600;
    color: #141312;
}

.sp-testimonials__tag {
    font-size: 13.5px;
    font-weight: 400;
    color: #8b929a;
}


@media (max-width: 1024px) {
    .sp-testimonials__arrow--prev {
        left: 0;
    }
    .sp-testimonials__arrow--next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .sp-testimonials__carousel {
        padding-bottom: 64px;
    }

    .sp-testimonials__arrow {
        top: auto;
        bottom: 6px;
        transform: none;
        width: 40px;
        height: 40px;
    }

    .sp-testimonials__arrow:hover {
        transform: scale(1.08);
    }

    .sp-testimonials__arrow--prev {
        left: calc(50% - 50px);
    }

    .sp-testimonials__arrow--next {
        right: calc(50% - 50px);
    }

    .sp-testimonials__card {
        max-width: 330px;
        min-height: 0;
        padding: 22px 18px;
        border-radius: 20px;
    }
}