.footer {
  position: relative;
  background: linear-gradient(180deg, #0A1624 0%, #0E2238 100%);
  color: var(--rm-ivory, #F6F7F9);
  padding: 90px 24px 36px;
  font-family: 'Poppins', sans-serif;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(216,182,106,0.6), transparent);
}

.footer-container {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 60px;
  align-items: start;
  justify-items: center;
}

.footer-logo {
  text-align: center;
  grid-column: 2 / span 2;
}

.footer-logo img {
  width: 128px;
  border-radius: 16px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.footer-logo img:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.7);
}

.footer-tagline {
  margin-top: 18px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--rm-muted, #9FB0BF);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer-links,
.footer-socials,
.footer-legal {
  font-size: 0.95rem;
}

.footer-links h3,
.footer-socials h3,
.footer-legal h3 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--rm-gold-soft, #D8B66A);
}

.footer-links ul,
.footer-socials ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-socials li,
.footer-legal li {
  margin-bottom: 14px;
}

.footer-links a,
.footer-socials a,
.footer-legal a {
  color: var(--rm-ivory, #F6F7F9);
  opacity: 0.82;
  text-decoration: none;
  font-weight: 400;
  position: relative;
  transition: opacity 0.35s ease;
}

.footer-links a::before,
.footer-socials a::before,
.footer-legal a::before {
  content: "—";
  margin-right: 10px;
  color: var(--rm-gold-soft, #D8B66A);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.footer-links a:hover,
.footer-socials a:hover,
.footer-legal a:hover {
  opacity: 1;
}

.footer-links a:hover::before,
.footer-socials a:hover::before,
.footer-legal a:hover::before {
  opacity: 1;
}

.footer-bottom {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--rm-divider, rgba(255,255,255,0.06));
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--rm-muted, #9FB0BF);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 48px;
  }
  .footer-logo {
    grid-column: 1 / -1;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}