/* ==========================================================================
   MOBILE STICKY CTA BAR STYLES — NEXT-GEN FROSTED GLASS DYNAMIC ISLAND
   ========================================================================== */

.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 84px; /* Prevents sticky bar from obscuring content */
  }

  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(7, 9, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 122, 0, 0.15);
    padding: 0.65rem 0.85rem;
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0));
  }

  .mobile-sticky-container {
    display: grid;
    grid-template-columns: 0.8fr 0.95fr 1.85fr;
    gap: 0.4rem;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
  }

  .mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    text-align: center;
    transition: all var(--transition-fast);
  }

  .mobile-sticky-btn:active {
    transform: scale(0.96);
    opacity: 0.9;
  }

  .sticky-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .call-action {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .call-action .sticky-icon {
    color: #38BDF8;
  }

  .whatsapp-action {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
  }

  .book-action {
    background: linear-gradient(135deg, #FF851A 0%, #EA580C 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 15px rgba(255, 122, 0, 0.4);
    font-size: clamp(0.72rem, 2.4vw, 0.82rem);
    padding: 0.7rem 0.35rem;
    white-space: nowrap;
  }

  /* ==========================================================================
     RESPONSIVE: SMALL & ULTRA-NARROW PHONES (<= 360px & 320px)
     ========================================================================== */
  @media (max-width: 360px) {
    .mobile-sticky-bar {
      padding: 0.45rem 0.35rem;
      padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0));
    }

    .mobile-sticky-container {
      grid-template-columns: 0.75fr 0.9fr 1.85fr;
      gap: 0.25rem;
    }

    .mobile-sticky-btn {
      padding: 0.55rem 0.2rem;
      font-size: 0.72rem;
      gap: 0.2rem;
      border-radius: var(--radius-sm);
    }

    .sticky-icon {
      width: 13px;
      height: 13px;
    }

    .book-action {
      font-size: 0.7rem;
      padding: 0.55rem 0.25rem;
      white-space: normal;
      line-height: 1.15;
      text-align: center;
    }
  }
}
