/* ============================================================
   TESTIMONIALS SECTION - PREMIUM STYLING
============================================================ */

/* ========================= */
/* SECTION: TESTIMONIOS      */
/* ========================= */
.testimonials-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    margin: 60px 0;
}

.testimonials-container {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f5f5f5;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.testimonials-header p {
    font-size: 1rem;
    color: #cfcfcf;
    margin: 0;
}

.section-underline-gold {
    display: inline-block;
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, #c8a14f, #a88537);
    border-radius: 2px;
    margin-top: 16px;
}

/* ========================= */
/* TESTIMONIALS GRID         */
/* ========================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 161, 79, 0.2);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c8a14f, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(200, 161, 79, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(200, 161, 79, 0.15);
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* Rating Stars */
.stars {
    color: #c8a14f;
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

/* Client Info */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.testimonial-avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8a14f 0%, #b3893e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(200, 161, 79, 0.3);
    box-shadow: 0 4px 15px rgba(200, 161, 79, 0.2);
}

.testimonial-initial {
    color: #0a0a0a;
    font-size: 1.3rem;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 600;
    color: #f5f5f5;
    font-size: 0.95rem;
}

/* Text */
.testimonial-text {
    color: #cfcfcf;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2rem;
    color: #c8a14f;
    opacity: 0.5;
}

/* ========================= */
/* ANIMATIONS               */
/* ========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* ========================= */
/* RESPONSIVE MOBILE        */
/* ========================= */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 15px;
        margin: 40px 0;
    }

    .testimonials-header h2 {
        font-size: 1.8rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* ========================= */
/* CAROUSEL STYLES           */
/* ========================= */
.testimonials-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 25px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-slide {
    flex: 1 0 calc(100% - 50px);
    min-width: calc(100% - 50px);
}

@media (min-width: 768px) {
    .carousel-slide {
        flex: 1 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 1 0 calc(33.333% - 17px);
        min-width: calc(33.333% - 17px);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(200, 161, 79, 0.2);
    border: 2px solid #c8a14f;
    color: #c8a14f;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-btn:hover {
    background: rgba(200, 161, 79, 0.4);
    box-shadow: 0 4px 15px rgba(200, 161, 79, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #c8a14f;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #c8a14f;
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: rgba(200, 161, 79, 0.6);
}

@media (max-width: 767px) {
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }
}

