/* ── Floating Contact Widget ── */
.fcw-wrapper {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  opacity: 0;
  transform: translateY(60px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.34,1.56,0.64,1),
              transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.fcw-wrapper.fcw-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
 
/* Each button row */
.fcw-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
 
/* Sliding label */
.fcw-label {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0;
  border-radius: 30px 0 0 30px;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity    0.3s ease,
              padding    0.4s cubic-bezier(0.4,0,0.2,1);
}
.fcw-btn:hover .fcw-label {
  max-width: 180px;
  opacity: 1;
  padding: 0 18px 0 20px;
}
 
/* Circle icon button */
.fcw-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease;
}
.fcw-btn:hover .fcw-icon {
  transform: scale(1.13);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.fcw-icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
 
/* Pulse rings */
.fcw-icon::before,
.fcw-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: fcwPulse 2.6s ease-out infinite;
  z-index: -1;
}
.fcw-icon::after { animation-delay: 1.3s; }
 
@keyframes fcwPulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  80%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
 
/* WhatsApp theme */
.fcw-whatsapp .fcw-label       { background: #1da851; }
.fcw-whatsapp .fcw-icon        { background: linear-gradient(145deg, #25d366, #128c3e); }
.fcw-whatsapp .fcw-icon::before,
.fcw-whatsapp .fcw-icon::after { background: rgba(37, 211, 102, 0.4); }
 
/* Phone theme */
.fcw-phone .fcw-label          { background: #0d6eef; }
.fcw-phone .fcw-icon           { background: linear-gradient(145deg, #2196f3, #0b4fc7); }
.fcw-phone .fcw-icon::before,
.fcw-phone .fcw-icon::after    { background: rgba(33, 150, 243, 0.4); }
 
/* Staggered entrance for each button */
.fcw-whatsapp {
  opacity: 0;
  transform: translateX(40px) scale(0.8);
  transition: opacity 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.1s,
              transform 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.1s;
}
.fcw-phone {
  opacity: 0;
  transform: translateX(40px) scale(0.8);
  transition: opacity 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.25s,
              transform 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.25s;
}
.fcw-wrapper.fcw-visible .fcw-whatsapp,
.fcw-wrapper.fcw-visible .fcw-phone {
  opacity: 1;
  transform: translateX(0) scale(1);
}
 
/* WhatsApp bounce on hover */
.fcw-whatsapp:hover .fcw-icon {
  animation: fcwBounce 0.5s ease forwards;
}
@keyframes fcwBounce {
  0%,100% { transform: scale(1.13) translateY(0); }
  35%     { transform: scale(1.16) translateY(-7px); }
  65%     { transform: scale(1.11) translateY(2px); }
}
 
/* Phone shake on hover */
.fcw-phone:hover .fcw-icon {
  animation: fcwShake 0.5s ease forwards;
}
@keyframes fcwShake {
  0%,100% { transform: scale(1.13) rotate(0deg); }
  20%     { transform: scale(1.13) rotate(12deg); }
  40%     { transform: scale(1.13) rotate(-12deg); }
  60%     { transform: scale(1.13) rotate(8deg); }
  80%     { transform: scale(1.13) rotate(-5deg); }
}