/* Przyklejony pasek CTA — tylko telefon (Etap 3.8, test) */
.vanta-mobile-cta {
  display: none;
}

@media (max-width: 991.98px) {
  .vanta-mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    gap: 10px;
    align-items: stretch;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 8, 8, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .vanta-mobile-cta[hidden] {
    display: none !important;
  }

  .vanta-mobile-cta__plan {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 4px;
    background: #fd3f00;
    color: #111 !important;
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
  }

  .vanta-mobile-cta__plan:hover,
  .vanta-mobile-cta__plan:focus-visible {
    background: #ff5a22;
    color: #111 !important;
  }

  .vanta-mobile-cta__phone {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff !important;
    text-decoration: none !important;
  }

  .vanta-mobile-cta__phone:hover,
  .vanta-mobile-cta__phone:focus-visible {
    border-color: #fd3f00;
    color: #fd3f00 !important;
  }

  .vanta-mobile-cta__phone svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}

/* Odstęp przed strzałką w przycisku paska (27.10.2026) */
.vanta-mobile-cta__plan .theme-btn__arrow { margin-left: 8px; }

/* Fokus i kotwice nie chowają się pod paskiem (WCAG 2.2, 2.4.11) */
@media (max-width: 991.98px) {
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
