/* ==========================================
   TESTIMONIALS HERO SLIDER SECTION
   Design System: Premium Clean & Template Olive-Green Palette
   ========================================== */

.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: #1e293b;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Background floating decorative elements */
.testimonials-section::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 10%;
    left: 8%;
    font-size: 150px;
    color: rgba(140, 168, 53, 0.03);
    /* Verde del template con baja opacidad */
    pointer-events: none;
    line-height: 1;
}

.testimonials-section::after {
    content: "\f10e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: 10%;
    right: 8%;
    font-size: 150px;
    color: rgba(140, 168, 53, 0.03);
    /* Verde del template con baja opacidad */
    pointer-events: none;
    line-height: 1;
}

/* Section Title */
.testimonials-section .section-subtitle {
    color: #8ca835;
    /* Verde obscuro del template (--primary-dark) */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonials-section .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #354213;
    /* Verde aún más obscuro y elegante del template */
    margin-bottom: 40px;
}

/* Slider Container */
.testimonials-swiper {
    padding-bottom: 50px !important;
}

/* Slide item */
.testimonial-slide {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-card-wrap {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(140, 168, 53, 0.08);
    /* Sombra con resplandor verde suave */
    border-color: rgba(176, 212, 67, 0.4);
    /* Borde verde del template (--primary-color) */
}

.testimonial-quote {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    color: #334155;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

/* User information */
.testimonial-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #b0d443;
    /* Borde verde claro del template (--primary-color) */
    box-shadow: 0 4px 10px rgba(140, 168, 53, 0.15);
    object-fit: cover;
}

.testimonial-avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b0d443 0%, #8ca835 100%);
    /* Degradado verde oficial del template */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    border: 2px solid #b0d443;
    box-shadow: 0 4px 10px rgba(140, 168, 53, 0.15);
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.testimonial-status-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8ca835;
    /* Verde del template */
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.testimonial-status-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #8ca835;
    border-radius: 50%;
}

/* Custom Swiper Controls */
.testimonials-swiper-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.testimonials-prev-btn,
.testimonials-next-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.testimonials-prev-btn:hover,
.testimonials-next-btn:hover {
    background: #8ca835;
    /* Relleno verde obscuro del template */
    border-color: #8ca835;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(140, 168, 53, 0.3);
    transform: scale(1.05);
}

.testimonials-pagination {
    position: relative !important;
    bottom: 0 !important;
    width: auto !important;
}

.testimonials-pagination .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.15) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s ease !important;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: #8ca835 !important;
    /* Indicador activo verde obscuro */
    width: 24px !important;
    border-radius: 4px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .testimonial-card-wrap {
        padding: 35px 25px;
    }

    .testimonial-quote {
        font-size: 18px;
    }

    .testimonials-section::before,
    .testimonials-section::after {
        display: none;
    }
}