/* ============================================================
   SHARED FOOTER STYLES (HOME & ALL PAGES)
   ============================================================ */
:root {
  --footer-bg: #0d0d0e;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-text: #fcfaf8;
  --primary-red: #e62b4a;
}

/* Image Drag Protection */
img {
  -webkit-user-drag: none;
  user-drag: none;
}

footer,
footer.site-footer,
#contact-footer {
  background-color: #0d0d0e !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 24px 0 20px 0 !important;
  color: #fcfaf8 !important;
  position: relative;
  width: 100%;
  clear: both;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  width: 100%;
}

.footer-brand .footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-inline-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-inline-nav li {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-inline-nav li a {
  font-family: 'Inter', sans-serif;
  color: #fcfaf8 !important;
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.85;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-inline-nav li a:hover {
  color: #e62b4a !important;
  opacity: 1;
}

.footer-inline-nav .separator {
  color: #fcfaf8;
  opacity: 0.35;
  font-size: 0.8rem;
  user-select: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #fcfaf8 !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  opacity: 0.85;
  padding-right: 80px;
  width: 100%;
}

.footer-bottom p {
  color: #fcfaf8 !important;
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fcfaf8 !important;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.social-icon-link:hover {
  background: #e62b4a !important;
  border-color: #e62b4a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #1f2226;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.35s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #e62b4a;
  color: #ffffff;
  border-color: #e62b4a;
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-inline-nav {
    gap: 8px 12px;
  }

  .footer-inline-nav li {
    gap: 8px 12px;
  }

  .footer-bottom {
    padding-right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}