/* ============================================
   CECIM - Inicio / Testimonios
   ============================================ */

.testimonios-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.testimonios-subtitulo {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 45px;
    margin-top: 5px;
    font-weight: 400;
}

.testimonios-carousel {
    max-width: 900px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.testimonios-nav {
    background-color: rgba(255,255,255,0.15);
    color: white;
    border: none;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonios-nav:hover {
    background-color: rgba(255,255,255,0.3);
}

.testimonios-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.testimonios-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonio-card {
    flex: 0 0 100%;
    padding: 45px 40px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.testimonio-avatar {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-full);
    border: 4px solid var(--primary-blue);
    flex-shrink: 0;
}

.testimonio-stars {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.testimonio-stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonio-texto {
    font-style: italic;
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.testimonio-nombre {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.testimonio-cargo {
    font-weight: 600;
    color: var(--accent-teal);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonios-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonios-dots span {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.testimonios-dots span.active {
    background: #ffc107;
    border-color: white;
    width: 12px;
    height: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .testimonios-section {
        padding: 55px 0;
    }

    .testimonios-carousel {
        gap: 12px;
    }

    .testimonios-nav {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .testimonio-card {
        padding: 30px 20px;
    }

    .testimonio-avatar {
        width: 65px;
        height: 65px;
    }

    .testimonio-texto {
        font-size: 0.92rem;
    }
}
