/* ═══════════════════════════════════════════════════
   Footer — Professional Multi-Column Layout
   ═══════════════════════════════════════════════════ */

.footer {
  background: var(--clr-navy);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

/* Top gold line */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold);
}

/* Ambient glow */
.footer__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(212, 175, 55, 0.04);
  border-radius: 50%;
  filter: blur(80px);
  top: -100px;
  right: -50px;
  pointer-events: none;
}

.footer__main {
  padding: var(--sp-16) var(--container-padding) var(--sp-12);
  max-width: var(--container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  position: relative;
  z-index: 1;
}

/* ─── Brand Column ─── */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  margin-bottom: var(--sp-2);
}

.footer__logo-icon {
  width: 44px;
  height: 44px;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer__logo-name {
  font-family: var(--ff-display);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  font-size: var(--fs-base);
}

.footer__logo-tagline {
  font-size: var(--fs-xs);
  color: var(--clr-gold);
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--tr-fast);
}

.footer__contact-item:hover {
  color: var(--clr-gold);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--clr-gold);
  flex-shrink: 0;
}

/* ─── Link Columns ─── */
.footer__col-title {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  position: relative;
  padding-bottom: var(--sp-3);
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--clr-gold);
  border-radius: var(--radius-full);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all var(--tr-fast);
  padding: var(--sp-1) 0;
}

.footer__link::before {
  content: '←';
  font-size: 10px;
  opacity: 0;
  transform: translateX(5px);
  transition: all var(--tr-fast);
  color: var(--clr-gold);
}

.footer__link:hover {
  color: var(--clr-gold);
  transform: translateX(-4px);
}

.footer__link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Bottom Bar ─── */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--sp-6) var(--container-padding);
  max-width: var(--container-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__copy-gold {
  color: var(--clr-gold);
  font-weight: var(--fw-semibold);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer__main {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    padding-block: var(--sp-10) var(--sp-8);
  }

  .footer__desc {
    max-width: 100%;
  }

  .footer__col-title::after {
    right: auto;
    left: 0;
  }
}
