/* Floating contact button (Pages/Shared/_ContactFab.cshtml): a circle in the bottom corner that
   grows into the contact channels. Sits above page content, below the header's own dropdowns. */
.zk-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: "Montserrat", -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.zk-fab-button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--zk-fab-accent, #e07020);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(28, 26, 22, .45);
  transition: transform .25s ease, box-shadow .25s ease;
}

.zk-fab-button:hover { transform: scale(1.06); }
.zk-fab-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--zk-fab-accent, #e07020) 40%, #fff); outline-offset: 3px; }
.zk-fab-button svg { width: 26px; height: 26px; transition: transform .25s ease, opacity .2s ease; grid-area: 1 / 1; }
.zk-fab-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.zk-fab.is-open .zk-fab-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.zk-fab.is-open .zk-fab-close { opacity: 1; transform: none; }
.zk-fab.is-open .zk-fab-button { transform: scale(.92); }

.zk-fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.zk-fab-menu[hidden] { display: none; }

.zk-fab-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid #e8e1d2;
  border-radius: 999px;
  background: #fff;
  color: #1c1a16;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(28, 26, 22, .5);
  opacity: 0;
  transform: translateY(10px) scale(.9);
  transform-origin: right center;
  transition: opacity .22s ease, transform .22s ease, border-color .2s ease, color .2s ease;
}

.zk-fab.is-open .zk-fab-item { opacity: 1; transform: none; }
.zk-fab.is-open .zk-fab-item:nth-child(1) { transition-delay: .08s; }
.zk-fab.is-open .zk-fab-item:nth-child(2) { transition-delay: .04s; }
.zk-fab-item:hover,
.zk-fab-item:focus-visible { border-color: var(--zk-fab-accent, #e07020); color: var(--zk-fab-accent, #e07020); }
.zk-fab-item svg { width: 20px; height: 20px; color: var(--zk-fab-accent, #e07020); }

@media (max-width: 560px) {
  .zk-fab { right: 14px; bottom: 14px; }
  .zk-fab-button { width: 52px; height: 52px; }
}

@media print {
  .zk-fab { display: none; }
}
