/* Efecto Home — "Si no sabe como el resto.. ¡es Torres!" — v1.0.1 */
@font-face{font-family:"Mato Sans";src:url("https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-black-italic.woff2") format("woff2");font-weight:900;font-style:italic;font-display:swap}

/* v1.0.1 — FIX: un overflow:hidden en un contenedor padre (p. ej. el CSS global del Kit:
   [data-elementor-type="wp-page"]{overflow:hidden}) rompe el position:sticky y la sección
   no se queda fija, dejando mucho espacio vacío. overflow-x:clip evita el scroll lateral
   sin romper el sticky. Solo se aplica a la página que contiene este widget. */
html body [data-elementor-type]:has(.feh),
html body .elementor:has(.feh),
html body .e-con:has(.feh),
html body .e-con-inner:has(.feh),
html body .elementor-section:has(.feh),
html body .elementor-container:has(.feh),
html body .elementor-column:has(.feh),
html body .elementor-widget-wrap:has(.feh),
html body .elementor-widget-efecto_home,
html body .elementor-widget-efecto_home > .elementor-widget-container{overflow:visible!important;overflow-x:clip!important;overflow-y:visible!important}

html body .feh-wrapper{overflow-x:clip}
html body .feh-wrapper.feh-full{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
html body:has(.feh-full){overflow-x:clip}
html body .feh{font-size:16px;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-align:left;text-decoration:none;
--ink:#1B1B19;--cream:#FFF4E2;--cream-2:#FFE9C8;--orange:#F36E24;--ease:cubic-bezier(.2,.8,.2,1);
--feh-hl:var(--orange);--feh-line:var(--orange);--feh-glow:rgba(255,174,115,.32);
--feh-border:#fff;--feh-bw:6px;--feh-shadow:rgba(90,40,0,.55);--feh-dim:.14;
--feh-cardh:540px;--feh-ratio:4/5;
position:relative;height:var(--feh-h,175vh);background:var(--cream);box-sizing:border-box;
font-family:"Mato Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);}
html body .feh *,html body .feh *::before,html body .feh *::after{box-sizing:border-box}
html body .feh__pin{position:-webkit-sticky;position:sticky;top:0;height:100vh;height:100svh;display:grid;grid-template-rows:auto 1fr;place-items:center;gap:clamp(16px,3vh,32px);padding:clamp(92px,13vh,124px) 16px clamp(28px,6vh,64px);overflow:hidden;isolation:isolate}
html body .feh__pin::before{content:"";position:absolute;width:70vmax;aspect-ratio:1/1;left:50%;top:62%;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle,var(--feh-glow),transparent 62%);z-index:-1;transform:scale(calc(.6 + var(--e,0)*.5))}
html body .feh--noglow .feh__pin::before{display:none}
html body .feh__txt{margin:0;padding:0;text-align:center;font-family:inherit;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:-.02em;line-height:1;font-size:clamp(1.9rem,4.2vw,3.9rem);color:var(--ink);max-width:22ch;text-wrap:balance}
html body .feh__txt .w{display:inline-block;opacity:var(--feh-dim);transform:translateY(.12em);transition:opacity .5s var(--ease),transform .5s var(--ease)}
html body .feh__txt .w.on{opacity:1;transform:none}
html body .feh__txt .es{position:relative;color:var(--feh-hl);margin-top:.12em}
html body .feh__txt .es svg{position:absolute;left:-2%;bottom:-.26em;width:104%;height:.4em;overflow:visible}
html body .feh__txt .es path{fill:none;stroke:var(--feh-line);stroke-width:6;stroke-linecap:round;stroke-dasharray:600;stroke-dashoffset:600;transition:stroke-dashoffset 1.2s var(--ease)}
html body .feh.done .feh__txt .es path{stroke-dashoffset:0}
html body .feh__cards{position:relative;display:flex;justify-content:center;align-items:center;height:100%;width:100%;min-height:0}
html body .feh__card{flex:0 0 auto;position:relative;margin:0;height:min(100%,var(--feh-cardh));aspect-ratio:var(--feh-ratio);border-radius:clamp(20px,2.4vw,32px);overflow:hidden;background:var(--cream-2);box-shadow:var(--feh-shadow) 0 50px 90px -45px,var(--feh-border) 0 0 0 var(--feh-bw);transform:translateX(var(--x,0)) rotate(var(--r,0deg)) scale(var(--s,1));will-change:transform}
html body .feh__card img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;transform:scale(var(--z,1.18));will-change:transform;border-radius:0!important}
html body .feh__card--a{z-index:1}
html body .feh__card--b{z-index:2;margin-left:-2.5%}
html body .feh__stk{position:absolute;left:50%;top:-7%;width:clamp(78px,9vw,120px);height:auto;z-index:3;translate:-50%;transform:scale(var(--k,0)) rotate(calc(var(--k,0)*340deg - 340deg));filter:drop-shadow(rgba(0,0,0,.3) 0 12px 18px)}
@media (max-width:900px){
html body .feh__pin{grid-template-rows:auto auto;align-content:center;gap:clamp(36px,6vh,56px)}
html body .feh__card{height:auto;width:min(47vw,340px)}
html body .feh__cards{height:auto}
}
@media (max-width:860px){
html body .feh{height:var(--feh-hm,140vh)}
}
/* Estado final (editor / sin animación) */
html body .feh.feh--static{height:auto}
html body .feh.feh--static .feh__pin{position:relative;height:auto;min-height:100svh}
html body .feh.feh--static .feh__txt .w{opacity:1;transform:none}
html body .feh.feh--static .feh__txt .es path{stroke-dashoffset:0}
html body .feh.feh--static .feh__card{--x:0!important;--r:var(--rend,0deg)!important;--s:1!important}
html body .feh.feh--static .feh__card img{--z:var(--zend,1.06)!important}
html body .feh.feh--static .feh__stk{--k:1!important}
@media (prefers-reduced-motion:reduce){
html body .feh *,html body .feh *::before,html body .feh *::after{animation:none!important;transition:none!important}
html body .feh{height:auto}
html body .feh__pin{position:relative;height:auto;min-height:100svh}
html body .feh__txt .w{opacity:1;transform:none}
html body .feh__txt .es path{stroke-dashoffset:0}
html body .feh__card{--x:0!important;--r:0deg!important;--s:1!important}
html body .feh__stk{--k:1!important}
}
/* Elementor: el contenedor donde sueltes el widget no añade márgenes ni huecos */
html body .elementor-widget-efecto_home{margin:0!important;--kit-widget-spacing:0px}
html body .e-con:has(> .elementor-widget-efecto_home),html body .e-con-inner:has(> .elementor-widget-efecto_home),html body .e-con:has(> .e-con-inner > .elementor-widget-efecto_home){padding:0!important;gap:0!important;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--gap:0px;--row-gap:0px;--column-gap:0px}
html body .elementor-widget-wrap:has(> .elementor-widget-efecto_home){padding:0!important}
