/* ============================================================
   MIS TESTIMONIOS PRO — Frontend CSS v3.2 (Unbeatable Pro)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.mtp-wrapper,
.mtp-wrapper *,
.mtp-wrapper *::before,
.mtp-wrapper *::after {
    box-sizing: border-box !important;
}

.mtp-wrapper {
    font-family: 'Inter', sans-serif;
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: visible !important;
}

.mtp-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.mtp-track {
    display: flex;
    align-items: stretch;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mtp-slide {
    flex: 0 0 auto;
    padding: 15px;
    display: flex;
}

.mtp-card {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    padding: 35px !important;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid #6C63FF;
    background: #ffffff;
    border-radius: 16px;
}

.mtp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.mtp-quote-icon {
    opacity: 0.15;
    margin-bottom: -15px;
    transition: color 0.3s ease;
}

.mtp-stars {
    display: flex;
    gap: 4px;
}

.mtp-star--filled {
    color: #FFD700;
}

.mtp-star--empty {
    color: #e0e0e0;
}

blockquote.mtp-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.mtp-author-row {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 15px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mtp-avatar-wrap {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtp-avatar {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.mtp-avatar-initials {
    width: 100%;
    height: 100%;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtp-author-info {
    min-width: 0;
    flex: 1;
}

.mtp-author-name {
    font-size: 18px;
    color: #1a1a2e;
    font-weight: 700;
    display: block;
    margin: 0;
    transition: color 0.3s ease;
}

.mtp-author-meta {
    font-size: 14px;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

/* ── Flechas ── */
.mtp-btn {
    all: unset;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto !important;
}

.mtp-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.mtp-btn--prev {
    left: -25px;
}

.mtp-btn--next {
    right: -25px;
}

/* ── Puntos de Navegación PRO ── */
.mtp-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    min-height: 25px;
}

.mtp-dot {
    padding: 0 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.5;
    background-color: #e0e0e0;
    /* Fallback si Elementor no envía color */
}

.mtp-dot:hover {
    opacity: 1;
    transform: scale(1.2) !important;
}

.mtp-dot--active {
    opacity: 1;
}

/** 
 * REGLAS DE ORO (PRESETS) 
 * Usamos especificidad de ID para ganar a Elementor
 */

/* 1. Círculo Perfecto */
.elementor-widget-mtp_testimonios.mtp-dots-circle .mtp-dot {
    border-radius: 50% !important;
}

/* 2. Cuadrado Elegante */
.elementor-widget-mtp_testimonios.mtp-dots-square .mtp-dot {
    border-radius: 4px !important;
}

/* 3. Palillo Moderno (Garantiza Proporción Pro) */
.elementor-widget-mtp_testimonios.mtp-dots-line .mtp-dot {
    height: 4px !important;
    width: 22px !important;
    border-radius: 10px !important;
}

/* Expansión del activo para todos los diseños */
.elementor-widget-mtp_testimonios .mtp-dot--active {
    /* El ancho es controlado por Elementor (selectors), pero aquí forzamos suavidad */
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Forzar la expansión pro en el Palillo si Elementor no lo hace bien */
.elementor-widget-mtp_testimonios.mtp-dots-line .mtp-dot--active {
    min-width: 44px !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .mtp-wrapper {
        padding: 0 20px;
    }

    .mtp-btn {
        transform: translateY(-50%) scale(0.85);
    }
}

@media (max-width: 767px) {
    .mtp-btn {
        display: none !important;
    }
}

/* 1. ARREGLAR LAS FLECHAS EN MÓVIL */
@media (max-width: 767px) {

    /* Flechas pequeñas y abajo para no tapar el texto */
    .elementor-widget-mtp_testimonios .mtp-btn {
        width: 35px !important;
        height: 35px !important;
        top: auto !important;
        bottom: -45px !important;
    }

    /* Centramos las flechas abajo */
    .elementor-widget-mtp_testimonios .mtp-btn--prev {
        left: 30% !important;
    }

    .elementor-widget-mtp_testimonios .mtp-btn--next {
        right: 30% !important;
    }

    /* Espacio para que las flechas no queden volando sobre otros elementos */
    .elementor-widget-mtp_testimonios .mtp-carousel-container {
        margin-bottom: 70px !important;
        padding: 0 15px !important;
    }

    .mtp-dots {
        margin-top: 0px !important;
    }
}

/* 2. DISEÑO DE PUNTOS TIPO "PÍLDORA" (Como el profesional que te gustó) */
.elementor-widget-mtp_testimonios .mtp-dot {
    width: 8px !important;
    height: 8px !important;
    background-color: #e0e0e0 !important;
    opacity: 0.6;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    border-radius: 50% !important;
}

/* El punto activo se estira */
.elementor-widget-mtp_testimonios .mtp-dot--active {
    width: 22px !important;
    background-color: #6C63FF !important;
    border-radius: 10px !important;
    opacity: 1 !important;
}

/* 3. LIMPIEZA DE TARJETA */
.elementor-widget-mtp_testimonios .mtp-card {
    border-top: 4px solid #6C63FF !important;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.06) !important;
    border-radius: 15px !important;
    padding: 25px !important;
}