/**
 * Estilos para el carousel de testimonios con Swiper.js
 */

.testimonials-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    position: relative;
    row-gap: 1rem;
}

.testimonials-wrapper .testimonials-swiper {
    width: 100%;
    padding: 3.125rem 0;
    overflow: hidden;
}

.testimonials-wrapper .testimonials-swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.testimonials-wrapper .testimonial-container {
    width: 80%;
    background: linear-gradient(119.05deg, 
        rgba(100, 44, 38, 0) 0%, 
        rgba(115, 46, 39, 0.02) 7.39%, 
        rgba(150, 50, 43, 0.07) 27.51%, 
        rgba(171, 53, 45, 0.11) 44.02%, 
        rgba(179, 54, 46, 0.14) 54.74%, 
        rgba(100, 44, 38, 0) 100%
    );
    border-radius: 3.5rem;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-sizing: border-box;
    position: relative;
}

.testimonials-wrapper .testimonial-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 3.5rem;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.05) 60%,
        rgba(255, 255, 255, 0.15) 80%,
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.testimonials-wrapper .testimonial-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.testimonials-wrapper .testimonial-user {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.testimonials-wrapper .testimonial-info h3 {
    color: #CD7D64;
    margin: 0;
    font-size: 2rem;
    padding-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.testimonials-wrapper .testimonial-info p {
    color: #F6F1EF;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 100;
}

.testimonials-wrapper .testimonial-image {
    width: 9rem;
    height: 9rem;
    border-radius: 0.75rem;
    background: #F6F1EF;
    object-fit: cover;
}

.testimonials-wrapper .testimonial-image-placeholder {
    background: linear-gradient(135deg, #CD7D64 0%, #BF5638 100%);
}

.testimonials-wrapper .testimonial-text {
    display: flex;
    flex-direction: column;
    row-gap: 0;
}

.testimonials-wrapper .testimonial-text .quote-icon svg {
    width: 2rem;
    height: auto;
    fill: #CD7D64;
}

.testimonials-wrapper .testimonial-text p {
    color: #F6F1EF;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 100;
    margin: 0;
}

.testimonials-wrapper .gradual-icon {
    padding-top: 1rem;
}

.testimonials-wrapper .gradual-icon svg {
    width: 2.8125rem;
    height: auto;
}

.testimonials-wrapper .navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 12rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.testimonials-wrapper .nav-button {
    width: 3.25rem;
    height: 3.25rem;
    cursor: pointer;
    background: transparent!important;
    border: 0.0625rem solid #F5F0EE;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonials-wrapper .nav-button:hover {
    background: transparent!important;
}

.testimonials-wrapper .nav-button:focus {
    background: transparent!important;
}

.testimonials-wrapper .nav-button svg {
    width: 100%;
    height: 100%;
}

.testimonials-wrapper .nav-button:hover {
    border-color: #BF5638;
}

.testimonials-wrapper .nav-button:hover svg path,
.testimonials-wrapper .nav-button:hover svg polygon,
.testimonials-wrapper .nav-button:hover svg rect {
    stroke: #BF5638;
}

@media (max-width: 767px) {
    .testimonials-wrapper {
        row-gap: 2rem;
    }

    .testimonials-wrapper .testimonials-swiper {
        padding: 0;
    }

    .testimonials-wrapper .testimonial-container {
        padding: 1.875rem;
        text-align: center;
        width: 100%;
        border-radius: 2.5rem;
        gap: 0.5rem;
    }

    .testimonials-wrapper .testimonial-container::before {
        border-radius: 2.5rem;
    }

    .testimonials-wrapper .testimonial-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .testimonials-wrapper .testimonial-user {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .testimonials-wrapper .navigation-buttons {
        gap: 8rem;
    }

    .testimonials-wrapper .testimonial-info h3 {
        font-size: 1.75rem;
    }

    .testimonials-wrapper .testimonial-info p {
        font-size: 1.1rem;
    }

    .testimonials-wrapper .gradual-icon {
        padding-top: 0;
    }

    .testimonials-wrapper .testimonial-text p {
        font-size: 1rem;
    }

    .testimonials-wrapper .gradual-icon svg {
        width: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .testimonials-wrapper .nav-button {
        width: 4rem;
        height: 4rem;
    }
}

@media (min-width: 1025px) and (max-width: 2499px) {
    .testimonials-wrapper .testimonial-text {
        font-size: 1.25rem;
    }
}

@media (min-width: 2500px) {
    .testimonials-wrapper .testimonial-text {
        font-size: 1.5rem;
    }

    .testimonials-wrapper .testimonial-info h3 {
        font-size: 1.875rem;
    }

    .testimonials-wrapper .testimonial-image {
        width: 6.25rem;
        height: 6.25rem;
    }

    .testimonials-wrapper .testimonial-container {
        width: 85%;
    }
}
