/* Sticky contact CTA — preview 13 Nov 2026. z-index 30 sits above page content and below .site-header (40). */
/* Always reserve footer space so the fixed control never covers legal links (no CLS when it hides). */
body {
  padding-bottom: 5.5rem;
}

.sticky-cta {
  position: fixed;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  right: 1.25rem;
  bottom: 1.25rem;
  margin: 0;
  font-family: inherit;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  transform: translateY(0.75rem);
  visibility: hidden;
  pointer-events: none;
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta__wa {
  min-height: 48px;
  padding: 0 1.15rem;
  background: #082765;
  color: #fff;
  font-size: 0.9375rem;
  box-shadow: 0 10px 24px rgba(8, 39, 101, 0.22);
}

.sticky-cta__wa:hover {
  background: #0a3375;
}

.sticky-cta__quote {
  min-height: 40px;
  padding: 0 0.95rem;
  background: #fbfdff;
  color: #082765;
  border: 1.5px solid #082765;
  font-size: 0.8125rem;
  box-shadow: 0 8px 20px rgba(8, 39, 101, 0.12);
}

.sticky-cta__quote:hover {
  background: #eef8f8;
}

.sticky-cta a:focus-visible {
  outline: 2px solid #04777c;
  outline-offset: 3px;
}

.sticky-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
  flex: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: #fbfdff;
    border-top: 1px solid rgba(8, 39, 101, 0.12);
    box-shadow: 0 -8px 24px rgba(8, 39, 101, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .sticky-cta.is-hidden {
    transform: translateY(100%);
  }

  .sticky-cta__wa,
  .sticky-cta__quote {
    width: 100%;
    min-height: 48px;
    padding: 0 0.75rem;
    font-size: 0.9375rem;
  }
}

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

  .sticky-cta.is-hidden {
    transform: none;
  }
}
