/* ========================================
   FOOTER
======================================== */
.footer {
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--c-border);
}

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

/* ---- Logo ---- */
.footer-logo {
  font-size: var(--fs-lg);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  color: var(--c-dark);
}

.footer-logo .ai {
  font-size: var(--fs-sm);
  font-weight: 700;
  position: absolute;
  top: -1rem;
  left: 0;
  color: var(--c-green-500);
}

.footer-logo .main-logo {
  margin-top: var(--sp-xs);
}

/* ---- Links ---- */
.footer-links {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-text);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--c-green-500);
  left: 0;
  bottom: -4px;
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ---- Social ---- */
.footer-social {
  display: flex;
  gap: var(--sp-sm);
}

.footer-social a {
  font-size: var(--fs-lg);
  color: var(--c-text);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--c-green-500);
}

/* ---- Footer Responsive ---- */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-md);
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    margin-top: var(--sp-md);
  }
}