/* Round "Book a call" button (js/call-launcher.js). Brand blue circle,
   bottom-right; the label slides out on hover. Sits below the popup overlay
   (z-index 210). */

.cl-launch {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 0;
  height: 3.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #0047ff;
  color: #ffffff;
  font-family: Aeonik, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 71, 255, 0.35), 0 2px 6px rgba(8, 14, 40, 0.18);
  opacity: 0;
  transform: translateY(1rem) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.cl-launch.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cl-launch:hover {
  box-shadow: 0 14px 36px rgba(0, 71, 255, 0.45), 0 2px 6px rgba(8, 14, 40, 0.2);
}

.cl-launch:focus-visible {
  outline: 3px solid #14213a;
  outline-offset: 3px;
}

.cl-dot {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
}

/* small green "online" dot */
.cl-live {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid #0047ff;
  border-radius: 50%;
  background: #2ee59d;
}

.cl-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.cl-launch:hover .cl-label,
.cl-launch:focus-visible .cl-label,
.cl-launch.is-peek .cl-label {
  max-width: 16rem;
  padding-left: 1.4rem;
  opacity: 1;
}

@media screen and (max-width: 479px) {
  .cl-launch {
    right: 1rem;
    bottom: 1rem;
    height: 3.5rem;
  }
  .cl-dot {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-launch,
  .cl-label {
    transition: none;
  }
}
