/* =============================================
   BESTCLEAN24 — STICKY CTA BOTTOM BAR
   Desktop + Mobile. Shows after scrolling 300px.
   Phone number + availability from Customizer.
   ============================================= */

.bc-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: var(--bc-black);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bc-cta-bar.is-visible {
  transform: translateY(0);
}

.bc-cta-bar-inner {
  max-width: var(--bc-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  height: 58px;
  gap: 2rem;
}

/* Left: status */
.bc-cta-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bc-cta-bar-dot {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  animation: bc-cta-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes bc-cta-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
}

.bc-cta-bar-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.bc-cta-bar-status strong {
  color: var(--bc-white);
  font-weight: 800;
}

/* Center: phone */
.bc-cta-bar-center {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bc-cta-bar-phone-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.bc-cta-bar-phone {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bc-white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.bc-cta-bar-phone:hover {
  color: #7B9FFF;
}

/* Right: buttons */
.bc-cta-bar-right {
  display: flex;
  gap: 0.6rem;
}

.bc-cta-bar-btn {
  font-family: var(--bc-font);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bc-cta-bar-btn--primary {
  background: var(--bc-blue);
  color: var(--bc-white);
  animation: bc-btn-nudge 4s ease-in-out 2s infinite;
}

.bc-cta-bar-btn--primary:hover {
  background: var(--bc-blue-dark);
  animation: none;
}

@keyframes bc-btn-nudge {
  0%, 88%, 100% { transform: translateX(0) rotate(0); }
  90% { transform: translateX(-1.5px) rotate(-0.5deg); }
  92% { transform: translateX(1.5px) rotate(0.5deg); }
  94% { transform: translateX(-1px) rotate(-0.3deg); }
  96% { transform: translateX(1px) rotate(0.3deg); }
  98% { transform: translateX(0) rotate(0); }
}

.bc-cta-bar-btn--primary svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.bc-cta-bar-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bc-cta-bar-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--bc-white);
}


/* =============================================================
   MOBILE — stack to compact bar
   ============================================================= */
@media (max-width: 900px) {
  .bc-cta-bar-inner {
    padding: 0 1.25rem;
    height: 54px;
    gap: 1rem;
  }

  .bc-cta-bar-left {
    display: none;
  }

  .bc-cta-bar-center {
    margin-left: 0;
  }

  .bc-cta-bar-phone-label {
    display: none;
  }

  .bc-cta-bar-phone {
    font-size: 0.92rem;
  }

  .bc-cta-bar-btn--ghost {
    display: none;
  }

  .bc-cta-bar-btn--primary {
    font-size: 0.75rem;
    padding: 0.45rem 1rem;
  }
}

@media (max-width: 540px) {
  .bc-cta-bar-inner {
    justify-content: space-between;
  }

  .bc-cta-bar-phone {
    font-size: 0.85rem;
  }
}
