/* ============================================
   TESS GROUP — Floating Discovery Call CTA
   Shows on all pages after scrolling past hero
   ============================================ */

.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0d47a1, #0097a7);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 151, 167, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 151, 167, 0.4);
  background: linear-gradient(135deg, #1565c0, #00acc1);
}

.floating-cta .cta-icon {
  font-size: 18px;
  line-height: 1;
}

.floating-cta .cta-text {
  white-space: nowrap;
}

.floating-cta .cta-badge {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

/* Phone number tooltip on hover */
.floating-cta .cta-phone {
  display: none;
  font-size: 12px;
  opacity: 0.8;
  font-weight: 500;
}

.floating-cta:hover .cta-phone {
  display: block;
}

/* Mobile: smaller, bottom-center */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
    border-radius: 12px;
    padding: 14px 20px;
  }

  .floating-cta .cta-badge {
    display: none;
  }
}

/* Hide when near footer (user is at contact section already) */
.floating-cta.at-footer {
  opacity: 0;
  pointer-events: none;
}