/* Site footer, shared by every main page. */
footer {
  background-color: var(--dark, #0a1428);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.75rem 0 1.25rem;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--dark-line, rgba(255, 255, 255, 0.14));
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.footer-col p {
  max-width: 34ch;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.5rem; }

.footer-col a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom a { font-size: inherit; }

.footer-col a:hover,
.footer-bottom a:hover { color: #6fa1ff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  footer { padding-top: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.footer-col .footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-col .footer-social li + li { margin-top: 0; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}

.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col .footer-social a:hover { color: #fff; background-color: var(--brand-blue, #1f6df3); }
