/* Start custom CSS for html, class: .elementor-element-ba10f90 */* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: #fff;
}

.casos-exito {
    padding: 60px 51px;
}

.contenedor-casos {
    max-width: 868px;
    margin: 0 auto;
}

.cabecera-casos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.titulo-principal {
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
    max-width: 600px;
}

/* Estado base del botón */
.btn-carrusel {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    border: 2px solid #7D455A;
    background: #fff;
    cursor: pointer;
    transition: background .3s, border-color .3s;
    box-shadow: none;
    overflow: visible;
}

/* La flecha ahora siempre blanca */
.btn-carrusel::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid #7D455A;
    /* color inicial de la flecha */
    border-right: 2px solid #7D455A;
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
}

/* Flecha izquierda */
.btn-carrusel.izquierda::after {
    transform: translate(-50%, -50%) rotate(225deg);
}

.btn-carrusel:hover:not(:disabled) {
    background: #7D455A;
    border-color: #7D455A;
}

/* DISABLED */
.btn-carrusel:disabled {
    opacity: .5;
    cursor: not-allowed;
    background: #fff !important;
    color: #7D455A !important;
    border-color: #7D455A !important;
}

.btn-carrusel:focus,
.btn-carrusel:active {
    outline: none;
    box-shadow: none;
    background: #fff !important;
    color: #7D455A !important;
    border: 2px solid #7D455A !important;
}

.btn-carrusel:focus:not(:hover),
.btn-carrusel:active:not(:hover) {
    background: #fff !important;
    color: #7D455A !important;
    border: 2px solid #7D455A !important;
}


.btn-carrusel svg {
    width: 28px;
    height: 28px;
}

.carrusel {
    display: flex;
    max-width: 868px;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 24px;
}

.slide {
    flex: 0 0 100%;
    background: #7D455A;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
}

/* .navegacion-carrusel-desktop {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: end;
} */

.navegacion-carrusel-mobile {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.carrusel-testimonio {
    width: 100%;
    max-width: 780px;
    padding: 48px 56px;
    margin: 0 auto;
}

/* Tipografía interna */
.testimonio-titulo {
    font-family: 'DM Sans', sans-serif;
    font-size: 38px;
    line-height: 48px;
    font-weight: 700;
    width: 80%;
    letter-spacing: 0px;
    color: #FFFFFF !important;
    margin-bottom: 40px;
}

.testimonio-cliente {
    font-family: 'DM Sans', sans-serif;
    color: #FFFFFF;
    line-height: 20px;
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 7px;
}

.cliente-plan {
    font-family: 'DM Sans', sans-serif;
    color: #FFFFFF;
    line-height: 20px;
    font-size: 20px;
    font-weight: 400;
    margin-top: 7px;
}

.testimonio-link:hover {
    text-decoration: underline;
}

.navegacion-carrusel-desktop {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.navegacion-carrusel-mobile {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .casos-exito {
        padding: 40px 20px;
    }

    .slide {
        flex-direction: column;
    }

    .contenedor-casos {
        max-width: 100%;
    }

    .cabecera-casos {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .titulo-principal {
        text-align: center;
        font-size: 36px;
        line-height: 46px;
    }

    .carrusel {
        flex-direction: column;
        height: auto;
    }

    .carrusel-testimonio {
        padding: 0px 0px 0px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 352px;
    }

    .testimonio-titulo {
        font-size: 22px;
        line-height: 28px;
        font-weight: 700;
        text-align: center;
        width: 100%;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .testimonio-cliente {
        font-size: 16px;
        line-height: 22px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 0px;
    }

    .cliente-plan {
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        margin-top: 4px;
    }

    .navegacion-carrusel-mobile .btn-carrusel {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        padding: 0 !important;
        border-radius: 9999px;
        flex: 0 0 48px;
        aspect-ratio: 1 / 1;
        -webkit-appearance: none;
        appearance: none;
        background-image: none !important;
    }


    .navegacion-carrusel-mobile .btn-carrusel::before,
    .navegacion-carrusel-mobile .btn-carrusel::after {
        content: none !important;
    }

    .navegacion-carrusel-mobile .btn-carrusel .chev {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        border-top: 2px solid #7D455A;
        border-right: 2px solid #7D455A;
        transform: translate(-50%, -50%) rotate(45deg);
        pointer-events: none;
    }

    .navegacion-carrusel-mobile .btn-carrusel.izquierda .chev {
        transform: translate(-50%, -50%) rotate(225deg);
    
    }

    .navegacion-carrusel-mobile .btn-carrusel:hover {
        background: #7D455A;
        border-color: #7D455A;
    }

    .navegacion-carrusel-mobile .btn-carrusel:hover .chev {
        border-color: #fff;
    }

    .navegacion-carrusel-desktop {
        display: none;
    }

    .navegacion-carrusel-mobile {
        display: flex;
    }
}/* End custom CSS */