/* =========================================
   FOOTER — Premium Design
========================================= */

.site-footer {
  padding: clamp(4rem, 6vw, 6rem) 0 2rem;
  
  background: #0a0a0a;
  color: #e8e8e8;
  
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* =========================================
   MAIN FOOTER GRID
========================================= */

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
   BRAND SECTION
========================================= */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.footer-description {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 36ch;
}

/* =========================================
   SOCIAL LINKS
========================================= */

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  width: 44px;
  height: 44px;
  
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  transition: 
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.social-link svg {
  display: block;
}

/* =========================================
   NAVIGATION WRAPPER — 3 Columns
========================================= */

.footer-nav-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.footer-nav-col {
  min-width: 0;
}

.footer-nav-title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.5rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-nav-links a {
  font-family: var(--font-sans);
  font-size: 0.975rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  
  width: fit-content;
  position: relative;
  
  transition: color 0.25s ease;
}

.footer-nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  
  width: 0;
  height: 1.5px;
  
  background: var(--clr-accent);
  
  transition: width 0.3s ease;
}

.footer-nav-links a:hover {
  color: #fff;
}

.footer-nav-links a:hover::before {
  width: 100%;
}

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  
  padding-top: clamp(2rem, 3vw, 2.5rem);
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links li {
  margin: 0;
}

.footer-legal-links a,
.footer-legal a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  
  transition: color 0.25s ease;
}

.footer-legal-links a:hover,
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .footer-nav-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .footer-description {
    max-width: 100%;
  }
}

/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 768px) {
  .site-footer {
    padding: 3.5rem 0 1.75rem;
    margin-top: 4rem;
  }
  
  .footer-main {
    gap: 3rem;
    padding-bottom: 2.5rem;
  }
  
  .footer-nav-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .footer-legal-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 100%;
  }

  .footer-legal-links {
    max-width: 100%;
  }
  
  .footer-copyright {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .footer-nav-wrapper {
    gap: 2rem;
  }
  
  .footer-nav-title {
    margin-bottom: 1.25rem;
  }
  
  .footer-nav-links {
    gap: 0.8rem;
  }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
  .social-link,
  .footer-nav-links a {
    transition: none;
  }
}

/* =========================================
   PRINT
========================================= */

@media print {
  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #ccc;
  }
  
  .footer-social,
  .footer-legal {
    display: none;
  }
}
