.floating-cta {
  position: fixed;
  top: 40%;
  right: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 10px;
  z-index: 9999;
}

.cta-btn {
  display: inline-flex;
  align-items: center;

  width: auto;
  max-width: 52px; /* collapsed */
  height: 52px;

  color: #fff;
  text-decoration: none;

  border-radius: 26px 0 0 26px;
  overflow: hidden;

  transition: max-width 0.3s ease;
}

.cta-btn.active {
  max-width: 420px; /* should be larger than your longest text */
}

.cta-icon {
  width: 52px;
  text-align: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cta-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.cta-text {
  white-space: nowrap;
  opacity: 0;
  padding-right: 16px;
  transition: opacity 0.2s ease;
}

.cta-btn.active .cta-text {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .cta-btn.active {
    max-width: calc(100vw - 16px);
  }
}
