/* ==========================================================================
   FOOTER — Multi-column footer with brand, links, newsletter
   ========================================================================== */

.site-footer {
  background-color: #1A1510;
  color: #DCCFBA;
  padding-top: var(--space-16);
  position: relative;
  overflow: hidden;
}

/* Decorative top border */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary));
}

/* ---------- Footer Main ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: var(--space-10);
}

/* Brand Column */
.footer-brand {
  padding-right: var(--space-8);
}

.footer-brand .logo {
  margin-bottom: var(--space-5);
}

.footer-brand .logo .logo-mark {
  background: linear-gradient(135deg, #B78A49, #DDB15A);
}

.footer-brand .logo .brand-name {
  color: #fff;
}

.footer-brand .logo .brand-tagline {
  color: #9E8F79;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: #B5A68F;
  line-height: var(--leading-loose);
  margin-bottom: var(--space-6);
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B5A68F;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Link Columns */
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-gold);
}

.footer-links,
.footer-col ul:not(.footer-contact-list) {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links li a,
.footer-col ul:not(.footer-contact-list) li a {
  font-size: var(--text-sm);
  color: #B5A68F;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: var(--transition-fast);
}

.footer-links li a:hover,
.footer-col ul:not(.footer-contact-list) li a:hover {
  color: var(--color-gold);
  padding-left: var(--space-2);
}

.footer-links li a svg,
.footer-col ul:not(.footer-contact-list) li a svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition-fast);
}

.footer-links li a:hover svg,
.footer-col ul:not(.footer-contact-list) li a:hover svg {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Column */
.footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: #B5A68F;
}

.footer-contact-list li .contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.footer-contact-list li .contact-icon svg {
  width: 16px;
  height: 16px;
}

.footer-contact-list li a {
  color: #B5A68F;
  transition: var(--transition-fast);
}

.footer-contact-list li a:hover {
  color: var(--color-gold);
}

/* Newsletter */
.footer-newsletter {
  margin-top: var(--space-6);
}

.footer-newsletter p {
  font-size: var(--text-xs);
  color: #9E8F79;
  margin-bottom: var(--space-3);
}

.newsletter-form {
  display: flex;
  gap: var(--space-2);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--text-sm);
}

.newsletter-form input::placeholder {
  color: #6E6050;
}

.newsletter-form input:focus {
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.1);
}

.newsletter-form input:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.newsletter-form button {
  padding: var(--space-3) var(--space-5);
  background: var(--color-gold);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #C9972F;
}

/* ---------- Disclaimer ---------- */
.footer-disclaimer {
  margin-top: var(--space-10);
  padding: var(--space-5) var(--space-8);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-disclaimer p {
  font-size: var(--text-xs);
  color: #A09181; /* WCAG AA compliant contrast ≥ 4.5:1 against dark bg */
  line-height: var(--leading-loose);
  text-align: center;
  margin-inline: auto;
  max-width: none;
}

.footer-disclaimer strong {
  color: #B5A68F;
}

/* ---------- Footer Bottom ---------- */
.footer-bottom {
  margin-top: var(--space-10);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: #6E6050;
}

.footer-bottom a {
  color: #8A7B68;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
}

.footer-bottom-links li a {
  font-size: var(--text-xs);
  color: #8A7B68;
}

.footer-bottom-links li a:hover {
  color: var(--color-gold);
}

/* Payment icons */
.footer-payments {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-payments img {
  height: 24px;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.footer-payments img:hover {
  opacity: 1;
}
