/* Global footer: light, minimal, full width (ADV-WEB-007). */
.site-footer{--ft-line:#E9ECEE;--ft-rule:#DCE1E4;margin-top:24px;border-top:1px solid var(--ft-line);background:var(--white);color:var(--charcoal);font-size:.875rem}
.ft-inner{padding:0 16px}
.site-footer h2{margin:0;font-size:.9375rem;font-weight:650;line-height:1.35;letter-spacing:-.005em;color:var(--charcoal)}
.site-footer p{margin:0}
.site-footer ul{margin:0;padding:0;list-style:none}
.site-footer a:focus-visible{outline:2px solid var(--red-text);outline-offset:3px}
.ft-main{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;padding:30px 0 28px}

.ft-brand a{display:flex;align-items:center;width:max-content;min-height:44px;margin-left:-2px}
.ft-brand img{display:block;width:152px;height:auto}
.ft-brand p{max-width:200px;margin-top:6px;color:var(--muted);line-height:1.5}

.ft-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;align-content:start}
.ft-group{min-width:0}
.ft-group h2{margin-bottom:4px}
.ft-group a,.ft-legal a{display:flex;align-items:center;width:fit-content;min-width:44px;min-height:44px;color:var(--muted);line-height:1.4}
.ft-group a:hover,.ft-legal a:hover{color:var(--red-text);text-decoration:underline;text-underline-offset:4px}

.ft-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding-top:24px;border-top:1px solid var(--ft-line)}
.site-footer .ft-talk h2{font-size:1rem;font-weight:700}
.ft-talk p{margin-top:3px;color:var(--muted)}
.ft-cta{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:44px;min-inline-size:0;max-inline-size:100%;margin-top:14px;padding:8px 21px;text-align:center;overflow-wrap:anywhere;line-height:1.25;border:2px solid var(--charcoal);border-radius:999px;background:var(--charcoal);color:var(--white);font-weight:600}
.ft-cta svg{flex:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ft-cta:hover{border-color:var(--red-text);background:var(--red-text);text-decoration:underline;text-underline-offset:4px}
.site-footer .ft-social{display:flex;flex-wrap:wrap;gap:10px}
.site-footer .ft-social[hidden],.ft-legal nav[hidden]{display:none}
.ft-social a{display:grid;place-items:center;width:44px;height:44px;border:1px solid transparent;border-radius:9px;background:var(--mist);color:var(--charcoal)}
.ft-social a:hover{border-color:var(--red-text);color:var(--red-text)}
.ft-glyph{width:19px;height:19px;fill:currentColor;stroke:none}
.ft-glyph-youtube{width:22px}

.ft-legal{display:flex;flex-direction:column;gap:2px;padding:14px 0 18px;border-top:1px solid var(--ft-line);color:var(--muted);font-size:.8125rem}
.ft-legal ul{display:flex;flex-wrap:wrap;column-gap:26px}
.ft-legal a{min-width:24px}

/* One column on very narrow screens */
@media (max-width:359px){.ft-nav{grid-template-columns:minmax(0,1fr)}}

@media (min-width:560px){
  .ft-inner{padding:0 22px}
  .ft-legal{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px;min-height:52px;padding:4px 0}
}

/* Tablet: brand beside the three groups, contact on its own row */
@media (min-width:700px){
  .ft-main{grid-template-columns:minmax(150px,1fr) minmax(0,3.5fr);column-gap:24px}
  .ft-brand{padding-right:12px;border-right:1px solid var(--ft-rule)}
  .ft-nav{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:16px}
  .ft-contact{grid-column:1/-1}
}

/* Desktop: one compact row, aligned to the page container */
@media (min-width:1200px){
  .ft-inner{--u:min(calc(100cqw / 1199),1.2px);width:calc(1079*var(--u));margin-inline:auto;padding:0 calc(15*var(--u))}
  .ft-inner{font-size:max(13px,calc(11.6*var(--u)))}
  .ft-main{grid-template-columns:minmax(0,calc(184*var(--u))) minmax(0,1fr) auto;column-gap:calc(24*var(--u));align-items:stretch;padding:calc(26*var(--u)) 0}
  .ft-brand{align-self:stretch;display:flex;flex-direction:column;justify-content:center;border-color:var(--ft-rule)}
  .ft-brand img{width:clamp(145px,calc(131*var(--u)),160px)}
  .ft-brand p{margin-top:2px;max-width:calc(165*var(--u))}
  .ft-nav{grid-template-columns:repeat(3,minmax(max-content,1fr));column-gap:0}
  .site-footer h2{font-size:max(14px,calc(12.4*var(--u)))}
  .ft-group{white-space:nowrap}
  .ft-group+.ft-group{padding-left:calc(14*var(--u));border-left:1px solid var(--ft-line)}
  .ft-group h2{margin-bottom:6px}
  .ft-group a{min-width:24px;min-height:24px}
  .ft-contact{grid-column:auto;flex-wrap:nowrap;align-content:center;gap:calc(20*var(--u));padding:0 0 0 calc(24*var(--u));border-top:0;border-left:1px solid var(--ft-rule)}
  .ft-talk{align-self:center;white-space:nowrap}
  .site-footer .ft-talk h2{font-size:max(15px,calc(13.4*var(--u)))}
  .ft-cta{min-height:40px;margin-top:12px}
  .site-footer .ft-social{flex-wrap:nowrap;gap:8px}
  .ft-social a{width:40px;height:40px}
  .ft-legal{font-size:max(12px,calc(11*var(--u)));min-height:48px;padding:2px 0}
  .ft-legal a{min-height:44px}
}
/* Narrowest one-row desktop: tighten gaps so three social buttons still fit */
@media (min-width:1200px) and (max-width:1259px){
  .ft-main{column-gap:14px}
  .ft-contact{gap:12px;padding-left:14px}
  .ft-group+.ft-group{padding-left:10px}
  .ft-brand{padding-right:0}
  .site-footer .ft-social{gap:6px}
}
/* Touch screens keep full-size targets at every width */
@media (pointer:coarse){
  .ft-group a{min-width:44px;min-height:44px}
  .ft-cta{min-height:44px}
  .ft-social a{width:44px;height:44px}
}
@media print{.ft-contact,.ft-nav{display:none!important}}
.service:target,.card:target{outline:2px solid var(--red-text);outline-offset:3px}
