@charset "utf-8";
@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";
:root {
    --text-dark:       #111827;
    --text-gray:       #6b7280;
    --text-muted:      #9ca3af;
    --white:           #ffffff;
    --top-bar-bg:      #f8fafc;
    --bg-light:        #f9fafb;
    --border:          #e5e7eb;
    --max-width:       1480px;
    --ease:            cubic-bezier(0.4, 0, 0.2, 1);
    --transition:      all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a, a:link, a:visited, a:hover, a:active {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}

.top-bar {
    background: var(--top-bar-bg);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-gray);
}

.top-bar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    font-size: 13px;
}

.contact-item:hover {
    color: var(--primary-blue);
}

.contact-item .icon {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contact-item .icon .fab.fa-whatsapp {
    color: #25D366 !important;
    font-size: 15px;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border);
    background: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239ca3af'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    border-radius: 6px;
    padding: 5px 26px 5px 10px;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, color 0.2s;
}

.lang-select:hover,
.lang-select:focus {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

header {
    background: var(--white);
    box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.nav-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 85px;
}

.navbar-brand {
    padding-top: .5rem;
    padding-bottom: .5rem;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 3rem;
    object-fit: contain;
    display: block;
}

.desktop-menu {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: stretch;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: color 0.2s;
    letter-spacing: 0.1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px 3px 0 0;
    transition: left 0.25s var(--ease), right 0.25s var(--ease);
}

.nav-link:hover,
.nav-item:hover > .nav-link {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-item:hover > .nav-link::after {
    left: 18px;
    right: 18px;
}

/* ========== 修复关键：dropdown 不能用 overflow:hidden ========== */
.dropdown,
.sub-dropdown {
    position: absolute;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    list-style: none;
    min-width: 200px;
    max-width: 320px;
    width: auto;
    white-space: normal;
    word-break: break-word;
    padding: 6px 0;
    /* 移除 overflow: hidden，改为 visible，否则子菜单 sub-dropdown 会被裁剪 */
    overflow: visible;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
}

.dropdown {
    top: calc(100% + 6px);
    left: 0;
    transform: translateY(10px);
    border-top: 3px solid var(--primary-blue);
    border-radius: 0 0 10px 10px;
}

.sub-dropdown {
    top: -6px;
    left: calc(100% + 4px);
    transform: translateX(-8px);
    border-left: 3px solid var(--primary-blue);
    border-radius: 0 10px 10px 10px;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 0;
    width: 100%;
    height: 9px;
    background: transparent;
}

.sub-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -7px;
    width: 7px;
    height: 100%;
    background: transparent;
}

.nav-item:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0s;
}

.has-sub:hover > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0s;
}

.dropdown li a,
.sub-dropdown li a {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    line-height: 1.5;
}

.dropdown li:last-child a,
.sub-dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover,
.sub-dropdown li a:hover {
    background: var(--primary-light);
    color: var(--primary-blue);
    padding-left: 22px;
}

.desktop-menu .has-sub {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.desktop-menu .has-sub a {
    flex: 1;
}

.desktop-menu .has-sub .sub-arrow {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
    padding-right: 14px;
    margin-left: 4px;
    line-height: 1;
    transition: color 0.15s;
    flex-shrink: 0;
}

.desktop-menu .has-sub:hover {
    background: var(--primary-light);
}

.desktop-menu .has-sub:hover > a {
    color: var(--primary-blue);
    padding-left: 22px;
}

.desktop-menu .has-sub:hover > .sub-arrow {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.btn-inquiry {
    display: inline-flex;
    align-items: center;
    background: var(--primary-grad);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 3px 14px rgba(var(--primary-rgb), 0.28);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(var(--primary-rgb), 0.38);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-toggle:hover {
    background: var(--primary-light);
}

.mobile-toggle span {
    display: block;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: width 0.25s var(--ease);
}

.mobile-toggle span:nth-child(1) { width: 100%; }
.mobile-toggle span:nth-child(2) { width: 100%; }
.mobile-toggle span:nth-child(3) { width: 65%; }

.mobile-toggle:hover span:nth-child(3) {
    width: 100%;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 3000;
    transition: left 0.35s var(--ease);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 64px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--white);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.m-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: color 0.15s, background 0.15s;
}

.m-link:active,
.m-link:hover {
    background: var(--primary-light);
    color: var(--primary-blue);
}

.m-link a {
    flex: 1;
    color: inherit;
}

.m-link > span {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.25s var(--ease), color 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.m-link > span.rotated {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.m-sub {
    display: none;
    list-style: none;
    background: var(--bg-light);
}

.m-sub.active {
    display: block;
}

.m-sub > li {
    list-style: none;
}

.m-sub .m-link {
    padding-left: 40px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    border-bottom: 1px solid #efefef;
}

.m-sub .m-link-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px 14px 40px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    border-bottom: 1px solid #efefef;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.m-sub .m-link-parent:hover,
.m-sub .m-link-parent:active {
    background: var(--primary-light);
    color: var(--primary-blue);
}

.m-sub .m-link-parent a {
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.m-sub .m-link-parent > span {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.25s var(--ease), color 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}

.m-sub .m-link-parent > span.rotated {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.m-sub-third {
    display: none;
    list-style: none;
    background: #eef0f4;
}

.m-sub-third.active {
    display: block;
}

.m-sub-third li {
    list-style: none;
}

.m-sub-third li a {
    display: block;
    padding: 12px 24px 12px 56px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-gray);
    border-bottom: 1px solid #e5e7ea;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.m-sub-third li:last-child a {
    border-bottom: none;
}

.m-sub-third li a:hover,
.m-sub-third li a:active {
    background: var(--primary-light);
    color: var(--primary-blue);
    padding-left: 62px;
}

.close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

.drawer-contact {
    padding: 28px 24px 36px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    background: var(--bg-light);
}

.drawer-contact-label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.drawer-contact-phone {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.drawer-contact-email {
    color: var(--text-gray);
    font-size: 14px;
}

.slider {
    position: relative;
    height: 750px;
    background: #000;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 1.2s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.slide-content {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    position: relative;
    z-index: 20;
    color: #fff;
}

.slide-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p,
.slide-content li {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: background 0.25s, border-color 0.25s;
}

.arrow:hover {
    background: rgba(var(--primary-rgb), 0.85);
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-50%);
}

.prev { left: 30px; }
.next { right: 30px; }

.dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30;
}

.dot {
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.35s;
    background: transparent;
}

.dot.active {
    background: var(--white);
    border-color: var(--white);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 1480px) {
    .top-bar {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: var(--primary-grad);
        color: #fff;
        border-bottom: none;
        z-index: 2100;
        height: 44px;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    .top-bar-container {
        justify-content: center;
        padding: 0 20px;
        height: 100%;
    }

    .top-right,
    .contact-item:not(:first-child) {
        display: none !important;
    }

    .contact-item:first-child {
        color: #fff !important;
        font-weight: 700;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .contact-item:first-child .icon {
        display: none;
    }

    .contact-item:first-child::before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        background-color: #fff;
        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path 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.6z"/></svg>') no-repeat center;
        mask-size: contain;
        -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path 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.6z"/></svg>') no-repeat center;
        -webkit-mask-size: contain;
    }

    header {
        top: 44px;
        margin-top: 44px;
    }

    .nav-wrapper {
        height: 56px;
        padding: 0 16px;
    }

    .logo img {
        height: 2rem;
    }

    .navbar-brand {
        padding: 0;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    header .btn-inquiry {
        display: none;
    }

    .slider {
        height: 550px;
    }

    .arrow {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    /* 手机端隐藏顶部WA号码栏 + header上移填补（追加 2026-08-08） */
    .top-bar {
        display: none !important;
    }
    header {
        top: 0 !important;
        margin-top: 0 !important;
    }
    .nav-link {
        padding: 0;
    }

    .m-link {
        padding: 12px 20px;
        font-size: 15px;
    }

    .m-sub .m-link {
        padding-left: 36px;
        font-size: 13px;
    }

    .m-sub .m-link-parent {
        padding: 12px 20px 12px 36px;
        font-size: 13px;
    }

    .m-sub-third li a {
        padding: 10px 20px 10px 50px;
        font-size: 12px;
    }

    .drawer-header {
        height: 54px;
        padding: 0 16px;
    }
}
            .v6-lang-wrap{position:relative;display:inline-block;font-size:13px;font-family:inherit;z-index:99999}
            .v6-lang-btn{display:flex;align-items:center;gap:6px;padding:5px 12px;background:transparent;border:none;color:inherit;cursor:pointer;font-size:13px;font-family:inherit;white-space:nowrap;transition:opacity .2s}
            .v6-lang-btn:hover{opacity:.8}
            .v6-lang-btn .v6-lc{font-weight:700;font-size:11px;background:rgba(0,0,0,.06);padding:2px 5px;border-radius:3px;letter-spacing:.5px;text-transform:uppercase}
            .v6-lang-btn .v6-arrow{font-size:10px;transition:transform .2s}
            .v6-lang-wrap.open .v6-arrow{transform:rotate(180deg)}
            .v6-lang-dd{display:none;position:absolute;top:100%;right:0;margin-top:6px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.15);min-width:180px;max-height:400px;overflow-y:auto;padding:6px 0;list-style:none;z-index:99999}
            .v6-lang-wrap.open .v6-lang-dd{display:block}
            .v6-lang-dd li a{display:flex;align-items:center;gap:8px;padding:8px 14px;color:#374151;font-size:12.5px;text-decoration:none;transition:background .15s;white-space:nowrap}
            .v6-lang-dd li a:hover{background:#f3f4f6}
            .v6-lang-dd li.v6-active a{background:#eff6ff;color:#2563eb;font-weight:600}
            .v6-lang-dd li a .v6-lc{font-weight:700;font-size:10px;color:#6b7280;background:#f3f4f6;padding:2px 5px;border-radius:3px;min-width:22px;text-align:center;text-transform:uppercase;letter-spacing:.3px}
            .v6-lang-dd li.v6-active a .v6-lc{background:#2563eb;color:#fff}
            .v6-lang-dd li a .v6-ln{flex:1}
            .v6-lang-dd::-webkit-scrollbar{width:4px}
            .v6-lang-dd::-webkit-scrollbar-track{background:transparent}
            .v6-lang-dd::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}
            .v6-m-lang-wrap{position:relative;display:none;font-size:12px;font-family:inherit}
            .v6-m-lang-btn{display:flex;align-items:center;gap:5px;padding:5px 10px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;color:#374151;cursor:pointer;font-size:12px;font-family:inherit;white-space:nowrap;transition:all .2s}
            .v6-m-lang-btn:hover{background:#e5e7eb}
            .v6-m-lang-btn .v6-lc{font-weight:700;font-size:10px;background:#2563eb;color:#fff;padding:2px 5px;border-radius:3px;letter-spacing:.5px;text-transform:uppercase}
            .v6-m-lang-btn .v6-arrow{font-size:9px;transition:transform .2s;color:#9ca3af}
            .v6-m-lang-wrap.open .v6-arrow{transform:rotate(180deg)}
            .v6-m-lang-dd{display:none;position:absolute;top:calc(100% + 4px);left:0;right:auto;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.15);min-width:170px;max-height:280px;overflow-y:auto;padding:4px 0;list-style:none;z-index:99999}
            .v6-m-lang-wrap.open .v6-m-lang-dd{display:block}
            .v6-m-lang-dd li a{display:flex;align-items:center;gap:6px;padding:7px 12px;color:#374151;font-size:12px;text-decoration:none;transition:background .15s;white-space:nowrap}
            .v6-m-lang-dd li a:hover{background:#f3f4f6}
            .v6-m-lang-dd li.v6-active a{background:#eff6ff;color:#2563eb;font-weight:600}
            .v6-m-lang-dd li a .v6-lc{font-weight:700;font-size:9px;color:#6b7280;background:#f3f4f6;padding:1px 4px;border-radius:3px;min-width:20px;text-align:center;text-transform:uppercase}
            .v6-m-lang-dd li.v6-active a .v6-lc{background:#2563eb;color:#fff}
            .v6-m-lang-dd::-webkit-scrollbar{width:3px}
            .v6-m-lang-dd::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}
            @media(max-width:991px){.v6-m-lang-wrap{display:block}}
/* ===== 导航栏背景跟随色系（追加覆盖块 · 2026-08-07） ===== */
/* header 背景使用主色渐变，条上文字/图标改白以保证可读；删除本段即可回滚 */
header {
    background: var(--primary-grad);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.25);
}
.nav-link,
.nav-link:hover,
.nav-item:hover > .nav-link {
    color: #fff;
}
.nav-link::after {
    background: #fff;
}
.mobile-toggle span {
    background: #fff;
}
.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}
header .btn-inquiry {
    background: #fff;
    color: var(--primary-dark) !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}
header .btn-inquiry:hover {
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}
/* ===== 覆盖块结束 ===== */

/* ===== 导航文字色修正（追加 · 2026-08-07） ===== */
/* 提高优先级，防止后加载的 CSS 把导航文字改回深色 */
header .nav-link,
header .nav-link:link,
header .nav-link:visited,
header .nav-link:hover,
header .nav-item:hover > .nav-link {
    color: #fff !important;
}
header .nav-link::after {
    background: #fff !important;
}
/* ===== 修正块结束 ===== */

/* ===== 导航栏高度缩小（追加 · 2026-08-07） ===== */
.nav-wrapper {
    height: 64px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.logo img {
    height: 48px !important;
}
header .btn-inquiry {
    padding: 8px 20px !important;
}
/* ===== 缩高块结束 ===== */

/* ===== 顶部联系信息栏缩高（追加 · 2026-08-07） ===== */
.top-bar-container {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
/* ===== 顶栏缩高块结束 ===== */

/* fix2 2026-08-27: logo 层级被nav-wrapper压制+冷缓存宽度塌陷 双修复(权威版,置于文末覆盖前面) */
.logo{position:relative!important;z-index:999!important}
.logo img{max-width:none!important;width:160px!important;height:48px!important;object-fit:contain!important;position:relative!important;z-index:999!important}

/* 下拉菜单宽度自适应分类标题, 不换行 2026-09-11 */
.dropdown,.sub-dropdown{max-width:none!important;width:max-content!important;white-space:nowrap!important;}
.dropdown li a,.sub-dropdown li a{white-space:nowrap!important;}
.desktop-menu .has-sub a{white-space:nowrap!important;}

/* ===== 模块化模板 前台收紧(与 home-module.css 同步) 2026-09-12 ===== */
.hm-image-text,.hm-feature,.hm-process,.hm-exhibition,.hm-customers,.hm-video,.hm-team,.hm-timeline,.hm-cert,.hm-faq{padding-top:42px!important;padding-bottom:42px!important}
.hm-sec-header{margin-bottom:26px!important}
.hm-sec-header p{margin-top:8px!important}
.itx-grid{gap:34px!important}
.itx-rich{line-height:1.7!important}
.itx-text h2{margin-bottom:12px!important}
@media(max-width:768px){.hm-image-text,.hm-feature,.hm-process,.hm-exhibition,.hm-customers,.hm-video,.hm-team,.hm-timeline,.hm-cert,.hm-faq{padding-top:26px!important;padding-bottom:26px!important}.hm-sec-header{margin-bottom:18px!important}}

/* ===== HM_BEAUTY_V1 首页DIY模块统一美化 A: 配色跟主题 / 标题体系 / 圆角阴影 / 手机适配 (2026-09-27) ===== */
/* 老实例的 HTML 已存进数据库, 这里只用 CSS 覆盖, 不用重新保存模块。
   前缀 section[class*=hm-] 比模块自带的作用域样式多一级, 可以压过它们。 */
.hm-sol,.hm-hero,.hm-image-text,.hm-feature,.hm-process,.hm-exhibition,.hm-customers,.hm-video,
.hm-stats,.hm-team,.hm-timeline,.hm-cta,.hm-cert,.hm-partner,.hm-faq,.hm-about,.hm-about-video,
.hm-about-grand,.hm-contact,.hm-text{
  --hmb-p:var(--primary-blue,#0056b3);
  --hmb-pd:var(--primary-dark,var(--hover-blue,#004494));
  --hmb-rgb:var(--primary-rgb,0,86,179);
  --hmb-ink:#16212c;
  --hmb-mute:#6b7682;
  --hmb-line:#e4e8ec;
  --hmb-soft:#f5f7f9;
  --hmb-sh:0 1px 2px rgba(16,24,40,.04),0 6px 18px rgba(16,24,40,.06);
  --hmb-sh2:0 16px 36px rgba(16,24,40,.12);
  --hm-primary:var(--hmb-p);
  --hm-hover:var(--hmb-pd);
  --hm-dark:var(--hmb-pd);
  --hm-shadow:var(--hmb-sh);
  --hm-shadow-hover:var(--hmb-sh2);
}

/* ---------- 1. 标题体系: 统一居中、字号、字重; 去掉旧版标题下横条、产品分类左竖线和全大写 ---------- */
section[class*=hm-] .hm-sec-header,
section[class*=hm-] .sol-header,
section[class*=hm-] .ftx-header,
section[class*=hm-] .csx-header,
section[class*=hm-] .faqx-header,
section[class*=hm-] .conx-header,
section[class*=hm-] .abg-head{
  text-align:center;max-width:880px;
  margin:0 auto clamp(20px,2.2vw,34px)!important;
  padding:0!important;border:0!important;
}
section[class*=hm-] .hm-sec-header h2,
section[class*=hm-] .sol-header h2,
section[class*=hm-] .ftx-header h2,
section[class*=hm-] .csx-header h2,
section[class*=hm-] .faqx-header h2,
section[class*=hm-] .conx-header h2,
section[class*=hm-] .txx-header h2,
section[class*=hm-] .abg-title{
  display:block;margin:0;padding:0;
  font-size:clamp(26px,1.4vw + 15px,36px)!important;
  font-weight:800;line-height:1.22;letter-spacing:-.01em;
  text-transform:none;color:var(--hmb-ink);
}
section[class*=hm-] .hm-sec-header h2::after{display:none!important}
section.hm-text-center[class] .txx-header h2::after{display:none}
section.hm-text-left[class] .txx-header h2::after{width:40px;height:3px;background:var(--hmb-p)}
section[class*=hm-] .hm-sec-header p,
section[class*=hm-] .sol-header p,
section[class*=hm-] .ftx-header p,
section[class*=hm-] .csx-header p,
section[class*=hm-] .conx-header p{
  max-width:680px;margin:10px auto 0!important;
  font-size:16px;line-height:1.7;color:var(--hmb-mute);
}
/* 数据统计旧版(无样式后缀)是主题色底, 标题保持白字 */
section.hm-stats:not([class*=hm-stats-]) .hm-sec-header h2{color:#fff}
section.hm-stats:not([class*=hm-stats-]) .hm-sec-header p{color:rgba(255,255,255,.85)}
section[class*=hm-] .hm-cert-card{border-radius:12px}
section[class*=hm-] .hm-tl-card{border-radius:12px}

/* 图文 / 关于我们: 栏内标题左对齐, 统一一条 40x3 主题色短线 */
section[class*=hm-] .itx-text h2,
section[class*=hm-] .hm-it-text h2,
section[class*=hm-] .hm-about-text h2,
section[class*=hm-] .avd-title{
  font-size:clamp(24px,1.3vw + 14px,34px)!important;
  font-weight:800;line-height:1.25;letter-spacing:-.01em;color:var(--hmb-ink);
}
section[class*=hm-] .hm-it-text h2::after,
section[class*=hm-] .hm-about-text h2::after{width:40px;height:3px;background:var(--hmb-p)}
section.hm-it-classic[class] .itx-text h2::after,
section.hm-it-card[class] .itx-text h2::after{
  content:"";display:block;width:40px;height:3px;border-radius:2px;margin-top:14px;background:var(--hmb-p);
}
section[class*=hm-] .avd-bar{width:40px!important;height:3px!important;margin:18px 0 22px!important;background:var(--hmb-p)!important}
section[class*=hm-] .abg-bar{display:none!important}
section[class*=hm-] .avd-eyebrow,
section[class*=hm-] .abg-eyebrow{color:var(--hmb-p);letter-spacing:2px}
section.hm-it-bordered[class] .itx-text{border-left-color:var(--hmb-p)}

/* ---------- 2. 按钮: 统一主题色、8px 小圆角 ---------- */
section[class*=hm-] .hm-btn,
section[class*=hm-] .hrx-btn,
section[class*=hm-] .itx-btn,
section[class*=hm-] .avd-btn,
section[class*=hm-] .abg-btn,
section[class*=hm-] .conx-btn,
section.hm-cta-simple[class] .ctax-btn{
  display:inline-block;padding:13px 32px!important;border:0!important;border-radius:8px!important;
  background:var(--hmb-p)!important;color:#fff!important;
  font-size:15px;font-weight:600;letter-spacing:.2px;text-decoration:none!important;
  box-shadow:0 8px 20px rgba(var(--hmb-rgb),.24)!important;
  transition:background .2s,transform .2s,box-shadow .2s;
}
section[class*=hm-] .hm-btn:hover,
section[class*=hm-] .hrx-btn:hover,
section[class*=hm-] .itx-btn:hover,
section[class*=hm-] .avd-btn:hover,
section[class*=hm-] .abg-btn:hover,
section[class*=hm-] .conx-btn:hover,
section.hm-cta-simple[class] .ctax-btn:hover{
  background:var(--hmb-pd)!important;transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(var(--hmb-rgb),.32)!important;
}
/* 主题色底上的按钮改白底 */
section.hm-cta[class] .hm-btn,
section.hm-hero.no-bg[class] .hm-btn{background:#fff!important;color:var(--hmb-p)!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}
section.hm-cta[class] .hm-btn:hover,
section.hm-hero.no-bg[class] .hm-btn:hover{background:#fff!important;color:var(--hmb-pd)!important}
section[class*=hm-] .ctax-btn{border-radius:8px!important;padding:15px 38px!important;font-weight:700}
section.hm-cta-gradient[class] .ctax-btn{color:var(--hmb-p)!important}
section[class*=hm-] a:focus-visible{outline:2px solid var(--hmb-p);outline-offset:3px}

/* ---------- 3. 写死的绿色/深蓝 → 跟随后台主题色 ---------- */
/* Hero */
section.hm-hero-center[class] .hrx-overlay{background:linear-gradient(180deg,rgba(10,16,24,.42),rgba(10,16,24,.7))}
section.hm-hero-left[class] .hrx-overlay{background:linear-gradient(90deg,rgba(10,16,24,.8),rgba(10,16,24,.22))}
section.hm-hero-minimal[class]{background:linear-gradient(180deg,rgba(var(--hmb-rgb),.06),rgba(var(--hmb-rgb),.015)),#fff}
section.hm-hero-minimal[class] h1::after{background:var(--hmb-p)}
section[class*=hm-] .hrx-media{background-color:var(--hmb-soft);border-radius:12px}
section.hm-hero.has-bg[class]::before{background:linear-gradient(180deg,rgba(10,16,24,.35),rgba(10,16,24,.64))}

/* 产品分类 */
section[class*=hm-] .sol-card{border-radius:12px!important;background:var(--hmb-soft);box-shadow:var(--hmb-sh)!important}
section[class*=hm-] .sol-ov{
  padding:clamp(18px,2vw,32px)!important;
  background:linear-gradient(to top,rgba(10,16,24,.84) 0%,rgba(10,16,24,.3) 45%,rgba(10,16,24,0) 72%)!important;
}
section[class*=hm-] .sol-card:hover .sol-ov{
  background:linear-gradient(to top,rgba(var(--hmb-rgb),.92) 0%,rgba(var(--hmb-rgb),.4) 55%,rgba(10,16,24,.06) 100%)!important;
}
section[class*=hm-] .sol-num{display:none!important}
section[class*=hm-] .sol-title{font-size:clamp(18px,.8vw + 10px,22px)!important;font-weight:700;line-height:1.3;margin:0 0 8px}
section[class*=hm-] .sol-big .sol-title{font-size:clamp(22px,1.2vw + 12px,30px)!important}
section[class*=hm-] .sol-link{font-size:12.5px;letter-spacing:1.5px;opacity:.9}

/* 优势 */
section[class*=hm-] .ftx-num,
section[class*=hm-] .hm-card-num{display:none}
section[class*=hm-] .ftx-icon{color:var(--hmb-p)}
section[class*=hm-] .ftx-card,
section[class*=hm-] .hm-feature-card{border-radius:12px;border-color:var(--hmb-line)}
section.hm-feature-cards[class] .ftx-card{box-shadow:var(--hmb-sh)}
section.hm-feature-gradient[class] .ftx-card{background:linear-gradient(160deg,rgba(var(--hmb-rgb),.07),#fff 70%)}
section[class*=hm-] .ftx-card:hover{border-color:var(--hmb-p)}

/* 流程 */
section[class*=hm-] .csx-badge{background:linear-gradient(135deg,var(--hmb-p),var(--hmb-pd));box-shadow:0 8px 18px rgba(var(--hmb-rgb),.22)}
section[class*=hm-] .hm-step-badge{box-shadow:0 8px 18px rgba(var(--hmb-rgb),.22)}
section[class*=hm-] .csx-track::before{background:var(--hmb-line)}
section.hm-cp-cards[class] .csx-step{border-radius:12px;border-color:var(--hmb-line);box-shadow:var(--hmb-sh)}

/* 展会 */
section[class*=hm-] .exc-card,
section[class*=hm-] .exo-card,
section[class*=hm-] .exl-row,
section[class*=hm-] .hm-exhib-card{border-radius:12px;border-color:var(--hmb-line)}
section[class*=hm-] .exc-card,
section[class*=hm-] .exo-card{box-shadow:var(--hmb-sh)}
section[class*=hm-] .exo-ov{background:linear-gradient(to top,rgba(10,16,24,.88) 0%,rgba(10,16,24,.12) 55%,rgba(10,16,24,0) 100%)}
section[class*=hm-] .exl-meta span{background:var(--hmb-soft)}
section[class*=hm-] .exl-date{color:var(--hmb-p)!important;background:rgba(var(--hmb-rgb),.08)!important}

/* 客户合影 */
section[class*=hm-] .cp-cap{background:linear-gradient(to top,rgba(10,16,24,.8),rgba(10,16,24,0))}
section.hm-cp-overlay[class] .cp-cap{background:linear-gradient(to top,rgba(10,16,24,.82) 0%,rgba(10,16,24,0) 60%)}
section[class*=hm-] .cp-item,
section[class*=hm-] .hm-photo-item{border-radius:12px}

/* 视频 */
section[class*=hm-] .vix-wrap,
section[class*=hm-] .hm-video-wrap,
section[class*=hm-] .avd-frame{border-radius:12px}
section.hm-vi-framed[class] .vix-wrap{border-color:var(--hmb-line)}
section.hm-vi-framed[class] .vix-wrap video{border-radius:8px}
section[class*=hm-] .vix-empty,
section[class*=hm-] .avd-empty{background:var(--hmb-soft)}

/* 数据统计 */
section[class*=hm-] .stx-num{color:var(--hmb-p)}
section.hm-stats-boxed[class] .stx-item{border-radius:12px;border-color:var(--hmb-line)}
section.hm-stats-split[class] .stx-grid{background:#fff;border-color:var(--hmb-line);border-radius:12px}
section.hm-stats-split[class] .stx-item+.stx-item::before{background:var(--hmb-line)}

/* 团队 */
section[class*=hm-] .tm-card .tm-pos{color:var(--hmb-p)}
section[class*=hm-] .tm-ov .tm-pos{color:rgba(255,255,255,.86)}
section[class*=hm-] .tm-card:hover .tm-photo{border-color:var(--hmb-p)}
section[class*=hm-] .tm-ov{background:linear-gradient(to top,rgba(10,16,24,.9) 0%,rgba(10,16,24,.1) 55%,rgba(10,16,24,0) 100%)}
section[class*=hm-] .tm-noimg{background:var(--hmb-soft)}
section.hm-team-card[class] .tm-card,
section.hm-team-overlay[class] .tm-card,
section[class*=hm-] .hm-team-card{border-radius:12px;box-shadow:var(--hmb-sh)}

/* 时间轴 */
section[class*=hm-] .tlx-year{color:var(--hmb-p)}
section[class*=hm-] .tlx-dot{background:var(--hmb-p);box-shadow:0 0 0 2px var(--hmb-p)}
section[class*=hm-] .tlx-track::before{background:var(--hmb-line)}
section[class*=hm-] .tlx-card{border-color:var(--hmb-line);border-top-color:var(--hmb-p);border-radius:12px}

/* CTA */
section.hm-cta-gradient[class]{
  background-image:radial-gradient(circle at 88% 18%,rgba(255,255,255,.16),rgba(255,255,255,0) 42%),
    linear-gradient(120deg,var(--hmb-p) 0%,var(--hmb-pd) 100%);
}
section.hm-cta-image[class]{background-image:linear-gradient(120deg,var(--hmb-p) 0%,var(--hmb-pd) 100%)}
section.hm-cta-image[class] .ctax-overlay{background:linear-gradient(90deg,rgba(10,16,24,.8),rgba(var(--hmb-rgb),.42))}
section.hm-cta-simple[class]{background:rgba(var(--hmb-rgb),.06);border:0}
section.hm-cta-simple[class] .ctax-text h2{color:var(--hmb-ink)}
section[class*=hm-] .ctax-text h2{font-size:clamp(24px,1.4vw + 12px,34px)}
section.hm-cta.has-bg[class]::before{background:linear-gradient(90deg,rgba(10,16,24,.78),rgba(var(--hmb-rgb),.42))}

/* 证书 / 合作伙伴 */
section[class*=hm-] .ct-card,
section[class*=hm-] .ct-imgbox{border-color:var(--hmb-line)}
section.hm-cert-boxed[class] .ct-card,
section.hm-cert-carousel[class] .ct-imgbox{border-radius:12px}
section.hm-cert-carousel[class] .ct-imgbox{background:var(--hmb-soft)}
section.hm-pn-wall[class] .pn-wall{background:var(--hmb-line);border-color:var(--hmb-line)}
section.hm-pn-boxed[class] .pn-item{border-color:var(--hmb-line);border-radius:12px}

/* FAQ */
section[class*=hm-] .faqx-ico::before,
section[class*=hm-] .faqx-ico::after{background:var(--hmb-p)}
section[class*=hm-] .faqx-item{border-color:var(--hmb-line);border-radius:12px}
section.hm-faq-line[class] .faqx-item{border-radius:0}
section[class*=hm-] .faqx-item[open] summary{color:var(--hmb-p)}
section.hm-faq-plus[class] .faqx-item[open]{border-color:var(--hmb-p);box-shadow:0 8px 24px rgba(var(--hmb-rgb),.1)}
section.hm-faq-filled[class] .faqx-item{background:rgba(var(--hmb-rgb),.05)}
section.hm-faq-filled[class] .faqx-item[open]{background:rgba(var(--hmb-rgb),.09)}

/* 关于我们 */
section.hm-about-grand[class]{background:linear-gradient(180deg,rgba(var(--hmb-rgb),.03),rgba(var(--hmb-rgb),.07)),#fff}
section[class*=hm-] .abg-media img,
section[class*=hm-] .hm-about-image img,
section[class*=hm-] .hm-it-image img,
section[class*=hm-] .itx-image img{border-radius:12px}
section.hm-it-card[class] .itx-grid{border-radius:16px}

/* 联系 */
section[class*=hm-] .conx-item .conx-ic{background:rgba(var(--hmb-rgb),.1)}
section.hm-con-cards[class] .conx-item{background:var(--hmb-soft);border-color:var(--hmb-line);border-radius:12px}
section[class*=hm-] .hm-contact-item{border-radius:12px}

/* 卡片悬停统一: 上浮 4px + 统一阴影 */
section.hm-feature-cards[class] .ftx-card:hover,
section.hm-cp-cards[class] .csx-step:hover,
section[class*=hm-] .exc-card:hover,
section.hm-team-card[class] .tm-card:hover,
section.hm-stats-boxed[class] .stx-item:hover,
section.hm-cert-boxed[class] .ct-card:hover,
section.hm-pn-boxed[class] .pn-item:hover,
section[class*=hm-] .tlx-card:hover,
section[class*=hm-] .hm-feature-card:hover,
section[class*=hm-] .hm-exhib-card:hover,
section[class*=hm-] .hm-team-card:hover{transform:translateY(-4px);box-shadow:var(--hmb-sh2)}

/* ---------- 4. 平板 / 手机 ---------- */
@media (max-width:1024px){
  /* 产品分类: 两列 + 固定比例, 不再忽高忽低; 第一张大图通栏 */
  section[class*=hm-] .sol-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:none!important;grid-auto-rows:auto!important;gap:14px!important;
  }
  section[class*=hm-] .sol-card{aspect-ratio:4/3!important;height:auto!important}
  section[class*=hm-] .sol-big{grid-column:1 / -1!important;grid-row:auto!important;aspect-ratio:2/1!important}
  section[class*=hm-] .sol-img{position:absolute;inset:0}
  section[class*=hm-] .sol-desc{
    opacity:1!important;max-height:3.2em!important;margin-bottom:10px!important;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
}
@media (max-width:768px){
  section[class*=hm-] .hm-sec-header p,
  section[class*=hm-] .sol-header p,
  section[class*=hm-] .ftx-header p,
  section[class*=hm-] .csx-header p,
  section[class*=hm-] .conx-header p{font-size:14.5px}
  section[class*=hm-] .cp-cap,
  section[class*=hm-] .hm-photo-cap{opacity:1!important;transform:none!important;font-size:12.5px;padding:18px 10px 8px}
  section[class*=hm-] .ftx-card,
  section[class*=hm-] .hm-feature-card{padding:24px 20px}
  section[class*=hm-] .ftx-grid,
  section[class*=hm-] .hm-feature-grid,
  section[class*=hm-] .exc-grid,
  section[class*=hm-] .exo-grid{gap:14px}
  section[class*=hm-] .itx-grid{gap:24px!important}
  section[class*=hm-] .avd-inner{gap:24px!important}
  section[class*=hm-] .ctax-inner{padding:40px 20px!important}
  section[class*=hm-] .stx-num{font-size:34px!important}
  section[class*=hm-] .stx-suffix{font-size:20px}
  section[class*=hm-] .csx-badge,
  section[class*=hm-] .hm-step-badge{width:56px;height:56px}
  section[class*=hm-] .csx-icon,
  section[class*=hm-] .hm-step-icon{font-size:24px}
}
@media (max-width:600px){
  /* 产品分类: 手机两列方卡 */
  section[class*=hm-] .sol-grid{gap:10px!important}
  section[class*=hm-] .sol-card{aspect-ratio:1/1!important}
  section[class*=hm-] .sol-big{aspect-ratio:16/10!important}
  section[class*=hm-] .sol-ov{padding:14px!important}
  section[class*=hm-] .sol-title{font-size:15px!important;margin-bottom:4px!important}
  section[class*=hm-] .sol-big .sol-title{font-size:20px!important}
  section[class*=hm-] .sol-card:not(.sol-big) .sol-desc{display:none!important}
  section[class*=hm-] .sol-link{font-size:11px!important;letter-spacing:1px!important}
  /* 图片类网格统一两列 */
  section[class*=hm-] .cp-wall,
  section[class*=hm-] .hm-photo-wall,
  section[class*=hm-] .tm-grid,
  section[class*=hm-] .hm-team-grid,
  section[class*=hm-] .ct-wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  section[class*=hm-] .hm-cert-wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  section.hm-cert-boxed[class] .ct-imgbox{height:130px}
  section.hm-cert-carousel[class] .ct-card{flex-basis:200px}
  section[class*=hm-] .tm-card h3,
  section[class*=hm-] .hm-team-card h3{font-size:15px}
  section[class*=hm-] .hm-team-card{padding:20px 12px}
  section[class*=hm-] .hm-team-photo{width:84px;height:84px}
  /* 合作伙伴: 三列 */
  section[class*=hm-] .pn-wall{grid-template-columns:repeat(3,minmax(0,1fr))}
  section.hm-pn-boxed[class] .pn-wall{gap:10px}
  section[class*=hm-] .pn-item{height:78px;padding:12px}
  section[class*=hm-] .pn-item img{max-height:40px}
  section[class*=hm-] .hm-logo-item{flex:0 0 calc(33.333% - 15px);min-width:0;padding:12px}
  /* 数据: 两列 */
  section.hm-stats-grid[class] .stx-grid,
  section.hm-stats-boxed[class] .stx-grid,
  section[class*=hm-] div.hm-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  section.hm-stats-split[class] .stx-item{flex:0 0 50%;min-width:0;padding:12px 8px}
  section.hm-stats-boxed[class] .stx-item{padding:22px 10px}
  /* 流程: 两列 */
  section[class*=hm-] .hm-process-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px}
  section[class*=hm-] .hm-process-step{padding:0 6px}
  section.hm-cp-steps[class] .csx-track{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px}
  section.hm-cp-steps[class] .csx-step{max-width:none!important}
  section.hm-cp-cards[class] .csx-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  section.hm-cp-cards[class] .csx-step{padding:20px 12px}
}
@media (prefers-reduced-motion:reduce){
  section[class*=hm-] *{transition:none!important}
  section[class*=hm-] *:hover{transform:none!important}
}
/* ===== HM_BEAUTY_V1 A 结束 ===== */

/* ===== HM_CERT_V1 BEGIN 证书版块美化 v2 一行横滑 (2026-09-27) ===== */
/* 三种样式都一行显示: 1480宽默认5张, 超出左右滑动(箭头/触屏/触控板); 每屏张数改 --ctc */
section.hm-cert[class]{--ctc:5;--ctg:24px}
section.hm-cert[class] .ct-wrap{
  display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;
  gap:var(--ctg);grid-template-columns:none;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scroll-padding:0 6px;-webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;padding:8px 6px 22px;margin:0;
  scrollbar-width:thin;scrollbar-color:rgba(var(--hmb-rgb,0,86,179),.3) transparent;
}
section.hm-cert[class] .ct-wrap::-webkit-scrollbar{height:6px}
section.hm-cert[class] .ct-wrap::-webkit-scrollbar-thumb{
  background:rgba(var(--hmb-rgb,0,86,179),.3);border-radius:3px;
}
section.hm-cert[class] .ct-card{
  flex:0 0 calc((100% - (var(--ctc) - 1) * var(--ctg)) / var(--ctc));
  width:auto;min-width:0;max-width:none;margin:0;scroll-snap-align:start;
  display:flex;flex-direction:column;align-items:stretch;
}
section.hm-cert[class] .ct-card:first-child{margin-left:auto}
section.hm-cert[class] .ct-card:last-child{margin-right:auto}
/* 大图自适应(grid): 证书像纸质文件一样带投影, 底部对齐 */
section.hm-cert-grid[class] .ct-imgbox{
  width:100%;height:auto!important;aspect-ratio:var(--ctr,210/297);
  display:flex;align-items:flex-end;justify-content:center;
  padding:0;background:none;border:0;overflow:visible;
}
section.hm-cert-grid[class] .ct-imgbox img{
  display:block;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  object-fit:contain;object-position:50% 100%;border-radius:0;
  filter:drop-shadow(0 2px 3px rgba(16,24,40,.08)) drop-shadow(0 10px 16px rgba(16,24,40,.12));
  transition:transform .25s ease,filter .25s ease;
}
section.hm-cert-grid[class] .ct-card:hover .ct-imgbox img{
  transform:translateY(-4px);
  filter:drop-shadow(0 4px 6px rgba(16,24,40,.1)) drop-shadow(0 14px 20px rgba(16,24,40,.16));
}
section.hm-cert[class] .ct-name{
  margin:14px 0 0;font-size:15px;font-weight:600;line-height:1.4;
  color:var(--hmb-ink,#16212c);text-align:center;word-break:break-word;
}
/* 白卡边框(boxed) / 横向滚动(carousel): 白卡 + 浅底图框 */
section.hm-cert-boxed[class] .ct-card,
section.hm-cert-carousel[class] .ct-card{
  background:#fff;border:1px solid var(--hmb-line,#e4e8ec);border-radius:10px;
  padding:12px 12px 14px;box-shadow:0 1px 2px rgba(16,24,40,.04);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
section.hm-cert-boxed[class] .ct-card:hover,
section.hm-cert-carousel[class] .ct-card:hover{
  transform:translateY(-4px);box-shadow:0 10px 18px rgba(16,24,40,.1);
  border-color:rgba(var(--hmb-rgb,0,86,179),.35);
}
section.hm-cert-boxed[class] .ct-imgbox,
section.hm-cert-carousel[class] .ct-imgbox{
  width:100%;height:auto!important;aspect-ratio:var(--ctr,210/297);
  display:flex;align-items:center;justify-content:center;
  padding:10px;background:var(--hmb-soft,#f5f7f9);border:0;border-radius:6px;overflow:hidden;
}
section.hm-cert-boxed[class] .ct-imgbox img,
section.hm-cert-carousel[class] .ct-imgbox img{
  display:block;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;object-fit:contain;border-radius:0;
}
section.hm-cert-boxed[class] .ct-name,
section.hm-cert-carousel[class] .ct-name{margin-top:10px;font-size:14px}
/* 左右箭头(内容超出一屏才出现, 到头自动隐藏) */
.hmct-rail{position:relative}
.hmct-rail>.hmct-ar{
  position:absolute;top:calc(50% - 22px);z-index:3;display:none;
  align-items:center;justify-content:center;width:42px;height:42px;margin:-21px 0 0;padding:0;
  border:1px solid var(--hmb-line,#e4e8ec);border-radius:50%;background:#fff;
  color:var(--hmb-ink,#16212c);font-size:26px;line-height:1;cursor:pointer;
  box-shadow:0 6px 18px rgba(16,24,40,.14);transition:background .2s,color .2s,opacity .2s;
}
.hmct-rail.hmct-over>.hmct-ar{display:flex}
.hmct-rail>.hmct-ar:hover{background:rgb(var(--hmb-rgb,0,86,179));border-color:transparent;color:#fff}
.hmct-rail>.hmct-ar:focus-visible{outline:2px solid rgb(var(--hmb-rgb,0,86,179));outline-offset:2px}
.hmct-rail>.hmct-ar:disabled{opacity:0;pointer-events:none}
.hmct-rail>.hmct-al{left:4px}
.hmct-rail>.hmct-an{right:4px}
@media (max-width:1199px){
  section.hm-cert[class]{--ctc:4;--ctg:20px}
}
@media (max-width:900px){
  section.hm-cert[class]{--ctc:3.2;--ctg:16px}
}
@media (max-width:600px){
  section.hm-cert[class]{--ctc:2.2;--ctg:12px}
  section.hm-cert-boxed[class] .ct-card,
  section.hm-cert-carousel[class] .ct-card{padding:8px 8px 10px}
  section.hm-cert-boxed[class] .ct-imgbox,
  section.hm-cert-carousel[class] .ct-imgbox{padding:6px}
  section.hm-cert[class] .ct-name{margin-top:8px;font-size:13px}
  .hmct-rail.hmct-over>.hmct-ar{display:none}
}
/* 点击看大图(只有首页加载了 hm-cert.js 才出现放大镜光标) */
.hmct-js section.hm-cert .ct-imgbox img{cursor:zoom-in}
.hmct-lb{
  position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;display:none;
  align-items:center;justify-content:center;padding:48px 72px;background:rgba(10,16,24,.88);
}
.hmct-lb.on{display:flex}
.hmct-lb .hmct-st{display:flex;flex-direction:column;align-items:center;max-width:100%;max-height:100%}
.hmct-lb img{
  display:block;width:auto;height:auto;max-width:min(92vw,1100px);max-height:calc(100vh - 130px);
  background:#fff;border-radius:4px;box-shadow:0 20px 60px rgba(0,0,0,.4);
}
.hmct-lb .hmct-cap{margin-top:14px;color:#fff;font-size:15px;font-weight:600;text-align:center}
.hmct-lb button{
  position:absolute;width:44px;height:44px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.14);color:#fff;font-size:28px;line-height:44px;text-align:center;
  cursor:pointer;transition:background .2s;
}
.hmct-lb button:hover{background:rgba(255,255,255,.28)}
.hmct-lb button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hmct-lb .hmct-x{top:16px;right:16px}
.hmct-lb .hmct-p{left:16px;top:50%;margin-top:-22px}
.hmct-lb .hmct-n{right:16px;top:50%;margin-top:-22px}
@media (max-width:600px){
  .hmct-lb{padding:56px 10px 76px}
  .hmct-lb img{max-width:100%;max-height:calc(100vh - 170px)}
  .hmct-lb .hmct-p,
  .hmct-lb .hmct-n{top:auto;bottom:16px;margin:0}
  .hmct-lb .hmct-p{left:calc(50% - 56px)}
  .hmct-lb .hmct-n{right:calc(50% - 56px)}
}
@media (prefers-reduced-motion:reduce){
  section.hm-cert[class] .ct-wrap{scroll-behavior:auto}
  section.hm-cert[class] .ct-card,
  section.hm-cert[class] .ct-imgbox img{transition:none!important;transform:none!important}
}
/* ===== HM_CERT_V1 END ===== */

/* ===== HM_ABOUT_MOB_V1 BEGIN 关于我们 手机/平板自适应修复 (2026-10-03) ===== */
/* 已保存的「关于我们」模块不用重新保存: 用比模块自带样式更高的优先级覆盖。
   范围: 原版 经典 / 大气版 / 图文+视频, 新版 8 种(section.hm-aboutx-*)。
   同一段同时追加在 Public/css/home-module.css(首页+后台预览) 和 css/public/daohang.css(内页)。 */

/* -- 通用: 正文里的长单词 / 表格 / 图片 / 视频不撑破屏幕 -- */
section.hm-about[class] .hm-about-text,
section.hm-about-video[class] .avd-text,
section.hm-about-grand[class] .abg-text,
section.hm-aboutx[class] .abx-copy,
section.hm-aboutx[class] .abx-head,
section.hm-aboutx[class] .abx-lead,
section.hm-aboutx[class] .abx-body{overflow-wrap:break-word;word-wrap:break-word}
section.hm-about[class] .hm-rich img,
section.hm-about-video[class] .avd-rich img,
section.hm-about-grand[class] .abg-text img,
section.hm-aboutx[class] .abx-rich img{max-width:100%;height:auto!important}
section.hm-about[class] .hm-rich iframe,
section.hm-about-video[class] .avd-rich iframe,
section.hm-about-grand[class] .abg-text iframe,
section.hm-aboutx[class] .abx-rich iframe,
section.hm-aboutx[class] .abx-rich video{max-width:100%}
/* 图文+视频 没填视频时的占位文字居中(原来沉在框底) */
section.hm-about-video[class] .avd-empty>span{
  position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;
  padding:12px;text-align:center;
}

/* 双图叠放: 4 项数据电脑上 2x2(原来 3+1 落单) */
@media (min-width:901px){
  section.hm-aboutx-collage[class] .abx-stats-mini.abx-sn-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* -- 平板横屏 -- */
@media (max-width:1024px){
  section.hm-about[class] .hm-about-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:36px}
  section.hm-about-video[class] .avd-inner{gap:36px}
  section.hm-about-grand[class] .abg-body{gap:32px}
}

/* -- 平板竖屏 + 手机: 单列 -- */
@media (max-width:900px){
  /* 图文+视频: 竖排时 align-items:center 让视频框按内容宽度收缩成 0 宽(视频看不见) -> 铺满 */
  section.hm-about-video[class] .avd-inner{align-items:stretch}
  section.hm-about-video[class] .avd-text,
  section.hm-about-video[class] .avd-media{flex:0 0 auto;width:100%}
  section.hm-about-grand[class] .abg-body{align-items:stretch}
  section.hm-about-grand[class] .abg-media,
  section.hm-about-grand[class] .abg-text{flex:0 0 auto;width:100%}
  /* 新版式: 图文分栏 / 工厂拼图 / 视频封面 / 无图极简 原来手机上仍是两列挤在一起 -> 单列 */
  section.hm-aboutx[class] .abx-row{grid-template-columns:minmax(0,1fr)}
  section.hm-aboutx-split_stats[class] .abx-frame{aspect-ratio:16/10}
  section.hm-aboutx-split_stats[class] .abx-row{row-gap:40px}
  section.hm-aboutx-collage[class] .abx-col{max-width:540px;margin-left:auto;margin-right:auto}
  section.hm-aboutx-collage[class] .abx-col:not(.is-one) .abx-c1{aspect-ratio:1/1}
  section.hm-aboutx-mosaic[class] .abx-mos{aspect-ratio:3/2}
  section.hm-aboutx-editorial[class] .abx-stats-big .abx-stat{padding-inline-start:0;padding-inline-end:12px}
  /* 数据条: 3 项一行 3 个(不再 2+1 落单), 4 项 2x2 */
  section.hm-aboutx[class] .abx-stats.abx-sn-2,
  section.hm-aboutx[class] .abx-stats.abx-sn-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  section.hm-aboutx[class] .abx-stats.abx-sn-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* 平板竖屏: 4 项数据一行 4 个(拼图的数据方块保持 2x2) */
@media (min-width:700px) and (max-width:900px){
  section.hm-aboutx[class] .abx-stats.abx-sn-4:not(.abx-stats-tiles){grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:768px){
  section.hm-about[class] .hm-rich table,
  section.hm-about-video[class] .avd-rich table,
  section.hm-about-grand[class] .abg-text table,
  section.hm-aboutx[class] .abx-rich table{display:block;max-width:100%;overflow-x:auto}
  section.hm-about[class] .hm-about-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  section.hm-about[class] .hm-about-image::before{top:-10px;left:-10px}
  section.hm-about-grand[class] .abg-body{gap:24px}
  section.hm-about-video[class] .avd-rich,
  section.hm-about-grand[class] .abg-text{font-size:15.5px;line-height:1.8}
  section.hm-about-grand[class] .abg-cta{margin-top:26px}
}

/* -- 手机 -- */
@media (max-width:600px){
  section.hm-about-grand[class] .abg-media img{max-height:78vw;object-fit:cover}
  section.hm-aboutx[class] .abx-badge{min-width:0;max-width:66%;padding:12px 16px;gap:4px}
  section.hm-aboutx[class] .abx-badge strong{font-size:28px}
  section.hm-aboutx[class] .abx-badge span{font-size:12.5px}
  section.hm-aboutx-split_stats[class] .abx-frame{aspect-ratio:4/3}
  section.hm-aboutx-mosaic[class] .abx-mos{aspect-ratio:5/4}
  section.hm-aboutx-banner[class] .abx-title,
  section.hm-aboutx-editorial[class] .abx-title{font-size:28px}
  section.hm-aboutx-banner[class] .abx-rich{font-size:15.5px}
  section.hm-aboutx-banner[class] .abx-stats-glass{margin-top:36px}
  section.hm-aboutx-panel[class] .abx-pnc{margin:-28px 8px 0;padding:24px 18px}
  section.hm-aboutx-editorial[class] .abx-body .abx-rich{font-size:16px}
  section.hm-aboutx-editorial[class] .abx-stats-big .abx-num{font-size:34px}
  /* 3 项一行时数字缩小, 不挤不换行 */
  section.hm-aboutx[class] .abx-sn-3 .abx-num{font-size:26px}
  section.hm-aboutx[class] .abx-sn-3 .abx-sl{font-size:12.5px}
  section.hm-aboutx[class] .abx-sn-3:not(.abx-stats-tiles):not(.abx-stats-card) .abx-stat{padding-inline-end:6px}
  /* 拼图的数据方块: 手机 2 列, 单数时最后一块占满一行 */
  section.hm-aboutx[class] .abx-stats-tiles.abx-sn-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  section.hm-aboutx[class] .abx-stats-tiles .abx-stat:last-child:nth-child(odd){grid-column:1 / -1}
  section.hm-aboutx[class] .abx-stats-tiles .abx-stat{padding:14px}
}
@media (max-width:560px){
  section.hm-aboutx-centered[class] .abx-pts{
    display:inline-flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:start;vertical-align:top;
  }
}
@media (max-width:480px){
  section.hm-aboutx-collage[class] .abx-c2{border-width:5px}
  section.hm-aboutx-collage[class] .abx-c2.is-badge{border-width:0;padding:16px}
  section.hm-aboutx-collage[class] .abx-c2.is-badge strong{font-size:34px}
  section.hm-aboutx-collage[class] .abx-c2.is-badge span{font-size:13px}
}
/* 视频封面弹窗: 横屏手机时视频高度不超出屏幕, 关闭按钮始终看得见 */
div[class^="hmax"][class$="-lb"] .abx-lbi{max-width:min(1120px,calc((100vh - 150px) * 16 / 9))}
/* ===== HM_ABOUT_MOB_V1 END ===== */

/* ===== HM_PN_V2 BEGIN 合作伙伴 Logo 旧模块升级 (2026-10-03) ===== */
/* 没重新保存的合作伙伴模块(旧 HTML: section.hm-pn-wall / hm-pn-boxed / hm-pn-plain, 以及更早的 hm-logo-wall)
   在这里直接升级: Logo 全部彩色 / 电脑一行 5 个 / 简洁彩色 Logo 放大 / 平板 3~4 个、手机 2 个一行。
   重新保存后改由 HomeModulePartnerX 生成新 HTML(类名 hm-pnx-*), 这里的规则碰不到新 HTML。
   同一段同时追加在 Public/css/home-module.css(首页 + 后台预览) 和 css/public/daohang.css(内页)。 */
section.hm-partner[class*="hm-pn-"]{
  --pn-c:5;--pn-g:16px;--pn-rg:16px;--pn-h:120px;--pn-lw:74%;--pn-lh:58px;
  --pn-line:var(--hmb-line,#e4e8ec);--pn-rgb:var(--hmb-rgb,var(--primary-rgb,0,86,179));
}
section.hm-partner[class*="hm-pn-"] .pn-wall{
  display:flex;flex-wrap:wrap;justify-content:center;column-gap:var(--pn-g);row-gap:var(--pn-rg);
  grid-template-columns:none;margin:0;padding:0;background:none;border:0;
}
section.hm-partner[class*="hm-pn-"] .pn-item{
  flex:0 0 calc((100% - (var(--pn-c) - 1) * var(--pn-g)) / var(--pn-c) - .1px);min-width:0;max-width:none;
  height:var(--pn-h);margin:0;padding:0;display:flex;align-items:center;justify-content:center;
}
section.hm-partner[class*="hm-pn-"] .pn-item img{
  display:block;width:auto;height:auto;max-width:var(--pn-lw);max-height:var(--pn-lh);object-fit:contain;
  filter:none;opacity:1;transform:none;transition:transform .3s ease;
}
section.hm-partner[class*="hm-pn-"] .pn-item:hover img{filter:none;opacity:1;transform:none}

/* Logo 墙: 灰度改彩色; 圆角细线表格, 线条对齐(最后一行不满时空出来) */
section.hm-pn-wall[class]{--pn-g:1px;--pn-rg:1px;--pn-h:128px;--pn-lw:72%;--pn-lh:60px}
section.hm-pn-wall[class] .pn-wall{
  display:grid;grid-template-columns:repeat(var(--pn-c),minmax(0,1fr));gap:1px;
  border:1px solid var(--pn-line);border-radius:14px;overflow:hidden;background:#fff;
}
section.hm-pn-wall[class] .pn-item{background:#fff;box-shadow:0 0 0 1px var(--pn-line);transition:background-color .3s ease}

/* 白卡边框 */
section.hm-pn-boxed[class]{--pn-g:20px;--pn-rg:20px;--pn-h:116px}
section.hm-pn-boxed[class] .pn-item{border:1px solid var(--pn-line);border-radius:12px;background:#fff}

/* 简洁彩色: Logo 放大 */
section.hm-pn-plain[class]{--pn-g:24px;--pn-rg:8px;--pn-h:136px;--pn-lw:88%;--pn-lh:80px}

/* 更早的 V1 版(hm-logo-wall): 同样彩色 + 一行 5 个 */
section.hm-partner[class] .hm-logo-wall{--pn-c:5;--pn-g:20px;column-gap:var(--pn-g);row-gap:var(--pn-g)}
section.hm-partner[class] .hm-logo-item{
  flex:0 0 calc((100% - (var(--pn-c) - 1) * var(--pn-g)) / var(--pn-c) - .1px);min-width:0;height:116px;
  padding:0 12px;background:#fff;border-color:#e4e8ec;border-radius:12px;
}
section.hm-partner[class] .hm-logo-item img{max-width:76%;max-height:58px;filter:none;opacity:1}

/* 鼠标设备才有悬停效果(手机点一下不会卡在放大状态) */
@media (hover:hover){
  section.hm-pn-wall[class] .pn-item:hover{background:rgba(var(--pn-rgb),.04)}
  section.hm-pn-wall[class] .pn-item:hover img,
  section.hm-pn-plain[class] .pn-item:hover img{transform:scale(1.05)}
}

/* 平板横屏: 一行 4 个 */
@media (max-width:1024px){
  section.hm-partner[class*="hm-pn-"],
  section.hm-partner[class] .hm-logo-wall{--pn-c:4}
  section.hm-pn-boxed[class]{--pn-g:16px;--pn-rg:16px}
  section.hm-pn-plain[class]{--pn-g:20px;--pn-h:124px;--pn-lh:72px}
}
/* 平板竖屏: 一行 3 个 */
@media (max-width:768px){
  section.hm-partner[class*="hm-pn-"]{--pn-c:3;--pn-h:104px;--pn-lh:50px}
  section.hm-partner[class] .hm-logo-wall{--pn-c:3;--pn-g:14px}
  section.hm-partner[class] .hm-logo-item{height:100px}
  section.hm-pn-wall[class]{--pn-h:108px}
  section.hm-pn-boxed[class]{--pn-h:100px}
  section.hm-pn-plain[class]{--pn-g:16px;--pn-h:108px;--pn-lh:64px}
}
/* 手机: 一行 2 个, Logo 更大更清楚 */
@media (max-width:480px){
  section.hm-partner[class*="hm-pn-"]{--pn-c:2;--pn-h:90px;--pn-lw:78%;--pn-lh:44px}
  section.hm-partner[class] .hm-logo-wall{--pn-c:2;--pn-g:12px}
  section.hm-partner[class] .hm-logo-item{height:88px}
  section.hm-partner[class] .hm-logo-item img{max-height:42px}
  section.hm-pn-wall[class]{--pn-h:92px;--pn-lw:76%}
  section.hm-pn-wall[class] .pn-wall{border-radius:12px}
  section.hm-pn-boxed[class]{--pn-g:12px;--pn-rg:12px;--pn-h:88px;--pn-lh:42px}
  section.hm-pn-plain[class]{--pn-g:14px;--pn-rg:4px;--pn-h:92px;--pn-lw:90%;--pn-lh:56px}
}
/* ===== HM_PN_V2 END ===== */

/* ===== HM_FAQW_V1 BEGIN: 常见问题(旧 4 版式)内容区 1480 宽; 已存的模块不用重存 ===== */
section.hm-faq[class] .faqx-wrap{max-width:1480px}
/* ===== HM_FAQW_V1 END ===== */
