/* Smooth scrolling for in-page anchor links (e.g. CTA buttons -> forms) */
html {
  scroll-behavior: smooth;
}

/* Offset anchor target so the sticky header never covers the form itself */
#get-a-website-form {
  scroll-margin-top: 96px;
}

/* Visible, consistent focus states for keyboard users across all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0A0A0A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Screen-reader-only helper text (used for "(required)" hints etc.) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Floating WhatsApp chat bubble */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  background-color: #0A0A0A;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(10, 10, 10, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(10, 10, 10, 0.35);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}
.wa-float .wa-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #0A0A0A;
  opacity: 0.35;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: 1;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  70% {
    transform: scale(1.9);
    opacity: 0;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  bottom: 16px;
  white-space: nowrap;
  background-color: #0A0A0A;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 640px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
  .wa-tooltip {
    display: none;
  }
}
