(function () {
function Footer({ go }) {
  const Paw = window.CCPaw;
  const link = (key, label) => (
    <button type="button" className="linklike" onClick={() => go(key)}>{label}</button>
  );
  return (
    <footer className="site-footer">
      <div className="site-footer__inner">
        <div className="site-footer__brand">
          <div className="site-footer__logo">
            <img src="/design-system/assets/logo.png" alt="Carter's Critter Care" />
          </div>
          <p className="site-footer__tag">Loving, reliable pet &amp; house sitting across Whatcom County. From goldfish to great Danes, tarantulas to tabbies.</p>
          <p className="cc-hand site-footer__sig">Carter</p>
        </div>
        <div className="site-footer__cols">
          <div>
            <h4>Services</h4>
            {link('services', 'Dog walking')}
            {link('services', 'Drop-in visits')}
            {link('services', 'Overnight stays')}
            {link('services', 'House & plant care')}
            {link('services', 'Daily report card')}
          </div>
          <div>
            <h4>Critter care</h4>
            {link('about', 'Meet Carter')}
            {link('about', 'Meet the crew')}
            {link('services', 'Pricing')}
            {link('book', 'Connect with Carter')}
          </div>
          <div>
            <h4>Service area</h4>
            <span className="nolink"><Paw width="16" height="16" /> All of Whatcom County, WA</span>
            <span className="nolink">Bellingham · Ferndale · Lynden</span>
            <span className="nolink">Blaine · Birch Bay · Everson</span>
            <span className="nolink">Sumas · Deming &amp; in between</span>
          </div>
        </div>
      </div>
      <div className="site-footer__bar">
        <span className="site-footer__paw"><Paw width="18" height="18" /> Pet &amp; house sitting · Whatcom County, WA</span>
        <span>© 2026 Carter's Critter Care</span>
      </div>
    </footer>
  );
}

window.Footer = Footer;
})();
