/* Site footer, shared by the public pages and the client portal.
   The values it needs are set on .site-footer, so it works without style.css. */
.site-footer {
  --vf-ink: #1A2430;
  --vf-white: #FFFFFF;
  --vf-taupe: #8C8679;
  --vf-neutral-200: #E8E4D9;
  --vf-accent: #FF5100;
  --vf-maxw: 1200px;
  --vf-space-1: .5rem;
  --vf-space-2: 1rem;
  --vf-space-3: 1.5rem;
  --vf-space-4: 2.5rem;
  --vf-space-5: 4rem;
  --vf-fw-bold: 700;
  --vf-fw-display: 800;
  --vf-leading-body: 1.6;
  background: var(--vf-ink);
  color: var(--vf-neutral-200);
  font-family: "Public Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: var(--vf-space-5) 0 var(--vf-space-4);
}

.site-footer .vf-footer-inner {
  max-width: var(--vf-maxw);
  margin: 0 auto;
  padding: 0 var(--vf-space-3);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--vf-space-5);
  margin-bottom: var(--vf-space-4);
}

.site-footer .vf-footer-brand .site-title,
.site-footer .vf-footer-brand .site-title a {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--vf-white);
  font-size: 1.1rem;
  font-weight: var(--vf-fw-display);
  text-decoration: none;
}
.site-footer .vf-footer-brand .site-title span { color: var(--vf-accent); }
.site-footer .vf-footer-logo { display: block; width: 22px; height: 22px; flex-shrink: 0; }

.site-footer .vf-footer-brand p {
  color: var(--vf-taupe);
  font-size: .88rem;
  margin-top: var(--vf-space-2);
  line-height: var(--vf-leading-body);
}

.site-footer .vf-footer-nav h4 {
  color: var(--vf-white);
  font-size: .82rem;
  font-weight: var(--vf-fw-bold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 var(--vf-space-2);
}

.site-footer .vf-footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--vf-space-1);
}

.site-footer .vf-footer-nav a {
  font-size: .88rem;
  color: var(--vf-taupe);
  text-decoration: none;
}
.site-footer .vf-footer-nav a:hover,
.site-footer .vf-footer-nav a:focus { color: var(--vf-white); }

.site-footer .vf-footer-bottom {
  max-width: var(--vf-maxw);
  margin: 0 auto;
  padding: var(--vf-space-3) var(--vf-space-3) 0;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--vf-space-2);
}

.site-footer .vf-footer-bottom p {
  font-size: .8rem;
  color: var(--vf-taupe);
  margin: 0;
}

/* Client Log In / Log out: the site's outline button (.vf-btn--outline in
   style.css), restated here at a weight the footer's link style can't
   override, so the portal, which doesn't load style.css, shows it the same. */
/* The menu columns fill the row's height; the button drops to the bottom,
   level with the end of the longest menu. Stacked on phones, it just follows. */
.site-footer .vf-footer-nav { display: flex; flex-direction: column; }
.site-footer .vf-footer-auth { margin: auto 0 0; padding-top: var(--vf-space-3); }
.site-footer .vf-footer-nav a.vf-footer-auth-link {
  display: inline-block;
  background: transparent;
  color: var(--vf-white);
  font-weight: var(--vf-fw-bold);
  font-size: .95rem;
  padding: .85em 1.8em;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: .02em;
  line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s;
}
.site-footer .vf-footer-nav a.vf-footer-auth-link:hover,
.site-footer .vf-footer-nav a.vf-footer-auth-link:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--vf-white);
  color: var(--vf-white);
}

@media (max-width: 960px) {
  .site-footer .vf-footer-inner { grid-template-columns: 1fr 1fr; }
  .site-footer .vf-footer-inner > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .site-footer .vf-footer-inner { grid-template-columns: 1fr; }
  .site-footer .vf-footer-inner > *:first-child { grid-column: auto; }
}
