/* ─── Floating Contact Button ─────────────────────── */
/* В начале файла float-contact-btn.css */
html {
  overflow-x: hidden;
}
.float-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 0.5rem;
  z-index: 999;
  pointer-events: auto;
}

.fcb-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0D3B7A 0%, #4a90d9 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(13, 59, 122, 0.3);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
}

.fcb-main:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(13, 59, 122, 0.4);
}

.fcb-menu {
  position: absolute;
  bottom: 80px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(10px);
  transform-origin: bottom right;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: flex-end;
}

.fcb-menu.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.fcb-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
  flex-shrink: 0;
}

.fcb-item:hover {
  transform: scale(1.05);
}

.fcb-whatsapp {
  background: #25D366;
}

.fcb-email {
  background: #EA4335;
}

.fcb-call {
  background: #4a90d9;
}

/* Tablet */
@media (max-width: 991px) {
  .float-contact-btn {
    bottom: 1rem;
    right: 0.4rem;
  }
  .fcb-main {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }
  .fcb-item {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

/* iPad & Small Tablets */
@media (max-width: 767px) {
  .float-contact-btn {
    bottom: 0.75rem;
    right: 0.35rem;
  }
  .fcb-main {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
  .fcb-item {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
  .fcb-menu {
    bottom: 62px;
    gap: 8px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .float-contact-btn {
    bottom: 0.5rem;
    right: 0.3rem;
  }
  .fcb-main {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  .fcb-item {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
  .fcb-menu {
    bottom: 50px;
    gap: 6px;
  }
}

/* Very Small Mobile */
@media (max-width: 360px) {
  .float-contact-btn {
    bottom: 0.4rem;
    right: 0.25rem;
  }
  .fcb-main {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .fcb-item {
    width: 32px;
    height: 32px;
    font-size: 0.65rem;
  }
  .fcb-menu {
    bottom: 45px;
    gap: 5px;
  }
}
