:root{--footer-bg:#071426;--footer-bg-2:#0d1a30;--footer-ink:#d6e8f4;--footer-muted:#a8bbca;--footer-line:rgba(214,232,244,.18);--footer-accent:#79d7f5}

.site-footer{position:relative;background:linear-gradient(135deg,var(--footer-bg),var(--footer-bg-2));color:var(--footer-ink);padding:48px 0 20px}
.site-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#08a8e6,#7adfff,transparent 78%)}
.site-footer .footer-directory-groups{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(145px,1fr));gap:34px;align-items:start}
.site-footer .footer-brand,.site-footer .footer-column{min-width:0}
.site-footer .footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.site-footer .footer-brand .footer-logo-link{display:block;line-height:0}
.site-footer .footer-brand img{display:block;width:auto;height:48px;max-width:170px;object-fit:contain;background:#fff;border-radius:10px;padding:7px}
.site-footer .footer-brand p{margin:0;color:#fff;font-size:.92rem;font-weight:800;line-height:1.4;text-wrap:balance}
.site-footer .footer-brand small{color:var(--footer-muted);font-size:.78rem;line-height:1.5}
.site-footer .footer-brand > p,
.site-footer .footer-brand > small{width:100%;text-align:left;align-self:stretch}
.site-footer .footer-column{display:grid;align-content:start;gap:0;min-width:0}
.site-footer .footer-column h3{margin:2px 0 14px;color:#fff;font-size:.96rem;line-height:1.35;text-wrap:balance}
.site-footer .footer-column a{display:block;min-width:0;margin:0 0 10px;color:rgba(214,232,244,.84);font-size:.88rem;line-height:1.5;text-decoration:none;word-break:normal;overflow-wrap:break-word;hyphens:none}
.site-footer .footer-column a:hover,.site-footer .footer-column a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-social-row{width:100%;margin-top:0;padding-top:0}
.site-footer .footer-social-row h3{margin:0 0 11px;color:#fff;font-size:.82rem;line-height:1.35}
.site-footer .footer-social-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.site-footer .footer-social-links a{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:68px;height:64px;border:1px solid rgba(214,232,244,.22);border-radius:12px;background:rgba(255,255,255,.05);color:var(--footer-ink);text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.site-footer .footer-social-links a:hover,.site-footer .footer-social-links a:focus-visible{background:rgba(121,215,245,.16);border-color:var(--footer-accent);color:#fff;transform:translateY(-1px);outline:none}
.site-footer .footer-social-icon{display:block;width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:currentColor}
.site-footer .footer-social-label{font-size:.58rem;font-weight:700;line-height:1;letter-spacing:.01em;white-space:nowrap}
.site-footer .footer-social-links a[data-social-platform="whatsapp"]{color:#25d366}
.site-footer .footer-social-links a[data-social-platform="instagram"]{color:#e1306c}
.site-footer .footer-social-links a[data-social-platform="facebook"]{color:#4d8dff}
.site-footer .footer-social-links a[data-social-platform="linkedin"]{color:#5aa9e6}
.site-footer .footer-facebook-icon{fill:currentColor;stroke:none}
.site-footer .footer-linkedin-icon{fill:currentColor;stroke:none}
.site-footer .footer-legal-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px 22px;margin-top:30px;padding-top:16px;border-top:1px solid var(--footer-line);text-align:center}
.site-footer .footer-legal-links{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;min-width:0}
.site-footer .footer-legal-links>*{margin:0}
.site-footer .footer-legal-links a{color:rgba(214,232,244,.82);font-size:.78rem;line-height:1.5;text-decoration:none}
.site-footer .footer-legal-links a:hover,.site-footer .footer-legal-links a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px;outline:none}
.site-footer .footer-copyright{margin:0;color:#9db5c7;font-size:.78rem;line-height:1.5}
.site-footer .footer-bottom-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px}
.site-footer .footer-bottom-links a{color:rgba(214,232,244,.82);font-size:.8rem;line-height:1.5;text-decoration:none}
.site-footer .footer-bottom-links a:hover,.site-footer .footer-bottom-links a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px;outline:none}
.site-footer .image-use-notice{flex-basis:100%;margin:0;color:rgba(214,232,244,.68);font-size:.72rem;line-height:1.5}

@media(max-width:1050px){
  .site-footer .footer-directory-groups{grid-template-columns:1.2fr repeat(2,minmax(0,1fr));gap:28px 24px}
  .site-footer .footer-brand{grid-column:1/-1}
}
@media(max-width:680px){
  .site-footer{padding:38px 0 18px}
  .site-footer .footer-directory-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
  .site-footer .footer-brand{grid-column:1/-1}
  .site-footer .footer-column h3{margin-bottom:10px;font-size:.94rem}
  .site-footer .footer-column a{margin-bottom:7px;font-size:.84rem;line-height:1.45}
  .site-footer .footer-social-row{margin-top:0;padding-top:0}
  .site-footer .footer-social-links{gap:8px}
  .site-footer .footer-legal-row{align-items:flex-start;flex-direction:column;gap:9px;margin-top:24px;padding-top:13px;text-align:left}
  .site-footer .footer-legal-links{justify-content:flex-start;gap:5px;width:100%}
  .site-footer .footer-bottom-links{justify-content:flex-start}
  .site-footer .image-use-notice{flex-basis:auto}
}
@media(max-width:390px){
  .site-footer .footer-directory-groups{gap:22px 14px}
  .site-footer .footer-brand img{height:44px;max-width:155px}
  .site-footer .footer-column h3{font-size:.88rem;line-height:1.35}
  .site-footer .footer-column a{font-size:.8rem;line-height:1.45}
  .site-footer .footer-social-links a{width:62px;height:62px}
  .site-footer .footer-social-label{font-size:.54rem}
}
@media(prefers-reduced-motion:reduce){.site-footer .footer-social-links a{transition:none}}

/* Employer service subgroups mirror the Header information architecture. */
.site-footer .footer-subgroup{display:grid;gap:0;margin:2px 0 8px;padding-left:10px;border-left:1px solid rgba(143,216,235,.42)}
.site-footer .footer-subgroup-label{display:block;margin:0 0 5px;color:#fff;font-size:.78rem;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
.site-footer .footer-subgroup a{margin-bottom:5px;font-size:.78rem;line-height:1.4}
@media(max-width:600px){
  .site-footer .footer-subgroup{margin-top:1px;margin-bottom:6px;padding-left:8px}
  .site-footer .footer-subgroup-label{font-size:.76rem}
  .site-footer .footer-subgroup a{font-size:.76rem;margin-bottom:4px}
}

/* Standalone Partner Network column. */
@media(min-width:1051px){
  .site-footer .footer-directory-groups{grid-template-columns:minmax(220px,1.25fr) repeat(4,minmax(130px,1fr));gap:28px}
}
.site-footer .footer-partner-network h3{overflow-wrap:anywhere}
.site-footer .footer-partner-network a{overflow-wrap:anywhere}

/* Legal footer: keep copyright on line one and both policy links on line two. */
.site-footer .footer-legal-links{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  width:100%;
  text-align:center;
}
.site-footer .footer-policy-links{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  white-space:nowrap;
}
.site-footer .footer-copyright{display:block;white-space:nowrap}
@media (max-width: 700px){
  .site-footer .footer-legal-row{align-items:center;flex-direction:column;gap:9px;text-align:center}
  .site-footer .footer-legal-links{align-items:center;justify-content:center;width:100%;text-align:center}
  .site-footer .footer-policy-links{gap:5px}
  .site-footer .image-use-notice{text-align:center}
}

/* Keep the Footer breathing room consistent on narrow screens. */
.site-footer .footer-legal-row{
  padding-left:20px;
  padding-right:20px;
  padding-bottom:14px;
}
@media (max-width:680px){
  .site-footer > .container{
    padding-left:20px;
    padding-right:20px;
  }
  .site-footer .footer-legal-row{
    padding-left:20px;
    padding-right:20px;
    padding-bottom:16px;
  }
}
