.automechanika-floating-cta-module {
  position: fixed;
  right: 92px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1045;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 1100ms ease, transform 1300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.automechanika-floating-cta-module.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.automechanika-floating-cta {
  display: flex;
  width: 54px;
  max-width: calc(100vw - 118px);
  min-height: 54px;
  padding: 0 18px;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(222, 34, 58, 0.82), rgba(244, 67, 54, 0.78));
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  backdrop-filter: blur(20px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 18px rgba(239, 49, 71, 0.12),
    0 12px 34px rgba(35, 4, 14, 0.24),
    0 2px 8px rgba(4, 18, 45, 0.12);
  color: #fff !important;
  font-family: inherit;
  text-decoration: none !important;
  pointer-events: auto;
  will-change: width, padding, transform;
  transition:
    width 1600ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 1500ms cubic-bezier(0.16, 1, 0.3, 1),
    gap 1250ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 450ms ease,
    border-color 500ms ease,
    box-shadow 500ms ease,
    filter 500ms ease;
}

.automechanika-floating-cta-module.is-expanded .automechanika-floating-cta,
.automechanika-floating-cta:hover,
.automechanika-floating-cta:focus-visible {
  width: 350px;
  padding-right: 20px;
  gap: 11px;
}

.automechanika-floating-cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #fff;
}

.automechanika-floating-cta-copy {
  display: grid;
  min-width: 263px;
  opacity: 0;
  transform: translateX(7px);
  will-change: opacity, transform;
  transition:
    opacity 700ms ease 180ms,
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1) 100ms;
}

.automechanika-floating-cta-module.is-expanded .automechanika-floating-cta-copy,
.automechanika-floating-cta:hover .automechanika-floating-cta-copy,
.automechanika-floating-cta:focus-visible .automechanika-floating-cta-copy {
  opacity: 1;
  transform: translateX(0);
}

.automechanika-floating-cta-message {
  font-size: 11.5px;
  font-weight: 760;
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 5px rgba(22, 3, 9, 0.5);
}

.automechanika-floating-cta-more {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(22, 3, 9, 0.45);
}

.automechanika-floating-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 34px rgba(102, 9, 27, 0.38),
    0 0 22px rgba(239, 49, 71, 0.2);
  filter: saturate(1.06) brightness(1.05);
}

.automechanika-floating-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .automechanika-floating-cta-module {
    right: 78px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .automechanika-floating-cta {
    width: 48px;
    max-width: calc(100vw - 94px);
    min-height: 48px;
    padding: 0 15px;
  }

  .automechanika-floating-cta-module.is-expanded .automechanika-floating-cta,
  .automechanika-floating-cta:hover,
  .automechanika-floating-cta:focus-visible {
    width: 292px;
    padding-right: 16px;
    gap: 9px;
  }

  .automechanika-floating-cta-copy {
    min-width: 220px;
  }

  .automechanika-floating-cta-message {
    font-size: 10.5px;
  }

  .automechanika-floating-cta-more {
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .automechanika-floating-cta-module,
  .automechanika-floating-cta,
  .automechanika-floating-cta-copy {
    transition-duration: 1ms;
  }
}
