/* ============================================================
   Parwan — Sitewide professional polish · wave193
   Calm motion · gold contact buttons (no green WhatsApp)
   ============================================================ */

/* ---- Back to top ---- */
.back-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-top.show,
.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-2px);
}

/* ---- Floating chat — gold brand, NOT green ---- */
.floating-cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.floating-cta.show {
  opacity: 1;
  pointer-events: auto;
}

.floating-cta a {
  display: grid !important;
  place-items: center;
  width: 54px !important;
  height: 54px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 2C6.477 2 2 6.477 2 12c0 1.89.525 3.66 1.438 5.168L2 22l4.832-1.438A9.955 9.955 0 0 0 12 22c5.523 0 10-4.477 10-10S17.523 2 12 2z'/%3E%3C/svg%3E") center / 26px 26px no-repeat,
    linear-gradient(145deg, #C9A86E, #B89558) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 8px 22px rgba(184, 149, 88, 0.38) !important;
  border: 2px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  animation: none !important;
}

.floating-cta a svg {
  display: none;
}

.floating-cta a:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 12px 28px rgba(184, 149, 88, 0.48) !important;
}

/* ---- Mobile action bar — gold + charcoal ---- */
.mobile-action-bar .m-wa {
  background: linear-gradient(135deg, #C9A86E, #B89558) !important;
  color: #2D3238 !important;
  font-weight: 700 !important;
}

.mobile-action-bar .m-call {
  background: #2D3238 !important;
  color: #fff !important;
}

.page-home.page-jfi .mobile-action-bar .m-wa {
  background: linear-gradient(135deg, #C9A86E, #B89558) !important;
  color: #2D3238 !important;
}

.page-home.page-jfi .mobile-action-bar .m-call {
  background: #2D3238 !important;
  color: #fff !important;
}

/* ---- Footer links — no slide ---- */
.site-footer a {
  transform: none !important;
}

/* ---- Nav — subtle only ---- */
.nav-links > a:hover {
  transform: none !important;
}

/* Button shine — enabled in site-animations-rich.css */

@media (prefers-reduced-motion: reduce) {
  .floating-cta a {
    transform: none !important;
  }
}
