/* Floating CTA — link a book-appointment/ */

.age-fab-quote {
  position: fixed;
  z-index: 10020;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  left: auto;
  top: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  max-width: min(14rem, calc(100vw - 2rem));
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--age-font-sans);
  font-size: clamp(0.85rem, 0.5vw + 0.78rem, 0.98rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
  color: var(--age-text-dark);
  background: var(--age-gold);
  border: none;
  border-radius: var(--age-radius-btn);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.18),
    0 6px 24px rgba(11, 99, 67, 0.2);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.age-fab-quote:hover {
  filter: brightness(1.05);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 8px 28px rgba(11, 99, 67, 0.22);
}

.age-fab-quote:focus-visible {
  outline: 3px solid var(--age-green);
  outline-offset: 3px;
}

.age-fab-quote:active {
  transform: scale(0.98);
}

.age-fab-quote__label {
  display: block;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .age-fab-quote {
    transition: none;
  }

  .age-fab-quote:active {
    transform: none;
  }
}
