/* Footer - Modern Enhanced Design */

.footer-modern {
  background: #faf8f6;
  color: var(--color-text);
  padding: var(--sp-60) var(--sp-20) var(--sp-40);
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-2, #d3b58c) 50%, transparent 100%);
}

/* Footer Container */
.footer-modern .site-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Footer Content Grid */
.footer-modern .cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-modern .cols {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

/* Brand Section */
.footer-modern .brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-invert {
  max-width: 180px;
  height: auto;
  filter: none; /* White background - no inversion needed */
  opacity: 1;
}

.footer-modern .brand .text-small {
  font-size: var(--fs-small);
  color: var(--color-muted);
  line-height: 1.6;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Footer Columns */
.footer-modern > div:first-child > div {
  display: grid;
  gap: 20px;
}

.footer-modern h4 {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--brand-2, #d3b58c);
  margin: 0 0 var(--sp-16);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-modern ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-modern ul li {
  margin: 0;
  padding: 0;
}

.footer-modern ul li a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--fs-small);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  min-height: auto;
  min-width: auto;
  padding: 3px 0;
}

.footer-modern ul li a::before {
  content: '→';
  font-size: var(--fs-xsmall);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s ease;
}

.footer-modern ul li a:hover {
  color: var(--brand-2, #d3b58c);
  transform: translateX(4px);
}

.footer-modern ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Legal Text */
.footer-modern .legal {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-muted);
  padding-top: var(--sp-32);
  border-top: 1px solid var(--color-border);
  margin: var(--sp-32) 0 0;
  line-height: 1.6;
}

/* Footer Section Background */
.footer-modern + .footer-modern {
  border-top: 1px solid var(--color-border);
  margin-top: 0;
}

/* Responsive Footer */
@media (max-width: 640px) {
  .footer-modern {
    padding: var(--sp-40) var(--sp-16) var(--sp-32);
  }
  
  .footer-modern .cols {
    gap: var(--sp-32);
  }
  
  .footer-logo-invert {
    max-width: 150px;
  }
  
  .footer-modern h4 {
    font-size: var(--fs-base);
  }
  
  .footer-modern ul li a {
    font-size: var(--fs-small);
  }
}
