/* ============================================
   TESTIMONIOS SECTION - ESTILOS COMPLETOS
   ============================================ */

.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0D1321 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Header */
.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 205, 17, 0.15);
    border: 1px solid rgba(255, 205, 17, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFCD11;
    margin-bottom: 1rem;
}

.testimonials-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #9CA3AF;
}

/* Stats Row */
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #FFCD11;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 205, 17, 0.3);
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Testimonial Card */
.testimonial-card {
    background: linear-gradient(135deg, #1A2332 0%, #243447 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 205, 17, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Featured Card */
.testimonial-card.featured {
    border: 2px solid #FFCD11;
    box-shadow: 0 0 30px rgba(255, 205, 17, 0.2);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FFCD11 0%, #FF6B35 100%);
    color: #0A0E1A;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 10;
}

/* Video Container */
.video-container {
    position: relative;
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0A0E1A;
    overflow: hidden;
}

/* Thumbnail Placeholder (cuando no hay imagen) */
.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A2332 0%, #2A3647 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 205, 17, 0.3);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.testimonial-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFCD11 0%, #FF6B35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0E1A;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 205, 17, 0.4);
}

.play-button i {
    margin-left: 4px;
}

.testimonial-card:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 205, 17, 0.5);
}

.video-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.video-badge i {
    color: #EF4444;
}

/* Testimonial Content */
.testimonial-content {
    padding: 1.25rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    font-size: 1.5rem;
    color: rgba(255, 205, 17, 0.25);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #E5E7EB;
    font-style: italic;
    padding-left: 1.5rem;
    margin: 0;
}

/* Testimonial Footer */
.testimonial-footer {
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Avatar Placeholder */
.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFCD11 0%, #FF6B35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0E1A;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #9CA3AF;
}

.service-tag i {
    color: #FFCD11;
    font-size: 0.7rem;
}

/* Rating */
.rating-container {
    text-align: right;
}

.stars {
    display: flex;
    gap: 0.125rem;
    justify-content: flex-end;
    margin-bottom: 0.25rem;
}

.stars i {
    color: #FFCD11;
    font-size: 0.875rem;
}

.rating-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFCD11;
}

/* CTA */
.testimonials-cta {
    text-align: center;
}

.testimonials-cta p {
    font-size: 1.125rem;
    color: #9CA3AF;
    margin-bottom: 1.25rem;
}

.btn-cta-testimonials {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FFCD11 0%, #FF6B35 100%);
    color: #0A0E1A;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 205, 17, 0.3);
}

.btn-cta-testimonials:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 205, 17, 0.4);
}

/* ============================================
   VIDEO MODAL
   ============================================ */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal.show {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.95);
}

.modal-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    background: #1A2332;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #FFCD11;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #EF4444;
    transform: rotate(90deg);
}

.video-wrapper video {
    width: 100%;
    display: block;
    background: #000;
}

.modal-user-info {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card.featured {
        grid-column: span 1;
    }
    
    .testimonials-section .section-header h2 {
        font-size: 1.75rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .rating-container {
        text-align: left;
    }
    
    .stars {
        justify-content: flex-start;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}