/* ==========================================================================
   UP AL — Footer
   Minimal and quiet on purpose: the Contact section already carries the
   page's closing statement, so the footer is just the site's foundation —
   brand mark, social, legal links, copyright. No new visual devices here.
   ========================================================================== */

.footer {
  position: relative;
  padding-block: var(--space-8) var(--space-7);
  border-top: 1px solid var(--color-border-soft);
  background-color: var(--color-bg-elevated);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__tagline {
  font-size: 0.8125rem;
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
}

.footer__logo-icon {
  width: 32px;
  height: auto;
  opacity: 0.9;
  transition: opacity var(--duration-fast) var(--ease-premium);
}

.footer__brand:hover .footer__logo-icon,
.footer__brand:focus-visible .footer__logo-icon {
  opacity: 1;
}

.footer__logo-text {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  transition: border-color var(--duration-base) var(--ease-premium), background-color var(--duration-base) var(--ease-premium),
    transform var(--duration-fast) var(--ease-premium);
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  border-color: rgba(158, 207, 247, 0.4);
  background-color: var(--color-accent-soft);
  transform: translateY(-2px);
}

.footer__social-icon {
  width: 16px;
  height: 16px;
}

.footer__divider {
  margin-block: var(--space-6);
  height: 1px;
  background-color: var(--color-border-soft);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer__copyright {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

.footer__legal a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-premium);
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--color-text-primary);
}

@media (max-width: 700px) {
  .footer__top,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .footer__legal {
    gap: var(--space-4);
  }
}
