/**
 * Figma 頁尾 — 行動版（node 2001:366，≤900px）
 * Frame 375×264：內容寬 285px 置中、上內距 28px、聯絡區與 Copyright 垂直間距 80px
 */

@media (max-width: 900px) {
    .figma-home .figma-home-footer,
    .figma-services-page .figma-home-footer,
    .figma-solutions-page .figma-home-footer,
    .figma-contact-page .figma-home-footer,
    .figma-products-page .figma-home-footer,
    .figma-single-product .figma-home-footer {
        min-height: 0;
    }

    .figma-home .figma-home-footer__inner,
    .figma-services-page .figma-home-footer__inner,
    .figma-solutions-page .figma-home-footer__inner,
    .figma-contact-page .figma-home-footer__inner,
    .figma-products-page .figma-home-footer__inner,
    .figma-single-product .figma-home-footer__inner {
        box-sizing: border-box;
        width: 100%;
        max-width: 285px;
        margin-left: auto;
        margin-right: auto;
        padding: 28px 0 28px;
        gap: 80px;
        align-items: center;
        container-type: inline-size;
        container-name: figma-foot;
    }

    .figma-home .figma-home-footer__contact,
    .figma-services-page .figma-home-footer__contact,
    .figma-solutions-page .figma-home-footer__contact,
    .figma-contact-page .figma-home-footer__contact,
    .figma-products-page .figma-home-footer__contact,
    .figma-single-product .figma-home-footer__contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .figma-home .figma-home-footer__contact h2,
    .figma-services-page .figma-home-footer__contact h2,
    .figma-solutions-page .figma-home-footer__contact h2,
    .figma-contact-page .figma-home-footer__contact h2,
    .figma-products-page .figma-home-footer__contact h2,
    .figma-single-product .figma-home-footer__contact h2 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        font-size: 15.888px;
        line-height: normal;
        margin: 0 0 17px;
        color: #ffffff;
        align-self: stretch;
        text-align: center;
    }

    .figma-home .figma-home-footer__contact address,
    .figma-services-page .figma-home-footer__contact address,
    .figma-solutions-page .figma-home-footer__contact address,
    .figma-contact-page .figma-home-footer__contact address,
    .figma-products-page .figma-home-footer__contact address,
    .figma-single-product .figma-home-footer__contact address {
        font-family: "Noto Sans TC", "Inter", sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 12px;
        text-align: left;
        color: #ffffff;
    }

    .figma-home .figma-home-footer__contact address p,
    .figma-services-page .figma-home-footer__contact address p,
    .figma-solutions-page .figma-home-footer__contact address p,
    .figma-contact-page .figma-home-footer__contact address p,
    .figma-products-page .figma-home-footer__contact address p,
    .figma-single-product .figma-home-footer__contact address p {
        margin: 0 0 17px;
    }

    .figma-home .figma-home-footer__contact address p:last-child,
    .figma-services-page .figma-home-footer__contact address p:last-child,
    .figma-solutions-page .figma-home-footer__contact address p:last-child,
    .figma-contact-page .figma-home-footer__contact address p:last-child,
    .figma-products-page .figma-home-footer__contact address p:last-child,
    .figma-single-product .figma-home-footer__contact address p:last-child {
        margin-bottom: 0;
    }

    .figma-home .figma-home-footer__copy,
    .figma-services-page .figma-home-footer__copy,
    .figma-solutions-page .figma-home-footer__copy,
    .figma-contact-page .figma-home-footer__copy,
    .figma-products-page .figma-home-footer__copy,
    .figma-single-product .figma-home-footer__copy {
        font-family: "Noto Sans TC", "Inter", sans-serif;
        font-weight: 400;
        text-align: center;
        color: #ffffff;
        opacity: 1;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        line-height: 1.2;
        /* 不支援 cqi 時：依視窗略縮字級 */
        font-size: clamp(7px, 2.45vw, 12px);
    }

    @supports (font-size: 1cqi) {
        .figma-home .figma-home-footer__copy,
        .figma-services-page .figma-home-footer__copy,
        .figma-solutions-page .figma-home-footer__copy,
        .figma-contact-page .figma-home-footer__copy,
        .figma-products-page .figma-home-footer__copy,
        .figma-single-product .figma-home-footer__copy {
            /* 依頁尾內容欄寬（285px）比例縮放，維持單行 */
            font-size: clamp(7px, 3.15cqi, 12px);
        }
    }
}
