/* ============================================
   通用样式文件 - 包含全局样式、Header和Footer
   可在其他页面中复用
   ============================================ */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4DB6E3;
    --accent-color: #6FC5EB;
    --header-orange: #4DB6E3;
    --text-white: #FFFFFF;
    --text-dark: #333333;
    --bg-gray: #F5F5F5;
    --bg-dark: #3BA3D1;
    --header-height: 72px;
}

a {
    text-decoration: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* 响应式容器宽度适配 */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* ============================================
   顶部导航栏 (Header)
   ============================================ */
.header {
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    padding: 0;
    transition: box-shadow 0.2s ease;
}

/* 顶部深橙色信息条 */
.header-top {
    padding: 10px 0;
    background-color: var(--header-orange);
    color: var(--text-white);
    font-size: 14px;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header-top-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fefefe;
    line-height: 1;
    margin-right: 6px;
}

.header-top-item i {
    font-size: 14px;
    opacity: 0.95;
}

.header-top-separator {
    opacity: 0.6;
    margin: 0 4px;
}

.header-top a {
    color: var(--text-white);
    text-decoration: none;
}

.header-top a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.header-top-social {
    gap: 12px;
}

.header-social-link {
    color: var(--text-white);
    font-size: 14px;
}

.header-social-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* 主区域白色背景 */
.header-main {
    background-color: #fff;
}

.header-main-row {
    width: 100%;
}

.header-main-row .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.header-main-top {
    padding: 16px 0 14px;
}

.header-main-top .logo-icon img {
    max-height: 52px;
    width: auto;
}

.header-contact {
    text-align: right;
}

.header-contact-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 2px;
    font-family: Georgia, "Times New Roman", serif;
}

.header-contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.header-contact-whatsapp:hover {
    color: var(--bg-dark);
}

.header-contact-phone {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
    margin-top: 0;
    line-height: 1.1;
    font-family: Georgia, "Times New Roman", serif;
}

.header-main-nav {
    position: relative;
    min-height: 44px;
    padding: 0;
    border-top: none;
    border-bottom: 1px solid #ededed;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

/* 让导航区域的上边线铺满整个屏幕宽度 */
.header-main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    border-top: 1px solid #ededed;
    pointer-events: none;
}

.header-main-nav .nav-menu {
    margin-left: 0;
    flex: 1;
    min-height: 44px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
}

.header-main-top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle-mobile {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-weight: 700;
    font-size: 24px;
    color: var(--text-dark);
}

.logo-sub {
    font-weight: 400;
    font-size: 14px;
    color: var(--header-orange);
}

.nav-menu {
    display: flex;
    gap: 24px;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    margin-left: 0;
}

.nav-menu-mobile {
    display: none;
}

.nav-ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
}

#lihome a {
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link {
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.5px;
}

/* 顶部条内的链接（若有）保持白色 */
.header-top .nav-link {
    color: var(--text-white);
}

.nav-link:hover {
    color: var(--accent-color);
}

/* 主导航白色区域内的链接：深色文字 */
.header-main .nav-link,
.header-main #lihome a {
    color: var(--text-dark);
}

.header-main .nav-link:hover,
.header-main #lihome a:hover {
    color: var(--header-orange);
}

/* 当前页导航高亮：主题色文字+图标+下划线 */
.nav-link.active::after,
body .header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--header-orange);
}

body .header .header-main .nav-link.active,
body .header .header-main .nav-menu-desktop .nav-link.active {
    color: var(--header-orange) !important;
    font-weight: 600;
}

body .header .header-main .nav-link.active .nav-item-icon,
body .header .header-main .nav-menu-desktop .nav-link.active .nav-item-icon {
    color: var(--header-orange);
    opacity: 1;
}

body .header .header-main .nav-link.active::after {
    background-color: var(--header-orange);
}

/* 下拉菜单样式 */
.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link-dropdown i {
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-item-dropdown:hover .nav-link-dropdown i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-white);
    min-width: 230px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu-products {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--text-white);
}

/* Products 专用 mega menu - 相对视口居中 */
.dropdown-menu-products {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: min(1300px, calc(100vw - 56px));
    max-width: none;
    top: 186px;
    padding: 26px 30px 30px;
    display: flex;
    align-items: flex-start;
    gap: 42px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.dropdown-menu-products::before {
    display: none;
}

.products-mega-left {
    flex: 1.7;
}

.products-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 56px;
    row-gap: 28px;
}

.products-mega-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    column-gap: 32px;
    min-height: 90px;
    text-decoration: none;
}

.products-mega-thumb {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.products-mega-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.products-mega-title {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.35;
}

.products-mega-item:hover .products-mega-thumb img {
    transform: scale(1.03);
}

.products-mega-item:hover .products-mega-title {
    color: var(--header-orange);
}

.products-mega-right {
    flex: 0 0 300px;
    border-left: 1px solid #f0f0f0;
    padding-left: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
}

.products-mega-tag {
    font-size: 14px;
    color: #FF8F00;
    font-weight: 700;
    text-transform: none;
}

.products-mega-heading {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.products-mega-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-width: 118px;
    height: 40px;
    padding: 0 16px;
    background-color: #FFB300;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.products-mega-btn:hover {
    background-color: #ffa000;
    color: #fff;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-link:hover {
    background-color: var(--bg-gray);
    color: var(--accent-color);
}

/* 三级菜单样式 */
.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--text-white);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    margin-left: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateX(-10px);
    z-index: 1001;
}

.menu-item.LiLevel1 {
    position: relative;
}

.menu-item.LiLevel1:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--text-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 44px;
    margin-left: 20px;
}

/* 旧的 GET A QUOTE 按钮样式已不再使用，故移除 */

.btn-search {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 15px;
    cursor: pointer;
    height: 44px;
    padding: 0 14px 0 12px;
    transition: color 0.3s;
    border-left: 1px solid #ececec;
}

.header-main .btn-search {
    color: #555;
}

.header-lang {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
}

.header-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 13px;
    line-height: 1;
}

.header-lang-link i {
    font-size: 11px;
}

.header-lang-link .fa-chevron-down {
    font-size: 10px;
    opacity: 0.7;
}

.header-lang-link:hover {
    color: var(--header-orange);
}

.btn-search:hover,
.header-main .btn-search:hover {
    color: var(--header-orange);
}

/* 搜索弹层 */
.search-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(28, 43, 76, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-popup-overlay.is-open .search-popup-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.search-popup-box {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: var(--text-white);
    border-radius: 16px;
    padding: 28px 60px 28px 28px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform: scale(0.94) translateY(-16px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.search-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--bg-gray);
    color: #666;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}

.search-popup-close:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.search-popup-close:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.search-popup-box .header-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-popup-box .header-search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(77, 182, 227, 0.25);
}

.search-popup-input {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: var(--text-dark);
}

.search-popup-input::placeholder {
    color: #9ca3af;
}

.search-popup-submit {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.search-popup-submit:hover {
    background: var(--bg-dark);
    color: var(--text-white);
}

.search-popup-submit:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-toggle {
    display: none;
}

/* 移动端导航遮罩层（桌面端不显示） */
.nav-overlay {
    display: none;
}

/* ============================================
   底部区域 (Footer)
   ============================================ */
.footer {
    background: #2d2d2f;
    padding: 32px 0 20px;
    color: var(--text-white);
}

.footer .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 44px;
}

.footer-slogan {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-contact-btn {
    min-width: 132px;
    height: 42px;
    padding: 0 24px;
    border-radius: 24px;
    background: #c69354;
    color: var(--text-white);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease;
}

.footer-contact-btn:hover {
    background: #b27f41;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 48px;
    padding-bottom: 26px;
}

.footer-column {
    min-width: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-white);
    text-transform: none;
    letter-spacing: 0;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1f2022;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    background: #c69354;
    transform: translateY(-3px);
}

.footer-contact {
    max-width: 360px;
}

.footer-contact-line {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

.footer-contact-line a {
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact-line a:hover {
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #c69354;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.6;
}

/* ============================================
   右下角浮动按钮：返回顶部 + WhatsApp
   ============================================ */
.float-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-white);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.whatsapp-float {
    flex-shrink: 0;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #25D366;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    color: var(--text-white);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
}

/* ============================================
   响应式设计 - Header和Footer相关
   ============================================ */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-main-top-left {
        flex: 1;
        justify-content: space-between;
    }

    .nav-toggle-mobile {
        display: block;
    }

    .header-contact {
        display: none;
    }

    .header-main-nav {
        display: none;
    }

    .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    /* 桌面导航与按钮在移动端隐藏 */
    .nav-menu-desktop,
    .header-actions-desktop {
        display: none;
    }

    /* 移动端导航遮罩层 */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1099;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    body.nav-open .nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* 移动端侧边菜单 - 左侧 */
    .nav-menu-mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background-color: #fff;
        padding: 70px 0 24px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.18);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1100;
        overflow-y: auto;
    }

    body.nav-open .nav-menu-mobile {
        transform: translateX(0);
    }

    .logo {
        flex-shrink: 0;
    }

    .header-main-top {
        padding: 10px 0;
    }

    .header-main-top .logo-icon img {
        max-height: 48px;
    }

    .nav-toggle-mobile {
        color: var(--text-dark);
    }

    .nav-ul-mobile {
        flex-direction: column;
        width: 100%;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: flex-start;
    }

    .nav-ul-mobile>li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-ul-mobile>li:last-child {
        border-bottom: none;
    }

    .nav-item-dropdown,
    .nav-item-dropdown-mobile {
        width: 100%;
    }

    /* 移动端导航链接样式 - 左对齐 */
    .nav-ul-mobile .nav-link {
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
        width: 100%;
        padding: 15px 20px;
        color: var(--text-dark);
        font-size: 16px;
        font-weight: 500;
        text-align: left;
        transition: background-color 0.3s, color 0.3s;
    }

    .nav-ul-mobile .nav-link:hover {
        background-color: #f5f7fa;
        color: var(--header-orange);
    }

    .nav-ul-mobile .nav-link.active {
        background-color: #e9f6fd;
        color: var(--header-orange);
    }

    /* 移动端下拉菜单链接样式 */
    .nav-link-dropdown-mobile {
        display: flex;
        align-items: center;
        /* justify-content: space-between; */
        width: 100%;
    }

    .mobile-chevron {
        font-size: 12px;
        transition: transform 0.3s ease;
        margin-left: 10px;
        flex-shrink: 0;
    }

    .nav-item-dropdown-mobile.active .mobile-chevron,
    .has-submenu.active .mobile-chevron {
        transform: rotate(180deg);
    }

    /* 移动端二级菜单 - 默认隐藏 */
    .dropdown-menu-mobile {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        box-shadow: none;
        background-color: #f9fafb;
        list-style: none;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    .nav-item-dropdown-mobile.active .dropdown-menu-mobile {
        max-height: 1000px;
        opacity: 1;
        visibility: visible;
        padding: 5px 0;
    }

    .dropdown-menu-mobile>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu-mobile>li:last-child {
        border-bottom: none;
    }

    .dropdown-menu-mobile::before {
        display: none;
    }

    /* 移动端三级菜单 - 默认隐藏 */
    .dropdown-submenu-mobile {
        position: static;
        transform: none;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        box-shadow: none;
        background-color: #f2f4f8;
        list-style: none;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    .has-submenu.active .dropdown-submenu-mobile {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 5px 0;
    }

    .dropdown-submenu-mobile>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-submenu-mobile>li:last-child {
        border-bottom: none;
    }

    .dropdown-submenu-mobile::before {
        display: none;
    }

    /* 移动端下拉菜单链接样式 - 左对齐 */
    .dropdown-menu-mobile .dropdown-link,
    .dropdown-submenu-mobile .dropdown-link {
        padding: 12px 20px;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        font-size: 15px;
        transition: background-color 0.3s, color 0.3s;
    }

    .dropdown-menu-mobile .dropdown-link:hover,
    .dropdown-submenu-mobile .dropdown-link:hover {
        background-color: #edf3fb;
        color: var(--header-orange);
    }

    .dropdown-submenu-mobile .dropdown-link {
        padding-left: 40px;
        font-size: 14px;
    }

    .footer .container {
        padding: 0 24px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .header-main-top .logo-icon img {
        max-height: 42px;
    }

    .logo-text {
        font-size: 14px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
    }

    .float-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .whatsapp-btn {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .footer {
        padding: 28px 0 18px;
    }

    .footer .container {
        padding: 0 16px;
    }

    .footer-top {
        padding-bottom: 32px;
    }

    .footer-slogan,
    .footer-title {
        font-size: 16px;
    }

    .footer-contact-btn {
        min-width: 120px;
        height: 40px;
    }

    .footer-content {
        gap: 24px;
        padding-bottom: 20px;
    }

    .footer-bottom {
        padding-top: 14px;
    }
}

/* ============================================
   与 style.css 同页时的覆盖（保证 header/footer 使用本文件样式）
   ============================================ */
body .header a.nav-link,
body .header .nav-menu-desktop a.nav-link {
    text-decoration: none;
}

/* 白色主导航内的链接：深色文字，悬停/激活用橙色 */
body .header .header-main a.nav-link,
body .header .header-main .nav-menu-desktop a.nav-link {
    color: var(--text-dark);
}

body .header .header-main a.nav-link:hover,
body .header .header-main .nav-menu-desktop a.nav-link:hover {
    color: var(--header-orange);
}

.nav-item-icon {
    margin-right: 6px;
    opacity: 0.85;
}

.nav-item-icon-large {
    font-size: 18px;
}

body .header .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

body .footer .footer-links a,
body .footer .footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

body .footer .footer-links a:hover {
    color: var(--accent-color);
}