/* =============================================================================
   12-footer.css — Site footer: logo, tagline, social links, legal row
   Flat dark bar — matches the header (no curved __bg panel).
   ============================================================================= */

/* ---------- Default — section shell ---------- */

.footer {
  background-color: var(--color-primary-dark);
  position: relative;
}

.footer__border {
  width: 100%;
  height: 22px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 5s ease-in-out;
}

.footer.footer-in-view .footer__border {
  opacity: 0.65;
}

.footer__bg {
  background-color: var(--color-primary-dark);
  border-radius: 0;
}

/* ---------- Default — content stack ---------- */

.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding-block: 2rem 1.75rem;
}

.footer__logo,
.footer__tagline,
.footer__social-link {
  color: var(--color-white);
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.footer__tagline {
  margin: 0;
  font-size: var(--text-small);
  color: hsla(0, 0%, 100%, 0.75);
}

/* ---------- Default — social links ---------- */

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.footer__social-link {
  font-size: 1.25rem;
  text-decoration: none;
  transition: color 0.3s;
}

/* ---------- Default — copyright and legal links ---------- */

.footer__meta {
  margin: 0;
  font-size: var(--text-small);
  color: hsla(0, 0%, 100%, 0.55);
}

.footer__area {
  margin: 0;
  font-size: var(--text-small);
  color: hsla(0, 0%, 100%, 0.45);
}

.footer__link {
  color: hsla(0, 0%, 100%, 0.75);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}

/* Legacy alias — same as .footer__link */
.footer__app-link {
  color: hsla(0, 0%, 100%, 0.75);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}

/* ---------- States — hover ---------- */

.footer__social-link:hover {
  color: var(--color-accent-warm);
}

.footer__link:hover {
  color: var(--color-accent-warm);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer__app-link:hover {
  color: var(--color-accent-warm);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ---------- Responsive — 1024px up ---------- */

@media (min-width: 1024px) {
  .footer__container {
    padding-block: 2.25rem 2rem;
    gap: 1.15rem;
  }
}
