/* Animación keyframe */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.responsive-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 120%;
    /* Sin animación por defecto */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.responsive-text {
    margin-top: 1.2rem;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    /* Sin animación por defecto */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Clases que se activan cuando aparece en pantalla */
.responsive-title.animate {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.responsive-text.animate {
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.responsive-span {
    display: inline;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .responsive-title {
        font-size: 3.2rem;
    }

    .responsive-text {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .responsive-title {
        margin-top: 1rem;
        font-size: 4.5rem;
    }

    .responsive-text {
        margin-top: 1.8rem;
        font-size: 1.4rem;
    }

    .responsive-span {
        display: block;
    }
}


/* Estilos para el slider de los testimonios */

/* Contenedor wrapper para centrar y limitar ancho */
.testimonials-section-wrapper {
    margin: 0 auto;
    padding: 0 40px;
    overflow: visible; /* CLAVE: Evita desbordamiento */
    position: relative; /* Para contener elementos absolutos */
}

/* Contenedor principal del slider */
.splide.slider_testimonials {
    opacity: 1 !important;
    transform: none !important;
    width: 100%; /* Usar todo el ancho disponible del wrapper */
    margin: 0 auto;
    position: relative;
    padding: 0;
}

/* Track del slider */
.splide__track.testimonials {
    overflow: hidden; /* CAMBIADO de visible a hidden */
    padding: 50px 80px 10px 80px; /* Más padding para las flechas */
    width: 100%; /* Asegurar que use el ancho completo */
}

/* Lista de slides */
.splide__list.testimonials {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* Para altura variable */
}

/* Cada slide testimonial - NUEVO DISEÑO */
.splide__slide.testimonials {
    min-height: auto;
    min-width: 200px; /* Ancho mínimo */
    max-width: 280px; /* Ancho máximo */
    width: auto !important; /* Ancho automático basado en contenido */
    flex: 0 0 auto; /* No crecer ni encogerse, solo automático */
    border-radius: 16px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* NUEVO DISEÑO */
    background: transparent !important; /* Background transparente */
    border: 2px solid rgba(255, 255, 255, 0.8); /* Borde blanco semi-transparente */
    color: white !important; /* Texto blanco */
    backdrop-filter: blur(10px); /* Efecto de desenfoque sutil */
    
    /* Sombra sutil para mejor visibilidad */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Hover effect mejorado */
.splide__slide.testimonials:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 1); /* Borde más opaco en hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
}

/* Texto del testimonial */
.slide_paragraph.testimonials {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    font-weight: 500;
    color: white !important; /* Asegurar texto blanco */
}

/* Contenedor del usuario  */
.testimonial-user-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

/* Nombre del usuario */
.slider-heading.testimonials {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: white !important; /* Asegurar texto blanco */
}

/* Icono de plataforma */
.platform-icon-wrapper {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon-wrapper i {
    font-size: 20px;
    color: white !important; /* Iconos blancos */
}



/* Controles del slider */
.splide__cus-controls.testimonials {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    position: relative;
}

/* Flechas de navegación */
.splide__arrows.testimonials {
    position: absolute;
    top: -180px;
    left: 40px;
    right: 40px;
    width: calc(100% - 120px);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.splide__arrow {
    position: relative;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.splide__arrow:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.35);
}

.splide__arrow--prev {
    left: 0;
}

.splide__arrow--next {
    right: 0;
}

/* Iconos de las flechas más grandes */
.splide__arrow .arrow-icon svg {
    width: 50px;
    height: 50px;
}

/* Paginación */
.splide__pagination.testimonials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    opacity: 0;
}

.splide__pagination__page {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.splide__pagination__page.is-active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .testimonials-section-wrapper {
        max-width: 900px;
        padding: 0 30px;
    }

    .splide__track.testimonials {
        padding: 20px 60px;
    }

    .splide__arrows.testimonials {
        top: -150px;
        left: 60px;
        right: 60px;
        width: calc(100% - 100px);
    }

    .splide__slide.testimonials {
        min-width: 180px;
        max-width: 250px;
    }
}

@media (max-width: 767px) {
    .testimonials-section-wrapper {
        max-width: 600px;
        padding: 0 20px;
    }

    .splide__track.testimonials {
        padding: 20px 50px;
    }

    .splide__arrows.testimonials {
        top: -120px;
        left: 50px;
        right: 50px;
        width: calc(100% - 80px);
    }

    .splide__arrow {
        width: 44px;
        height: 44px;
    }

    .splide__slide.testimonials {
        min-width: 160px;
        max-width: 220px;
        border-width: 1.5px; /* Borde más delgado en móvil */
    }
}

@media (max-width: 479px) {
    .testimonials-section-wrapper {
        max-width: 400px;
        padding: 0 15px;
    }

    .splide__track.testimonials {
        padding: 50px;
    }

    .splide__arrows.testimonials {
        position: static;
        transform: none;
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
        top: auto;
        left: auto;
        right: auto;
        width: auto;
    }

    .splide__arrow--prev,
    .splide__arrow--next {
        position: static;
        left: auto;
        right: auto;
    }

    .splide__slide.testimonials {
        min-width: 150px;
        max-width: 200px;
        border-width: 1.5px; /* Borde más delgado en móvil */
    }

    .banner-style-large {
        background-position: right;
    }
}



/* Otros estilos necesarios */

.logo-mexa {
    width: 200px;
    height: 200px;
    transition: all 0.3s ease;
}

.text-hero {
    padding-left: 15rem;
}

.btn-hero {
    padding: 10px 0 0 15rem
}

.img-hero {
    max-width: 400px;
    height: auto;
}


@media (max-width: 1025px) {
    .obento-grid-item_r-3 {
        background-size: 200px;
    }

    .img-hero {
        max-width: 250px;
        height: auto;
    }
}

@media (max-width: 426px) {
    .text-hero {
        padding-left: 5rem;
    }

    .btn-hero {
        padding: 10px 0 0 5rem;
    }

    .button.is-brand {
        font-size: 1.2rem;
        padding: .5rem .5rem;
    }

    .splide__slide.beneficios.theme-1 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios.theme-2 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios.theme-3 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios.theme-4 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios.theme-5 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios.theme-6 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios.theme-7 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios.theme-8 {
        background-size: 400px 300px;
        background-position: center;
    }

    .splide__slide.beneficios {
        background-color: #dcd9c6;
    }

    .slide_paragraph {
        font-size: 0.75rem;
    }

    .banner-style-large {
        font-size: .5rem;
        text-align: start;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .banner-content__container {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .img-hero {
        max-width: 300px;
    }
}

@media (max-width: 376px) {
    .text-hero {
        padding-left: 2rem;
    }

    .btn-hero {
        padding: 10px 0 0 2rem;
    }

    .logo-mexa {
        width: 120px;
        height: 120px;
    }

    .button.is-brand {
        font-size: 1rem;
        padding: .3rem .3rem;
    }

    .banner-style-large {
        text-align: start;
    }

    .img-hero {
        max-width: 250px;
    }


}