/* =============================================
   FOOTER
============================================= */
footer {
  background: #0F0D0A;
  color: rgba(250,247,242,0.45);
  padding: 3.5rem 4rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,247,242,0.07);
}

.footer-brand-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FAF7F2;
  margin-bottom: 0.8rem;
}

.footer-brand-desc {
  font-size: 0.84rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,242,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(250,247,242,0.45);
  transition: border-color 0.2s, color 0.2s;
}
.social-icon:hover { border-color: var(--sol); color: var(--sol); }

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.65);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(250,247,242,0.4);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--sol); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  color: rgba(250,247,242,0.3);
  transition: color 0.2s;
  font-size: 0.75rem;
}
.footer-legal a:hover { color: var(--sol); }


/* =============================================
   SCROLL TO TOP
============================================= */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--sol);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 500;
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
#scroll-top:hover { transform: scale(1.1); }


/* =============================================
   RESPONSIVE — TABLET
============================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  footer { padding: 3rem 2rem 1.5rem; }
}


/* =============================================
   RESPONSIVE — MOBILE
============================================= */
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}
