/* ==========================================================================
   BigTelligent — Sección 10: Pie de Página (Footer)
   Fuente de verdad: .rules/style.md
   ========================================================================== */

.footer {
  position: relative;
  background: var(--brand-blue);
  color: var(--on-secondary);
  padding-block: 70px;
  overflow: hidden;
}

.footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

@media (min-width: 900px) {
  .footer__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 900px) {
  .footer__brand {
    align-items: flex-start;
  }
}

.footer__logo {
  height: 57px;
  width: auto;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--body-sm-size);
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s var(--ease-premium);
}

.footer__contact a:hover,
.footer__contact a:focus-visible {
  color: var(--brand-white);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--rounded-full);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.25s var(--ease-premium), color 0.25s var(--ease-premium),
    transform 0.25s var(--ease-premium);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  border-color: var(--primary);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: var(--annotation-size);
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 900px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.25s var(--ease-premium);
}

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