.contact-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 11px;
  padding: 0 22px 0 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #062d49, #079fc2);
  box-shadow:
    0 18px 42px rgba(5, 55, 82, .32),
    0 0 0 5px rgba(3, 164, 199, .12);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-fab:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 48px rgba(5, 55, 82, .38),
    0 0 0 6px rgba(3, 164, 199, .16);
}

.contact-fab:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.contact-fab__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #073756;
  background: #ffffff;
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 520px) {
  .contact-fab {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 52px;
    padding: 0 18px 0 12px;
    border-radius: 16px;
    font-size: 15px;
  }

  .contact-fab__icon {
    width: 32px;
    height: 32px;
  }
}

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