body {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* ── Floating Phone FAB ── */
#phone-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
#phone-fab h2 {
  position: absolute;
  right: 76px;
  bottom: 16px;
  margin: 0;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  opacity: 1;
  transform: translateX(0);
}
#phone-popup.open ~ h2 {
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}
/* Popup card */
#phone-popup {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 20px 16px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.18),
    0 4px 16px rgba(0, 0, 0, 0.08);
  width: 280px;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.22s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
#phone-popup.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* FAB button */
#phone-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary, #d96b27);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(217, 107, 39, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  position: relative;
}
#phone-fab-btn:hover {
  transform: scale(1.08);
  background: var(--color-primary-hover, #b45a20);
  box-shadow: 0 12px 32px rgba(217, 107, 39, 0.55);
}
/* Pulse ring animation */
#phone-fab-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid var(--color-primary, #d96b27);
  opacity: 0;
  animation: phone-pulse 2.2s ease-out infinite;
}
@keyframes phone-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  80% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Phone line item */
.phone-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s ease;
  color: inherit;
}
.phone-line:hover {
  background: rgba(217, 107, 39, 0.07);
}
.phone-line-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(217, 107, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-primary, #d96b27);
  flex-shrink: 0;
}

/* ── Mobile: green button + hidden popup ── */
@media (max-width: 1024px) {
  /* Hide popup entirely on mobile */
  #phone-popup {
    display: none !important;
  }

  /* Green button on mobile */
  #phone-fab-btn {
    background: #16a34a;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
  }
  #phone-fab-btn:hover {
    background: #15803d;
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.55);
  }

  /* Light green halo ring on mobile */
  #phone-fab-btn::before {
    border-color: rgba(134, 239, 172, 0.9);
    animation: phone-pulse-green 2.2s ease-out infinite;
  }
}
@keyframes phone-pulse-green {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  80% {
    opacity: 0;
    transform: scale(1.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

/* ── Multi-step Wizard Modal Z-Index Fix ── */
#wizard-modal {
  z-index: 100000 !important;
}

/* Range slider custom style  */
.wizard-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #cbd5e1;
  outline: none;
  transition: background 0.3s;
}
.wizard-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary, #d96b27);
  cursor: pointer;
  border: 4px solid #ffffff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.1s,
    background-color 0.2s;
}
.wizard-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  background: var(--color-primary-hover, #b45a20);
}
.wizard-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary, #d96b27);
  cursor: pointer;
  border: 4px solid #ffffff;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.1s,
    background-color 0.2s;
}
.wizard-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  background: var(--color-primary-hover, #b45a20);
}
