/*!
 * css/site-footer.css — ALLUKRAFT luxury footer for WoodenMax (js/site-footer.js)
 * Noir background with champagne text and gold accents.
 */

/* Hide legacy footers instantly so we never see a flash of two footers during boot. */
footer:not(.wm-footer) { display: none !important; }

.wm-footer {
  background: #0a0e17;
  color: #f3e9d2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  position: relative;
  margin-top: 4rem;
  font-size: 0.93rem;
  line-height: 1.6;
}
.wm-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8893d 20%, #b8893d 80%, transparent);
  opacity: 0.55;
}

/* ============================================
   Top section — 5-column grid
============================================ */
.wmf-top  { padding: 4rem 0 2.5rem; }
.wmf-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.wmf-col { min-width: 0; }

/* ---------- Column 1: Brand ---------- */
.wmf-brand { padding-right: 1rem; }

.wmf-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #d4b170;
  margin-bottom: 1rem;
}
.wmf-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
  padding: 4px;
  filter: brightness(0) invert(1);
}
.wmf-logo-text {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  color: #d4b170;
}

.wmf-tagline {
  color: rgba(243,233,210,0.70);
  margin: 0 0 1.25rem;
  font-size: 0.66rem;
  line-height: 1.65;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.wmf-rating {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.wmf-stars {
  display: inline-flex;
  gap: 1px;
  color: #b8893d;
}
.wmf-rating-text {
  font-size: 0.84rem;
  color: rgba(243,233,210,0.70);
}
.wmf-rating-text strong { color: #d4b170; }

.wmf-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.wmf-pill {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(184,137,61,0.10);
  color: #d4b170;
  border: 1px solid rgba(184,137,61,0.25);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Newsletter */
.wmf-news { display: block; }
.wmf-news-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(243,233,210,0.60);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.wmf-news-row {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(184,137,61,0.20);
}
.wmf-news input[type="email"] {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  outline: none;
  color: #f3e9d2;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  min-width: 0;
}
.wmf-news input::placeholder { color: rgba(243,233,210,0.35); }
.wmf-news button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #b8893d, #8a6321);
  border: none;
  border-radius: 999px;
  color: #f8f8f6;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wmf-news button:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(184,137,61,0.4);
}
.wmf-news-note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  color: rgba(243,233,210,0.35);
}

/* ---------- Columns 2–4: Link columns ---------- */
.wmf-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4b170;
  margin: 0 0 1.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(184,137,61,0.18);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.wmf-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wmf-list li { margin-bottom: 0.55rem; }
.wmf-list a {
  color: rgba(243,233,210,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease, padding-left 0.15s ease;
  display: inline-block;
}
.wmf-list a:hover {
  color: #d4b170;
  padding-left: 4px;
}

/* ---------- Column 5: Contact ---------- */
.wmf-contact li { margin-bottom: 0.85rem; }
.wmf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: rgba(243,233,210,0.85);
  text-decoration: none;
  line-height: 1.5;
}
.wmf-contact-item svg {
  color: #b8893d;
  flex: 0 0 auto;
  margin-top: 2px;
}
a.wmf-contact-item:hover { color: #d4b170; }
.wmf-contact-static { cursor: default; }

.wmf-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: linear-gradient(135deg, #b8893d, #8a6321);
  color: #f8f8f6 !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(184,137,61,0.30);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wmf-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184,137,61,0.45);
}

/* ============================================
   Cities strip
============================================ */
.wmf-divider {
  border-top: 1px solid rgba(184,137,61,0.12);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.wmf-cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(243,233,210,0.60);
}
.wmf-cities-label {
  font-weight: 700;
  color: #8a6321;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  margin-right: 0.4rem;
}
.wmf-cities-list { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.wmf-cities-list a {
  color: rgba(243,233,210,0.85);
  text-decoration: none;
  transition: color 0.15s ease;
}
.wmf-cities-list a:hover { color: #d4b170; }
.wmf-cities-list span { color: rgba(243,233,210,0.25); }

/* ============================================
   Bottom bar
============================================ */
.wmf-bottom {
  background: rgba(15,23,36,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.wmf-bottom-inner {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.79rem;
  color: rgba(243,233,210,0.50);
}
.wmf-bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.wmf-mi {
  color: rgba(243,233,210,0.70);
  font-weight: 500;
}
.wmf-bottom-meta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  color: rgba(243,233,210,0.35);
}
.wmf-social {
  display: flex;
  gap: 0.4rem;
}
.wmf-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184,137,61,0.20);
  border-radius: 50%;
  color: rgba(243,233,210,0.60);
  transition: all 0.15s ease;
  background: rgba(255,255,255,0.02);
}
.wmf-social a:hover {
  color: #d4b170;
  border-color: #b8893d;
  background: rgba(184,137,61,0.08);
  transform: translateY(-1px);
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1280px) {
  .wmf-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 1.75rem; }
}
@media (max-width: 1024px) {
  .wmf-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  .wmf-brand { grid-column: 1 / -1; padding-right: 0; max-width: 580px; }
}
@media (max-width: 720px) {
  .wmf-top { padding: 3rem 0 2rem; }
  .wmf-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .wmf-brand { grid-column: 1 / -1; }
  .wmf-contact-col { grid-column: 1 / -1; }
  .wmf-bottom-inner { justify-content: center; text-align: center; }
  .wmf-bottom-left,
  .wmf-bottom-meta { justify-content: center; }
}
@media (max-width: 480px) {
  .wmf-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .wmf-cities { font-size: 0.78rem; }
  .wmf-bottom-meta { gap: 0.75rem; }
}

/* Make sure the fixed "Verified by WoodenMax" strip doesn't sit on top of the footer's last line */
.wm-footer ~ .wm-verified-strip,
.wm-footer + .wm-verified-strip { z-index: 95; }
