/* ============================================================
   18-floating-cta.css — floating SMS / "Text Nathan" button
   Global feature. Bottom-right of viewport on all screens.
   Disable: remove the .floating-cta block from index.html.
   ============================================================ */

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--c-green);
  color: var(--c-white);
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(45, 106, 79, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.floating-cta:hover {
  background: var(--c-green-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(29, 74, 53, 0.45);
}
.floating-cta-icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-blue-dark);
}
.floating-cta-icon svg { width: 16px; height: 16px; }

/* Pulse halo to draw the eye on first visit */
.floating-cta::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(45, 106, 79, 0.35);
  animation: float-pulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes float-pulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.18); opacity: 0; }
}

@media (max-width: 560px) {
  .floating-cta {
    padding: 12px;
    right: 14px;
    bottom: 14px;
  }
  .floating-cta-text { display: none; }
}
