/* Footer Frutas Torres — v1.1.0 (responsive) */
@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")}

/* IMPORTANTE: nada en este archivo usa "rem". El tema cambia el tamaño de letra
   raíz (html) según la pantalla, y eso descuadraba el footer. Todo va en px / em / vw. */

html body .hdft-ftr{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;--hdft-gutter:clamp(20px,4vw,48px);
  font-family:"Mato Sans",system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased;box-sizing:border-box;
  background:var(--green-ink);color:#E9F1EC;padding:clamp(52px,7vw,100px) 0 30px;border-radius:40px 40px 0 0;overflow:hidden}
html body .hdft-ftr *,html body .hdft-ftr *::before,html body .hdft-ftr *::after{box-sizing:border-box}
html body .hdft-wrap{width:100%;max-width:calc(var(--hdft-max) + 2 * var(--hdft-gutter));padding-inline:var(--hdft-gutter);margin-inline:auto}
html body .hdft-ftr img{display:block;max-width:100%;height:auto}
html body .hdft-ftr a{color:inherit;text-decoration:none;opacity:.85;transition:opacity .2s,color .2s}
html body .hdft-ftr a:hover,html body .hdft-ftr a:focus{opacity:1;color:var(--hdft-fa-h,var(--orange-2))}
html body .hdft-ftr :focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:6px}

/* ===== Ancho completo ===== */
html body .hdft-ftr-wrap{width:100%}
html body .hdft-ftr-wrap.hdft-full{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
html body:has(.hdft-full){overflow-x:clip}

/* ===== Columnas ===== */
html body .hdft-ftr__top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.25fr) minmax(0,1.1fr);gap:40px clamp(24px,3vw,48px)}
html body .hdft-ftr__top>*{min-width:0}
html body .hdft-ftr__logo{display:inline-block}
html body .hdft-ftr__logo img{width:var(--hdft-flogo-w,150px);max-width:100%;height:auto}
html body .hdft-ftr h4{font-family:inherit;font-weight:900;font-style:italic;text-transform:uppercase;font-size:.85em;letter-spacing:.1em;line-height:1.55;color:var(--hdft-fh,var(--orange-2));margin:0 0 16px;padding:0}
html body .hdft-ftr ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
html body .hdft-ftr li{margin:0;padding:0}
html body .hdft-ftr address{font-style:normal;display:grid;gap:8px;opacity:.9;margin:0;overflow-wrap:anywhere}
html body .hdft-ftr__top a{overflow-wrap:anywhere}

/* ===== Redes ===== */
html body .hdft-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
html body .hdft-ftr .hdft-social a{width:42px;height:42px;flex:0 0 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-ftr .hdft-social a:hover{background:var(--hdft-soc-hbg,var(--orange));color:#fff}
html body .hdft-social svg{width:18px;height:18px;fill:currentColor}

/* ===== Texto gigante =====
   Siempre ocupa el ancho exacto del contenido, sin cortarse:
   1) CSS calcula un tamaño aproximado según el nº de letras (--hdft-big-n).
   2) footer.js lo mide con la fuente real y lo ajusta al píxel.          */
html body .hdft-wrap{container-type:inline-size}
html body .hdft-ftr__big{display:block;width:100%;max-width:100%;margin:clamp(28px,4vw,48px) 0 -.04em;padding:0;
  --hdft-big-pct:60;
  font-size:calc((min(100vw, var(--hdft-max) + 2 * var(--hdft-gutter)) - 2 * var(--hdft-gutter)) * var(--hdft-big-pct) / 100 / (var(--hdft-big-n,6) * .66));
  font-weight:900;font-style:italic;line-height:.8;text-transform:uppercase;letter-spacing:-.03em;text-align:center;
  color:var(--hdft-fbig,rgba(255,255,255,.05));white-space:nowrap;overflow-x:clip;user-select:none;-webkit-user-select:none}
@supports (width:1cqi){
  html body .hdft-ftr__big{font-size:calc(100cqi * var(--hdft-big-pct) / 100 / (var(--hdft-big-n,6) * .66))}
}
html body .hdft-ftr__big-txt{display:inline-block;padding:0 .07em 0 .01em}
/* Si se desactiva el ajuste automático, manda la tipografía del widget */
html body .hdft-ftr__big:not(.hdft-fit){font-size:clamp(56px,11vw,180px)}

/* ===== Parte inferior ===== */
html body .hdft-ftr__bottom{margin-top:clamp(28px,4vw,56px);padding-top:24px;border-top:1px solid var(--hdft-fline,rgba(255,255,255,.12));display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;font-size:.9em;opacity:.75}

/* ===== Tablet: logo arriba, 3 columnas debajo ===== */
@media (max-width:1100px){
  html body .hdft-ftr__top{grid-template-columns:repeat(3,minmax(0,1fr))}
  html body .hdft-ftr__top>.hdft-ftr__brand{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}
  html body .hdft-ftr__brand .hdft-social{margin-top:0}
  html body .hdft-ftr__big{--hdft-big-pct:70}
}
/* ===== Móvil grande: 2 columnas, contacto abajo ===== */
@media (max-width:820px){
  html body .hdft-ftr{border-radius:32px 32px 0 0;padding-top:52px}
  html body .hdft-ftr__top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}
  html body .hdft-ftr__top>.hdft-ftr__brand{flex-direction:column;align-items:flex-start}
  html body .hdft-ftr__top>.hdft-ftr__contact{grid-column:1/-1}
  html body .hdft-ftr__big{--hdft-big-pct:85}
  html body .hdft-ftr__bottom{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
}
/* ===== Móvil pequeño: 1 columna ===== */
@media (max-width:360px){
  html body .hdft-ftr__top{grid-template-columns:minmax(0,1fr)}
  html body .hdft-ftr__bottom{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  html body .hdft-ftr *{transition:none!important}
}

/* Elementor: el contenedor donde sueltes el widget no añade márgenes ni huecos */
html body .elementor-widget-hdft_footer{margin:0!important;--kit-widget-spacing:0px}
html body .e-con:has(> .elementor-widget-hdft_footer),html body .e-con-inner:has(> .elementor-widget-hdft_footer),html body .e-con:has(> .e-con-inner > .elementor-widget-hdft_footer){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_footer){padding:0!important}
