/* Footer layout */
.site-footer {
  background: var(--deep-anchor, #0b1f33);
  color: var(--ui-light, #f5f7fa);
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.3rem 0.2rem;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
}

.footer-line {
  background: linear-gradient(
    to right,
    var(--accent-purple, #9131e1),
    var(--accent-orange, #ff7a00)
  );
  height: 4px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  padding: 10px;
  width: 40px;
}

.footer-brand p {
  margin: 0.5rem 0;
  color: var(--action-primary, #33afd3);
}

.footer-brand small {
  color: var(--action-primary, #33afd3);
}

.footer-nav h4 {
  margin: 0.5rem 0 0.5rem 0;
  font-size: 0.8rem;
  color: var(--ui-light, #f5f7fa);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 0.25rem;
}

.footer-nav li {
  margin-bottom: 0.25rem;
}

.footer-nav a {
  color: var(--ui-grey, #9aa4b2);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-nav a:hover {
  color: var(--ui-light, #f5f7fa);
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
}

.footer-social a {
  color: var(--ui-grey, #9aa4b2);
  text-decoration: none;
}

.footer-social a:hover {
  color: var(--ui-light, #f5f7fa);
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 1.25rem;
  }

  .footer-social {
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .footer-brand {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .footer-brand img {
    margin: 0;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-nav ul {
    margin-top: 0.5rem;
    display: inline-grid;
    gap: 0.4rem;
    justify-items: center;
  }

  .footer-nav li {
    margin-bottom: 0;
  }
}
