/**
 * CLIENTS - TESTIMONIAL STYLES
 */

.testimonial-slider-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 60px;
    width: 100%;
}

.testimonial-slider-wrapper .testimonial-title {
    color: var(--mora-600);
    text-align: center;
}

.testimonials-swiper {
    width: 100%;
    height: 100%;
}

.testimonials-swiper .testimonial-card {
    display: flex;
    padding: var(--Padding-padding-10, 32px);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--Spacing-size-10, 20px);
    flex: 1 0 0;

    border-radius: var(--Spacing-size-8, 16px);
    background: var(--Colors-Basics-white, #FFF);

    /* Shadow md */
    box-shadow: 0 12px 32px 0 rgba(6, 28, 61, 0.04);
    position: relative;
}

.testimonials-swiper .card-heading {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonials-swiper .card-heading .card-image {
    width: 48px;
    height: 48px;
}

.testimonials-swiper .card-heading .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
}

.testimonials-swiper .card-heading h3 {
    color: var(--mora-900);
}

.testimonials-swiper .card-heading p.card-role {
    color: var(--gray-700);
}

.testimonials-swiper .card-review {
    flex: 1;
}

.testimonials-swiper .card-review p {
    color: var(--mora-900);
}


.card-stars {
    display: flex;
    gap: 4px;
}

.testimonial-star {
    position: relative;
    display: inline-block;
    font-size: 0; /* evita espacios raros */
    line-height: 0;
    color: #E0E0E0; /* color base (vacía) */
}

.testimonial-star svg {
    width: 20px;
    height: 20px;
    display: block;
}

.testimonial-star-fill {
    position: absolute;
    inset: 0;
    overflow: hidden;
    color: #FF9500;
    width: 100%;
}

.testimonial-star--full .testimonial-star-fill {
    width: 100%;
}

.testimonial-star--half .testimonial-star-fill {
    width: 50%;
}

.testimonial-star--empty .testimonial-star-fill {
    display: none;
}

/**
 * SWIPER NAV 
 */

/* 2. Estilo base del botón (Contenedor del SVG) */
.testimonial-slider-wrapper .testimonial-prev-btn,
.testimonial-slider-wrapper .testimonial-next-btn {
    position: absolute;
    top: 20px;
}

.custom-nav-btn {
    background: #5b2c6f; 
    color: white;
}


/* 3. Rotar el botón NEXT para que apunte a la derecha */
.testimonial-next-btn {
    transform: rotate(180deg);
}

/* --- Estados Hover y Disabled --- */
.custom-nav-btn:hover {
    background: #3e1e4c;
}

.custom-nav-btn.swiper-button-disabled {
    cursor: not-allowed;
    color: var(--mora-600);
    background: var(--white);
}

/* Paginación estilos */

.testimonial-slider-wrapper .testimonial-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    left: 50%;
}

.testimonial-slider-wrapper .testimonial-pagination .swiper-pagination-bullet {
    background: #e6cce6;
    opacity: 1;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.testimonial-slider-wrapper .testimonial-pagination .swiper-pagination-bullet-active {
    background: #5b2c6f;
    width: 24px;
    height: 8px;
    border-radius: 4px;
}


@media(max-width: 768px) {
    .testimonial-slider-wrapper {
        row-gap: 40px;
    }

    .custom-nav-btn {
        display: none;
    }
}



.hows-work-slider .swiper-slide .hows-work-slide-content {
    box-sizing: border-box;
    max-height: 248px;
}