.apex-footer {
  border-top: 3px solid #e63845;
  background: #1b222d;
  color: #d7dfe7;
}
.apex-footer .footer-wrap { width: min(1200px, calc(100% - 120px)); margin-inline: auto; }
.apex-footer .footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 32px;
  min-height: 0;
  padding-block: 36px 30px;
  font-size: 14px;
}
.apex-footer .brand { display: inline-flex; gap: 10px; align-items: center; }
.apex-footer .brand img { width: 34px; height: auto; }
.apex-footer .brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
  font: 700 16px/1 Poppins, Arial, sans-serif;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.apex-footer .brand-name span {
  color: #d7dce2;
  font: 700 10px/1 'Nunito Sans', Arial, sans-serif;
  letter-spacing: .2em;
}
.apex-footer h2 { margin: 0 0 7px; color: #fff; font: inherit; font-weight: 800; }
.apex-footer address { font-style: normal; line-height: 1.55; }
.apex-footer .footer-links { display: flex; flex-direction: column; gap: 3px; }
.apex-footer .footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #414957;
  padding-block: 15px 17px;
  font-size: 13px;
}
.apex-footer .footer-legal p { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; }
.apex-footer .footer-legal strong { color: #fff; }
.apex-footer .footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .apex-footer .footer-wrap { width: calc(100% - 40px); }
  .apex-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-block: 24px; }
  .apex-footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .apex-footer .footer-inner { grid-template-columns: 1fr; }
  .apex-footer .footer-legal { align-items: start; flex-direction: column; }
}
