body.ebfm-active :where(.site-footer,.elementor-location-footer,footer:not(.ebfm-footer):not(.cm-site-footer)){display:none!important}
body.ebfm-active .cm-site-footer{display:none!important}
.ebfm-footer,.ebfm-footer *{box-sizing:border-box;font-family:var(--ebfm-font)!important;border-radius:0!important}
.ebfm-footer{width:100%;height:var(--ebfm-height);min-height:var(--ebfm-height);margin:0!important;padding:0 var(--ebfm-px)!important;background:var(--ebfm-bg);color:var(--ebfm-text);border:0!important;overflow:hidden}
.ebfm-footer__inner{width:100%;height:100%;margin:0;display:flex;align-items:center;justify-content:space-between;gap:34px;white-space:nowrap}
.ebfm-footer__left{min-width:0;display:flex;align-items:center;gap:16px;color:var(--ebfm-muted);font-size:var(--ebfm-font-size);font-weight:500;line-height:1;white-space:nowrap;flex:0 1 auto}
.ebfm-brand{display:inline-flex;align-items:center;justify-content:center;gap:0;flex:0 0 auto;color:var(--ebfm-text)!important;text-decoration:none!important}
.ebfm-brand__logo{display:block;width:auto;height:var(--ebfm-logo-h);max-width:var(--ebfm-logo-max-w);max-height:none;object-fit:contain;background:transparent!important}
.ebfm-brand__mark{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:var(--ebfm-text);font-size:21px;line-height:1;font-weight:400}
.ebfm-copy,.ebfm-note{color:var(--ebfm-muted);overflow:hidden;text-overflow:ellipsis}
.ebfm-copy{flex:0 0 auto}
.ebfm-note{flex:0 1 auto;max-width:420px}
.ebfm-footer__links{display:flex;align-items:center;justify-content:flex-end;gap:var(--ebfm-gap);min-width:0;flex:0 1 auto;flex-wrap:nowrap;white-space:nowrap}
.ebfm-footer__links a{color:var(--ebfm-text)!important;text-decoration:none!important;font-size:var(--ebfm-font-size);font-weight:600;line-height:1;white-space:nowrap;transition:opacity .18s ease}
.ebfm-footer__links a:hover,.ebfm-footer__links a:focus{opacity:.68;color:var(--ebfm-text)!important}

/* En escritorio el pie permanece deliberadamente en una sola franja compacta. */
@media (max-width:1500px){
  .ebfm-footer{padding-left:22px!important;padding-right:22px!important}
  .ebfm-footer__inner{gap:22px}
  .ebfm-footer__left{gap:12px;font-size:12px}
  .ebfm-footer__links{gap:18px}
  .ebfm-footer__links a{font-size:12px}
  .ebfm-note{max-width:300px}
}
@media (max-width:1180px){
  .ebfm-note{display:none}
  .ebfm-footer__links{gap:15px}
}
@media (max-width:900px){
  .ebfm-footer{height:auto;min-height:0;padding:18px 20px!important;overflow:visible}
  .ebfm-brand__logo{height:var(--ebfm-logo-h-mobile);max-width:min(var(--ebfm-logo-max-w),80vw)}
  .ebfm-footer__inner{height:auto;align-items:flex-start;flex-direction:column;gap:15px;white-space:normal}
  .ebfm-footer__left{width:100%;align-items:center;flex-wrap:wrap;white-space:normal;gap:9px 12px}
  .ebfm-note{display:block;max-width:none;flex-basis:100%;line-height:1.45}
  .ebfm-footer__links{width:100%;justify-content:flex-start;flex-wrap:wrap;white-space:normal;gap:12px 20px}
  .ebfm-footer__links a{white-space:normal;line-height:1.35}
}
@media (max-width:520px){
  .ebfm-footer{padding:17px 16px!important}
  .ebfm-footer__links{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
}
