.footer {
  width: 100%;
  position: relative;
  margin-top: 4rem;
  background: linear-gradient(180deg, #080e1c 0%, #050913 100%);
  border-top: 0.0625rem solid rgba(252, 163, 17, 0.15);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(252, 163, 17, 0.6), transparent);
  pointer-events: none;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 4rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 0.0625rem solid rgba(252, 163, 17, 0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 16rem;
}

.footer-logo {
  height: 6rem;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 0.75rem rgba(252, 163, 17, 0.25));
  transition: filter 0.3s ease;
}

.footer-logo:hover {
  filter: drop-shadow(0 0 1.25rem rgba(252, 163, 17, 0.5));
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  font-weight: var(--fw-regular);
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column ul li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: var(--fw-light);
  color: var(--alabaster-grey);
}

.footer-column ul li a {
  color: var(--alabaster-grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  font-weight: var(--fw-light);
  color: rgba(229, 229, 229, 0.5);
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.back-to-top:hover {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-container {
    padding: 3.5rem 2rem 2rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-container {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 320px) {
  .footer-container {
    padding: 2.5rem 0.75rem 1.25rem;
  }

  .footer-logo {
    height: 4.5rem;
  }

  .footer-tagline {
    font-size: var(--fs-h6);
  }

  .footer-column ul li {
    font-size: 0.8rem;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }
}
