footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 36px;
}

.fi {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.fb-brand img {
  height: 30px;
  margin-bottom: 14px;
}

.fb-brand p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 360px;
  margin-bottom: 18px;
}

.fb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 380px;
}

.fb-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #8fa3bd;
  font-size: .72rem;
  font-weight: 600;
}

.fb-pills span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px rgba(59,130,246,.7);
}

.fcol h4 {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--dim);
  margin-bottom: 16px;
}

.fcol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 0;
}

.fcol ul li a {
  font-size: .875rem;
  color: var(--muted);
  transition: color .2s;
}

.fcol ul li a:hover {
  color: var(--text);
}

.footer-contact-list {
  gap: 12px !important;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.45;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
  flex: 0 0 auto;
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
}

.footer-contact-item a {
  align-self: center;
}

.footer-social-item {
  align-items: center;
}

.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social {
  display: inline-flex !important;
  align-items: center;
  color: var(--muted) !important;
}

.footer-social:hover {
  color: var(--text) !important;
}

.footer-social .social-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: inherit;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.footer-social:hover .social-box {
  color: #fff;
  border-color: rgba(59,130,246,.4);
  background: rgba(59,130,246,.12);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.fbot {
  max-width: 1160px;
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .78rem;
  color: var(--dim);
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dce7f7;
}

.legal-links a {
  color: #dce7f7;
  transition: color .2s;
}

.legal-links a:hover {
  color: var(--blue-l);
}

@media (max-width: 900px) {
  .fi {
    grid-template-columns: 1fr 1fr;
  }

  .fbot {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .fi {
    grid-template-columns: 1fr;
  }
}
