'use client';
import { track } from '@/lib/analytics';

export default function StickyCallButton() {
  return (
    <div className="fixed md:hidden bottom-0 left-0 right-0 z-50 bg-white border-t border-gray-200 p-4">
      <div className="flex gap-3">
        <a
          href="tel:+13618850315"
          onClick={() => track('phone_click', { placement: 'sticky_mobile' })}
          className="flex-1 btn-primary text-center"
          aria-label="Call Now 24/7"
        >
          📞 Call Now
        </a>
        <a
          href="#quote-form"
          className="flex-1 btn-secondary text-center"
          aria-label="Get Free Quote"
        >
          📝 Free Quote
        </a>
      </div>
    </div>
  );
}
