function Footer() {
  const [t, setT] = React.useState('');
  React.useEffect(() => {
    const tick = () => {
      const d = new Date();
      const hh = String(d.getHours()).padStart(2,'0');
      const mm = String(d.getMinutes()).padStart(2,'0');
      setT(`${hh}:${mm} LCL · CLT`);
    };
    tick(); const id = setInterval(tick, 30000); return () => clearInterval(id);
  }, []);
  return (
    <footer className="alg-footer">
      <div className="alg-container alg-footer-grid">
        <div className="alg-footer-brand">
          <img src="assets/logos/horizontal-white.png" alt="ALG"/>
          <p>Aviation Lead Generation. Built for aviation, since 2019.</p>
          <p className="alg-footer-tag">We land leads, so you can fly.</p>
        </div>
        <div className="alg-footer-col">
          <h4>System</h4>
          <a href="#system">The 50-Closest Engine</a>
          <a href="#methodology">Methodology</a>
          <a href="#cases">Case Studies</a>
        </div>
        <div className="alg-footer-col">
          <h4>Industries</h4>
          <a href="#industries">Flight Schools</a>
          <a href="#industries">Time-Build</a>
          <a href="#industries">MRO</a>
          <a href="#industries">Part 135</a>
        </div>
        <div className="alg-footer-col">
          <h4>Company</h4>
          <a href="#about">About</a>
          <a href="#contact">Contact</a>
        </div>
      </div>
      <div className="alg-footer-base">
        <div>© 2026 ALG, Inc. · All rights reserved.</div>
        <div className="alg-footer-meta">{t}</div>
        <div>Brand & site — Ironvine Group.</div>
      </div>
    </footer>
  );
}
window.Footer = Footer;
