/* Header Frutas Torres — réplica exacta */
@font-face{font-family:"Mato Sans";font-weight:400;font-style:normal;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:400;font-style:italic;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-regular-italic.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:700;font-style:normal;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-bold.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:900;font-style:normal;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-black.woff2) format("woff2")}
@font-face{font-family:"Mato Sans";font-weight:900;font-style:italic;font-display:swap;src:url(https://frutastorres.com/wp-content/uploads/2026/08/mato-sans-black-italic.woff2) format("woff2")}
html body .hdft-hdr,html body .hdft-fab,html body .hdft-intro,html body .hdft-prog,html body .hdft-cur{font-size:16px;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-align:left;text-decoration:none;
  --orange:#F36E24;--orange-2:#FF8A3D;--green:#005941;--green-ink:#0B2E22;--cream:#FFF4E2;--cream-2:#FFE9C8;--ink:#1B1B19;
  --ease:cubic-bezier(.2,.8,.2,1);--hdft-max:1240px;
  font-family:"Mato Sans",system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased;box-sizing:border-box}
html body .hdft-hdr *,html body .hdft-hdr *::before,html body .hdft-hdr *::after{box-sizing:border-box}
html body .hdft-wrap{width:min(var(--hdft-max),100% - 2*clamp(16px,4vw,48px));margin-inline:auto}
html body .hdft-hdr img{display:block;max-width:100%;height:auto}
html body .hdft-hdr a,html body .hdft-hdr a:hover,html body .hdft-hdr a:focus{color:inherit}
html body .hdft-hdr :focus-visible,html body .hdft-fab:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:6px}
/* ===== Botón ===== */
html body .hdft-btn{--bg:var(--green);--fg:#fff;position:relative;display:inline-flex;align-items:center;gap:.75em;padding:1.05em 1.6em;border-radius:999px;background:var(--bg);color:var(--fg)!important;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:.04em;text-decoration:none;font-size:.95em;line-height:1.2;white-space:nowrap;overflow:hidden;isolation:isolate;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
html body .hdft-btn::after{content:"";position:absolute;inset:0;background:var(--hdft-btn-fill,#fff);transform:translateY(101%);transition:transform .45s var(--ease);z-index:-1;border-radius:inherit}
html body .hdft-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px -12px rgba(0,89,65,.55);color:var(--hdft-btn-hfg,var(--green))!important}
html body .hdft-btn:hover::after{transform:none}
html body .hdft-btn:active{transform:scale(.97)}
html body .hdft-btn svg{width:18px;height:18px;transition:transform .35s var(--ease)}
html body .hdft-btn:hover svg{transform:translateX(4px) rotate(-45deg)}
/* ===== Header ===== */
html body .hdft-hdr{position:fixed;inset:0 0 auto;z-index:50;padding:18px 0;color:var(--ink);transition:padding .35s}
/* Fondo siempre transparente: se ve lo que hay detrás */
html body .hdft-hdr,html body .hdft-hdr.is-scrolled,html body.hdft-menu-open .hdft-hdr{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
html body .hdft-hdr.hdft-static{position:relative}
html body .hdft-hdr.is-scrolled{padding:12px 0}
html body.admin-bar .hdft-hdr:not(.hdft-static){top:32px}
@media (max-width:782px){
html body.admin-bar .hdft-hdr:not(.hdft-static){top:46px}
}
@media (max-width:600px){
html body.admin-bar .hdft-hdr:not(.hdft-static){top:0}
}
html body .hdft-hdr__in{display:flex;align-items:center;justify-content:space-between;gap:28px}
/* Ordenador: menú centrado; logo y botones centrados cada uno en el hueco entre el menú y el borde de la pantalla */
@media (min-width:941px){
html body .hdft-hdr .hdft-wrap{width:calc(100% - 2*clamp(16px,2vw,40px));max-width:none;margin-inline:auto}
html body .hdft-hdr__in{display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);justify-content:stretch}
html body .hdft-hdr__logo{grid-column:1;justify-self:center}
html body .hdft-nav{grid-column:2;justify-self:center}
html body .hdft-hdr__right{grid-column:3;justify-self:center}
}
html body .hdft-hdr__logo{display:block;flex:0 0 auto;margin:0;padding:0;line-height:0}
html body .hdft-hdr__logo img{width:var(--hdft-logo-w,140px);max-width:none;height:auto}
html body .hdft-nav{flex:0 1 auto;min-width:0;margin:0;padding:0}
html body .hdft-nav ul{display:flex;flex-wrap:nowrap;align-items:center;gap:clamp(2px,.4vw,6px);list-style:none;margin:0;padding:7px;border-radius:999px;background:var(--hdft-pill-bg,rgba(255,255,255,.6));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 1px 0 rgba(0,0,0,.04),0 10px 30px -18px rgba(0,0,0,.25)}
html body .hdft-nav li{margin:0;padding:0;list-style:none;flex:0 0 auto;width:auto;border:0;background:none}
html body .hdft-nav li::before,html body .hdft-nav li::after{content:none}
html body .hdft-nav a{display:block;width:auto;min-width:0;min-height:0;margin:0;padding:.7em clamp(9px,1.4vw - 4px,20px);border:0;border-radius:999px;text-decoration:none;text-transform:none;letter-spacing:normal;white-space:nowrap;line-height:1.3;font-family:inherit;font-weight:700;font-style:italic;font-size:clamp(14px,.5vw + 9.5px,17.5px);box-shadow:none;color:var(--hdft-link,inherit);transition:background .25s,color .25s}
html body .hdft-nav a:hover{background:var(--hdft-link-hbg,var(--cream-2));color:var(--hdft-link-h,var(--hdft-link,inherit))}
html body .hdft-nav a[aria-current="page"]{background:var(--hdft-cur-bg,var(--orange));color:var(--hdft-cur-fg,#fff)}
html body .hdft-nav__extra{display:none}
html body .hdft-hdr__right{display:flex;align-items:center;gap:14px;flex:0 0 auto}
html body .hdft-badge{display:block;flex:0 0 auto;line-height:0}
html body .hdft-badge img{width:var(--hdft-badge-w,56px);max-width:none;height:auto;transform:rotate(6deg);transition:transform .4s var(--ease)}
html body .hdft-badge img:hover{transform:rotate(-4deg) scale(1.06)}
html body .hdft-icon-btn{flex:0 0 50px;width:50px;height:50px;min-width:50px;min-height:50px;margin:0;display:grid;place-items:center;border-radius:50%;background:var(--hdft-icon-bg,#fff);color:var(--hdft-icon-fg,var(--ink))!important;box-shadow:0 6px 18px -10px rgba(0,0,0,.35);text-decoration:none;padding:0;border:0}
html body .hdft-icon-btn svg{width:22px;height:22px}
html body .hdft-burger{display:none;background:none!important;border:0;cursor:pointer;box-shadow:none;gap:4px;align-content:center;justify-items:center;color:var(--hdft-burger,var(--ink))!important;padding:0}
html body .hdft-burger .bl{display:block;width:22px;height:2.4px;border-radius:2px;background:currentColor;transition:transform .4s var(--ease),opacity .3s,width .3s}
html body .hdft-burger .bl:nth-child(3){width:14px;justify-self:start;margin-left:14px}
html body.hdft-menu-open .hdft-burger .bl:nth-child(1){transform:translateY(6.4px) rotate(45deg)}
html body.hdft-menu-open .hdft-burger .bl:nth-child(2){opacity:0}
html body.hdft-menu-open .hdft-burger .bl:nth-child(3){width:22px;margin-left:0;justify-self:center;transform:translateY(-6.4px) rotate(-45deg)}
html body .hdft-social{display:flex;gap:10px;margin-top:22px}
html body .hdft-social a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--hdft-soc-bg,rgba(255,255,255,.08));opacity:1;text-decoration:none;transition:background .2s,color .2s}
html body .hdft-social a:hover{background:var(--hdft-soc-hbg,var(--orange));color:#fff}
html body .hdft-social svg{width:18px;height:18px;fill:currentColor}
@media (max-width:940px){
html body .hdft-burger{display:grid;position:relative;z-index:2}
html body .hdft-hdr__logo,html body .hdft-hdr__right{position:relative;z-index:2}
html body .hdft-nav{position:fixed;inset:0;z-index:1;width:auto;max-width:none;background:var(--hdft-m-bg,var(--green));display:grid;place-items:center;align-content:center;justify-items:center;gap:34px;padding:100px 24px calc(30px + env(safe-area-inset-bottom));overflow:hidden;isolation:isolate;opacity:0;pointer-events:none;transition:opacity .35s}
html body .hdft-nav::before{content:"";position:absolute;width:120vw;aspect-ratio:1/1;right:-60vw;top:-50vw;border-radius:50%;background:radial-gradient(circle,var(--hdft-m-glow,rgba(243,110,36,.55)),transparent 65%);z-index:-1}
html body .hdft-nav ul{flex-direction:column;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-align:center;gap:4px;padding:6px}
html body .hdft-nav li{opacity:0;transform:translateY(24px);transition:opacity .5s var(--ease),transform .6s var(--ease)}
html body .hdft-nav li:nth-child(2){transition-delay:.04s}
html body .hdft-nav li:nth-child(3){transition-delay:.08s}
html body .hdft-nav li:nth-child(4){transition-delay:.12s}
html body .hdft-nav li:nth-child(5){transition-delay:.16s}
html body .hdft-nav li:nth-child(6){transition-delay:.2s}
html body .hdft-nav li:nth-child(7){transition-delay:.24s}
html body .hdft-nav li:nth-child(8){transition-delay:.28s}
html body .hdft-nav a{color:var(--hdft-m-link,#fff);font-size:clamp(28px,8vw,38px);font-weight:900;padding:.25em .8em;line-height:1.25}
html body .hdft-nav a:hover{background:rgba(255,255,255,.1);color:var(--hdft-m-link,#fff)}
html body .hdft-nav a[aria-current="page"]{background:none;color:var(--hdft-m-cur,var(--orange-2))}
html body.hdft-menu-open .hdft-nav{opacity:1;pointer-events:auto}
html body.hdft-menu-open .hdft-nav li{opacity:1;transform:none}
html body.hdft-menu-open{overflow:hidden}
html body .hdft-badge{display:none}
html body .hdft-nav__extra{display:grid;justify-items:center;gap:14px;text-align:center;color:#fff;opacity:0;transform:translateY(20px);transition:opacity .5s .25s var(--ease),transform .6s .25s var(--ease)}
html body.hdft-menu-open .hdft-nav__extra{opacity:1;transform:none}
html body .hdft-nav__extra .hdft-btn{--bg:var(--hdft-m-btn-bg,var(--orange));--fg:var(--hdft-m-btn-fg,#fff);font-size:16px;padding:1.05em 1.6em;font-weight:900;background:var(--bg)}
html body .hdft-nav__extra .hdft-btn:hover{background:var(--bg)}
html body .hdft-nav__extra p{margin:0;font-size:13.6px;line-height:1.5;opacity:.8;display:grid;gap:4px}
html body .hdft-nav__extra p a,html body .hdft-nav__extra .hdft-social a{font-size:inherit;padding:0;white-space:normal;line-height:inherit;color:#fff;font-weight:inherit;border-radius:0}
html body .hdft-nav__extra p a:hover,html body .hdft-nav__extra .hdft-social a:hover{background:none;color:#fff}
html body .hdft-nav__extra .hdft-social a:hover{background:rgba(255,255,255,.2)}
html body .hdft-nav__extra .hdft-social{margin:0}
html body .hdft-nav__extra .hdft-social a{width:42px;height:42px;display:grid;place-items:center;background:rgba(255,255,255,.1);border-radius:50%}
html body .hdft-nav__extra .hdft-social svg{width:18px;height:18px;fill:#fff}
html body.hdft-menu-open .hdft-hdr__logo img{filter:brightness(0) invert(1)}
}
html body .hdft-spacer{display:block}
/* Pantallas medianas: compactar para que nada salte de línea */
@media (min-width:941px) and (max-width:1180px){
html body .hdft-hdr__in{gap:16px}
html body .hdft-hdr__logo img{width:min(var(--hdft-logo-w,140px),118px)}
html body .hdft-hdr__right{gap:10px}
html body .hdft-badge img{width:min(var(--hdft-badge-w,56px),44px)}
}
@media (max-width:940px){
html body .hdft-hdr__logo img{width:min(var(--hdft-logo-w,140px),32vw)}
html body .hdft-nav a{white-space:normal;padding:.25em .8em}
}
/* ===== Botón flotante móvil ===== */
html body .hdft-fab{display:none}
@media (max-width:860px){
html body .hdft-fab{display:flex;position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:45;align-items:center;gap:12px;padding:8px 8px 8px 22px;border-radius:999px;background:var(--hdft-fab-bg,var(--green-ink));color:var(--hdft-fab-fg,#fff)!important;text-decoration:none;font-weight:900;font-style:italic;text-transform:uppercase;letter-spacing:.04em;font-size:14px;line-height:1.2;white-space:nowrap;box-shadow:rgba(0,0,0,.5) 0 18px 40px -12px;translate:-50%;transform:translateY(140%);transition:transform .5s var(--ease)}
html body .hdft-fab span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--hdft-fab-ic,var(--orange))}
html body .hdft-fab svg{width:18px;height:18px}
html body .hdft-fab.on{transform:none}
html body.hdft-menu-open .hdft-fab{transform:translateY(140%)}
}
/* ===== Barra de progreso y cursor ===== */
html body .hdft-prog{position:fixed;left:0;right:0;top:0;height:3px;z-index:70;background:linear-gradient(90deg,var(--hdft-prog-1,var(--orange)),var(--hdft-prog-2,var(--orange-2)));transform-origin:left center;transform:scaleX(var(--p,0));pointer-events:none}
html body .hdft-cur{display:none}
@media (hover:hover) and (pointer:fine){
html body .hdft-cur{display:block;position:fixed;left:0;top:0;z-index:250;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:1.5px solid var(--hdft-cur-c,var(--orange));pointer-events:none;opacity:0;transform:translate(var(--cx,-100px),var(--cy,-100px)) scale(var(--cs,1));transition:opacity .3s,background .3s,border-color .3s,scale .3s;will-change:transform}
html body .hdft-cur.on{opacity:.9}
html body .hdft-cur.big{--cs:1.9;background:var(--hdft-cur-fill,rgba(243,110,36,.12));border-color:transparent}
html body .hdft-cur.dark{border-color:#fff}
}
/* ===== Intro ===== */
html body .hdft-intro{display:none}
html.intro body .hdft-intro{display:block;position:fixed;inset:0;z-index:300;pointer-events:none;animation:hdftIntroHide 0s 1.25s forwards}
html body .hdft-intro__a,html body .hdft-intro__b{position:absolute;left:0;right:0;height:50.5%;background:var(--hdft-intro-a,var(--green))}
html body .hdft-intro__a{top:0;animation:hdftIntroUp .7s cubic-bezier(.7,0,.2,1) .55s forwards}
html body .hdft-intro__b{bottom:0;background:var(--hdft-intro-b,var(--orange));animation:hdftIntroDown .7s cubic-bezier(.7,0,.2,1) .55s forwards}
html body .hdft-intro__s{position:absolute;left:50%;top:50%;width:clamp(120px,16vw,190px);height:auto;translate:-50% -50%;filter:drop-shadow(rgba(0,0,0,.35) 0 20px 30px);animation:hdftIntroSeal 1.1s cubic-bezier(.3,1.4,.5,1) forwards}
@keyframes hdftIntroUp{100%{transform:translateY(-101%)}}
@keyframes hdftIntroDown{100%{transform:translateY(101%)}}
@keyframes hdftIntroSeal{0%{transform:scale(0) rotate(-120deg)}40%{transform:scale(1) rotate(0)}62%{transform:scale(1) rotate(0);opacity:1}100%{transform:scale(1.6) rotate(20deg);opacity:0}}
@keyframes hdftIntroHide{100%{visibility:hidden}}
@media (prefers-reduced-motion:reduce){
html body .hdft-hdr *,html body .hdft-fab,html body .hdft-cur{animation:none!important;transition:none!important}
html body .hdft-intro{display:none!important}
}
/* Elementor: el contenedor donde sueltes el widget no añade márgenes ni huecos (para que se vea idéntico) */
html body .elementor-widget-hdft_header{margin:0!important;--kit-widget-spacing:0px}
html body .e-con:has(> .elementor-widget-hdft_header),html body .e-con-inner:has(> .elementor-widget-hdft_header),html body .e-con:has(> .e-con-inner > .elementor-widget-hdft_header){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-hdft_header){padding:0!important}
html body .e-con:has(> .elementor-widget-hdft_header),html body .e-con:has(> .e-con-inner > .elementor-widget-hdft_header),html body .elementor-section:has(.elementor-widget-hdft_header){position:relative;z-index:50}
html body:not(.elementor-editor-active) .elementor-widget-hdft_header:not(:has(.hdft-spacer)){position:absolute!important;top:0;left:0;width:100%!important;height:0;overflow:visible}
