/**
 * footer_style_mobile.css
 * Mobile footer: stacked vertically, centred text.
 *
 * Two tiers:
 *   ≤ 1299px  – tablet
 *   ≤  600px  – phone
 */

/* =========================
   TIER 1 – TABLET  (≤ 1299px)
========================= */

@media (max-width: 1299px) {

    .site-footer {
        padding: 40px 24px 20px;
        text-align: center;
    }

    /* Stack columns vertically, centred */
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }

    /* Mobile order: links → address → logo */
    .footer-links   { order: 1; width: 100%; }
    .footer-address { order: 2; width: 100%; }
    .footer-logo    { order: 3; display: flex; justify-content: center; }

    .footer-logo img {
        width: 300px;
        height: auto;
    }

    /* Reset inherited max-width from body p styles so text centres properly */
    .footer-address p,
    .footer-address a,
    .footer-links p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Larger touch targets for footer links */
    .footer-links a {
        padding: 6px 0;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Ensure full-width flex items also centre their text */
        max-width: 100%;
    }

    .footer-links ul li {
        margin-bottom: 4px;
    }
}

/* =========================
   TIER 2 – PHONE  (≤ 600px)
========================= */

@media (max-width: 600px) {

    .site-footer {
        padding: 32px 16px 16px;
    }

    .footer-container {
        gap: 24px;
    }

    .footer-logo img {
        width: 140px;
    }

    .footer-address h4,
    .footer-links h4 {
        font-size: 10px;
    }

    .footer-address p,
    .footer-links p,
    .footer-links a {
        font-size: 15px;
        max-width: 100%;
    }

    /* Copyright */
    .footer-bottom {
        margin-top: 24px;
        padding-top: 14px;
        font-size: 13px;
    }
}
