/* Homepage-only floating shortcut to the repair service. */
.home-repair-float {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 1201;
  min-width: 116px;
  height: 48px;
  padding: 5px 15px 5px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #15171b;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.home-repair-float::before {
  content: "";
  position: absolute;
  inset: 8px 12px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(225, 29, 46, 0.18);
  filter: blur(13px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.home-repair-float__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #ff4b55 0%, #d9132c 100%);
  border-radius: 50%;
  box-shadow:
    0 7px 16px rgba(217, 19, 44, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.home-repair-float__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-repair-float__label {
  font-size: 14px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.home-repair-float:hover {
  color: #15171b;
  border-color: rgba(217, 19, 44, 0.22);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  text-decoration: none;
  transform: translateY(-2px);
}

.home-repair-float:hover::before {
  opacity: 1;
}

.home-repair-float:focus-visible {
  outline: 3px solid rgba(217, 19, 44, 0.25);
  outline-offset: 3px;
}

.home-repair-float:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 768px) {
  .home-repair-float {
    right: 14px;
    bottom: calc(var(--ik-bn-h, 82px) + 26px + env(safe-area-inset-bottom));
    min-width: 99px;
    height: 42px;
    padding: 4px 12px 4px 5px;
    gap: 7px;
    box-shadow:
      0 10px 26px rgba(15, 23, 42, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  .home-repair-float__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .home-repair-float__icon svg {
    width: 17px;
    height: 17px;
  }

  .home-repair-float__label {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-repair-float,
  .home-repair-float::before {
    transition: none;
  }
}
