/* =================================================================
   ===== HEADER / NAV（模拟 Astra Header）=====
   ================================================================= */
.site-header {
    position: sticky; top:0; z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--c-line);
}
.nav-row {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 800; color: var(--c-title);
    letter-spacing: -0.01em;
}
.brand-logo {
    width: 36px; height: 36px; border-radius: 8px;
    background: linear-gradient(135deg, var(--c-primary), #3a7bff);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 900;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    font-size: 14px; font-weight: 600; color: var(--c-text);
    transition: color .2s;
}
.nav-links a:hover { color: var(--c-primary); }
.nav-links a.active { color: var(--c-primary); position: relative; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--c-primary);
    border-radius: 2px;
}
.nav-links a.nav-cta.active::after {
    display: none;
}
.nav-cta {
    background: var(--c-cta); color: #fff;
    padding: 10px 20px; border-radius: var(--r-sm); font-weight: 700;
    transition: all .25s; box-shadow: var(--sh-cta);
}
.nav-cta:hover { background: var(--c-cta-hover); transform: translateY(-1px); color:#fff; }

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-title);
    border-radius: 2px;
    transition: all .3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单遮罩 */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, .45);
    backdrop-filter: blur(2px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 84px 24px 24px;
        box-shadow: -8px 0 30px rgba(10,25,47,.1);
        z-index: 100;
        transition: right .3s cubic-bezier(.4, 0, .2, 1);
        overflow-y: auto;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 15px;
        border-bottom: 1px solid var(--c-line);
        width: 100%;
    }
    .nav-links a:last-child {
        border-bottom: 0;
    }
    .nav-links a.active::after {
        display: none;
    }
    .nav-links .nav-cta {
        margin-top: 20px;
        text-align: center;
        border-radius: var(--r-md);
        padding: 13px 20px;
        border-bottom: 0;
    }
    .hamburger {
        display: flex;
    }
}


/* =================================================================
   ===== FOOTER（模拟 Astra Footer）=====
   ================================================================= */
.site-footer { background: #0a1d3a; color: rgba(255,255,255,.75); padding: 44px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 32px;
    padding-bottom: 32px;
}
.footer-col {
    display: flex; flex-direction: column;
    min-height: 100%;
}
.footer-col h4 {
    color: #fff; font-size: 15px; font-weight: 700; margin: 14px 0 8px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 13.5px; transition: color .2s; line-height: 1.5; }
.footer-col a:hover { color: #FFD666; }
.footer-about .brand {
    color: #fff; margin-bottom: 14px; font-size: 20px;
    display: flex; align-items: center; gap: 10px;
}
.footer-about .brand .brand-logo {
    width: 36px; height: 36px; font-size: 16px;
}
.footer-about p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.7); margin: 0 0 14px; }

/* 联系信息列表 */
.footer-contact { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; }
.footer-contact li {
    font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.75);
    display: flex; align-items: flex-start; gap: 10px;
}
.footer-contact-icon {
    flex-shrink: 0; width: 16px; height: 16px;
    color: rgba(255,255,255,.75);
}
.footer-contact a { color: rgba(255,255,255,.75); font-size: 13px; }
.footer-contact a:hover { color: #FFD666; }
/* 把"底部对齐"所需的弹性间距放到"联系列表"与"Follow Us"之间（区块分隔），
   从而消除 Contact Us 标题与联系列表、以及 Follow Us 标题与图标之间的多余间距 */
.footer-contact + h4 { margin-top: auto; }

/* 社媒图标 + 二维码悬停 */
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 0; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; transition: all .2s;
    position: relative;
}
.footer-socials a:hover { background: var(--c-cta); color: #fff; transform: translateY(-2px); }

/* 二维码悬停弹层 */
.qr-pop {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
    text-align: center;
}
.qr-pop::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #fff;
}
.qr-pop .qr-img {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
    font-size: 40px;
}
.qr-pop .qr-label {
    font-size: 11px; font-weight: 600; color: #333;
}
.qr-pop .qr-id {
    font-size: 10.5px; color: #666; margin-top: 2px;
}
.footer-socials a:hover .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-col:last-child h4 { text-align: left; }

/* 展会轮播 */
.footer-exhibit-carousel {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    margin-top: auto;
}
.exhibit-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
    cursor: pointer;
}
.exhibit-slide.active { opacity: 1; }
.exhibit-slide-img {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px;
}
.exhibit-slide-poster {
    width: 100%; height: 100%;
    background-color: #fff;
    background-image: var(--poster-url);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.exhibit-slide-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 1;
    transition: background .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
}
.footer-exhibit-carousel:hover .exhibit-slide-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.98) 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,.5) 75%, transparent 98%);
}
.footer-exhibit-carousel:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.exhibit-slide-title {
    font-size: 13px; font-weight: 800; color: #1a1a1a;
    margin-bottom: 3px; line-height: 1.3;
    text-shadow: none;
    transition: color .3s ease, text-shadow .3s ease;
}
.footer-exhibit-carousel:hover .exhibit-slide-title {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.exhibit-slide-info {
    font-size: 11px; color: #333;
    line-height: 1.5;
    text-shadow: none;
    transition: color .3s ease, text-shadow .3s ease;
}
.footer-exhibit-carousel:hover .exhibit-slide-info {
    color: rgba(255,255,255,.9);
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.exhibit-slide-date {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 9px;
    background: var(--c-cta);
    color: #fff;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* 左右切换箭头 */
.exhibit-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(10,29,58,.6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 6;
    transition: all .2s ease;
    opacity: 0;
    backdrop-filter: blur(4px);
}
.footer-exhibit-carousel:hover .exhibit-arrow {
    opacity: 1;
}
.exhibit-arrow:hover {
    background: var(--c-cta);
    transform: translateY(-50%) scale(1.1);
}
.exhibit-arrow.prev { left: 8px; }
.exhibit-arrow.next { right: 8px; }

/* 轮播指示器 */
.exhibit-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 5;
}
.exhibit-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    transition: all .3s ease;
    cursor: pointer;
}
.exhibit-dot.active {
    background: #fff;
    width: 14px;
    border-radius: 3px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0; text-align: center;
    font-size: 12px; color: rgba(255,255,255,.5);
}


/* ===== Footer 3列 ===== */
.footer-grid-3col {
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 32px;
}

@media (max-width: 960px) {
    .exh-banner-single {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 20px;
    }
    .exh-banner-h3 { font-size: 19px; }
    .exh-marquee { min-height: 150px; }
    .exh-chip { min-width: 100%; }
    .footer-grid-3col {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (max-width: 560px) {
    .exhibition-section { padding: 22px 0 26px; }
    .exh-banner-single { padding: 16px 16px; gap: 12px; }
    .exh-banner-h3 { font-size: 17px; }
    .exh-banner-p { font-size: 12px; }
    .exh-banner-cta { gap: 8px; }
    .exh-banner-cta .btn { padding: 8px 14px; font-size: 12px; }
    .exh-marquee { min-height: 130px; }
    .exh-marquee-track { gap: 8px; }
    .exh-chip { padding: 9px 12px 10px; gap: 2px; }
    .exh-chip b { font-size: 12.5px; }
    .exh-chip i { font-size: 11px; }
    .footer-grid-3col {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 20px;
    }
}


/* =================================================================
   ===== FLOATING · 固定悬浮 WhatsApp / 回到顶部 =====
   ================================================================= */
.float-wrap {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    text-decoration: none;
    position: relative;
    border: 0;
}
.float-btn-icon {
    width: 22px;
    height: 22px;
    color: inherit;
}
.float-btn.wa {
    background: #25D366;
    color: #fff;
    animation: wa-pulse 2.5s ease-in-out infinite;
}
.float-btn.wa::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: .5;
    animation: wa-ring 2.5s ease-in-out infinite;
}
@keyframes wa-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes wa-ring {
    0% { transform: scale(1); opacity: .5; }
    100% { transform: scale(1.4); opacity: 0; }
}
.float-btn.wa:hover {
    background: #1fb855;
    transform: scale(1.08);
}
.float-btn.top {
    background: var(--c-primary);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}
.float-btn.top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.float-btn.top:hover {
    background: var(--c-primary-d);
    transform: translateY(-3px);
}
.wa-tip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10,37,64,.95);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
    pointer-events: none;
    backdrop-filter: blur(6px);
}
.wa-tip::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(10,37,64,.95);
}
.float-btn.wa:hover .wa-tip {
    opacity: 1;
    visibility: visible;
    right: 64px;
}

/* 聊天按钮 */
.float-btn.chat {
    background: linear-gradient(135deg, #165DFF, #0040c9);
    color: #fff;
}
.float-btn.chat:hover {
    background: linear-gradient(135deg, #1a6bff, #0048d9);
    transform: translateY(-3px);
}


/* =================================================================
   ===== RESPONSIVE · 媒体查询 （补充新板块适配）=====
   ================================================================= */
@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
}


