/* ============================================================
   Sticky mobile CTA bar — phones/small tablets only
   ============================================================ */
.wwd-scta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: .55rem var(--wwd-gutter) calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 20, 17, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--wwd-line);
  transform: translateY(0);
  transition: transform .45s var(--wwd-ease, cubic-bezier(.22,1,.36,1)), opacity .3s ease;
}

/* JS hides the bar at the top of the page and over the contact block. */
.wwd-scta--off { transform: translateY(120%); opacity: 0; pointer-events: none; }

.wwd-scta__inner { display: flex; align-items: stretch; gap: .55rem; }

.wwd-scta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--wwd-font-head);
  font-weight: 500;
  font-size: .98rem;
  line-height: 1.15;
  text-align: left;
  transition: background .3s ease, color .3s ease, transform .2s ease;
}
.wwd-scta__btn:active { transform: scale(.98); }

/* Call — ghost, holds the number so it reads as a real phone action. */
.wwd-scta__btn--call {
  flex: 1 1 auto;
  justify-content: flex-start;
  color: var(--wwd-text);
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px var(--wwd-line-strong);
}
.wwd-scta__btn--call svg { width: 20px; height: 20px; color: var(--wwd-green-bright); flex-shrink: 0; }
.wwd-scta__btn--call small { display: block; font-family: var(--wwd-font-body); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wwd-muted); white-space: nowrap; }
.wwd-scta__btn--call strong { display: block; font-weight: 500; font-size: .98rem; color: var(--wwd-text); white-space: nowrap; }

/* Quote — the primary lime pill, matching site buttons. */
.wwd-scta__btn--quote {
  flex: 0 0 auto;
  background: var(--wwd-green-bright);
  color: var(--wwd-ink);
  font-weight: 600;
}
.wwd-scta__btn--quote svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--wwd-ink);
  color: var(--wwd-green-bright);
  flex-shrink: 0;
}

/* Keep the footer clear of the bar. */
body { padding-bottom: 72px; }

/* The cookie-consent "revisit" bubble sits bottom-left by default, right on
   top of the Call button — lift it above the bar on small screens.
   (CookieYes = .cky-btn-revisit-wrapper, older cookie-law-info = #cookie-law-info-again.) */
@media (max-width: 899px) {
  .cky-btn-revisit-wrapper.cky-revisit-bottom-left,
  .cky-btn-revisit-wrapper.cky-revisit-bottom-right,
  #cookie-law-info-again { bottom: 86px !important; }
}

@media (min-width: 900px) {
  .wwd-scta { display: none; }
  body { padding-bottom: 0; }
}

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