/* =========================================
   fritts — Shared Mobile Footer Styles
   Used by all mobile pages (home, product, company)
   ========================================= */

/* ---------- Footer mobile overrides ---------- */
@media (max-width: 768px) {
    /* Anchor footer em-context to viewport so it renders identically
       regardless of the host page's html root font-size. */
    .site-footer {
        font-size: 0.973vw;
        padding: 5em 3em 3em;
    }

    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 4em 3em;
    }

    .site-footer-col h3 {
        font-size: 3.6em;
        margin-bottom: 0.8em;
    }

    h3.footer-services {
        margin-top: 2em !important;
    }

    .site-footer-col p,
    .site-footer-col li {
        font-size: 3em;
    }

    .site-footer-col li a {
        font-size: 1em;
    }

    .site-footer-copyright {
        font-size: 2.4em;
        margin-top: 3em;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer-brand img {
        width: 16em;
    }
}

/* Small phones (< 375px, e.g. iPhone SE) */
@media (max-width: 374px) {
    .site-footer {
        padding: 4em 2em 2em;
    }

    .site-footer-inner {
        gap: 3em 2em;
    }

    .site-footer-col h3 {
        font-size: 3em;
    }

    .site-footer-col p,
    .site-footer-col li {
        font-size: 2.4em;
    }

    .site-footer-copyright {
        font-size: 2.1em;
    }
}
