/* ════════════════════════════════════════════
   FOOTER.CSS
════════════════════════════════════════════ */

#footer {
  background: var(--dark-bg);
  padding: 56px 0 32px;
}

/* ── Two-line footer logo ── */
.footer-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.footer-logo .logo-top {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
  text-align: center;
}
.footer-logo .logo-bottom {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1;
  text-align: center;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 48px;
}

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 14px;
  color: var(--dark-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--dark-text-muted);
}
.footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-text-faint);
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--dark-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-contact-email:hover {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(148, 163, 184, 0.34);
  transform: translateY(-1px);
}
.footer-contact-email::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 1H6a2 2 0 0 0-2 2v12h2V3h10V1Zm3 4H10a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm0 16H10V7h9v14Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 1H6a2 2 0 0 0-2 2v12h2V3h10V1Zm3 4H10a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm0 16H10V7h9v14Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-contact-whatsapp:hover {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(147, 197, 253, 0.42);
  transform: translateY(-1px);
}
.footer-contact-whatsapp::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M19.11 17.21c-.27-.14-1.58-.78-1.82-.87-.24-.09-.42-.14-.6.14-.18.27-.69.87-.85 1.05-.15.18-.31.21-.58.07-.27-.14-1.13-.42-2.15-1.34-.8-.71-1.34-1.59-1.49-1.86-.15-.27-.02-.42.11-.56.12-.12.27-.31.4-.47.13-.15.18-.27.27-.45.09-.18.05-.34-.02-.47-.07-.14-.6-1.45-.82-1.99-.22-.53-.44-.46-.6-.47h-.51c-.18 0-.47.07-.71.34-.24.27-.93.91-.93 2.22 0 1.31.96 2.57 1.09 2.75.14.18 1.89 2.89 4.57 4.05.64.28 1.14.45 1.53.58.64.2 1.22.17 1.68.1.51-.08 1.58-.65 1.8-1.28.22-.63.22-1.17.15-1.28-.07-.11-.24-.18-.51-.31Z'/%3E%3Cpath fill='black' d='M16.03 3.2c-6.98 0-12.66 5.67-12.66 12.64 0 2.23.58 4.41 1.68 6.33L3.2 28.8l6.82-1.79a12.7 12.7 0 0 0 6.01 1.53h.01c6.97 0 12.65-5.67 12.65-12.64 0-3.38-1.32-6.55-3.71-8.94a12.56 12.56 0 0 0-8.95-3.76Zm0 23.2h-.01a10.57 10.57 0 0 1-5.39-1.48l-.39-.23-4.04 1.06 1.08-3.94-.25-.4a10.5 10.5 0 0 1-1.62-5.55c0-5.79 4.72-10.51 10.53-10.51 2.81 0 5.45 1.09 7.43 3.08a10.44 10.44 0 0 1 3.08 7.43c0 5.8-4.72 10.52-10.52 10.52Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' d='M19.11 17.21c-.27-.14-1.58-.78-1.82-.87-.24-.09-.42-.14-.6.14-.18.27-.69.87-.85 1.05-.15.18-.31.21-.58.07-.27-.14-1.13-.42-2.15-1.34-.8-.71-1.34-1.59-1.49-1.86-.15-.27-.02-.42.11-.56.12-.12.27-.31.4-.47.13-.15.18-.27.27-.45.09-.18.05-.34-.02-.47-.07-.14-.6-1.45-.82-1.99-.22-.53-.44-.46-.6-.47h-.51c-.18 0-.47.07-.71.34-.24.27-.93.91-.93 2.22 0 1.31.96 2.57 1.09 2.75.14.18 1.89 2.89 4.57 4.05.64.28 1.14.45 1.53.58.64.2 1.22.17 1.68.1.51-.08 1.58-.65 1.8-1.28.22-.63.22-1.17.15-1.28-.07-.11-.24-.18-.51-.31Z'/%3E%3Cpath fill='black' d='M16.03 3.2c-6.98 0-12.66 5.67-12.66 12.64 0 2.23.58 4.41 1.68 6.33L3.2 28.8l6.82-1.79a12.7 12.7 0 0 0 6.01 1.53h.01c6.97 0 12.65-5.67 12.65-12.64 0-3.38-1.32-6.55-3.71-8.94a12.56 12.56 0 0 0-8.95-3.76Zm0 23.2h-.01a10.57 10.57 0 0 1-5.39-1.48l-.39-.23-4.04 1.06 1.08-3.94-.25-.4a10.5 10.5 0 0 1-1.62-5.55c0-5.79 4.72-10.51 10.53-10.51 2.81 0 5.45 1.09 7.43 3.08a10.44 10.44 0 0 1 3.08 7.43c0 5.8-4.72 10.52-10.52 10.52Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal {
  display: flex;
  gap: 18px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 13px;
  color: var(--dark-text-faint);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy {
  font-size: 13px;
  color: var(--dark-text-faint);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-contact-links {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}
