@media (max-width: 768px) {
  .mobile-fixed-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 9999;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    padding: 8px;
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.10);
    box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transform: translateY(0);
    opacity: 1;

    transition:
      transform .32s cubic-bezier(.2,.8,.2,1),
      opacity .32s ease;
  }

  .mobile-fixed-cta.is-hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-fixed-cta__item {
    position: relative;
    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    border-radius: 16px;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.015em;

    text-decoration: none;
    overflow: hidden;

    transition:
      transform .24s ease,
      box-shadow .24s ease,
      background-color .24s ease;
  }

  .mobile-fixed-cta__item:active {
    transform: scale(.975);
  }

  .mobile-fixed-cta__icon {
    position: relative;
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 999px;
    flex: 0 0 auto;
  }

  .mobile-fixed-cta__icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform .28s ease;
  }

  .mobile-fixed-cta__text {
    position: relative;
    z-index: 2;
  }

  .mobile-fixed-cta__call {
    color: #111827;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .08);
  }

  .mobile-fixed-cta__call .mobile-fixed-cta__icon {
    color: #ed1c24;
    background: rgba(237, 28, 36, .08);
  }

  .mobile-fixed-cta__call .mobile-fixed-cta__icon::before,
  .mobile-fixed-cta__call .mobile-fixed-cta__icon::after {
    content: "";
    position: absolute;
    inset: -4px;

    border-radius: 999px;
    border: 1px solid rgba(237, 28, 36, .34);

    opacity: 0;
    transform: scale(.72);
    animation: phonePulse 2.4s ease-out infinite;
  }

  .mobile-fixed-cta__call .mobile-fixed-cta__icon::after {
    animation-delay: 1.2s;
  }

  .mobile-fixed-cta__quote {
    color: #ffffff;
    background: linear-gradient(135deg, #ed1c24 0%, #c80e16 100%);
    box-shadow: 0 12px 28px rgba(237, 28, 36, .32);
  }

  .mobile-fixed-cta__quote::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 255, 255, .18) 38%,
      transparent 72%
    );

    transform: translateX(-120%);
    transition: transform .6s ease;
  }

  .mobile-fixed-cta__quote .mobile-fixed-cta__icon {
    background: rgba(255, 255, 255, .16);
  }

  .mobile-fixed-cta__quote .mobile-fixed-cta__icon svg {
    animation: quoteFloat 2.8s ease-in-out infinite;
  }

  .mobile-fixed-cta__quote:active::before {
    transform: translateX(120%);
  }

  .mobile-fixed-cta__item:active .mobile-fixed-cta__icon svg {
    transform: translateX(2px) rotate(-4deg);
  }
}

@keyframes phonePulse {
  0% {
    opacity: 0;
    transform: scale(.72);
  }

  35% {
    opacity: .55;
  }

  100% {
    opacity: 0;
    transform: scale(1.34);
  }
}

@keyframes quoteFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-fixed-cta *,
  .mobile-fixed-cta *::before,
  .mobile-fixed-cta *::after {
    animation: none !important;
    transition: none !important;
  }


  
}

/* ukryj mobile fixed CTA na desktopie zawsze */
.mobile-fixed-cta {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* pokaż tylko na telefonie */
@media (max-width: 768px) {
  .mobile-fixed-cta {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .mobile-fixed-cta.is-hidden,
  .mobile-fixed-cta.hide-on-footer {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}


.mobile-fixed-cta.hide-on-footer {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}