/* Floating phone CTA — single primary action per design/flow.md.
   Email + WhatsApp moved to footer (their JS handlers stay callable). */

#float-badges {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 200;
}

.float-badge--phone {
  width: 56px;                    /* well above WCAG 2.5.8 44px touch-target floor */
  height: 56px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: var(--accent-primary);
  color: var(--primary-bg);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px var(--shadow-deep);
  transition: transform var(--dur-micro) var(--ease-out-expo),
              background-color var(--dur-micro) var(--ease-out-expo);
}

.float-badge--phone:hover {
  transform: scale(1.05);
  background: var(--accent-hover);
}
.float-badge--phone:active { transform: scale(0.97); }
.float-badge--phone:focus-visible {
  outline: 2px solid var(--text-emphasis);
  outline-offset: 4px;
}

.float-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal overlay */
.fb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fbFadeIn 0.2s ease;
}

@keyframes fbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.fb-modal {
  background: var(--secondary-bg);
  border: 1px solid var(--border-default);
  padding: 36px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  font-family: var(--font-mono);
}

.fb-modal h3 {
  font-size: 18px;
  color: var(--accent-primary);
  margin: 0 0 16px 0;
}

.fb-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-border);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.fb-number span {
  color: var(--accent-primary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.fb-number button {
  background: transparent;
  border: 1px solid var(--accent-border);
  color: var(--accent-primary);
  padding: 4px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  cursor: pointer;
}

.fb-email-addr {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 16px 0;
}

.fb-action {
  display: block;
  background: var(--accent-primary);
  color: #0a0a0a;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  width: 100%;
  cursor: pointer;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.fb-action--outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-border);
}

.fb-close {
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--text-tertiary);
  padding: 10px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  margin-top: 4px;
}

@media (max-width: 768px) {
  #float-badges { bottom: 70px; right: 16px; gap: 10px; }
}
