/* A light, floating contact dock with one clear primary action. */
.sticky-contact {
  position: fixed;
  z-index: 30;
  right: auto;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  grid-template-columns: 58px 72px minmax(0, 1fr);
  gap: 4px;
  width: min(calc(100% - 32px), 528px);
  min-height: 72px;
  margin: 0;
  padding: 6px;
  background: #fffdfc;
  border: 1px solid rgba(214, 163, 43, .38);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(35, 22, 21, .24), 0 3px 10px rgba(75, 41, 40, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 40px));
  transition: opacity 220ms ease-out, transform 260ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 260ms;
}

.sticky-contact.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.sticky-contact .footer-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  padding: 5px 4px;
  border: 0;
  border-radius: 16px;
  color: var(--soft);
  background: transparent;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition: transform 160ms ease-out, background-color 160ms ease-out, box-shadow 160ms ease-out;
}

.sticky-contact .footer-cta-item:focus-visible {
  outline: 3px solid rgba(214, 163, 43, .65);
  outline-offset: 2px;
}

.sticky-contact .footer-cta-tel,
.sticky-contact .footer-cta-form {
  font-size: 10px;
  letter-spacing: .02em;
}

.footer-cta-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sticky-contact .footer-cta-form {
  position: relative;
}

.sticky-contact .footer-cta-form::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -2px;
  width: 1px;
  background: rgba(201, 78, 104, .14);
  content: "";
}

.sticky-contact .footer-cta-line {
  flex-direction: row;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 17px;
  color: var(--white);
  background: linear-gradient(135deg, #d65a74 0%, #c54865 100%);
  box-shadow: 0 7px 18px rgba(201, 78, 104, .28);
  text-align: left;
}

.footer-cta-line-icon {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-cta-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.footer-cta-copy small {
  color: inherit;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .06em;
  opacity: .84;
}

.footer-cta-copy strong {
  min-width: 0;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(14px, 4vw, 17px);
  letter-spacing: .02em;
  text-overflow: ellipsis;
}

.sticky-contact .footer-cta-item:active { transform: scale(.96); }

@media (max-width: 359px) {
  .sticky-contact {
    grid-template-columns: 52px 64px minmax(0, 1fr);
  }

  .sticky-contact .footer-cta-line {
    gap: 6px;
    padding-inline: 10px;
  }

  .footer-cta-line-icon { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-contact { transition: none; }
  .sticky-contact .footer-cta-item { transition: none; }
  .sticky-contact .footer-cta-item:active { transform: none; }
}
