/* Site footer ("plat legend"), Nov 2026. Fluid: rem/clamp only; hairlines and the BBB sprite are the px exceptions. */
.sf{
  --sf-ink:#0D2624; --sf-paper:#F5F7F2; --sf-soft:#B5C4BC; --sf-rule:rgba(245,247,242,.16);
  --sf-amber:#F2B24C; --sf-orange:#C7622F;
  --sf-gut:clamp(1.5rem,4vw,4rem);           /* >= 24px from the viewport edge */
  --sf-gap:clamp(1.5rem,2.2vw,3.5rem);        /* >= 24px between blocks */
  --sf-row:clamp(1.5rem,1.6vw,2rem);          /* >= 24px between links */
  container-type:inline-size;
  position:relative;
  background:var(--sf-ink);
  color:var(--sf-soft);
  font-family:var(--body,"Plus Jakarta Sans",system-ui,sans-serif);
  font-size:clamp(1rem,.45vw + .7rem,1.375rem);
  line-height:1.45;
}
/* corner-post rail: hairline across the top with the logo's orange corner square at the left */
.sf::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--sf-rule)}
.sf__shell::before{content:"";position:absolute;left:var(--sf-gut);top:0;width:clamp(.75rem,1vw,1.25rem);height:clamp(.75rem,1vw,1.25rem);background:var(--sf-orange)}
.sf__shell{position:relative;max-width:min(100%,120rem);margin:0 auto;padding:clamp(3.5rem,6vw,7rem) var(--sf-gut) clamp(2rem,3vw,3.5rem);box-sizing:border-box}
.sf a{color:inherit;text-decoration:none}
.sf a:focus-visible{outline:2px solid var(--sf-amber);outline-offset:4px;border-radius:2px}
.sf ul{list-style:none;margin:0;padding:0}
.sf h2,.sf h3,.sf p,.sf address{margin:0;font-style:normal}
.sf__sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

.sf__grid{display:grid;gap:calc(var(--sf-gap) * 1.5) var(--sf-gap);grid-template-columns:repeat(2,minmax(0,1fr))}
.sf__brand{grid-column:1 / -1;display:flex;flex-direction:column;gap:var(--sf-gap);align-items:flex-start}

.sf__logo{display:inline-flex;align-items:center;gap:.6em;color:var(--sf-paper);font-size:clamp(1.5rem,1.3vw + .9rem,2.25rem);font-weight:700;letter-spacing:-.03em;line-height:1}
.sf__logo svg{width:1.1em;height:1.1em;flex:none}
.sf__logo i{font-style:normal;font-weight:500;color:var(--sf-soft)}
.sf__line{max-width:30ch;color:var(--sf-soft)}

.sf__contact{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sf-row)}
.sf .sf__call{display:inline-flex;align-items:center;gap:.6em;padding:.25em 0;
  color:var(--sf-paper);font-size:clamp(1.375rem,1vw + 1rem,2rem);font-weight:700;letter-spacing:-.01em;line-height:1.2;transition:color .2s}
.sf .sf__call:hover{color:var(--sf-amber)}
.sf__call svg{width:.9em;height:.9em;flex:none;color:var(--sf-amber)}
.sf__mail,.sf__place{color:var(--sf-paper)}
.sf__mail{text-decoration:underline!important;text-decoration-color:rgba(245,247,242,.35)!important;text-underline-offset:.25em;overflow-wrap:anywhere}
.sf__mail:hover{text-decoration-color:var(--sf-amber)!important}

.sf__trust{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sf-row) var(--sf-gap)}
.sf .sf__bbb{flex-basis:auto;margin:0;gap:0}
.sf__trust-copy{display:flex;flex-direction:column;gap:var(--sf-row);max-width:28ch;font-size:.9em}
.sf__ext{color:var(--sf-paper)!important;text-decoration:underline!important;text-decoration-color:rgba(245,247,242,.35)!important;text-underline-offset:.25em}

.sf__t{font-family:var(--mono,ui-monospace,monospace);font-size:.8125em;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--sf-amber);
  padding-bottom:var(--sf-row);margin-bottom:var(--sf-row)!important;border-bottom:1px solid var(--sf-rule)}
.sf__col ul{display:flex;flex-direction:column;gap:var(--sf-row)}
.sf__col a{color:var(--sf-paper);display:inline-block}
.sf__col a:hover,.sf__legal a:hover{color:var(--sf-amber)}
.sf a[aria-current="page"]{color:var(--sf-amber)}

.sf__legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--sf-row) var(--sf-gap);
  margin-top:calc(var(--sf-gap) * 2);padding-top:var(--sf-gap);border-top:1px solid var(--sf-rule);font-size:.875em}
.sf__legal-links{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sf-row) var(--sf-gap)}
.sf__choices{display:inline-flex;align-items:center;gap:.5em}
.sf__choices svg{width:2.1em;height:1em;flex:none}

/* narrow phones: contractor and company lists each get the full row so long labels never squeeze */
@container (max-width: 22rem){
  .sf__grid{grid-template-columns:minmax(0,1fr)}
}
@container (min-width: 46rem){
  .sf__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@container (min-width: 64rem){
  .sf__grid{grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,1fr))}
  .sf__brand{grid-column:auto}
}
@media (prefers-reduced-motion: reduce){.sf *{transition:none!important}}

/* iubenda: the footer carries both required US links (classes iubenda-cs-uspr-link and
   iubenda-cs-preferences-link), so iubenda drops its floating widget. This is a fallback in case it still injects one. */
.sf ~ .iub__us-widget{display:none!important}

/* closer Call button: calmer, consistent with the footer button (was oversized on phones) */
.cp-closer .cta--ghost-dark{font-size:clamp(1rem,.5vw + .8rem,1.375rem);min-height:3rem;padding:.75em 1.25em;gap:.75em;width:auto}

/* breathing room between the closer and the footer now that the footer sits after <main> */
.cp-closer{padding-bottom:clamp(4rem,8vw,8rem)!important}

/* BBB seal: keep the official 400x90 two-state sprite untouched, just scale its 200:90 window fluidly */
.sf .bbb-trust a#bbblink{--bbb-w:clamp(12.5rem,7vw + 6rem,17.5rem);width:var(--bbb-w);height:calc(var(--bbb-w) * .45);flex:0 0 var(--bbb-w)}
.sf .bbb-trust a#bbblink img{width:calc(var(--bbb-w) * 2);height:100%;max-width:none}
.sf .bbb-trust a#bbblink:hover img{margin-left:calc(var(--bbb-w) * -1)}

/* tablet: brand block uses its full row, contact left and trust right, bottoms aligned */
@container (min-width: 46rem) and (max-width: 63.99rem){
  .sf__brand{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"logo trust" "line trust" "contact trust";column-gap:var(--sf-gap);row-gap:var(--sf-gap);align-items:start}
  .sf__logo{grid-area:logo}.sf__line{grid-area:line}.sf__contact{grid-area:contact}
  .sf__trust{grid-area:trust;align-self:end;flex-direction:column;align-items:flex-start}
}
