/* =====================================================
   SECCIÓN TESTIMONIOS - FONDO ORIGINAL Y ELEVADO
===================================================== */

#testimonios {
    position: relative;
    background: linear-gradient(180deg, #05132F 0%, #0A2252 50%, #061638 100%);
    color: #FFFFFF;
    padding: 100px 7%;
    overflow: hidden;
}

/* Halos de luz ambiental (Mesh Glow) */
#testimonios::before {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    top: -100px;
    left: -150px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(96, 165, 250, 0.05) 50%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

#testimonios::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(37, 99, 235, 0.06) 55%, transparent 75%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* Patrón sutil de cuadrícula de micro-puntos */
#testimonios .section-heading,
#testimonios .carousel-container,
#testimonios .carousel-indicators {
    position: relative;
    z-index: 1;
}

/* Tipografía adaptada al fondo oscuro */
#testimonios .eyebrow {
    color: #60A5FA !important;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 6px 16px;
    border-radius: 9999px;
    display: inline-block;
    font-size: 13px !important;
    letter-spacing: 2.5px !important;
}

#testimonios .section-heading h2 {
    color: #FFFFFF !important;
    font-size: clamp(36px, 4.8vw, 50px) !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 14px;
}

#testimonios .section-heading p {
    color: #CBD5E1 !important;
    font-size: 17.5px;
    max-width: 680px;
    margin: 14px auto 0;
    line-height: 1.65;
}

/* ===========================
   TARJETAS DE TESTIMONIOS (VIDRIO OSCURO PREMIUM)
=========================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(96, 165, 250, 0.45) !important;
    box-shadow: 0 30px 60px -12px rgba(11, 61, 145, 0.5), 0 0 30px rgba(37, 99, 235, 0.25) !important;
}

.testimonial-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    margin: 16px 0 6px;
    color: #FFFFFF !important;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.testimonial-card p {
    font-size: 15px;
    color: #CBD5E1 !important;
    line-height: 1.6;
    flex-grow: 1;
    margin: 8px 0;
}

/* Marco cinematográfico del video */
.testimonial-card video {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    object-fit: contain;
    background: #00091A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
}

.video-testimonial-card {
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 24px;
}

/* ===========================
   BOTONES DEL CARRUSEL EN TESTIMONIOS
=========================== */
#testimonios .carousel-button {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease;
}

#testimonios .carousel-button:hover:not(:disabled) {
    background: #2563EB !important;
    border-color: #60A5FA !important;
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.6) !important;
}

#testimonios .carousel-indicator {
    background: rgba(255, 255, 255, 0.25) !important;
}

#testimonios .carousel-indicator.active {
    background: #60A5FA !important;
    box-shadow: 0 0 12px #60A5FA !important;
    transform: scale(1.4);
}

/* Responsive */
@media (max-width: 768px) {
    #testimonios {
        padding: 70px 5%;
    }
    .testimonial-card {
        padding: 20px;
        min-height: 370px;
    }
    .testimonial-card h3 {
        font-size: 18px;
    }
    .testimonial-card video {
        height: 190px;
    }
}
