.btn-whatsapp {
  background-color: #075e54;
  border-color: #075e54;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background-color: #054c44;
  border-color: #054c44;
  color: #fff;
}

/* Keep the primary contact actions aligned and easy to use at every viewport. */
.hero-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-contact-actions .btn {
  margin-right: 0 !important;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #075e54;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 0.5rem 1.25rem rgba(18, 140, 126, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Keep the theme's scroll-to-top control clear of the WhatsApp action. */
.progress-wrap {
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 1041;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #054c44;
  color: #fff;
  transform: translateY(-0.15rem);
}

.whatsapp-float:focus-visible,
.btn-whatsapp:focus-visible {
  outline: 0.2rem solid #075e54;
  outline-offset: 0.2rem;
}

@media (max-width: 575.98px) {
  .hero-contact-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .progress-wrap {
    right: 1rem;
    bottom: 4.75rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}
