/* --- 1. 核心变量与基础重置 --- */
@charset "utf-8";
  :root {
        --primary-orange: #FF9800;
        --hover-orange: #E68A00;
        --wa-yellow: #FFB300; /* 优化后的手机端黄色 */
        --bg-light: #fdfdfd;
        --text-dark: #333;
        --text-grey: #666;
        --border-color: #eeeeee;
        --container-max-width: 1480px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-dark); line-height: 1.5; background: #fff; }

    /* --- 2. 布局容器 --- */
    .alignment-container {
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* --- 3. 顶部工具栏 (Top Bar) --- */
    .top-bar { 
        background: var(--bg-light); 
        border-bottom: 1px solid var(--border-color); 
        padding: 10px 0; 
        font-size: 13px;
        transition: all 0.3s ease;
    }
    .top-left { display: flex; gap: 30px; align-items: center; }
    .contact-item { color: var(--text-grey); text-decoration: none; transition: 0.3s; display: flex; align-items: center; }
    .contact-item:hover { color: var(--primary-orange); }
    
    /* WA 图标样式 */
    .wa-icon::before {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        background-color: currentColor;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.1 0-65.6-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-5.5-2.8-23.2-8.5-44.2-27.1-16.4-14.6-27.4-32.7-30.6-38.2-3.2-5.6-.3-8.6 2.4-11.3 2.5-2.6 5.5-6.5 8.3-9.8 2.8-3.2 3.7-5.5 5.5-9.2 1.9-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 13.2 5.8 23.5 9.2 31.5 11.8 13.3 4.2 25.4 3.6 35 2.2 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") no-repeat center;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.1 0-65.6-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-5.5-2.8-23.2-8.5-44.2-27.1-16.4-14.6-27.4-32.7-30.6-38.2-3.2-5.6-.3-8.6 2.4-11.3 2.5-2.6 5.5-6.5 8.3-9.8 2.8-3.2 3.7-5.5 5.5-9.2 1.9-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 13.2 5.8 23.5 9.2 31.5 11.8 13.3 4.2 25.4 3.6 35 2.2 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") no-repeat center;
        margin-right: 8px;
    }

    /* --- 4. 导航页眉 (Header) --- */
    header { background: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
    .nav-wrapper { height: 90px; }
    .logo img { height: 55px; width: auto; display: block; }

    /* PC 菜单样式 */
    .desktop-menu { display: flex; list-style: none; height: 100%; align-items: center; }
    .nav-item { position: relative; height: 100%; display: flex; align-items: center; }
    .nav-link { 
        text-decoration: none; color: var(--text-dark); font-weight: 700; 
        font-size: 16px; padding: 0 20px; transition: 0.3s; 
    }
    .nav-item:hover > .nav-link { color: var(--primary-orange); }

    .dropdown {
        position: absolute; top: 90%; left: 0; background: #fff; list-style: none; 
        padding: 10px 0; min-width: 220px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); 
        border-radius: 4px; opacity: 0; visibility: hidden; 
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform: translateY(10px);
    }
    .nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); top: 100%; }
    .dropdown a { display: block; padding: 12px 20px; color: #444; text-decoration: none; font-size: 14px; font-weight: 500; }
    .dropdown a:hover { background: #fffcf5; color: var(--primary-orange); }

    /* --- 5. 按钮 --- */
    .btn-inquiry {
        background: var(--primary-orange); color: #fff !important; text-decoration: none;
        height: 42px; line-height: 42px; padding: 0 25px; border-radius: 40px; 
        font-weight: 700; font-size: 14px; box-shadow: 0 4px 10px rgba(255,152,0,0.2); 
        transition: all 0.3s; display: inline-block;
    }

    /* --- 6. 移动端抽屉 --- */
    .mobile-toggle { font-size: 30px; cursor: pointer; color: var(--text-dark); display: none; }
    .mobile-drawer {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100%;
        background: #fff; z-index: 2000; transition: 0.4s ease; overflow-y: auto;
    }
    .mobile-drawer.active { right: 0; }
    .close-btn { font-size: 35px; cursor: pointer; color: var(--primary-orange); padding: 20px; text-align: right; }
    .m-link { display: block; padding: 15px 25px; color: var(--text-dark); text-decoration: none; font-weight: 700; border-bottom: 1px solid #f9f9f9; }
    .m-sub { list-style: none; background: #fafafa; display: none; }
    .m-sub.active { display: block; }

    /* --- 7. 手机端优化核心样式 --- */
    @media (max-width: 1024px) {
        /* 置顶固定 */
        .top-bar {
            position: sticky;
            top: 0;
            z-index: 1001;
            background: var(--wa-yellow); /* 手机端背景变黄 */
            padding: 8px 0;
            border-bottom: none;
        }

        /* 字体变白 */
        .contact-item.wa-only {
            color: #ffffff !important;
            font-size: 15px;
            font-weight: 600;
            justify-content: center;
            width: 100%;
        }

        /* 图标颜色同步变白 */
        .wa-icon::before {
            background-color: #ffffff;
            width: 18px;
            height: 18px;
        }

        /* 隐藏不必要元素 */
        .desktop-menu, .top-right, .contact-item:not(.wa-only), .btn-inquiry { display: none !important; }
        
        /* 导航栏跟随在 WA 栏下方 */
        header {
            top: 40px; /* 约等于 top-bar 的高度 */
        }

        .mobile-toggle { display: block; }
        .top-bar-container { justify-content: center !important; }
        .top-left { width: 100%; }
        
        .nav-wrapper { height: 60px; padding: 0 15px; }
        .logo img { height: 35px; }
    }

    @media (max-width: 1520px) {
        .alignment-container { padding: 0 20px; }
    }
/* 链接悬停效果 */
.footer-links a:hover,
.footer-contact li:hover span,
.social-icons a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}
.footer-links a i,
.social-icons a {
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: #ffaa00 !important;
    transform: translateY(-3px);
}

/* 响应式布局优化 */
@media screen and (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}
@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .footer-container {
        padding: 40px 20px 20px !important;
    }
    .footer-title {
        margin-bottom: 20px !important;
    }
    .social-icons {
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    .footer-contact li {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px !important;
    }
}