/* --- BOTONES PRO CON EFECTO SHINE --- */
.testi-nav-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-testi-toggle {
    --b-color: #0d6efd;
    padding: 15px 30px;
    border-radius: 20px;
    border: 2px solid #f1f1f1;
    background: #fff;
    font-weight: 800;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: #444;
}

    .btn-testi-toggle.active {
        background: var(--b-color);
        color: #fff;
        border-color: var(--b-color);
        box-shadow: 0 15px 30px rgba(var(--b-color), 0.3);
    }

/* --- CARDS PRO ELITE --- */
.testi-pro-card {
    --elite-blue: #0d6efd;
    background: #fff;
    border-radius: 40px;
    padding: 45px 35px;
    position: relative;
    transition: all 0.7s cubic-bezier(0.15, 0, 0.15, 1);
    border: 1px solid rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testi-blue {
    --elite-blue: #0d6efd;
}

.testi-green {
    --elite-blue: #2E7D32;
}

.testi-purple {
    --elite-blue: #7B1FA2;
}

.testi-red {
    --elite-blue: #C62828;
}

.testi-pro-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
    border-color: var(--elite-blue);
}

.testi-icon-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: var(--elite-blue);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 5;
    transition: 0.5s;
}

.testi-pro-card:hover .testi-icon-badge {
    transform: rotate(360deg) scale(1.1);
    background: #1d1d1f;
}

/* --- VIDEO Y CONTROLES PRO --- */
.video-pro-container {
    width: 100%;
    height: 220px;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    background: #000;
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.1);
}

.video-pro-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-custom-controls {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 10;
}

.video-pro-container:hover .video-custom-controls {
    opacity: 1;
}

.control-btn {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.3s;
}

    .control-btn:hover {
        background: var(--elite-blue);
        transform: scale(1.1);
    }

/* --- ESTRELLAS CON ANIMACIÓN GLOW --- */
.stars-container i {
    color: #FFC107;
    margin-right: 2px;
}

.animated-stars i {
    animation: starGlow 2.5s infinite ease-in-out;
}

@keyframes starGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px #FFC107);
    }

    50% {
        transform: scale(1.3);
        filter: drop-shadow(0 0 12px #FFC107);
    }
}

/* --- DETALLES DE AVATAR Y META --- */
.avatar-frame {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.avatar-pro {
    width: 75px;
    height: 75px;
    border-radius: 22px;
    border: 3px solid #f8f9fa;
    transition: 0.4s;
}

.testi-pro-card:hover .avatar-pro {
    transform: rotate(-5deg);
    border-color: var(--elite-blue);
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: -2px;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    border: 3px solid #fff;
    border-radius: 50%;
}

.testi-text {
    font-size: 1.1rem;
    color: #333;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testi-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f1f1;
    padding-top: 25px;
}

.testi-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1d1d1f;
    margin: 0;
}

.testi-info-sub {
    font-size: 0.85rem;
    color: var(--elite-blue);
    font-weight: 700;
}

.testi-tag {
    font-size: 0.8rem;
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 50px;
    color: #777;
    font-weight: 800;
    border: 1px solid #eee;
}
/* css/testimonial.css */

/* FIX: Dar espacio para que no se corten las sombras ni bordes */
.swiper-testimonios {
    padding-top: 30px !important; /* Espacio para que suba al hacer hover */
    padding-bottom: 60px !important; /* Espacio para la sombra gigante de abajo */
    padding-left: 20px !important; /* Espacio lateral por si acaso */
    padding-right: 20px !important;
    overflow: visible !important; /* Permite que los elementos salgan de la caja */
}

    /* Ajuste para que los puntos de paginación no queden muy lejos */
    .swiper-testimonios .swiper-pagination {
        bottom: 0px !important;
    }