﻿/* =========================================================
   Footer
========================================================= */

.site-footer {
    width: 100%;
    background: #0e5aa4;
    color: #ffffff;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer ul,
.site-footer li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}


/* =========================================================
   Footer 主体
========================================================= */

.site-footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    padding-top: 40px;
    padding-bottom: 38px;
}


/* =========================================================
   公司信息
========================================================= */

.site-footer-about {
    flex: 0 0 390px;
    width: 390px;
}

.site-footer-logo {
    display: block;
    width: 144px;
    height: 67px;
    margin-bottom: 18px;
}

.site-footer-logo img {
    display: block;
    width: 144px;
    height: 67px;
    max-width: none;
    object-fit: contain;
    object-position: left center;
}

.site-footer-description {
    width: 100%;
    max-width: 390px;
    color: #ffffff;
    font-size: 14px;
    line-height: 21px;
}

.site-footer-follow-title {
    margin-top: 54px;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 13px;
    line-height: 22px;
    font-weight: normal;
    text-transform: uppercase;
}


/* 社交媒体 */

.site-footer-social {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 30px;
    color: #ffffff;
    font-size: 26px;
    line-height: 30px;
}

.site-footer-social a:hover {
    color: #f7b901;
    transform: translateY(-3px);
}

.site-footer-social .fa-instagram {
    font-size: 26px;
}

.site-footer-social .fa-facebook {
    font-size: 25px;
}

.site-footer-social .fa-youtube-play {
    font-size: 23px;
}

.site-footer-social .fa-linkedin {
    font-size: 26px;
}

.site-footer-x {
    display: block;
    color: inherit;
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 30px;
    font-weight: 400;
}


/* =========================================================
   Footer 通用栏目
========================================================= */

.site-footer-column {
    min-width: 0;
}

.site-footer-column h3 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}

.site-footer-column > ul > li {
    margin-bottom: 7px;
}

.site-footer-column > ul > li:last-child {
    margin-bottom: 0;
}

.site-footer-column > ul > li > a {
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    line-height: 23px;
}

.site-footer-column > ul > li > a:hover {
    color: #f7b901;
    padding-left: 4px;
}


/* =========================================================
   Quick Links
========================================================= */

.site-footer-quick {
    flex: 0 0 118px;
    width: 118px;
}


/* =========================================================
   Support
========================================================= */

.site-footer-support {
    flex: 0 0 250px;
    width: 250px;
}

.site-footer-payment {
    margin-top: 22px;
}

.site-footer-payment h3 {
    margin-bottom: 10px;
}

.site-footer-payment img {
    display: block;
    width: 420px;
    height: 30px;
    max-width: none;
    object-fit: contain;
    object-position: left center;
}


/* =========================================================
   Contact Us
========================================================= */

.site-footer-contact {
    flex: 1;
    min-width: 420px;
}

.site-footer-contact-list {
    width: 100%;
}

.site-footer-contact-list p {
    width: 100%;
    margin: 0 0 7px;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 23px;
}

.site-footer-contact-list p:last-child {
    margin-bottom: 0;
}

.site-footer-contact-list a {
    color: #ffffff;
}

.site-footer-contact-list a:hover {
    color: #f7b901;
}

.site-footer-contact-address {
    max-width: 570px;
    line-height: 30px !important;
}


/* =========================================================
   Copyright
========================================================= */

.site-footer-copyright {
    width: 100%;
    padding: 15px 0;
    background: #0e5aa4;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}




/* =========================================================
   Online Customer Service
   Primary Color: #f7b901
   Secondary Color: #0e5aa4
========================================================= */

.online-customer-service {
    position: fixed;
    top: 50%;
    right: 5px;
    z-index: 9998;
    width: 52px;
    border-radius: 8px 0 0 8px;
    transform: translateY(-50%);
}

.online-customer-service *,
.online-customer-service *::before,
.online-customer-service *::after {
    box-sizing: border-box;
}

.online-customer-service-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}


/* Single Button */

.online-customer-service-item {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f7b901;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.online-customer-service-item:hover,
.online-customer-service-item:focus {
    color: #ffffff;
    background: #0e5aa4;
    transform: translateX(-3px);
    box-shadow: 0 7px 16px rgba(14, 90, 164, 0.22);
}

.online-customer-service-item img {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    border: none;
}


/* Email and Phone Buttons */

.online-customer-service-info {
    position: relative;
}


/* Email and Phone Popup */

.online-customer-service-popup {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    min-width: 220px;
    padding: 10px 14px;
    border: 1px solid #f7b901;
    border-left: 3px solid #0e5aa4;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(14, 90, 164, 0.14);
    text-align: left;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(10px, -50%);
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
}

.online-customer-service-popup::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -7px;
    width: 12px;
    height: 12px;
    border-top: 1px solid #f7b901;
    border-right: 1px solid #f7b901;
    background: #ffffff;
    transform: translateY(-50%) rotate(45deg);
}

.online-customer-service-info:hover .online-customer-service-popup,
.online-customer-service-info:focus .online-customer-service-popup,
.online-customer-service-info:focus-within .online-customer-service-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.online-customer-service-popup-label {
    display: block;
    margin-bottom: 2px;
    color: #667085;
    font-size: 11px;
    line-height: 18px;
    font-weight: 400;
}

.online-customer-service-popup-value {
    display: block;
    color: #0e5aa4;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}


/* Back to Top */

.online-customer-service-top {
    margin-top: 1px;
}

.online-customer-service-top i {
    display: block;
    color: #ffffff;
    font-size: 27px;
    line-height: 1;
    font-weight: 400;
}



/* PC端隐藏 */
.mobile-fixed-tools {
    display: none;
}

/* =========================================================
   1400px 以下
========================================================= */

@media (max-width: 1400px) {
    .site-footer-main {
        gap: 34px;
    }

    .site-footer-about {
        flex-basis: 330px;
        width: 330px;
    }

    .site-footer-description {
        max-width: 330px;
    }

    .site-footer-contact {
        min-width: 380px;
    }

    .site-footer-payment img {
        width: 380px;
        height: auto;
    }
}


/* =========================================================
   平板
========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {
    .site-footer-main {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr 1fr;
        gap: 35px 25px;
    }

    .site-footer-about,
    .site-footer-quick,
    .site-footer-support,
    .site-footer-contact {
        width: auto;
        min-width: 0;
    }

    .site-footer-about {
        grid-column: 1;
        grid-row: 1;
    }

    .site-footer-quick {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer-support {
        grid-column: 3;
        grid-row: 1;
    }

    .site-footer-contact {
        grid-column: 1 / 4;
        grid-row: 2;
    }

    .site-footer-follow-title {
        margin-top: 35px;
    }

    .site-footer-payment img {
        width: 100%;
        max-width: 420px;
        height: auto;
    }

    .site-footer-contact-address {
        max-width: 100%;
    }
}







@media (max-width: 768px) {


.online-customer-service { display:none;}
  .site-footer-main {
        display: block;
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .site-footer-about,
    .site-footer-quick,
    .site-footer-support,
    .site-footer-contact {
        width: 100%;
        min-width: 0;
    }


    /* 公司信息 */

    .site-footer-about {
        margin-bottom: 32px;
    }

    .site-footer-logo {
        margin-bottom: 16px;
    }

    .site-footer-description {
        max-width: 100%;
        font-size: 14px;
        line-height: 23px;
    }

    .site-footer-follow-title {
        margin-top: 27px;
        margin-bottom: 12px;
    }

    .site-footer-social {
        gap: 20px;
    }


    /* 栏目 */

    .site-footer-quick,
    .site-footer-support {
        margin-bottom: 30px;
    }

    .site-footer-column h3 {
        position: relative;
        margin-bottom: 14px;
        padding-bottom: 9px;
        font-size: 18px;
    }

    .site-footer-column h3::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 38px;
        height: 2px;
        background: #f7b901;
    }

    .site-footer-column > ul > li {
        margin-bottom: 6px;
    }

    .site-footer-column > ul > li > a {
        font-size: 14px;
        line-height: 24px;
    }


    /* Payment */

    .site-footer-payment {
        margin-top: 25px;
    }

    .site-footer-payment img {
        width: 100%;
        max-width: 420px;
        height: auto;
    }


    /* Contact */

    .site-footer-contact-list p {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 24px;
    }

    .site-footer-contact-address {
        max-width: 100%;
        line-height: 25px !important;
    }


    /* Copyright */

    .site-footer-copyright {
        padding: 14px 15px;
        font-size: 13px;
        line-height: 21px;
    }

.mobile-fixed-tools {
    position: fixed;
    right: 5px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-fixed-tools .mobile-fixed-item {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(14, 90, 164, 0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

.mobile-fixed-tools .mobile-fixed-item:active {
    transform: scale(0.94);
}

/* BOM */
.mobile-fixed-bom {
    background: linear-gradient(135deg, #f7b901 0%, #ffca28 100%);
}

/* WhatsApp */
.mobile-fixed-whatsapp {
    background: #25d366;
}

/* Contact */
.mobile-fixed-contact {
    background: linear-gradient(135deg, #0e5aa4 0%, #2879c4 100%);
}

/* Back to top */
.mobile-fixed-top {
    border: 1px solid #f7b901;
    background: #ffffff;
    color: #0e5aa4 !important;
}

.mobile-fixed-top i {
    font-size: 1.35rem;
    font-weight: bold;
}

.mobile-fixed-tools .mobile-fixed-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(14, 90, 164, 0.28);
}

.mobile-fixed-bom:hover {
    background: #0e5aa4;
    color: #ffffff;
}

.mobile-fixed-whatsapp:hover {
    background: #1fbd5a;
    color: #ffffff;
}

.mobile-fixed-contact:hover {
    background: #f7b901;
    color: #ffffff;
}

.mobile-fixed-top:hover {
    background: #f7b901;
    color: #ffffff !important;
}

}

/* =========================================================
   小屏手机
========================================================= */

@media (max-width: 420px) {
    .site-footer-logo {
        width: 144px;
        height: 67px;
    }

    .site-footer-logo img {
        width: 144px;
        height: 67px;
    }

    .site-footer-social {
        gap: 17px;
    }

    .site-footer-payment img {
        width: 100%;
        height: auto;
    }

    .site-footer-contact-list p {
        word-break: break-word;
    }
}

