.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(3.8rem + env(safe-area-inset-bottom));
  width: 100%;
  display: none;
  z-index: 1201;
}

.mobile-cta a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.3rem, 1.5vw, 0.6rem);
  background: var(--primary);
  color: var(--btn-text, #fff);
  height: calc(3.8rem + env(safe-area-inset-bottom));
  padding: clamp(0.4rem, 1.5vw, 0.8rem);
  padding-bottom: calc(clamp(0.4rem, 1.5vw, 0.8rem) + env(safe-area-inset-bottom));
  box-sizing: border-box;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: mobile-cta-glow 1.5s ease-in-out infinite;
}

.mobile-cta a .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.4s linear;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.mobile-cta .cta-label {
  font-size: clamp(1.2rem, 2vw, 1rem);
}

.mobile-cta .cta-phone {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  direction: ltr;
  unicode-bidi: bidi-override;
}

.separator {
  display: inline-block;
  font-size: 1.2em;
  margin-inline: clamp(0.2rem, 1.5vw, 0.6rem);
  will-change: transform;
}

/* Animation helpers */
.anim-shake {
  animation: separator-shake 1s infinite;
}

.anim-spin {
  animation: separator-spin-cycle 2s linear infinite;
}

.anim-pulse {
  animation: separator-pulse 1.5s ease-in-out infinite;
}

.anim-hyper {
  animation: separator-hyper-spin 3s linear infinite;
}

@keyframes separator-shake {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-20%, -20%);
  }
  50% {
    transform: translate(20%, 10%);
  }
  75% {
    transform: translate(-15%, 15%);
  }
}

@keyframes separator-spin-cycle {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(360deg);
  }
  40% {
    transform: rotate(1440deg);
  }
  70% {
    transform: rotate(4320deg);
  }
  100% {
    transform: rotate(8640deg);
  }
}

@keyframes separator-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}

@keyframes separator-hyper-spin {
  0% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(360deg);
  }
  60% {
    transform: rotate(1440deg);
  }
  80% {
    transform: rotate(2880deg);
    color: currentColor;
  }
  85% {
    transform: rotate(4320deg);
    background: linear-gradient(90deg, currentColor, var(--alt-color, currentColor));
    -webkit-background-clip: text;
    color: transparent;
  }
  90% {
    transform: rotate(7200deg);
    background: linear-gradient(90deg, var(--alt-color, currentColor), currentColor);
    -webkit-background-clip: text;
    color: transparent;
  }
  100% {
    transform: rotate(8640deg);
    -webkit-background-clip: initial;
    color: currentColor;
  }
}

@keyframes mobile-cta-glow {
  0%,100% { box-shadow: 0 0 4px #FFD700; }
  50% { box-shadow: 0 0 12px #FFD700; }
}

@media (max-width: 480px) {
  .mobile-cta a {
    gap: clamp(0.2rem, 2vw, 0.4rem);
    padding: clamp(0.3rem, 2vw, 0.6rem);
    padding-bottom: calc(clamp(0.3rem, 2vw, 0.6rem) + env(safe-area-inset-bottom));
  }
}

@media (min-width: 481px) and (max-width: 640px) {
  .mobile-cta a {
    gap: clamp(0.25rem, 1.8vw, 0.5rem);
    padding: clamp(0.35rem, 1.8vw, 0.7rem);
    padding-bottom: calc(clamp(0.35rem, 1.8vw, 0.7rem) + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1024px) {
  .mobile-cta {
    display: none !important;
  }
}
