.elementor-1492 .elementor-element.elementor-element-d942d8c{--display:flex;--min-height:787px;--overflow:auto;--overlay-opacity:0.5;}.elementor-1492 .elementor-element.elementor-element-d942d8c:not(.elementor-motion-effects-element-type-background), .elementor-1492 .elementor-element.elementor-element-d942d8c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#000000;}.elementor-1492 .elementor-element.elementor-element-d942d8c::before, .elementor-1492 .elementor-element.elementor-element-d942d8c > .elementor-background-video-container::before, .elementor-1492 .elementor-element.elementor-element-d942d8c > .e-con-inner > .elementor-background-video-container::before, .elementor-1492 .elementor-element.elementor-element-d942d8c > .elementor-background-slideshow::before, .elementor-1492 .elementor-element.elementor-element-d942d8c > .e-con-inner > .elementor-background-slideshow::before, .elementor-1492 .elementor-element.elementor-element-d942d8c > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:#000000;--background-overlay:'';}.elementor-1492 .elementor-element.elementor-element-a64c00b{--spacer-size:100px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1492 .elementor-element.elementor-element-c73eeff{text-align:start;}.elementor-1492 .elementor-element.elementor-element-c73eeff .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:260px;font-weight:400;text-shadow:0px 0px 28px rgba(0,0,0,0.3);color:#FFFFFF;}.elementor-1492 .elementor-element.elementor-element-c73eeff {---ui-speed:1160ms;---ui-delay:1040ms;---ui-stagger:15ms;}.elementor-widget-animated-headline .elementor-headline-plain-text{color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-animated-headline{--dynamic-text-color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline-dynamic-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-animated-headline .elementor-headline-dynamic-wrapper path{stroke:var( --e-global-color-accent );}.elementor-1492 .elementor-element.elementor-element-b972e21{--iteration-count:infinite;--dynamic-text-color:#FFFFFF;}.elementor-1492 .elementor-element.elementor-element-b972e21 .elementor-headline{text-align:center;}.elementor-1492 .elementor-element.elementor-element-b972e21 .elementor-headline-plain-text{color:#FFFFFF;}.elementor-1492 .elementor-element.elementor-element-b972e21 .elementor-headline-dynamic-text{font-family:"Poppins", Sans-serif;font-weight:600;}.elementor-1492 .elementor-element.elementor-element-e9b9818{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-cca935e{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-78e3571{--display:grid;--e-con-grid-template-columns:repeat(3, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-1492 .elementor-element.elementor-element-520aba6{--spacer-size:50px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1492 .elementor-element.elementor-element-a747ad1{animation-range:entry 85vh entry 53vh;}.elementor-1492 .elementor-element.elementor-element-84fa1ac{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-892d432{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-8169032{--display:grid;--e-con-grid-template-columns:repeat(3, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-1492 .elementor-element.elementor-element-46022a3{animation-range:entry 49vh entry 53vh;}.elementor-1492 .elementor-element.elementor-element-d7d1bde{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-cdd2be3{animation-range:entry 49vh entry 53vh;}.elementor-1492 .elementor-element.elementor-element-40470e9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-ac7c1eb{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-1492 .elementor-element.elementor-element-b64826a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-e146228{--e-transform-transition-duration:1500ms;}.elementor-1492 .elementor-element.elementor-element-e146228 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:80px;font-weight:400;color:#000000;}.elementor-1492 .elementor-element.elementor-element-4bd2988 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:80px;font-weight:400;color:#000000;}.elementor-1492 .elementor-element.elementor-element-2df4236 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:80px;font-weight:400;color:#000000;}.elementor-1492 .elementor-element.elementor-element-4aacd4a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-1492 .elementor-element.elementor-element-c4fe419{--e-transform-origin-x:center;--e-transform-origin-y:center;}.elementor-1492 .elementor-element.elementor-element-c4fe419 .elementor-wrapper{--video-aspect-ratio:1.77777;}.elementor-1492 .elementor-element.elementor-element-4757120{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-2e9f585{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-0ac5033{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-7d2792b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-89c6900{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-7ffee80{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-55c34da .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:60px;font-weight:400;color:#000000;}.elementor-1492 .elementor-element.elementor-element-8377951{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-1492 .elementor-element.elementor-element-6c0dd49{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-6c0dd49.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-1492 .elementor-element.elementor-element-604d251{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-604d251.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-1492 .elementor-element.elementor-element-c65524c{font-family:"Roboto", Sans-serif;font-size:20px;font-weight:600;color:#000000;}.elementor-1492 .elementor-element.elementor-element-3b946ee{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-b19459d.elementor-element{--align-self:center;}.elementor-1492 .elementor-element.elementor-element-8f99b8a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-9bf4c14{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-da22e1f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-6e61834{--e-image-carousel-slides-to-show:3;}.elementor-1492 .elementor-element.elementor-element-20ad42f{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-97e681a{text-align:center;}.elementor-1492 .elementor-element.elementor-element-97e681a .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:50px;font-weight:400;color:#000000;}.elementor-1492 .elementor-element.elementor-element-597651d{--spacer-size:50px;}.elementor-1492 .elementor-element.elementor-element-d7aa428{--e-image-carousel-slides-to-show:3;}.elementor-1492 .elementor-element.elementor-element-0d86828{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-1492 .elementor-element.elementor-element-828c558{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-21aa66e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1492 .elementor-element.elementor-element-21aa66e.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-1492 .elementor-element.elementor-element-cbed448{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-1492 .elementor-element.elementor-element-a79a5dd{text-align:center;}.elementor-1492 .elementor-element.elementor-element-a79a5dd .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:49px;font-weight:400;color:#000000;}.elementor-1492 .elementor-element.elementor-element-31a5c73{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-1492 .elementor-element.elementor-element-33f634b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-1492 .elementor-element.elementor-element-de1eb7b{text-align:center;}.elementor-1492 .elementor-element.elementor-element-de1eb7b .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:49px;font-weight:400;color:#000000;}.elementor-1492 .elementor-element.elementor-element-38b34da{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;}.elementor-widget-testimonial-carousel .elementor-testimonial__text{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-testimonial-carousel .elementor-testimonial__name{color:var( --e-global-color-text );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-testimonial-carousel .elementor-testimonial__title{color:var( --e-global-color-primary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-1492 .elementor-element.elementor-element-747183a.elementor-arrows-yes .elementor-main-swiper{width:calc( 100% - 40px );}.elementor-1492 .elementor-element.elementor-element-747183a .elementor-main-swiper{width:100%;}.elementor-1492 .elementor-element.elementor-element-747183a .elementor-swiper-button{font-size:20px;}.elementor-1492 .elementor-element.elementor-element-747183a .elementor-testimonial__text{color:#FFFFFF;font-family:"Poppins", Sans-serif;font-size:14px;font-weight:400;}.elementor-1492 .elementor-element.elementor-element-747183a .elementor-testimonial__name{color:#FFFFFF;font-family:"Poppins", Sans-serif;font-weight:600;}.elementor-1492 .elementor-element.elementor-element-747183a .elementor-testimonial__title{color:#FFFFFF;font-family:"Poppins", Sans-serif;font-weight:400;}.elementor-1492 .elementor-element.elementor-element-747183a .elementor-testimonial__image img{width:300px;height:300px;}.elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_left .elementor-testimonial__content:after,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_right .elementor-testimonial__content:after{top:calc( 0px + (300px / 2) - 8px );}body:not(.rtl) .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_stacked:not(.elementor-testimonial--align-center):not(.elementor-testimonial--align-right) .elementor-testimonial__content:after,
					 body:not(.rtl) .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline:not(.elementor-testimonial--align-center):not(.elementor-testimonial--align-right) .elementor-testimonial__content:after,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_stacked.elementor-testimonial--align-left .elementor-testimonial__content:after,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline.elementor-testimonial--align-left .elementor-testimonial__content:after{left:calc( 0px + (300px / 2) - 8px );right:auto;}body.rtl .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_stacked:not(.elementor-testimonial--align-center):not(.elementor-testimonial--align-left) .elementor-testimonial__content:after,
					 body.rtl .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline:not(.elementor-testimonial--align-center):not(.elementor-testimonial--align-left) .elementor-testimonial__content:after,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_stacked.elementor-testimonial--align-right .elementor-testimonial__content:after,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline.elementor-testimonial--align-right .elementor-testimonial__content:after{right:calc( 0px + (300px / 2) - 8px );left:auto;}body:not(.rtl) .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above:not(.elementor-testimonial--align-center):not(.elementor-testimonial--align-right) .elementor-testimonial__content:after,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above.elementor-testimonial--align-left .elementor-testimonial__content:after{left:calc( 0px + (300px / 2) - 8px );right:auto;}body.rtl .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above:not(.elementor-testimonial--align-center):not(.elementor-testimonial--align-left) .elementor-testimonial__content:after,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above.elementor-testimonial--align-right .elementor-testimonial__content:after{right:calc( 0px + (300px / 2) - 8px );left:auto;}body.rtl .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline.elementor-testimonial--align-left .elementor-testimonial__image + cite,
					 body.rtl .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above.elementor-testimonial--align-left .elementor-testimonial__image + cite,
					 body:not(.rtl) .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline .elementor-testimonial__image + cite,
					 body:not(.rtl) .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above .elementor-testimonial__image + cite{margin-left:30px;margin-right:0;}body:not(.rtl) .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline.elementor-testimonial--align-right .elementor-testimonial__image + cite,
					 body:not(.rtl) .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above.elementor-testimonial--align-right .elementor-testimonial__image + cite,
					 body.rtl .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_inline .elementor-testimonial__image + cite,
					 body.rtl .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_above .elementor-testimonial__image + cite{margin-right:30px;margin-left:0;}.elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_stacked .elementor-testimonial__image + cite,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_left .elementor-testimonial__image + cite,
					 .elementor-1492 .elementor-element.elementor-element-747183a.elementor-testimonial--layout-image_right .elementor-testimonial__image + cite{margin-top:30px;}@media(min-width:768px){.elementor-1492 .elementor-element.elementor-element-b64826a{--width:50%;}.elementor-1492 .elementor-element.elementor-element-4aacd4a{--width:50%;}.elementor-1492 .elementor-element.elementor-element-6c0dd49{--width:20.232%;}.elementor-1492 .elementor-element.elementor-element-604d251{--width:68.324%;}.elementor-1492 .elementor-element.elementor-element-828c558{--width:70%;}.elementor-1492 .elementor-element.elementor-element-21aa66e{--width:94.749%;}.elementor-1492 .elementor-element.elementor-element-cbed448{--width:35%;}.elementor-1492 .elementor-element.elementor-element-33f634b{--width:33.3333%;}.elementor-1492 .elementor-element.elementor-element-38b34da{--width:66.6666%;}}@media(max-width:1024px){.elementor-1492 .elementor-element.elementor-element-78e3571{--grid-auto-flow:row;}.elementor-1492 .elementor-element.elementor-element-8169032{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-1492 .elementor-element.elementor-element-78e3571{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-1492 .elementor-element.elementor-element-8169032{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for video, class: .elementor-element-c4fe419 *//* Video original con bordes */
.elementor-video {
    width: 600px;
    height: 340px;
    border: 10px solid #fff;
    border-radius: 20px;
    transition: all 0.5s ease;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    transform: scale(1) !important; /* ignorar animaciones de Elementor */
}

/* Video en pantalla completa */
.video-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    transform: scale(1) !important; /* fuerza escala normal */
}

<script>
const videoSection = document.querySelector('.elementor-element-4aacd4a');
const video = videoSection.querySelector('.elementor-video');

window.addEventListener('scroll', function() {
    const rect = videoSection.getBoundingClientRect();
    const windowHeight = window.innerHeight;

    if(rect.top <= 0 && rect.bottom >= windowHeight / 2) {
        // Video ocupa pantalla completa
        video.classList.add('video-fullscreen');
    } else {
        // Vuelve a su tamaño original
        video.classList.remove('video-fullscreen');
    }
});
</script>/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-ac7c1eb */<style>
/* Video original con bordes */
.elementor-video {
    width: 600px;
    height: 340px;
    border: 10px solid #fff;
    border-radius: 20px;
    transition: all 0.5s ease;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    transform: scale(1) !important; /* ignorar animaciones de Elementor */
}

/* Video en pantalla completa */
.video-fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
    transform: scale(1) !important; /* fuerza escala normal */
}
</style>

<script>
const videoSection = document.querySelector('.elementor-element-4aacd4a');
const video = videoSection.querySelector('.elementor-video');

window.addEventListener('scroll', function() {
    const rect = videoSection.getBoundingClientRect();
    const windowHeight = window.innerHeight;

    if(rect.top <= 0 && rect.bottom >= windowHeight / 2) {
        // Video ocupa pantalla completa
        video.classList.add('video-fullscreen');
    } else {
        // Vuelve a su tamaño original
        video.classList.remove('video-fullscreen');
    }
});
</script>/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-9c5694f *//* Slider principal */
#n2-ss-2 {
    max-height: 650px !important; /* Más largo */
    width: 100%; /* O un ancho fijo según tu grid */
    overflow: hidden; 
}

/* Ajusta las imágenes de los slides para que se adapten */
#n2-ss-2 .n2-ss-slide-background-image img {
    object-fit: cover; /* Mantiene proporción */
    height: 100%;
    width: 100%;
}

/* Ajuste del contenido interno del slider */
#n2-ss-2 .n2-ss-layer {
    max-height: 650px; 
    overflow: hidden;
}

/* Ajuste del contenedor dentro del grid */
.elementor-element-20f0b01 {
    width: 65%; /* Ajusta según quieras más ancho */
    margin-left: auto; /* Alineado al lado derecho */
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-21aa66e *//* Slider principal */
#n2-ss-2 {
    max-height: 500px !important; /* Altura 25% mayor */
    width: 100%; /* O ajusta un ancho fijo si quieres */
    overflow: hidden; /* Para recortar contenido que sobresalga */
}

/* Ajusta las imágenes de los slides para que se adapten */
#n2-ss-2 .n2-ss-slide-background-image img {
    object-fit: cover; /* Mantiene proporción */
    height: 100%;
    width: 100%;
}

/* Ajusta el contenido interno del slider */
#n2-ss-2 .n2-ss-layer {
    max-height: 500px; 
    overflow: hidden;
}

/* Ajuste del contenedor dentro del grid */
.elementor-element-20f0b01 {
    width: 65%; /* Un poco más ancho si lo necesitas */
    margin-left: auto; /* Mantiene alineación al lado derecho */
}/* End custom CSS */
/* Start custom CSS for testimonial-carousel, class: .elementor-element-747183a *//* --- CONTENEDORES PADRES: PERMITEN DESBORDAR IMAGEN --- */
.swiper-slide,
.elementor-widget-container {
  overflow: visible !important;
}

/* --- TARJETA GENERAL SIN BORDES --- */
.elementor-testimonial {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem 2.5rem; /* más espacio para que el texto baje */
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: relative;
  color: #fff;
  transition: all 0.4s ease;
}

/* --- CAPA OSCURA PARA EL HOVER --- */
.elementor-testimonial::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0); /* sin oscuridad inicial */
  transition: background 0.4s ease;
  border-radius: 0;
  z-index: 1;
}

.elementor-testimonial:hover::before {
  background: rgba(0,0,0,0.35); /* oscurece al pasar el mouse */
}

/* --- IMAGEN A LA IZQUIERDA --- */
.elementor-testimonial__image {
  flex-shrink: 0;
  position: relative;
  left: -40px; 
  z-index: 2; /* por encima de la capa oscura */
}

.elementor-testimonial__image img {
  width: 180px;
  height: 180px;
  border-radius: 20px !important;
  object-fit: cover;
  border: none; /* sin borde */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementor-testimonial__image img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

/* --- CONTENIDO --- */
.elementor-testimonial__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative; /* encima de la capa oscura */
  z-index: 2;
}

.elementor-testimonial__text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.elementor-testimonial__name {
  font-weight: 600;
  font-size: 1.2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.elementor-testimonial__title {
  font-size: 1rem;
  color: #ddd;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* --- ANIMACIÓN DE ENTRADA --- */
.elementor-testimonial {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE: MÓVILES --- */
@media (max-width: 768px) {
  .elementor-testimonial {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.2rem;
  }

  .elementor-testimonial__image {
    position: relative;
    left: 0;
    margin-bottom: 1rem;
  }

  .elementor-testimonial__image img {
    width: 120px;
    height: 120px;
  }

  .elementor-testimonial__content {
    text-align: center;
  }
}

/* --- IMÁGENES DE FONDO --- */
.elementor-testimonial:nth-child(1) {
  background-image: url('https://armetrica.com/wp-content/uploads/2025/10/reviews-01.jpg');
}

.elementor-testimonial:nth-child(2) {
  background-image: url('https://armetrica.com/wp-content/uploads/2025/10/reviews-02.jpg');
}

.elementor-testimonial:nth-child(3) {
  background-image: url('https://armetrica.com/wp-content/uploads/2025/10/reviews-03.jpg');
}/* End custom CSS */