</main>
<footer id="iletisim" class="site-footer">
    <div class="container footer-grid">
        <div>
            <a class="brand footer-brand" href="index.php"><?= e(cfg('site.brand')) ?></a>
            <p><?= e(cfg('site.tagline')) ?></p>
            <div class="social-row">
                <a href="https://wa.me/<?= e(preg_replace('/\D+/', '', (string) cfg('site.whatsapp_number'))) ?>" target="_blank" rel="noopener" aria-label="WhatsApp"><i class="bi bi-whatsapp"></i></a>
                <a href="mailto:<?= e(cfg('site.support_email')) ?>" aria-label="E-posta"><i class="bi bi-envelope"></i></a>
                <a href="tel:<?= e(preg_replace('/[^+\d]/', '', (string) cfg('site.support_phone'))) ?>" aria-label="Telefon"><i class="bi bi-telephone"></i></a>
            </div>
        </div>
        <div>
            <h3>Müşteri Hizmetleri</h3>
            <a href="legal.php?doc=delivery">Kargo ve Teslimat</a>
            <a href="legal.php?doc=returns">İade ve Cayma</a>
            <a href="legal.php?doc=preinfo">Ön Bilgilendirme Formu</a>
            <a href="legal.php?doc=distance">Mesafeli Satış Sözleşmesi</a>
        </div>
        <div>
            <h3>Yasal</h3>
            <a href="legal.php?doc=privacy">KVKK Aydınlatma Metni</a>
            <a href="legal.php?doc=cookies">Çerez Politikası</a>
            <a href="mailto:<?= e(cfg('site.support_email')) ?>"><?= e(cfg('site.support_email')) ?></a>
            <span><?= e(cfg('site.support_phone')) ?></span>
        </div>
    </div>
    <div class="container footer-bottom">
        <span>© <?= date('Y') ?> <?= e(cfg('site.brand')) ?>. Tüm hakları saklıdır.</span>
        <span><i class="bi bi-shield-check"></i> Güvenli sipariş formu</span>
    </div>
</footer>
<script src="assets/js/main.js?v=1.0.0" defer></script>
</body>
</html>
