/* ============================================
   FLOATING PHONE BUTTON - MOBILE ONLY
   ============================================ */

/* Hidden on desktop + tablet */
.asl-floating-phone {
  display: none !important;
}

/* ========================================
   MOBILE ONLY (768px and below)
   ======================================== */

@media (max-width: 768px) {
  /* Base — hidden until JS adds --visible */
  .asl-floating-phone {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    right: var(--padding-sides-mobile, 20px);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--button-primary-bg);
    color: var(--color-white, #ffffff);
    box-shadow: var(--button-shadow);
    z-index: var(--z-modal, 100);
    text-decoration: none;
    transition: var(--transition-fast, 0.3s ease);
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
  }

  /* Icon — locked to 24px no matter what */
  .asl-floating-phone__icon {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0;
  }

  /* Visible state — JS adds this class after scrolling past hero */
  .asl-floating-phone--visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  /* Hover → Navy */
  .asl-floating-phone:hover {
    background: var(--color-navy, #1e3a5f);
    box-shadow: var(--button-shadow-hover);
    color: var(--color-white, #ffffff);
  }

  /* Active/Tap → Navy + press */
  .asl-floating-phone:active {
    background: var(--color-navy, #1e3a5f);
    box-shadow: var(--button-shadow-hover);
    transform: scale(0.95);
    color: var(--color-white, #ffffff);
  }
}
