/* ==========================================================
   PAQSA - CARRUSEL TESTIMONIOS
   ========================================================== */

.paqsa-testimonials-carousel {
    position: relative;

    width: 100%;
    max-width: 1050px;

    margin: 0 auto;

    padding: 20px 70px 45px;

    box-sizing: border-box;
}


/* ==========================================================
   TRACK
   ========================================================== */

.paqsa-testimonials-track {
    position: relative;

    width: 100%;
}


/* ==========================================================
   TESTIMONIO
   ========================================================== */

.paqsa-testimonial-card {
    display: none;

    width: 100%;

    margin: 0 auto;

    text-align: center;
}


.paqsa-testimonial-card.is-active {
    display: block;

    animation: paqsaTestimonialFade 0.5s ease;
}


@keyframes paqsaTestimonialFade {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================================
   ESTRELLAS
   ========================================================== */

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

    gap: 5px;

    margin-bottom: 22px;

    line-height: 1;
}


.paqsa-star {
    position: relative;

    display: inline-block;

    color: #e5e5e5;

    font-size: 23px;
    line-height: 1;
}


.paqsa-star-full {
    color: #f8b84e;
}


.paqsa-star-empty {
    color: #e5e5e5;
}


/* MEDIA ESTRELLA */

.paqsa-star-half {
    color: #e5e5e5;
}


.paqsa-star-half::before {
    content: "★";

    position: absolute;
    top: 0;
    left: 0;

    width: 50%;

    overflow: hidden;

    color: #f8b84e;
}


/* ==========================================================
   TEXTO
   ========================================================== */

.paqsa-testimonial-text {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    color: #333333;

    text-align: center;
}


.paqsa-testimonial-text p {
    margin: 0 !important;

    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
}


/* ==========================================================
   NOMBRE
   ========================================================== */

.paqsa-testimonial-name {
    margin-top: 24px;

    color: #333333;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;

    text-align: center;
    text-transform: uppercase;
}


/* ==========================================================
   FLECHAS
   ========================================================== */

.paqsa-testimonial-arrow {
    position: absolute;
    top: 50%;

    z-index: 5;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    color: #333333;

    font-size: 38px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.paqsa-testimonial-arrow:hover {
    opacity: 0.6;
}


.paqsa-testimonial-prev {
    left: 5px;
}


.paqsa-testimonial-next {
    right: 5px;
}


/* ==========================================================
   PUNTOS
   ========================================================== */

.paqsa-testimonial-dots {
    position: absolute;
    left: 50%;
    bottom: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    transform: translateX(-50%);
}


.paqsa-testimonial-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #d3d3d3;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


.paqsa-testimonial-dot.is-active {
    background: #333333;

    transform: scale(1.2);
}


/* ==========================================================
   MÓVIL
   ========================================================== */

@media (max-width: 767px) {

    .paqsa-testimonials-carousel {
        padding:
            20px
            5px
            42px;
    }


    .paqsa-testimonial-stars {
        margin-bottom: 18px;
    }


    .paqsa-star {
        font-size: 21px;
    }


    .paqsa-testimonial-text p {
        font-size: 14px;
        line-height: 1.5;
    }


    .paqsa-testimonial-name {
        margin-top: 20px;

        font-size: 13px;
    }


    .paqsa-testimonial-arrow {
        width: 30px;
        height: 30px;

        font-size: 30px;
    }


    .paqsa-testimonial-prev {
        left: 0;
    }


    .paqsa-testimonial-next {
        right: 0;
    }

}