/* --- 全局变量与重置 --- */
:root {
    --primary-color: #0056b3; 
    --accent-color: #00a8ff;  
    --secondary-color: #f39c12; 
    --light-bg: #f8f9fa;      
    --text-color: #333;
    --text-light: #55606f;
    /* Keep all standard page sections on one continuous canvas. */
    --page-bg: #f8f9fa;
    --surface-bg: #ffffff;
    --surface-muted: #f8f9fa;
    --surface-soft: #f5f5f5;
    --border-color: #e5e7eb;
    --nav-mobile-bg: linear-gradient(135deg, rgba(0, 86, 179, 0.97), rgba(15, 23, 42, 0.98));
    --nav-scrolled-bg: rgba(255, 255, 255, 0.96);
    --nav-scrolled-text: #334155;
    --nav-scrolled-hover: #0056b3;
    --nav-scrolled-accent: #0056b3;
    --nav-scrolled-button-text: #ffffff;
    --nav-scrolled-toggle-bg: rgba(0, 86, 179, 0.06);
    --nav-scrolled-toggle-hover-bg: rgba(0, 86, 179, 0.12);
    --nav-scrolled-border: rgba(15, 23, 42, 0.08);
    --nav-scrolled-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    --input-bg: #ffffff;
    --footer-bg: #edf4fb;
    --footer-text: #42526a;
    --footer-heading: #17324d;
    --footer-border: rgba(15, 23, 42, 0.12);
    --footer-muted: #5f6f82;
    --honor-tags-bg-start: var(--page-bg);
    --honor-tags-bg-mid: var(--page-bg);
    --honor-tags-bg-end: var(--page-bg);
    --honor-tags-heading: #17324d;
    --honor-tags-text: #4a5b70;
    --honor-tags-border: rgba(23, 50, 77, 0.16);
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 50px rgba(0,0,0,0.2);
    --home-product-card-bg: #ffffff;
    --home-product-card-border: rgba(15, 23, 42, 0.08);
    --home-product-card-border-hover: rgba(243, 156, 18, 0.42);
    --home-product-card-divider: rgba(15, 23, 42, 0.08);
    --home-product-card-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    --home-product-card-shadow-hover: 0 24px 58px rgba(15, 23, 42, 0.18);
    --category-card-bg: #ffffff;
    --category-card-border: rgba(15, 23, 42, 0.08);
    --category-card-border-hover: rgba(243, 156, 18, 0.42);
    --category-card-divider: rgba(15, 23, 42, 0.08);
    --category-card-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    --category-card-shadow-hover: 0 24px 58px rgba(15, 23, 42, 0.18);
    --gallery-card-bg: #ffffff;
    --gallery-card-border: rgba(15, 23, 42, 0.08);
    --gallery-card-border-hover: rgba(243, 156, 18, 0.42);
    --gallery-card-divider: rgba(15, 23, 42, 0.08);
    --gallery-card-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    --gallery-card-shadow-hover: 0 24px 58px rgba(15, 23, 42, 0.18);
    --news-list-card-bg: #ffffff;
    --news-list-card-border: rgba(15, 23, 42, 0.08);
    --news-list-card-border-hover: rgba(96, 165, 250, 0.36);
    --news-list-card-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
    --news-list-card-shadow-hover: 0 22px 52px rgba(15, 23, 42, 0.16);
    --news-date-bg: #f3f7fd;
    --news-date-border: rgba(0, 86, 179, 0.12);
    --reasons-bg-start: #f8f9fa;
    --reasons-bg-end: #f8f9fa;
    --reason-number-color: rgba(0, 86, 179, 0.22);
    --map-shell-glow: rgba(0, 168, 255, 0.12);
    --map-shell-start: #eef7ff;
    --map-shell-end: #dbeafe;
    --map-panel-bg: #e2e8f0;
    --map-panel-border: rgba(0, 86, 179, 0.20);
    --map-panel-shadow: 0 22px 58px rgba(15, 23, 42, 0.16);
    --map-panel-overlay:
        linear-gradient(180deg, rgba(15, 23, 42, 0.06), transparent 20%, transparent 70%, rgba(15, 23, 42, 0.08)),
        linear-gradient(90deg, rgba(15, 23, 42, 0.05), transparent 18%, transparent 82%, rgba(15, 23, 42, 0.05));
    --map-media-filter: saturate(0.9) contrast(0.98) brightness(1.02);
    --section-space: 72px;
    --section-leading-space: 48px;
    --section-heading-gap: 68px;
    --copy-heading-gap: 12px;
    --transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --primary-color: #60a5fa;
    --accent-color: #38bdf8;
    --light-bg: #0f172a;
    --text-color: #e5e7eb;
    --text-light: #b6c2d2;
    --page-bg: #0b1120;
    --surface-bg: #111827;
    --surface-muted: #0b1120;
    --surface-soft: #172033;
    --border-color: #283548;
    --nav-mobile-bg: linear-gradient(135deg, rgba(0, 66, 138, 0.98), rgba(8, 15, 29, 0.99));
    --nav-scrolled-bg: rgba(12, 12, 12, 0.98);
    --nav-scrolled-text: rgba(255, 255, 255, 0.92);
    --nav-scrolled-hover: #ffffff;
    --nav-scrolled-accent: #7fb0ff;
    --nav-scrolled-button-text: #07111f;
    --nav-scrolled-toggle-bg: rgba(255, 255, 255, 0.08);
    --nav-scrolled-toggle-hover-bg: rgba(255, 255, 255, 0.18);
    --nav-scrolled-border: rgba(255, 255, 255, 0.08);
    --nav-scrolled-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    --input-bg: #0b1220;
    --footer-bg: #0b1120;
    --footer-text: #cbd5e1;
    --footer-heading: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.12);
    --footer-muted: #94a3b8;
    --honor-tags-bg-start: var(--page-bg);
    --honor-tags-bg-mid: var(--page-bg);
    --honor-tags-bg-end: var(--page-bg);
    --honor-tags-heading: #f8fafc;
    --honor-tags-text: #b8c7d9;
    --honor-tags-border: rgba(255, 255, 255, 0.14);
    --shadow: 0 12px 32px rgba(0,0,0,0.34);
    --shadow-hover: 0 22px 56px rgba(0,0,0,0.48);
    --home-product-card-bg: #111827;
    --home-product-card-border: rgba(96, 165, 250, 0.20);
    --home-product-card-border-hover: rgba(243, 156, 18, 0.50);
    --home-product-card-divider: rgba(255, 255, 255, 0.08);
    --home-product-card-shadow: 0 22px 54px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.04);
    --home-product-card-shadow-hover: 0 28px 68px rgba(0,0,0,0.56), 0 0 0 1px rgba(96, 165, 250, 0.10) inset;
    --category-card-bg: #111827;
    --category-card-border: rgba(96, 165, 250, 0.20);
    --category-card-border-hover: rgba(243, 156, 18, 0.50);
    --category-card-divider: rgba(255, 255, 255, 0.08);
    --category-card-shadow: 0 22px 54px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.04);
    --category-card-shadow-hover: 0 28px 68px rgba(0,0,0,0.56), 0 0 0 1px rgba(96, 165, 250, 0.10) inset;
    --gallery-card-bg: #111827;
    --gallery-card-border: rgba(96, 165, 250, 0.20);
    --gallery-card-border-hover: rgba(243, 156, 18, 0.50);
    --gallery-card-divider: rgba(255, 255, 255, 0.08);
    --gallery-card-shadow: 0 22px 54px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.04);
    --gallery-card-shadow-hover: 0 28px 68px rgba(0,0,0,0.56), 0 0 0 1px rgba(96, 165, 250, 0.10) inset;
    --news-list-card-bg: #111827;
    --news-list-card-border: rgba(96, 165, 250, 0.20);
    --news-list-card-border-hover: rgba(243, 156, 18, 0.46);
    --news-list-card-shadow: 0 18px 46px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.03);
    --news-list-card-shadow-hover: 0 26px 64px rgba(0,0,0,0.50), 0 0 0 1px rgba(96, 165, 250, 0.08) inset;
    --news-date-bg: rgba(96, 165, 250, 0.08);
    --news-date-border: rgba(96, 165, 250, 0.18);
    --reasons-bg-start: #0b1120;
    --reasons-bg-end: #0b1120;
    --reason-number-color: rgba(255,255,255,0.16);
    --map-shell-glow: rgba(0, 168, 255, 0.18);
    --map-shell-start: rgba(10, 32, 58, 0.96);
    --map-shell-end: rgba(8, 12, 24, 0.98);
    --map-panel-bg: #111827;
    --map-panel-border: rgba(127, 176, 255, 0.22);
    --map-panel-shadow: 0 28px 70px rgba(0,0,0,0.34);
    --map-panel-overlay:
        linear-gradient(180deg, rgba(8, 14, 26, 0.18), transparent 20%, transparent 70%, rgba(8, 14, 26, 0.18)),
        linear-gradient(90deg, rgba(8, 14, 26, 0.16), transparent 18%, transparent 82%, rgba(8, 14, 26, 0.16));
    --map-media-filter: saturate(0.78) contrast(0.96) brightness(0.96);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --primary-color: #60a5fa;
        --accent-color: #38bdf8;
        --light-bg: #0f172a;
        --text-color: #e5e7eb;
        --text-light: #b6c2d2;
        --page-bg: #0b1120;
        --surface-bg: #111827;
        --surface-muted: #0b1120;
        --surface-soft: #172033;
        --border-color: #283548;
        --nav-mobile-bg: linear-gradient(135deg, rgba(0, 66, 138, 0.98), rgba(8, 15, 29, 0.99));
        --nav-scrolled-bg: rgba(12, 12, 12, 0.98);
        --nav-scrolled-text: rgba(255, 255, 255, 0.92);
        --nav-scrolled-hover: #ffffff;
        --nav-scrolled-accent: #7fb0ff;
        --nav-scrolled-button-text: #07111f;
        --nav-scrolled-toggle-bg: rgba(255, 255, 255, 0.08);
        --nav-scrolled-toggle-hover-bg: rgba(255, 255, 255, 0.18);
        --nav-scrolled-border: rgba(255, 255, 255, 0.08);
        --nav-scrolled-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
        --input-bg: #0b1220;
        --footer-bg: #0b1120;
        --footer-text: #cbd5e1;
        --footer-heading: #ffffff;
        --footer-border: rgba(255, 255, 255, 0.12);
        --footer-muted: #94a3b8;
        --honor-tags-bg-start: var(--page-bg);
        --honor-tags-bg-mid: var(--page-bg);
        --honor-tags-bg-end: var(--page-bg);
        --honor-tags-heading: #f8fafc;
        --honor-tags-text: #b8c7d9;
        --honor-tags-border: rgba(255, 255, 255, 0.14);
        --shadow: 0 12px 32px rgba(0,0,0,0.34);
        --shadow-hover: 0 22px 56px rgba(0,0,0,0.48);
        --home-product-card-bg: #111827;
        --home-product-card-border: rgba(96, 165, 250, 0.20);
        --home-product-card-border-hover: rgba(243, 156, 18, 0.50);
        --home-product-card-divider: rgba(255, 255, 255, 0.08);
        --home-product-card-shadow: 0 22px 54px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.04);
        --home-product-card-shadow-hover: 0 28px 68px rgba(0,0,0,0.56), 0 0 0 1px rgba(96, 165, 250, 0.10) inset;
        --category-card-bg: #111827;
        --category-card-border: rgba(96, 165, 250, 0.20);
        --category-card-border-hover: rgba(243, 156, 18, 0.50);
        --category-card-divider: rgba(255, 255, 255, 0.08);
        --category-card-shadow: 0 22px 54px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.04);
        --category-card-shadow-hover: 0 28px 68px rgba(0,0,0,0.56), 0 0 0 1px rgba(96, 165, 250, 0.10) inset;
        --gallery-card-bg: #111827;
        --gallery-card-border: rgba(96, 165, 250, 0.20);
        --gallery-card-border-hover: rgba(243, 156, 18, 0.50);
        --gallery-card-divider: rgba(255, 255, 255, 0.08);
        --gallery-card-shadow: 0 22px 54px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.04);
        --gallery-card-shadow-hover: 0 28px 68px rgba(0,0,0,0.56), 0 0 0 1px rgba(96, 165, 250, 0.10) inset;
        --news-list-card-bg: #111827;
        --news-list-card-border: rgba(96, 165, 250, 0.20);
        --news-list-card-border-hover: rgba(243, 156, 18, 0.46);
        --news-list-card-shadow: 0 18px 46px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.03);
        --news-list-card-shadow-hover: 0 26px 64px rgba(0,0,0,0.50), 0 0 0 1px rgba(96, 165, 250, 0.08) inset;
        --news-date-bg: rgba(96, 165, 250, 0.08);
        --news-date-border: rgba(96, 165, 250, 0.18);
        --reasons-bg-start: #0b1120;
        --reasons-bg-end: #0b1120;
        --reason-number-color: rgba(255,255,255,0.16);
        --map-shell-glow: rgba(0, 168, 255, 0.18);
        --map-shell-start: rgba(10, 32, 58, 0.96);
        --map-shell-end: rgba(8, 12, 24, 0.98);
        --map-panel-bg: #111827;
        --map-panel-border: rgba(127, 176, 255, 0.22);
        --map-panel-shadow: 0 28px 70px rgba(0,0,0,0.34);
        --map-panel-overlay:
            linear-gradient(180deg, rgba(8, 14, 26, 0.18), transparent 20%, transparent 70%, rgba(8, 14, 26, 0.18)),
            linear-gradient(90deg, rgba(8, 14, 26, 0.16), transparent 18%, transparent 82%, rgba(8, 14, 26, 0.16));
        --map-media-filter: saturate(0.78) contrast(0.96) brightness(0.96);
        color-scheme: dark;
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', Arial, sans-serif; }
html { scroll-behavior: smooth; }
body { color: var(--text-color); line-height: 1.6; overflow-x: hidden; background-color: var(--page-bg); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }

/* --- 导航栏 Navbar --- */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 0; z-index: 1000; transition: background-color 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease; background: transparent; }
.navbar.scrolled,
.navbar-detail-solid { padding: 15px 0; }
.navbar.scrolled,
.navbar-detail-solid {
    background: var(--nav-scrolled-bg);
    border-bottom: 1px solid var(--nav-scrolled-border);
    box-shadow: var(--nav-scrolled-shadow);
}

.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 50px; 
}

.logo h2 { font-size: 24px; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.logo span { color: var(--secondary-color); font-size: 30px; }
.navbar.scrolled .logo h2,
.navbar-detail-solid .logo h2 { color: var(--nav-scrolled-text); }

.nav-links { display: flex; gap: 22px; align-items: center; margin-left: auto; margin-right: 24px; }
.nav-links li a { color: rgba(255,255,255,0.9); font-weight: 500; position: relative; font-size: 16px; }
.nav-links li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--secondary-color); transition: var(--transition); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }
.nav-links li a:hover { color: var(--white); }

.navbar.scrolled .nav-links li a,
.navbar-detail-solid .nav-links li a { color: var(--nav-scrolled-text); }
.navbar.scrolled .nav-links li a:hover,
.navbar-detail-solid .nav-links li a:hover { color: var(--nav-scrolled-hover); }

.btn-contact { padding: 8px 25px; border: 1px solid var(--white); border-radius: 50px; transition: var(--transition); }
.btn-contact:hover { background: var(--white); color: var(--primary-color) !important; }
.navbar.scrolled .btn-contact,
.navbar-detail-solid .btn-contact { border-color: var(--nav-scrolled-accent); color: var(--nav-scrolled-accent) !important; }
.navbar.scrolled .btn-contact:hover,
.navbar-detail-solid .btn-contact:hover { background: var(--nav-scrolled-accent); color: var(--nav-scrolled-button-text) !important; }

.mobile-menu-btn { display: none; color: white; font-size: 24px; cursor: pointer; z-index: 1002; }
.navbar.scrolled .mobile-menu-btn,
.navbar-detail-solid .mobile-menu-btn { color: var(--nav-scrolled-text); }

/* --- 语言切换按钮样式 --- */
.lang-switch {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1001;
    min-width: 60px;
    justify-content: flex-end;
}

.lang-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px 5px;
    border-radius: 4px;
}

.lang-switch .divider { margin: 0 5px; opacity: 0.6; }

/* 激活状态 (始终为橙色) */
.lang-btn.active { color: var(--secondary-color) !important; font-weight: bold; }
/* PC端悬浮变白 */
.lang-btn:hover { color: var(--white); }

/* 滚动后变色 */
.navbar.scrolled .lang-switch,
.navbar-detail-solid .lang-switch { color: var(--nav-scrolled-text); }
.navbar.scrolled .lang-btn:hover,
.navbar-detail-solid .lang-btn:hover { color: var(--nav-scrolled-hover); }

.theme-toggle {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.38);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    margin-left: 12px;
    margin-right: 18px;
}
.theme-toggle .theme-icon {
    display: none;
    width: 18px;
    height: 18px;
    background: currentColor;
    flex: 0 0 18px;
    font-size: 0;
    line-height: 0;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.theme-toggle .theme-icon::before {
    content: none;
}
.theme-toggle .theme-icon-moon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.64 13a1 1 0 0 0-1.05-.14 8.05 8.05 0 0 1-3.37.73 8.15 8.15 0 0 1-8.14-8.1 8.59 8.59 0 0 1 .25-2A1 1 0 0 0 8 2.36 10.14 10.14 0 1 0 22 14.05a1 1 0 0 0-.36-1.05z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.64 13a1 1 0 0 0-1.05-.14 8.05 8.05 0 0 1-3.37.73 8.15 8.15 0 0 1-8.14-8.1 8.59 8.59 0 0 1 .25-2A1 1 0 0 0 8 2.36 10.14 10.14 0 1 0 22 14.05a1 1 0 0 0-.36-1.05z'/%3E%3C/svg%3E");
}
.theme-toggle .theme-icon-sun {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 0h2v4h-2zM11 20h2v4h-2zM0 11h4v2H0zM20 11h4v2h-4zM3.51 4.93l1.42-1.42 2.83 2.83-1.42 1.42zM16.24 17.66l1.42-1.42 2.83 2.83-1.42 1.42zM16.24 6.34l2.83-2.83 1.42 1.42-2.83 2.83zM3.51 19.07l2.83-2.83 1.42 1.42-2.83 2.83zM12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 0h2v4h-2zM11 20h2v4h-2zM0 11h4v2H0zM20 11h4v2h-4zM3.51 4.93l1.42-1.42 2.83 2.83-1.42 1.42zM16.24 17.66l1.42-1.42 2.83 2.83-1.42 1.42zM16.24 6.34l2.83-2.83 1.42 1.42-2.83 2.83zM3.51 19.07l2.83-2.83 1.42 1.42-2.83 2.83zM12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12z'/%3E%3C/svg%3E");
}
.theme-toggle .theme-icon-moon,
:root[data-theme="light"] .theme-toggle .theme-icon-moon {
    display: inline-block;
}
.theme-toggle .theme-icon-sun,
:root[data-theme="light"] .theme-toggle .theme-icon-sun,
:root[data-theme="dark"] .theme-toggle .theme-icon-moon {
    display: none;
}
:root[data-theme="dark"] .theme-toggle .theme-icon-sun {
    display: inline-block;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .theme-toggle .theme-icon-moon {
        display: none;
    }
    :root:not([data-theme]) .theme-toggle .theme-icon-sun {
        display: inline-block;
    }
}
.theme-toggle:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-1px);
}
.navbar.scrolled .theme-toggle,
.navbar-detail-solid .theme-toggle {
    border-color: var(--nav-scrolled-accent);
    background: var(--nav-scrolled-toggle-bg);
    color: var(--nav-scrolled-accent);
}
.navbar.scrolled .theme-toggle:hover,
.navbar-detail-solid .theme-toggle:hover { background: var(--nav-scrolled-toggle-hover-bg); }


/* --- 通用按钮 --- */
.btn { padding: 12px 35px; border-radius: 50px; font-weight: 600; transition: var(--transition); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; border: none; }
.btn-primary { background: var(--secondary-color); color: var(--white); }
.btn-primary:hover { background: #e67e22; transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--primary-color); transform: translateY(-3px); }
.btn-dark { display: inline-block; background: var(--primary-color); color: var(--white); padding: 12px 30px; border-radius: 5px; margin-top: 20px; transition: var(--transition); }
.btn-dark:hover { background: #004494; transform: translateY(-2px); }

/* --- 统计卡片 Stats --- */
.stats-section { margin-top: -80px; position: relative; z-index: 10; margin-bottom: 80px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.stat-card { background: var(--white); padding: 40px 20px; text-align: center; border-radius: 10px; box-shadow: var(--shadow); transition: var(--transition); }
.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.stat-card.reveal,
.stat-card.reveal.active {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.35s ease;
}
.stat-card i { font-size: 40px; color: var(--secondary-color); margin-bottom: 20px; }
.stat-card h3 { font-size: 42px; color: var(--primary-color); font-weight: 700; margin-bottom: 5px; }
.stat-value {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
}
.stat-unit {
    margin-top: 3px;
    margin-left: 6px;
    font-size: 0.36em;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}
.stat-card p { color: var(--text-light); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* --- Hero & Header Settings --- */
.page-header {
    height: 70vh; min-height: 500px; position: relative;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); text-align: center; overflow: hidden;
    background-attachment: scroll; background-position: center; background-repeat: no-repeat; background-size: cover;
    margin-top: 0;
}
.about-header-bg { background-image: url('images/product-card-silicone-products.jpg'); background-position: center 48%; }
.product-header-bg { background-image: url('images/product-card-silicone-oil.jpg'); background-position: center 52%; }
.news-header-bg { background-image: url('images/product-card-brightener.jpg'); background-position: center 44%; }
.gallery-header-bg { background-image: url('images/product-card-pretreatment.jpg'); background-position: center; }
.contact-header-bg { background-image: url('images/product-card-waterproof.jpg'); background-position: center; }
.downloads-header-bg { background-image: url('images/product-card-functional.jpg'); background-position: center 55%; }

.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 86, 179, 0.8), rgba(15, 23, 42, 0.7)); }
.header-content { z-index: 1; padding-top: 60px; }
.header-content h1 { font-size: 56px; font-weight: 700; margin-bottom: 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.header-content p { font-size: 20px; opacity: 0.9; font-weight: 300; letter-spacing: 2px; }

.hero {
    height: 100vh; position: relative; display: flex; align-items: center; justify-content: center;
    color: var(--white); text-align: center; overflow: hidden;
    
}
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* 放在遮罩层下面 */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    
    opacity: 0;
    transform: scale(1.0);
    
    /* 【核心修改】：同时对 opacity 和 transform 进行过渡 */
    /* 当 active 被移除时，图片会用 1.5秒 的时间平滑地从当前大小慢慢变回 1.2，而不是瞬间跳回去 */
    transition: opacity 1.2s ease-in-out;
    
    z-index: -1;
}

/* 激活状态：显示并开始缩放动画 */
.hero-slide.active {
    opacity: 1;
    /* 应用缩放动画：时间20秒，从 1.2 缩放到 1.0 */
    animation: heroZoomOut 13s linear forwards;
    will-change: transform, opacity;
}

/* 旧图的缩放值由脚本冻结，只做淡出；新图同时淡入并开始缓慢缩放。 */
.hero-slide.leaving {
    opacity: 0;
    will-change: transform, opacity;
}

.hero.is-paused .hero-slide.active {
    animation-play-state: paused;
}



/* 移动端适配优化 */
@media (max-width: 768px) {
    .hero-slide {
        /* 移动端图片位置微调，防止主体被切掉 */
        background-position: center center; 
    }
}
.hero-btns { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
/* --- Section Layouts --- */
.section { padding: var(--section-space) 0; }
.section.products { background-color: var(--surface-muted); }
.section.news { padding-top: 48px; padding-bottom: 52px; }
.section-title { text-align: center; margin-bottom: var(--section-heading-gap); }
.section-title span { color: var(--accent-color); font-weight: 700; letter-spacing: 2px; font-size: 14px; display: block; margin-bottom: 10px; text-transform: uppercase; }
.section-title h2 { font-size: 36px; color: var(--text-color); position: relative; display: inline-block; font-weight: 700; }
.section-title .section-subtitle { color: var(--text-light); margin-top: 14px; font-weight: 500; }
.section-title .line { width: 60px; height: 4px; background: var(--secondary-color); margin: 15px auto 0; border-radius: 2px; }
.section-title.white h2 { color: var(--white); }
.section-title.left-align { text-align: left; }
.section-title.left-align .line { margin: 15px 0 0 0; }

/* --- Download Center --- */
.downloads-section { background: var(--surface-muted); }
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.download-card {
    display: flex;
    gap: 22px;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--surface-bg);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 86, 179, 0.35);
    box-shadow: var(--shadow-hover);
}
.download-card-featured {
    grid-column: 1 / -1;
    align-items: center;
    padding: 36px;
    background: linear-gradient(135deg, var(--surface-bg), rgba(0, 86, 179, 0.08));
}
.download-file-icon {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--white);
    font-size: 29px;
    background: linear-gradient(135deg, var(--primary-color), #1d78d2);
    box-shadow: 0 10px 24px rgba(0, 86, 179, 0.22);
}
.download-card-featured .download-file-icon {
    flex-basis: 82px;
    width: 82px;
    height: 82px;
    font-size: 36px;
    background: linear-gradient(135deg, #d93b45, #b8212d);
    box-shadow: 0 12px 28px rgba(185, 33, 45, 0.25);
}
.download-card-body { min-width: 0; flex: 1; }
.download-card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.download-type {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.1);
    font-size: 12px;
    font-weight: 700;
}
.download-size { color: var(--text-light); font-size: 13px; white-space: nowrap; }
.download-card h3 { color: var(--text-color); font-size: 22px; line-height: 1.35; margin-bottom: 10px; }
.download-card p { color: var(--text-light); line-height: 1.7; min-height: 54px; }
.download-card-featured p { min-height: 0; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.download-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.download-preview { color: var(--primary-color); border: 1px solid rgba(0, 86, 179, 0.32); }
.download-preview:hover { color: var(--white); background: var(--primary-color); border-color: var(--primary-color); }
.download-button { color: var(--white); background: var(--primary-color); border: 1px solid var(--primary-color); }
.download-button:hover { background: var(--secondary-color); border-color: var(--secondary-color); transform: translateY(-2px); }
.download-help {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
    padding: 20px 24px;
    border-radius: 12px;
    color: var(--text-light);
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
}
.download-help > i { color: var(--secondary-color); font-size: 21px; }
.download-help p { flex: 1; }
.download-help a { color: var(--primary-color); font-weight: 700; white-space: nowrap; }
.download-help a:hover { color: var(--secondary-color); }

@media (max-width: 992px) {
    .nav-links { gap: 15px; margin-right: 16px; }
    .nav-links li a { font-size: 14px; }
}

@media (max-width: 768px) {
    .download-grid { grid-template-columns: 1fr; }
    .download-card-featured { grid-column: auto; }
    .download-card,
    .download-card-featured { align-items: flex-start; padding: 24px; }
}

@media (max-width: 520px) {
    .download-card,
    .download-card-featured { flex-direction: column; gap: 18px; }
    .download-card p { min-height: 0; }
    .download-actions { width: 100%; }
    .download-actions a { flex: 1; padding-inline: 12px; }
    .download-help { align-items: flex-start; flex-wrap: wrap; }
    .download-help p { flex-basis: calc(100% - 40px); }
    .download-help a { margin-left: 35px; }
}

.row-flex { display: flex; align-items: center; gap: 60px; }
.col-text, .col-img { flex: 1; }
.text-content p { margin-bottom: 20px; color: #555; line-height: 1.8; text-align: justify; font-size: 16px; }
.features-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.features-list li i { color: var(--primary-color); font-size: 18px; }
.video-wrapper { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-hover); background: #000; }
.video-wrapper img,
.video-wrapper video { transition: transform 0.6s ease; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.video-wrapper:hover img { transform: scale(1.05); }
.video-play-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255,255,255,0.92);
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.video-play-toggle i { margin-left: 4px; font-size: 24px; line-height: 1; }
.video-play-toggle:hover { background: rgba(0,0,0,0.55); transform: translate(-50%, -50%) scale(1.06); }
.video-wrapper.is-playing .video-play-toggle { opacity: 0; visibility: hidden; pointer-events: none; }
@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .video-play-toggle {
        display: none !important;
    }
}

/* --- About Page --- */
.global-footprint {
    position: relative;
    overflow: hidden;
    padding-top: 36px;
    background: var(--page-bg) !important;
}
.footprint-layout {
    display: block;
}
.footprint-map-card {
    min-width: 0;
    padding: 28px 28px 18px;
    border: 1px solid rgba(0, 86, 179, 0.16);
    border-radius: 22px;
    background: linear-gradient(145deg, var(--surface-bg), var(--surface-soft));
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.11);
}
.footprint-map-head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 6px;
}
.footprint-eyebrow,
.coverage-heading > div:last-child > span {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.footprint-map-head h3 {
    color: var(--text-color);
    font-size: 22px;
    line-height: 1.35;
}
.footprint-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    max-width: 310px;
}
.footprint-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 12px;
}
.footprint-legend b { font-weight: 600; }
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 14%, transparent);
}
.legend-dot.factory { color: #f39c12; background: #f39c12; }
.legend-dot.rd { color: #0ea5e9; background: #0ea5e9; }
.legend-dot.office { color: #ef476f; background: #ef476f; }
.legend-dot.warehouse { color: #8b5cf6; background: #8b5cf6; }
.legend-dot.customer { color: #16a085; background: #16a085; }
.world-map {
    position: relative;
    z-index: 0;
    width: 100%;
    margin-top: 18px;
}
.world-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-grid path { fill: none; stroke: var(--border-color); stroke-width: 0.8; stroke-dasharray: 3 7; }
.map-land path {
    fill: #e8f1fa;
    fill: color-mix(in srgb, var(--primary-color) 10%, var(--surface-soft));
    stroke: rgba(0, 86, 179, 0.32);
    stroke: color-mix(in srgb, var(--primary-color) 32%, transparent);
    fill-rule: evenodd;
    stroke-width: 0.85;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    transition: fill 0.3s ease, stroke 0.3s ease;
}
.footprint-map-card:hover .map-land path {
    fill: #dceafa;
    fill: color-mix(in srgb, var(--primary-color) 14%, var(--surface-soft));
    stroke: rgba(0, 86, 179, 0.46);
    stroke: color-mix(in srgb, var(--primary-color) 46%, transparent);
}
.map-route path {
    fill: none;
    stroke: rgba(0, 168, 255, 0.52);
    stroke: color-mix(in srgb, var(--accent-color) 52%, transparent);
    stroke-width: 1.4;
    stroke-dasharray: 5 7;
}
.map-point { color: #16a085; }
.map-point.point-factory { color: #f39c12; }
.map-point.point-warehouse { color: #8b5cf6; }
.map-point.point-combined-global { color: #8b5cf6; }
.map-point .point-pulse { display: none; fill: currentColor; opacity: 0.14; transform-box: fill-box; transform-origin: center; animation: none; }
.map-point.point-factory .point-pulse {
    display: inline;
    animation: footprintPulse 2.5s ease-out infinite;
}
.map-point .point-core { fill: currentColor; stroke: var(--surface-bg); stroke-width: 3; }
.map-point .point-layer { stroke: var(--surface-bg); stroke-width: 2.6; }
.map-point .point-layer-factory { fill: #f39c12; }
.map-point .point-layer-warehouse { fill: #8b5cf6; }
.map-point .point-layer-customer { fill: #16a085; stroke-width: 2; }
.map-point .point-ring { fill: none; stroke: currentColor; stroke-width: 3; }
.map-point text { fill: var(--text-color); font-size: 13px; font-weight: 700; paint-order: stroke; stroke: var(--surface-bg); stroke-width: 4px; }
@keyframes footprintPulse {
    0%, 32% { transform: scale(0.55); opacity: 0.25; }
    75%, 100% { transform: scale(1.15); opacity: 0; }
}
.footprint-map-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
}
.footprint-map-note i { color: var(--accent-color); }
.domestic-network-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 34px 28px 18px;
}
.domestic-network-head .footprint-eyebrow { margin-bottom: 6px; }
.domestic-network-head h3 { color: var(--text-color); font-size: 24px; line-height: 1.3; }
.china-map-card {
    position: relative;
    min-width: 0;
    margin-bottom: 18px;
    padding: 26px 28px 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 86, 179, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 78% 52%, color-mix(in srgb, #16a085 10%, transparent), transparent 32%),
        linear-gradient(145deg, var(--surface-bg), color-mix(in srgb, var(--primary-color) 4%, var(--surface-soft)));
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.10);
}
.china-map-head {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.china-map-head h3 {
    color: var(--text-color);
    font-size: 22px;
    line-height: 1.35;
}
.china-map-legend { max-width: 430px; }
.china-map {
    width: 100%;
    max-width: 1160px;
    margin: -14px auto -10px;
    color: var(--primary-color);
}
.china-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.china-grid path {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 0.8;
    stroke-dasharray: 3 7;
}
.china-provinces { color: var(--primary-color); }
.china-province {
    fill: rgba(0, 86, 179, 0.08);
    fill: color-mix(in srgb, var(--primary-color) 9%, var(--surface-bg));
    stroke: rgba(0, 86, 179, 0.34);
    stroke: color-mix(in srgb, var(--primary-color) 38%, transparent);
    stroke-width: 0.85;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    transition: fill 0.25s ease, stroke 0.25s ease;
}
.china-map-card:hover .china-province {
    fill: rgba(0, 86, 179, 0.12);
    fill: color-mix(in srgb, var(--primary-color) 13%, var(--surface-bg));
    stroke: rgba(0, 86, 179, 0.48);
    stroke: color-mix(in srgb, var(--primary-color) 52%, transparent);
}
.customer-zone path {
    fill: none;
    stroke: rgba(22, 160, 133, 0.34);
    stroke-width: 1.2;
    stroke-dasharray: 6 7;
}
.china-customer-points circle {
    fill: #16a085;
    stroke: var(--surface-bg);
    stroke-width: 2.5;
    opacity: 0.85;
}
.china-point { color: #16a085; }
.china-point.point-factory { color: #f39c12; }
.china-point.point-rd { color: #0ea5e9; }
.china-point.point-office { color: #ef476f; }
.china-point.point-warehouse { color: #8b5cf6; }
.china-point.combined-shaoxing { color: #ef476f; }
.china-point.combined-quzhou { color: #f39c12; }
.china-point .point-pulse {
    display: none;
    fill: currentColor;
    opacity: 0.14;
    transform-box: fill-box;
    transform-origin: center;
    animation: none;
}
.china-point.combined-quzhou .point-pulse {
    display: inline;
    animation: footprintPulse 2.5s ease-out infinite;
}
.china-point .point-core {
    fill: currentColor;
    stroke: var(--surface-bg);
    stroke-width: 3;
}
.china-point .point-pulse-warehouse { fill: #8b5cf6; }
.china-point .point-pulse-factory { fill: #f39c12; }
.china-point .point-layer {
    stroke: var(--surface-bg);
    stroke-width: 3;
}
.china-point .point-layer-factory { fill: #f39c12; }
.china-point .point-layer-warehouse { fill: #8b5cf6; }
.china-point .point-layer-office { fill: #ef476f; stroke-width: 2.4; }
.china-point .point-leader {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
}
.china-point text {
    fill: var(--text-color);
    font-size: 14px;
    font-weight: 800;
    paint-order: stroke;
    stroke: var(--surface-bg);
    stroke-width: 5px;
    stroke-linejoin: round;
}
.china-map-note { position: relative; z-index: 2; }
.footprint-site-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.footprint-site-card {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 150px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--surface-bg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.footprint-site-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.factory-card:hover { border-color: rgba(243, 156, 18, 0.55); }
.rd-card:hover { border-color: rgba(0, 168, 255, 0.55); }
.office-card:hover { border-color: rgba(239, 71, 111, 0.55); }
.warehouse-card:hover { border-color: rgba(139, 92, 246, 0.55); }
.site-card-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    font-size: 21px;
}
.factory-card .site-card-icon { background: linear-gradient(135deg, #f5b041, #e67e22); box-shadow: 0 10px 24px rgba(243, 156, 18, 0.24); }
.rd-card .site-card-icon { background: linear-gradient(135deg, #38bdf8, #0056b3); box-shadow: 0 10px 24px rgba(0, 86, 179, 0.22); }
.office-card .site-card-icon { background: linear-gradient(135deg, #fb7185, #be123c); box-shadow: 0 10px 24px rgba(190, 18, 60, 0.20); }
.warehouse-card .site-card-icon { background: linear-gradient(135deg, #a78bfa, #6d28d9); box-shadow: 0 10px 24px rgba(109, 40, 217, 0.20); }
.site-card-copy { min-width: 0; }
.site-card-copy > span { color: var(--text-light); font-size: 12px; font-weight: 700; }
.site-card-copy h3 { margin: 2px 0 6px; color: var(--text-color); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3; }
.site-card-copy p { color: var(--text-light); font-size: 13px; line-height: 1.6; }
.site-card-copy p i { margin-right: 5px; color: var(--accent-color); }
.customer-coverage {
    display: grid;
    grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.6fr);
    gap: 30px;
    margin-top: 24px;
    padding: 28px 30px;
    border: 1px solid rgba(0, 86, 179, 0.14);
    border-radius: 20px;
    background: linear-gradient(120deg, color-mix(in srgb, var(--primary-color) 7%, var(--surface-bg)), var(--surface-bg));
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
.coverage-heading { display: flex; align-items: center; gap: 16px; }
.coverage-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #16a085, #0e7490);
    box-shadow: 0 10px 24px rgba(22, 160, 133, 0.22);
}
.coverage-heading h3 { color: var(--text-color); font-size: 18px; line-height: 1.45; }
.coverage-groups { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 24px; align-items: center; }
.coverage-divider { width: 1px; height: 100%; min-height: 62px; background: var(--border-color); }
.coverage-group-label { display: block; margin-bottom: 10px; color: var(--text-light); font-size: 12px; font-weight: 700; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.coverage-tags span {
    padding: 5px 12px;
    border: 1px solid rgba(22, 160, 133, 0.22);
    border-radius: 999px;
    color: color-mix(in srgb, #16a085 78%, var(--text-color));
    background: color-mix(in srgb, #16a085 9%, var(--surface-bg));
    font-size: 12px;
    font-weight: 700;
}
.overseas-tags span {
    border-color: rgba(0, 168, 255, 0.22);
    color: color-mix(in srgb, var(--accent-color) 76%, var(--text-color));
    background: color-mix(in srgb, var(--accent-color) 9%, var(--surface-bg));
}
@media (max-width: 1280px) {
    .footprint-site-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
    .china-map-head { flex-direction: column; gap: 14px; }
    .china-map-legend { justify-content: flex-start; max-width: none; }
    .china-map { margin-top: 0; }
    .footprint-site-list { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
    .footprint-site-card { align-items: center; flex-direction: row; }
    .customer-coverage { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .footprint-map-card { padding: 22px 16px 16px; border-radius: 16px; }
    .domestic-network-head { margin-left: 16px; margin-right: 16px; }
    .footprint-map-head { flex-direction: column; gap: 14px; }
    .footprint-legend { justify-content: flex-start; max-width: none; }
    .world-map { margin: 8px 0; overflow: visible; }
    .world-map svg { min-width: 0; }
    .world-map .map-point text {
        display: block;
        font-size: 22px;
        stroke-width: 6px;
        stroke-linejoin: round;
    }
    .domestic-network-head { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 22px; }
    .china-map-card { padding: 22px 16px 16px; border-radius: 16px; }
    .china-map-head h3 { font-size: 19px; }
    .china-map { margin: 8px 0 0; overflow: hidden; }
    .china-map svg { width: 122%; transform: translateX(-9%); }
    .china-point text { font-size: 16px; }
    .china-customer-points circle { r: 5; }
    .footprint-site-list { grid-template-columns: 1fr; }
    .footprint-site-card { min-height: 0; flex-direction: row; align-items: center; padding: 20px; }
    .customer-coverage { padding: 24px 20px; }
    .coverage-groups { grid-template-columns: 1fr; gap: 18px; }
    .coverage-divider { width: 100%; height: 1px; min-height: 1px; }
}

.reasons-blue { background: linear-gradient(135deg, var(--reasons-bg-start) 0%, var(--reasons-bg-end) 100%); color: var(--text-color); position: relative; padding: var(--section-leading-space) 0 var(--section-space); overflow: hidden; }
.bg-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.5; pointer-events: none; }
.reasons-blue .bg-pattern {
    background-image: none;
    opacity: 0;
}
.reasons-blue .section-title.white h2 { color: var(--text-color); }
.reasons-blue .section-title .section-subtitle {
    color: var(--text-light);
}
.reasons-layout { margin-top: 0; display: flex; flex-direction: column; gap: 60px; }
.reason-row {
    display: flex;
    align-items: stretch;
    gap: 50px;
    background: linear-gradient(135deg, var(--surface-bg), var(--surface-soft));
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}
.reason-row.reverse { flex-direction: row-reverse; }
/* Higher specificity than `.reveal` so its `transition: all 0.8s` can't bleed into hover.
   Reveal animation keeps its 0.8s opacity/transform; hover props get a snappier 0.2s.
   No transform on hover — would conflict with `.reveal.active`'s `translateY(0)`. */
.reason-row.reveal,
.reason-row.reveal.active {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out,
                background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.reason-row:hover {
    background: linear-gradient(135deg, var(--surface-bg), var(--surface-muted));
    border-color: rgba(243, 156, 18, 0.85);
    box-shadow: var(--shadow-hover), 0 0 36px rgba(243, 156, 18, 0.20);
}
.reason-text { flex: 1.2; }
.reason-image { flex: 0.8; height: 300px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.reason-num { font-size: 4rem; font-weight: 700; color: var(--reason-number-color); line-height: 1; margin-bottom: -20px; position: relative; z-index: 0; }
.reason-text h3 { font-size: 1.8rem; margin-bottom: 18px; position: relative; z-index: 1; color: var(--text-color); }
.reason-text p { color: var(--text-light); font-size: 1rem; position: relative; z-index: 1; }
.reason-text .reason-desc + .reason-desc { margin-top: 12px; }

/* --- Honors / Certifications Section --- */
.honors-section {
    background: var(--page-bg);
    color: var(--text-color);
    position: relative;
    padding: 24px 0 0;
    overflow: hidden;
}
.honors-section .bg-pattern {
    opacity: 0;
    background-size: 42px 42px;
}
.honors-section .section-title {
    margin-bottom: var(--section-heading-gap);
}
.honors-section .section-title.white h2 {
    color: var(--text-color);
}
.honors-section .section-title p {
    color: var(--text-light) !important;
}
.honor-glow {
    display: none;
}

.honors-stage {
    position: relative;
    margin: 0 auto;
    height: 1040px;
    max-width: 1220px;
    z-index: 2;
    isolation: isolate;
}

.honor-stage-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}
.honor-stage-backdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    display: none;
}
.honor-stage-backdrop::after {
    content: '';
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -44px;
    height: 170px;
    display: none;
    border-radius: 50% 50% 0 0 / 70% 70% 0 0;
}
.honor-podium {
    position: absolute;
    display: block;
    transform: translateY(-74px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 24%),
        linear-gradient(90deg, rgba(19,158,216,0.96) 0%, rgba(35,102,184,0.98) 52%, rgba(84,28,139,0.98) 100%);
    border-radius: 46% 46% 0 0 / 34px 34px 0 0;
    box-shadow:
        inset 0 22px 32px rgba(255,255,255,0.18),
        inset 0 -34px 55px rgba(10,19,84,0.44),
        0 26px 46px rgba(8,24,72,0.24);
}
.honor-podium::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 68px;
    border-radius: 46% / 50%;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(188,239,250,0.98) 0%, rgba(73,188,229,0.96) 48%, rgba(31,118,200,0.96) 76%, rgba(24,78,167,0.98) 100%);
    box-shadow:
        inset 0 7px 12px rgba(255,255,255,0.34),
        inset 0 -10px 16px rgba(7,55,132,0.36);
}
.podium-top-left {
    left: 2%;
    top: 314px;
    width: 31%;
    height: 290px;
    z-index: 1;
}
.podium-top-center {
    left: 28%;
    top: 442px;
    width: 32%;
    height: 310px;
    z-index: 2;
}
.podium-top-right {
    right: 0;
    top: 328px;
    width: 37%;
    height: 320px;
    z-index: 1;
}
.podium-mid-left {
    left: -3%;
    top: 652px;
    width: 39%;
    height: 340px;
    z-index: 3;
}
.podium-mid-center {
    left: 38%;
    top: 632px;
    width: 33%;
    height: 330px;
    z-index: 3;
}
.podium-mid-right {
    right: 8%;
    top: 680px;
    width: 25%;
    height: 310px;
    z-index: 3;
}
.podium-front-left {
    left: 20%;
    top: 968px;
    width: 27%;
    height: 260px;
    z-index: 4;
}
.podium-front-center {
    left: 45%;
    top: 944px;
    width: 26%;
    height: 285px;
    z-index: 4;
}
.podium-front-right {
    right: -1%;
    top: 1006px;
    width: 33%;
    height: 260px;
    z-index: 4;
}

/* Certificate cards */
.honor-cards {
    position: absolute;
    inset: 0;
    z-index: 3;
    transform: translateY(-37px);
}
.honor-card {
    position: absolute;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.74), rgba(173,220,246,0.42) 38%, rgba(255,255,255,0.86));
    padding: 13px;
    border-radius: 6px;
    border: 1px solid rgba(21, 99, 163, 0.52);
    box-shadow:
        0 24px 38px rgba(5, 35, 88, 0.42),
        0 8px 14px rgba(8, 21, 56, 0.28),
        inset 0 0 0 1px rgba(255,255,255,0.72);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    transform-origin: center center;
}
.honor-card::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,255,255,0.48);
    pointer-events: none;
    border-radius: 4px;
    background:
        radial-gradient(circle at 8px 8px, #e6eef3 0 3px, #7d8b98 4px, transparent 5px),
        radial-gradient(circle at calc(100% - 8px) 8px, #e6eef3 0 3px, #7d8b98 4px, transparent 5px),
        radial-gradient(circle at 8px calc(100% - 8px), #e6eef3 0 3px, #7d8b98 4px, transparent 5px),
        radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), #e6eef3 0 3px, #7d8b98 4px, transparent 5px);
}
.honor-card:hover {
    filter: saturate(1.05);
    box-shadow:
        0 36px 70px rgba(5, 28, 72, 0.56),
        0 10px 18px rgba(8, 21, 56, 0.32),
        inset 0 0 0 1px rgba(255,255,255,0.88);
    z-index: 10;
}

.cert-frame {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 4 / 5.2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.honor-card.horizontal .cert-frame {
    aspect-ratio: 5 / 3;
}
.cert-frame > img,
.cert-frame > canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.cert-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,0.42), rgba(255,255,255,0) 32%, rgba(255,255,255,0.32) 68%, rgba(255,255,255,0));
    pointer-events: none;
}
/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 30, 0.92);
    backdrop-filter: blur(8px);
    cursor: zoom-out;
}
.lightbox-stage {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    pointer-events: none;
}
.lightbox-body {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    min-width: 280px;
    min-height: 200px;
    max-width: 92vw;
    max-height: 80vh;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.lightbox.open .lightbox-body { transform: scale(1); }
.lightbox-body > img {
    display: block;
    max-width: 92vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
/* PDF multi-page wrapper — vertical scrollable stack */
.lightbox-body.pdf-mode {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    background: #e2e8f0;
}
.pdf-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 20px;
    width: 100%;
}
.pdf-pages canvas.pdf-page {
    display: block;
    max-width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.pdf-page-indicator {
    position: sticky;
    top: 0;
    z-index: 2;
    align-self: stretch;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.95);
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin: -10px -10px 0;
}
.pdf-page-indicator .icon { margin-right: 6px; opacity: 0.7; }
.lightbox-spinner {
    color: var(--accent-color);
    font-size: 36px;
    padding: 60px;
}
.lightbox-caption {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
    pointer-events: auto;
    padding: 0 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.lightbox-btn {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 768px) {
    .lightbox-btn { width: 40px; height: 40px; font-size: 15px; }
    .lightbox-close { top: 14px; right: 14px; }
    .lightbox-prev  { left: 8px; }
    .lightbox-next  { right: 8px; }
    .lightbox-caption { font-size: 13px; }
}

/* Clean certificate gallery: consistent with the site's card-based visual language. */
.honors-section .honors-stage {
    height: auto;
    padding-bottom: 56px;
}
.honors-section .honor-stage-backdrop {
    display: none;
}
.honors-section .honor-cards {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    transform: none;
}
.honors-section .honor-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    z-index: 1;
    padding: 14px;
    transform: none;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.honors-section .honor-card::after,
.honors-section .cert-frame::before {
    display: none;
}
.honors-section .honor-card:hover {
    z-index: 2;
    filter: none;
    transform: translateY(-6px) !important;
    border-color: rgba(0, 168, 255, 0.36);
    box-shadow: var(--shadow-hover);
}
.honors-section .cert-frame,
.honors-section .honor-card.horizontal .cert-frame {
    width: 100%;
    height: min(300px, 70vw);
    aspect-ratio: auto;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface-soft);
}

/* Bottom honor tags bar — full width, edge to edge */
.honor-tags-bar {
    margin-top: 0;
    background: linear-gradient(
        90deg,
        var(--honor-tags-bg-start) 0%,
        var(--honor-tags-bg-mid) 50%,
        var(--honor-tags-bg-end) 100%
    );
    border-top: 3px solid var(--accent-color);
    position: relative;
    z-index: 2;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.honor-tags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
}
.honor-tag {
    padding: 36px 20px;
    text-align: center;
    border-right: 1px solid var(--honor-tags-border);
    position: relative;
}
.honor-tag:last-child { border-right: none; }
.honor-tag h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--honor-tags-heading);
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.honor-tag p {
    font-size: 11px;
    color: var(--honor-tags-text);
    letter-spacing: 1.5px;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .honors-stage {
        height: auto;
        min-height: 0;
        padding: 0 0 36px;
        margin-top: 34px;
    }
    .honor-stage-backdrop { display: none; }
    .honors-section .honor-cards {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        transform: none;
    }
    .honors-section .honor-card {
        position: relative;
        top: auto !important; left: auto !important; right: auto !important;
        width: 100% !important;
        transform: none !important;
        padding: 10px;
    }
    .honor-card:hover { transform: translateY(-8px) scale(1.03) !important; }

    /* Re-order so cards with the same aspect ratio sit on the same row.
       Vertical: 1, 2, 3, 6 (ISO-Q, ISO-E, OEKO, RSL).
       Horizontal: 4, 5, 7, 8, 9 (two SME honor certs + three plaques).
       Without this, e.g. row 2 would be (vertical, horizontal) and the row
       takes the vertical card's height, leaving black dead-space below the horizontal one. */
    .honor-card-1 { order: 1; }
    .honor-card-2 { order: 2; }
    .honor-card-3 { order: 3; }
    .honor-card-6 { order: 4; }
    .honor-card-4 { order: 5; }
    .honor-card-5 { order: 6; }
    .honor-card-7 { order: 7; }
    .honor-card-8 { order: 8; }
    .honor-card-9 { order: 9; }
}
@media (max-width: 768px) {
    .honors-section { padding: 40px 0 0; }
    .honors-section .honor-cards { gap: 14px; }
    .cert-frame { padding: 8px; }
    .honor-tags-grid { grid-template-columns: 1fr; }
    .honor-tag { border-right: none; border-bottom: 1px solid var(--honor-tags-border); padding: 24px 20px; }
    .honor-tag:last-child { border-bottom: none; }
    .honor-tag h3 { font-size: 18px; letter-spacing: 1px; }
    .honor-tag p { font-size: 10px; }
}
@media (max-width: 560px) {
    .honors-section .honor-cards { grid-template-columns: 1fr; }
}

/* --- Products Page --- */
.product-intro, .contact-section { background-color: var(--light-bg); }
.product-intro {
    padding-bottom: 44px;
}
.product-list-section {
    padding-top: 36px;
    padding-bottom: 24px;
}
.gallery-section {
    padding-bottom: 48px;
}
.intro-text { max-width: 980px; margin: 0 auto; text-align: center; color: #666; line-height: 1.8; font-size: 16px; }
.product-search {
    max-width: 980px;
    margin: 34px auto 0;
    position: relative;
    z-index: 3;
}
.product-search-form {
    padding: 22px;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}
.product-search-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 700;
}
.product-search-label i { color: var(--secondary-color); }
.product-search-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}
.product-search-control input {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 16px;
    color: var(--text-color);
    background: var(--input-bg);
    outline: none;
    font-size: 16px;
}
.product-search-control input::placeholder { color: var(--text-light); opacity: 0.72; }
.product-search-control input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.28);
}
.product-search-control button {
    min-width: 110px;
    border: none;
    border-radius: 8px;
    background: var(--secondary-color);
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.product-search-control button:hover {
    background: #d98d00;
    transform: translateY(-1px);
}
.product-search-hint {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 14px;
}
.product-search-results {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--surface-bg);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
}
.product-search-results.active { display: block; }
.product-search-result {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 15px 18px;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    text-align: left;
    cursor: pointer;
}
.product-search-result:last-child { border-bottom: none; }
.product-search-result:hover,
.product-search-result:focus {
    background: rgba(0, 86, 179, 0.08);
    outline: none;
}
.product-search-result strong {
    display: block;
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.45;
}
.product-search-result span {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 13px;
}
.product-search-result em {
    justify-self: end;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--secondary-color);
    background: var(--surface-soft);
    font-style: normal;
    font-size: 12px;
    white-space: nowrap;
}
.product-search-empty {
    padding: 18px;
    color: var(--text-light);
}
.product-search-target {
    position: relative;
    animation: productTargetPulse 1.8s ease 0s 2;
    box-shadow: inset 4px 0 0 var(--secondary-color), 0 0 0 1px rgba(255, 165, 0, 0.22);
}
@keyframes productTargetPulse {
    0%, 100% { background-color: transparent; }
    45% { background-color: rgba(255, 165, 0, 0.16); }
}
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 0; }
.cat-item {
    padding: 10px;
    background: var(--category-card-bg);
    border: 1px solid var(--category-card-border);
    border-radius: 12px;
    box-shadow: var(--category-card-shadow);
    transition: var(--transition);
}
.cat-item-clickable { cursor: pointer; }
.cat-item:hover,
.cat-item.reveal.active:hover {
    transform: translateY(-5px);
    border-color: var(--category-card-border-hover);
    box-shadow: var(--category-card-shadow-hover);
}
.cat-visual { position: relative; height: 380px; overflow: hidden; margin-bottom: 0; border-radius: 8px; background: var(--surface-soft); }
.reason-image img, .cat-visual .bg-img, .p-img img, .news-img img, .img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.cat-visual .bg-img { transition: transform 0.6s ease; filter: brightness(0.8); }
.cat-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(18, 18, 18, 0.94); color: var(--white); width: 280px; height: 220px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; box-shadow: 0 18px 44px rgba(0,0,0,0.34); transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.2s ease; }
.cat-item:hover .cat-box { transform: translate(-50%, -60%); background-color: rgba(18, 18, 18, 0.96); box-shadow: 0 24px 56px rgba(0,0,0,0.42); }
.cat-box h3 { color: #b8860b; font-size: 18px; margin-bottom: var(--copy-heading-gap); font-weight: 500; }
.cat-box > span:not(.view-more) { color: var(--white); }
.small-line { width: 30px; height: 1px; background: #ddd; margin: 20px 0; transition: width 0.3s ease; }
.cat-item:hover .small-line { width: 50px; background: var(--secondary-color); }
.view-more { font-size: 12px; color: #b8860b; border-bottom: 1px solid transparent; transition: all 0.3s; }
.cat-desc {
    margin-top: 10px;
    padding: 22px 4px 24px;
    border-top: 1px solid var(--category-card-divider);
}
.cat-desc h4 {
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 8px;
}
.cat-desc p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.85;
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-item, .news-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 12px 30px rgba(15,23,42,0.10); transition: var(--transition); color: inherit; text-decoration: none; cursor: pointer; }
.product-item { display: block; }
.product-item:hover, .news-card:hover, .gallery-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.category-grid .cat-item.product-return-target {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.22), var(--shadow-hover);
}
.section.products .product-item {
    padding: 10px;
    background: var(--home-product-card-bg);
    border: 1px solid var(--home-product-card-border);
    border-radius: 12px;
    box-shadow: var(--home-product-card-shadow);
}
.section.products .product-item:hover {
    border-color: var(--home-product-card-border-hover);
    box-shadow: var(--home-product-card-shadow-hover);
}
.cat-item.reveal,
.cat-item.reveal.active,
.product-item.reveal,
.product-item.reveal.active,
.news-card.reveal,
.news-card.reveal.active {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
}
.p-img, .news-img, .img-wrapper { position: relative; overflow: hidden; }
.p-img, .img-wrapper { height: 250px; }
.section.products .p-img {
    border-radius: 8px;
    background: var(--surface-soft);
}
.section.products .p-img::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 -1px 0 var(--home-product-card-divider);
}
.p-img img, .img-wrapper img { transition: transform 0.6s ease; }
.cat-item:hover .bg-img, .product-item:hover .p-img img, .news-card:hover .news-img img, .gallery-item:hover .img-wrapper img { transform: scale(1.1); }
.p-overlay, .hover-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; opacity: 0; }
.p-overlay { background: transparent; transition: var(--transition); }
.product-item:hover .p-overlay, .gallery-item:hover .hover-overlay { opacity: 1; }
.p-overlay button, .p-overlay .p-overlay-btn { background: var(--white); color: var(--primary-color); border: none; padding: 10px 25px; border-radius: 25px; font-weight: bold; cursor: pointer; display: inline-block; }
.p-info { padding: 25px; text-align: center; border-bottom: 3px solid transparent; transition: var(--transition); }
.section.products .p-info {
    margin-top: 10px;
    padding: 22px 14px 18px;
    border-top: 1px solid var(--home-product-card-divider);
}
.section.products .p-info h3 { color: var(--text-color); margin-bottom: var(--copy-heading-gap); }
.section.products .p-info p {
    color: var(--text-light);
    font-weight: 600;
}
.product-item:hover .p-info { border-bottom-color: var(--secondary-color); }

/* --- News --- */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 42px;
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    box-shadow: 0 14px 38px rgba(0,0,0,0.14);
}
.tab-btn, .prod-tab-btn { padding: 15px 40px; font-size: 16px; background: transparent; border: none; cursor: pointer; font-weight: 500; color: #666; position: relative; transition: all 0.3s ease; }
.news-tabs .tab-btn,
.news-tabs .prod-tab-btn {
    min-width: 150px;
    padding: 10px 28px;
    border-radius: 999px;
    color: var(--text-light);
}
.tab-btn.active, .prod-tab-btn.active { color: var(--primary-color); font-weight: 700; }
.news-tabs .tab-btn.active,
.news-tabs .tab-btn:hover,
.news-tabs .prod-tab-btn.active,
.news-tabs .prod-tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(96, 165, 250, 0.26);
}
.tab-btn.active::after, .prod-tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px; background: var(--primary-color); }
.news-tabs .tab-btn.active::after,
.news-tabs .prod-tab-btn.active::after { display: none; }
.news-list { display: none; }
.news-list.active {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news-row {
    position: relative;
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 24px 28px;
    background: var(--news-list-card-bg);
    border: 1px solid var(--news-list-card-border);
    border-radius: 12px;
    box-shadow: var(--news-list-card-shadow);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}
.news-row::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.news-row.reveal,
.news-row.reveal.active {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out,
                box-shadow 0.35s ease, border-color 0.35s ease;
}
.news-row:hover,
.news-row.reveal.active:hover {
    transform: translateY(-4px);
    border-color: var(--news-list-card-border-hover);
    box-shadow: var(--news-list-card-shadow-hover);
}
.news-row:hover::before { opacity: 1; }
.news-date {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
    padding: 14px 10px;
    line-height: 1;
    border: 1px solid var(--news-date-border);
    border-radius: 10px;
    background: var(--news-date-bg);
}
.news-date .year { display: block; font-size: 28px; font-weight: 800; color: var(--text-color); line-height: 1; letter-spacing: 0; }
.news-date .day { display: block; font-size: 14px; font-weight: 700; color: var(--primary-color); line-height: 1.2; }
.news-row:hover .news-date .year { color: var(--primary-color); }
.news-row:hover .news-info h3 { color: var(--primary-color); }
.news-info { flex: 1; min-width: 0; }
.news-info h3 {
    margin-bottom: var(--copy-heading-gap);
    color: var(--text-color);
    font-size: 19px;
    line-height: 1.45;
    transition: color 0.3s ease;
}
.news-info p {
    line-height: 1.8;
}
.news-row-card { gap: 24px; align-items: flex-start; }
.news-thumb {
    flex: 0 0 260px;
    width: 260px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--news-date-border);
    background: var(--surface-soft);
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card-date {
    display: inline-flex;
    width: fit-content;
    margin-top: 18px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--news-date-bg);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
}
.news-list:not(#faq) .news-row:not(.news-row-card) {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.news-list:not(#faq) .news-row:not(.news-row-card) .news-date {
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
}
.news-list:not(#faq) .news-row:not(.news-row-card) .news-date .year {
    font-size: 14px;
    font-weight: 800;
}
.news-list:not(#faq) .news-row:not(.news-row-card) .news-date .day {
    padding-left: 8px;
    border-left: 1px solid var(--news-date-border);
    font-size: 13px;
}
#faq .news-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
#faq .news-date {
    flex: 0 0 auto;
    width: auto;
    min-height: 0;
    align-self: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: none;
}
#faq .news-date .year {
    font-size: 0;
}
#faq .news-date .year::before {
    content: 'Q&A';
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-color);
}
#faq .news-date .day {
    padding-left: 8px;
    border-left: 1px solid var(--news-date-border);
    color: var(--text-color);
    font-size: 13px;
    font-weight: 800;
}
#faq .news-row:hover .news-date .year::before {
    color: var(--secondary-color);
}

.news-wrapper { display: flex; gap: 30px; }
.news-card { flex: 1; display: flex; flex-direction: column; }
.news-img { height: 220px; }
.news-img img { transition: transform 0.5s; }
.date-badge { position: absolute; top: 15px; left: 15px; background: var(--white); padding: 8px 15px; border-radius: 8px; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
.date-badge .day { display: block; font-size: 18px; font-weight: 700; color: var(--primary-color); }
.news-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.news-content h3 { margin-bottom: var(--copy-heading-gap); }
.read-more { font-size: 14px; font-weight: 600; color: var(--primary-color); display: flex; align-items: center; gap: 5px; margin-top: auto; }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; flex-wrap: wrap; }
.news-section { padding-bottom: 56px; }
.news-section .pagination { margin-top: 34px; }
.pagination a { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid #ddd; border-radius: 8px; color: var(--text-color); text-decoration: none; font-size: 16px; font-weight: 500; transition: var(--transition); background: var(--white); }
.pagination a:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25); }
.pagination a.active { background: var(--primary-color); border-color: var(--primary-color); color: var(--white); pointer-events: none; }

/* --- Gallery --- */
.gallery-intro { max-width: 820px; margin-left: auto; margin-right: auto; margin-bottom: 34px; }
.gallery-intro .section-subtitle { line-height: 1.8; }
.filter-controls { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { padding: 10px 30px; border: 1px solid #ddd; background: transparent; color: #666; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; font-size: 15px; }
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gallery-section .gallery-item {
    padding: 10px;
    background: var(--gallery-card-bg);
    border: 1px solid var(--gallery-card-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--gallery-card-shadow);
    transition: all 0.4s ease;
    transform: scale(1);
    opacity: 1;
}
.gallery-section .gallery-item:hover,
.gallery-section .gallery-item.reveal.active:hover {
    transform: translateY(-5px);
    border-color: var(--gallery-card-border-hover);
    box-shadow: var(--gallery-card-shadow-hover);
}
.gallery-item.reveal,
.gallery-item.reveal.active {
    transition: opacity 0.26s ease, transform 0.26s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.gallery-item.hide { display: none !important; opacity: 0 !important; pointer-events: none; }
.gallery-section .gallery-item .img-wrapper {
    height: auto;
    aspect-ratio: 3 / 2;
    background: var(--surface-soft);
    border-radius: 8px;
}
.gallery-section .gallery-item .img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 -1px 0 var(--gallery-card-divider);
}
:root[data-theme="dark"] .gallery-item img[src*="placehold.co"] {
    filter: invert(1) hue-rotate(180deg) brightness(0.78) contrast(0.9);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .gallery-item img[src*="placehold.co"] {
        filter: invert(1) hue-rotate(180deg) brightness(0.78) contrast(0.9);
    }
}
.hover-overlay {
    background: transparent;
    color: var(--white);
    transition: all 0.4s ease;
    cursor: pointer;
}
.hover-overlay i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.55);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}
.gallery-section .gallery-caption {
    margin-top: 10px;
    padding: 16px 12px 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    border-top: 1px solid var(--gallery-card-divider);
}
@media (max-width: 640px) {
    .filter-controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: min(100%, 300px);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }
    .filter-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 52px;
        padding: 0 12px;
        font-size: 15px;
        line-height: 1.2;
        white-space: nowrap;
    }
    .gallery-section .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Contact --- */
.contact-page .contact-section { padding-bottom: 48px; }
.contact-page > footer { padding-top: 48px; }
.contact-wrapper { display: flex; align-items: flex-start; background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.1); min-height: 600px; }
.contact-info-box { flex: 1; padding: 60px 50px; background: #fff; position: relative; z-index: 2; }
.info-header h2 { font-size: 32px; color: var(--primary-color); margin-bottom: 15px; }
.info-group h3 { font-size: 18px; color: #333; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.info-group li { line-height: 1.7; }
.info-group .label { font-weight: 600; color: #333; }
.contact-info-box .info-list > .divider { margin: 18px 0; border: 0; border-top: 1px solid rgba(148, 163, 184, 0.45); }
.hotline-group h3 { margin-bottom: 8px; }
.hotline-group ul { margin-top: 0; }
.contact-phones { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.contact-phones span { white-space: nowrap; }
.wechat-link-panel { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(148, 163, 184, 0.45); }
.wechat-link-panel h3 { font-size: 18px; color: #333; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.wechat-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wechat-link-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(0, 86, 179, 0.18); border-radius: 8px; background: #f8fafc; color: var(--text-color); transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; }
.wechat-link-card:hover { border-color: var(--primary-color); background: #eef6ff; transform: translateY(-2px); }
.wechat-link-card > i { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-color); color: var(--white); font-size: 16px; }
.wechat-link-card span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wechat-link-card strong { color: #1f2937; font-size: 15px; }
.wechat-link-card em { color: #64748b; font-size: 13px; font-style: normal; }
.wechat-link-card-wide { grid-column: 1 / -1; }
.platform-qr-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px 12px; }
.platform-qr-image { grid-column: 1 / -1; width: 100%; height: 176px; object-fit: contain; padding: 8px; border: 1px solid rgba(0, 86, 179, 0.14); border-radius: 8px; background: #fff; }
.platform-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.86);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.platform-qr-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.platform-qr-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: min(720px, calc(100vw - 64px));
    max-height: calc(100vh - 64px);
}
.platform-qr-modal-content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.platform-qr-modal-content p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}
.platform-qr-modal-close {
    position: fixed;
    top: 22px;
    right: 26px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.34);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.84);
    color: #fff;
    font-size: 32px;
    line-height: 38px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.platform-qr-modal-close:hover,
.platform-qr-modal-close:focus-visible {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}
body.platform-qr-open {
    overflow: hidden;
}
.wechat-link-card.is-placeholder { border-style: dashed; cursor: default; pointer-events: none; }
.wechat-link-card.is-placeholder:hover { background: #f8fafc; transform: none; }
.contact-map-box {
    flex: 1.5;
    display: flex;
    align-items: stretch;
    align-self: flex-start;
    position: relative;
    height: clamp(520px, 42vw, 640px);
    min-height: 0;
    padding: 22px;
    background:
        radial-gradient(circle at 18% 18%, var(--map-shell-glow), transparent 36%),
        linear-gradient(145deg, var(--map-shell-start), var(--map-shell-end));
}
.map-panel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: none;
    border: 1px solid var(--map-panel-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--map-panel-bg);
    box-shadow: var(--map-panel-shadow);
}
.map-static-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--map-media-filter);
    transition: opacity 0.35s ease;
}
.map-panel.map-ready .map-static-image {
    opacity: 0;
}
.map-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--map-panel-overlay);
    z-index: 2;
}
.map-panel-header {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    background: rgba(8, 14, 26, 0.78);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 34px rgba(0,0,0,0.2);
}
.map-panel-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.map-panel-header i { color: var(--secondary-color); }
.map-panel-header small {
    color: rgba(255,255,255,0.76);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    padding-left: 0;
}
.amap-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    opacity: 0;
    filter: var(--map-media-filter);
    transition: opacity 0.35s ease;
}
.map-panel.map-ready .amap-container {
    opacity: 1;
}
.map-external-link {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 18px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.map-external-link-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    background: rgba(8, 14, 26, 0.84);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(0,0,0,0.24);
    backdrop-filter: blur(10px);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.map-external-link:hover .map-external-link-label,
.map-external-link:focus-visible .map-external-link-label {
    border-color: var(--secondary-color);
    background: var(--primary-color);
    transform: translateY(-2px);
}
.map-external-link:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: -5px;
}
@media (max-width: 768px) {
    .wechat-link-grid { grid-template-columns: 1fr; }
    .platform-qr-image { height: 220px; }
    .platform-qr-modal { padding: 18px; }
    .platform-qr-modal-content { max-width: calc(100vw - 36px); }
    .platform-qr-modal-content img { max-height: calc(100vh - 104px); }
    .platform-qr-modal-close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 30px;
        line-height: 34px;
    }
    .contact-map-box {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 14px;
    }
    .map-panel {
        height: 430px;
        min-height: 0;
    }
    .amap-container {
        min-height: 0;
    }
    .map-panel-header {
        left: 12px;
        right: 12px;
        top: 12px;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .map-panel-header small {
        text-align: center;
    }
    .map-external-link {
        padding: 12px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .contact-map-box {
        width: 100%;
        height: auto;
    }
    .map-panel {
        height: min(62vw, 560px);
        min-height: 480px;
    }
}
/* --- Footer --- */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 80px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.section.news + footer,
.news-section + footer,
.product-list-section + footer,
.gallery-section + footer,
.detail-wrapper + footer {
    padding-top: 44px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--footer-border); }
.footer-col > a:first-child {
    display: inline-block;
    margin-bottom: 20px;
}
.footer-col > a:first-child + p {
    margin-top: 0;
    margin-bottom: 20px;
}
.footer-desc-line {
    display: block;
}
.footer-desc-line + .footer-desc-line {
    margin-top: 6px;
}
.footer-col h3 { color: var(--footer-heading); font-size: 24px; margin-bottom: 20px; }
.footer-col h4 { color: var(--footer-heading); font-size: 18px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a:hover { color: var(--secondary-color); padding-left: 5px; transition: 0.3s; }
.footer-col ul li a[href="contact.html"] {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-left: 0;
    padding: 7px 14px 7px 11px;
    border: 1px solid rgba(243, 156, 18, 0.48);
    border-left: 3px solid var(--secondary-color);
    border-radius: 6px;
    background: rgba(243, 156, 18, 0.12);
    color: var(--footer-heading);
    font-weight: 700;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.footer-col ul li a[href="contact.html"]:hover,
.footer-col ul li a[href="contact.html"]:focus-visible {
    padding-left: 11px;
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(243, 156, 18, 0.22);
}
.footer-col ul li a[href="contact.html"]:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}
.footer-contact-block {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.55;
}
.footer-contact-block i {
    margin-top: 4px;
    flex: 0 0 20px;
}
.footer-contact-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.footer-contact-lines strong {
    color: var(--footer-heading);
    font-weight: 700;
}
.footer-contact-lines span {
    white-space: nowrap;
    margin-left: -28px;
}

/* --- Animations --- */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* --- Theme surfaces --- */
.section:not(.reasons-blue):not(.honors-section):not(.products),
.product-intro,
.contact-section,
body.detail-page-body {
    background-color: var(--page-bg);
}
.section.products,
.product-intro,
.contact-section {
    background-color: var(--surface-muted);
}
.stat-card,
.product-item,
.news-card,
.gallery-item,
.contact-wrapper,
.contact-info-box,
.desc-box,
.date-badge {
    background: var(--surface-bg);
    color: var(--text-color);
}
.gallery-caption,
.text-content p,
.intro-text,
.news-info p,
.news-card-date,
.center-header span,
.top-meta .date,
.info-group li,
.wechat-link-card em {
    color: var(--text-light);
}
.news-tabs,
.top-meta,
.gallery-caption,
.contact-info-box .info-list > .divider,
.wechat-link-panel,
.spec-table thead th,
.spec-table tbody td,
.pagination a,
.filter-btn {
    border-color: var(--border-color);
}
.tab-btn,
.prod-tab-btn,
.filter-btn {
    color: var(--text-light);
}
.pagination a,
.wechat-link-card,
.spec-table tbody tr:nth-child(even),
.desc-box {
    background: var(--surface-soft);
}
.wechat-link-card:hover {
    background: var(--surface-bg);
}
.info-group h3,
.info-group .label,
.wechat-link-card strong,
.center-header h2,
.top-meta h1 {
    color: var(--text-color);
}
.wechat-link-panel h3,
.wechat-link-panel h3 i {
    color: var(--secondary-color);
}
.wechat-link-panel .wechat-link-card {
    border-color: rgba(243, 156, 18, 0.44);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.08), rgba(243, 156, 18, 0.12));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}
.wechat-link-panel .wechat-link-card:hover {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.13), rgba(243, 156, 18, 0.18));
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}
.wechat-link-panel .wechat-link-card > i {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
:root[data-theme="dark"] .wechat-link-panel .wechat-link-card {
    border-color: rgba(243, 156, 18, 0.56);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(243, 156, 18, 0.18));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .wechat-link-panel .wechat-link-card:hover {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.30), rgba(243, 156, 18, 0.26));
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .wechat-link-panel .wechat-link-card {
        border-color: rgba(243, 156, 18, 0.56);
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(243, 156, 18, 0.18));
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    :root:not([data-theme]) .wechat-link-panel .wechat-link-card:hover {
        border-color: var(--secondary-color);
        background: linear-gradient(135deg, rgba(96, 165, 250, 0.30), rgba(243, 156, 18, 0.26));
    }
}
/* 未完成的素材暂不展示，补齐真实内容后移除对应 class 即可恢复。 */
.content-placeholder-hidden {
    display: none !important;
}

/* --- 响应式 Responsive --- */
@media (max-width: 992px) {
    .contact-wrapper, .news-wrapper, .row-flex { flex-direction: column; }
    .category-grid,
    .footer-top {
        grid-template-columns: 1fr;
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 48px; }
}

/* The full desktop navigation no longer fits cleanly in the tablet range.
   Switch only the navigation to its compact pattern while leaving tablet
   content grids and typography at their existing breakpoints. */
@media (min-width: 769px) and (max-width: 1140px) {
    .navbar {
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        overflow-x: clip;
        padding: 15px 0;
    }
    .navbar:not(.scrolled):not(.navbar-detail-solid) {
        background: transparent;
        border-bottom-color: transparent;
        box-shadow: none;
    }
    .navbar > .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    .nav-flex {
        width: 100%;
        min-width: 0;
        gap: 10px;
    }
    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }
    .logo img {
        width: 160px;
        max-width: 30vw;
        height: auto;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        flex-direction: column;
        gap: 15px;
        margin: 0;
        padding: 20px;
        background: var(--nav-mobile-bg);
        border-bottom: 1px solid rgba(255,255,255,0.12);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-links li a {
        color: rgba(255,255,255,0.94) !important;
    }
    .navbar.scrolled .nav-links,
    .navbar-detail-solid .nav-links {
        background: var(--nav-scrolled-bg);
        border-bottom-color: var(--nav-scrolled-border);
    }
    .navbar.scrolled .nav-links li a,
    .navbar-detail-solid .nav-links li a {
        color: var(--nav-scrolled-text) !important;
    }
    .navbar.scrolled .nav-links .btn-contact,
    .navbar-detail-solid .nav-links .btn-contact {
        border-color: var(--nav-scrolled-accent);
        color: var(--nav-scrolled-accent) !important;
    }
    .navbar.scrolled .nav-links .btn-contact:hover,
    .navbar-detail-solid .nav-links .btn-contact:hover {
        background: var(--nav-scrolled-accent);
        color: var(--nav-scrolled-button-text) !important;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        order: 4;
        width: 32px;
        height: 32px;
        color: rgba(255, 255, 255, 0.92);
    }
    .mobile-menu-btn i { display: none; }
    .mobile-menu-btn::before {
        content: '☰';
        font-size: 26px;
        line-height: 1;
        font-weight: 700;
    }
    .mobile-menu-btn.active::before {
        content: '×';
        font-size: 30px;
    }
    .theme-toggle {
        order: 3;
        width: 32px;
        height: 32px;
        margin: 0 5px;
        border-color: rgba(255, 255, 255, 0.38);
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.92);
    }
    .lang-switch {
        flex: 0 0 auto;
        order: 2;
        min-width: 62px;
        margin-left: auto;
        color: rgba(255, 255, 255, 0.9);
    }
    .lang-btn { padding: 4px 3px; }
    .lang-switch .divider { margin: 0 3px; }
    .navbar.scrolled .lang-switch,
    .navbar-detail-solid .lang-switch,
    .navbar.scrolled .mobile-menu-btn,
    .navbar-detail-solid .mobile-menu-btn {
        color: var(--nav-scrolled-text);
    }
}

@media (max-width: 768px) {
    :root {
        --section-space: 60px;
        --section-leading-space: 44px;
        --section-heading-gap: 48px;
    }

    .page-header {
        height: 42vh;
        min-height: 320px;
        background-attachment: scroll;
        background-position: center;
    }
    .news-header-bg {
        background-position: center 42%;
    }
    .header-content {
        padding-top: 44px;
    }
    .header-content h1 { font-size: 32px; }
    
    .navbar {
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        overflow-x: clip;
        padding: 15px 0;
    }
    /* Match the desktop hero treatment: only image-header pages stay
       transparent before scrolling; detail/article pages remain solid. */
    .navbar:not(.scrolled):not(.navbar-detail-solid) {
        background: transparent;
        border-bottom-color: transparent;
        box-shadow: none;
    }
    .navbar > .container {
        width: 100%;
        max-width: 100%;
        padding: 0 14px;
    }
    .navbar .logo h2 { color: var(--primary-color); }
    .nav-flex {
        width: 100%;
        min-width: 0;
        gap: 8px;
    }
    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }
    .logo img {
        width: 142px;
        max-width: 36vw;
        height: auto;
    }
    
    .nav-links { 
        position: fixed; 
        top: 80px; left: 0; right: 0; width: 100vw; 
        background: var(--nav-mobile-bg); 
        border-bottom: 1px solid rgba(255,255,255,0.12);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column; 
        padding: 20px; gap: 15px; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        opacity: 0; visibility: hidden; 
        transform: translateY(-20px); 
        transition: var(--transition);
        margin: 0; 
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links li a { color: rgba(255,255,255,0.94); }
    .navbar.scrolled .nav-links,
    .navbar-detail-solid .nav-links {
        background: var(--nav-scrolled-bg);
        border-bottom-color: var(--nav-scrolled-border);
    }
    .navbar.scrolled .nav-links li a,
    .navbar-detail-solid .nav-links li a {
        color: var(--nav-scrolled-text) !important;
    }
    .navbar.scrolled .nav-links li a:hover,
    .navbar.scrolled .nav-links li a.active,
    .navbar-detail-solid .nav-links li a:hover,
    .navbar-detail-solid .nav-links li a.active {
        color: var(--nav-scrolled-hover) !important;
    }
    .navbar.scrolled .nav-links .btn-contact,
    .navbar-detail-solid .nav-links .btn-contact {
        border-color: var(--nav-scrolled-accent);
        color: var(--nav-scrolled-accent) !important;
    }
    .navbar.scrolled .nav-links .btn-contact:hover,
    .navbar-detail-solid .nav-links .btn-contact:hover {
        background: var(--nav-scrolled-accent);
        color: var(--nav-scrolled-button-text) !important;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        order: 4;
        width: 32px;
        height: 32px;
        color: rgba(255, 255, 255, 0.92);
    }
    .theme-toggle {
        order: 3;
        width: 30px;
        height: 30px;
        margin-left: 4px;
        margin-right: 4px;
        border-color: rgba(255, 255, 255, 0.38);
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.92);
    }
    .mobile-menu-btn i {
        display: none;
    }
    .mobile-menu-btn::before {
        content: '☰';
        font-size: 26px;
        line-height: 1;
        font-weight: 700;
    }
    .mobile-menu-btn.active::before {
        content: '×';
        font-size: 30px;
    }
    .hero { height: auto; min-height: 100vh; padding-top: 80px; }
    .stats-section { margin-top: 0; padding-top: 40px; }
    .reasons-blue {
        padding: var(--section-leading-space) 0 var(--section-space);
    }
    .reasons-layout {
        margin-top: 0;
        gap: 28px;
    }
    .reason-row,
    .reason-row.reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 28px;
    }
    .reason-text {
        flex: none;
    }
    .reason-image {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 8px;
    }
    .reason-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Keep the compact mobile layout while inheriting the desktop hero colors. */
    .lang-switch {
        color: rgba(255, 255, 255, 0.9);
        flex: 0 0 auto;
        order: 2;
        margin-left: auto;
        margin-right: 0;
        min-width: 62px;
        position: relative;
        z-index: 1003;
    }
    .lang-btn { padding: 4px 3px; }
    .lang-switch .divider { margin: 0 3px; }
    .lang-btn:hover { color: inherit; }

    /* Scrolled and article/detail navigation uses the same solid theme as PC. */
    .navbar.scrolled .lang-switch,
    .navbar-detail-solid .lang-switch,
    .navbar.scrolled .mobile-menu-btn,
    .navbar-detail-solid .mobile-menu-btn {
        color: var(--nav-scrolled-text);
    }

    /* --- 移动端分页按钮加大点击区域 --- */
    .pagination { gap: 8px; margin-top: 30px; }
    .pagination a { min-width: 48px; height: 48px; padding: 0 16px; font-size: 17px; }
    /* 移动端禁用悬浮位移，避免触控误触视觉跳动 */
    .pagination a:hover { transform: none; box-shadow: none; }
    .news-tabs {
        justify-content: stretch;
        max-width: 100%;
        overflow: visible;
        gap: 6px;
        padding: 6px;
    }
    .news-tabs::-webkit-scrollbar {
        display: none;
    }
    .news-tabs .tab-btn,
    .news-tabs .prod-tab-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px 8px;
        text-align: center;
        font-size: 16px;
        white-space: nowrap;
    }
    .product-detail-page .news-tabs {
        width: 100%;
        justify-content: stretch;
        overflow: hidden;
        border-radius: 999px;
    }
    .product-detail-page .prod-tab-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 11px 4px;
        font-size: clamp(11px, 3vw, 13px);
        white-space: nowrap;
    }
    .news-section {
        padding-top: var(--section-space);
        padding-bottom: 70px;
    }
    .news-tabs {
        margin-bottom: 34px;
    }
    .news-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 18px;
    }
    .news-row:hover {
        transform: none;
    }
    .news-date {
        flex: none;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        min-height: 0;
        padding: 12px 14px;
    }
    .news-date .year {
        font-size: 26px;
    }
    .news-date .day {
        font-size: 15px;
    }
    .news-list:not(#faq) .news-row:not(.news-row-card) .news-date {
        width: auto;
        padding: 7px 11px;
    }
    .news-list:not(#faq) .news-row:not(.news-row-card) .news-date .year {
        font-size: 14px;
    }
    .news-list:not(#faq) .news-row:not(.news-row-card) .news-date .day {
        font-size: 13px;
    }
    .news-info {
        width: 100%;
    }
    .news-info h3 {
        font-size: 20px;
        line-height: 1.45;
    }
    .news-info p {
        font-size: 15px;
        line-height: 1.8;
    }
    .product-search { margin-top: 26px; }
    .product-search-form { padding: 18px; }
    .product-search-control {
        grid-template-columns: 1fr;
    }
    .product-search-control button {
        min-height: 48px;
    }
    .product-search-results {
        position: static;
        margin-top: 10px;
        max-height: 320px;
    }
    .product-search-result {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .product-search-result em {
        justify-self: start;
    }
}
/* --- 底部备案信息样式优化 --- */

/* 让版权信息和备案信息分行显示，保持整洁 */
.footer-bottom {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 25px 0;
    color: var(--footer-muted);
    font-size: 12px;
}

.beian-info {
    display: flex;
    align-items: center;
    gap: 20px; /* 两个备案号之间的间距 */
    flex-wrap: wrap; /* 手机屏幕太小时自动换行 */
    justify-content: center;
}

.beian-info a {
    text-decoration: none;
    color: var(--footer-muted); /* 默认灰色 */
    transition: all 0.3s ease;
    display: flex;
    align-items: center; /* 让图标和文字垂直居中 */
    gap: 5px;
}

/* 鼠标悬停变色，使用你网站的主色调 */
.beian-info a:hover {
    color: var(--secondary-color); 
}

/* 公安备案图标大小调整 */
.beian-info .gongan img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 20px;
}
body.detail-page-body {
    background-color: var(--page-bg);
    padding-top: 90px; 
}

/* --- 详情页专用导航栏样式 --- */
/* 强制覆盖导航栏样式：让它在白底页面上可见，且不依赖滚动事件 */

/* --- 详情页布局容器 --- */
.detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 顶部元数据 (左上角) */
.top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 40px;
}
.top-meta h1 {
    font-size: 20px;
    font-weight: normal;
    color: var(--text-color);
    margin-bottom: 5px;
}
.top-meta .date {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
    float: none !important;
    text-align: right;
}

.product-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.detail-back-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(-2px);
}

/* 中间大标题 */
.center-header {
    text-align: center;
    margin-bottom: 36px;
}
.center-header h2 {
    font-size: 28px;
    color: #8B4513; /* 截图中的特色棕色 */
    font-weight: 500;
    margin-bottom: 10px;
}
.center-header span {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 灰色描述框 */
.desc-box {
    background-color: #f5f5f5; /* 截图中的浅灰背景 */
    padding: 30px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
}



/* --- 嵌套数据表格样式 (HD-50等数据) --- */
/* --- 新版多列兼容表格样式 --- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: var(--text-color);
    margin: 30px 0;
    table-layout: auto; /* 关键：自动适应3列、5列或6列 */
    box-shadow: 0 0 10px rgba(0,0,0,0.02);
}

.spec-table thead th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 500;
    border: 1px solid var(--border-color);
    white-space: nowrap; 
}

.spec-table tbody td {
    padding: 15px;
    border: 1px solid var(--border-color);
    vertical-align: middle; 
    line-height: 1.6;
}

/* 斑马纹交替背景，数据多时不易看串行 */
.spec-table tbody tr:nth-child(even) {
    background-color: var(--surface-soft);
}

/* 简短参数表在桌面端整体居中，移动端仍使用便于阅读的左对齐卡片布局 */
@media (min-width: 769px) {
    .product-tab-content .spec-table thead th,
    .product-tab-content .spec-table tbody td {
        text-align: center;
    }
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

.pretreatment-intro {
    max-width: 980px;
    margin: 0 auto 30px;
    border-left: 4px solid var(--accent-color);
}

.pretreatment-table {
    table-layout: fixed;
    font-size: 13px;
    min-width: 980px;
}

.pretreatment-table thead th {
    background-color: var(--primary-color);
    text-align: center;
    vertical-align: middle;
}

.pretreatment-table th:nth-child(1) { width: 14%; }
.pretreatment-table th:nth-child(2) { width: 17%; }
.pretreatment-table th:nth-child(3) { width: 43%; }
.pretreatment-table th:nth-child(4) { width: 18%; }
.pretreatment-table th:nth-child(5) { width: 8%; }

.pretreatment-table tbody td {
    text-align: center;
    vertical-align: middle;
}

.product-name-cell {
    text-align: center;
}

.pretreatment-table .cell-list {
    display: inline-block;
    margin: 0 auto;
    text-align: left;
}

/* 应用及工艺列采用统一的阅读起点，避免内容随长度居中漂移 */
.pretreatment-table tbody td:nth-child(3) {
    text-align: left;
}

.pretreatment-table tbody td:nth-child(3) .cell-list {
    display: block;
    width: 100%;
    margin: 0;
    padding-left: 0;
}

.product-name-cell strong,
.product-name-cell span {
    display: block;
}

.product-name-cell strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.product-name-cell span {
    color: var(--text-light);
    font-weight: 500;
}

.cell-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 5px;
}

.cell-list li:last-child {
    margin-bottom: 0;
}

.cell-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.empty-cell {
    color: var(--text-light);
    text-align: center;
}

.dyeing-category-row td,
.series-category-row td {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color)) !important;
    color: var(--white);
    padding: 14px 22px;
    border-color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: left;
}

.dyeing-category-row span,
.series-category-row span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dyeing-category-row span::before,
.series-category-row span::before {
    content: '';
    width: 6px;
    height: 22px;
    border-radius: 999px;
    background: var(--secondary-color);
}

/* --- 移动端完美适配 (768px以下) --- */
@media (max-width: 768px) {
}
@keyframes heroZoomOut {
    0% {
        /* 动画开始时，图片放大到 1.2 倍 */
        transform: scale(1.3);
    }
    100% {
        /* 动画结束时，图片恢复到原始大小 */
        transform: scale(1.0);
    }
}
.news-article-content {
    max-width: 900px; /* 限制文章宽度，利于阅读 */
    margin: 40px auto 44px;
    font-size: 16px;
    line-height: 2; /* 增加行间距 */
    color: var(--text-color);
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.detail-page-body .detail-wrapper {
    background: var(--page-bg);
    color: var(--text-color);
}
.detail-page-body .top-meta,
.detail-page-body .detail-wrapper > .center-header,
.detail-page-body .news-article-content {
    width: min(100%, 900px);
    margin-left: auto;
    margin-right: auto;
}
.detail-page-body .detail-wrapper > .center-header {
    text-align: center !important;
}
.product-detail-page .top-meta,
.product-detail-page .detail-wrapper > .center-header,
.product-detail-page .detail-wrapper > .desc-box,
.product-detail-page .pretreatment-intro {
    width: min(100%, 980px);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.detail-page-body .top-meta a,
.detail-page-body .center-header span {
    color: var(--text-light) !important;
}
.detail-page-body .top-meta > a,
.detail-back-link {
    position: fixed;
    top: 98px;
    left: max(24px, calc((100vw - 900px) / 2));
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-color) !important;
    background: var(--surface-bg);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    line-height: 1.2;
    white-space: nowrap;
}
.detail-page-body .top-meta > a:hover,
.detail-back-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}
.detail-page-body .center-header h2 {
    color: var(--text-color) !important;
}
.detail-page-body .desc-box {
    background: var(--surface-soft) !important;
}
.detail-page-body .spec-table tbody tr {
    background: var(--surface-bg);
}
.detail-page-body .spec-table tbody tr:nth-child(even) {
    background: var(--surface-soft);
}

.news-article-content p {
    margin-bottom: 20px;
}

.news-article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.article-image {
    margin: 34px auto 38px;
    max-width: 760px;
}

.article-image-small {
    max-width: 650px;
}

.article-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 2px;
}

.article-table-wrap {
    width: 100%;
    margin: 30px 0;
    overflow-x: auto;
}

.article-data-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    table-layout: auto;
    color: var(--text-color);
    background: var(--surface-bg);
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.02);
}

.article-data-table caption {
    caption-side: top;
    padding: 0 0 20px;
    color: var(--primary-color);
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.article-data-table th {
    padding: 15px;
    border: 1px solid var(--border-color);
    color: var(--white);
    background: var(--primary-color);
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}

.article-data-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    background: var(--surface-bg);
    text-align: left;
    vertical-align: middle;
    line-height: 1.6;
}

.article-data-table tbody tr:nth-child(even) td {
    background: var(--surface-soft);
}

.article-product-list {
    margin-top: 26px;
}

.article-product-block {
    margin-bottom: 26px;
}

.article-product-block h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.news-article-content ol {
    margin: 0 0 16px 22px;
    padding-left: 18px;
}

.news-article-content li {
    margin-bottom: 8px;
    line-height: 1.9;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .center-header h2 {
        font-size: 20px !important; /* 手机上标题改小一点 */
        line-height: 1.4;
    }
    .detail-page-body .top-meta {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 12px;
        padding-bottom: 12px;
        margin-bottom: 28px;
    }
    .detail-page-body .top-meta > a {
        top: 86px;
        left: 16px;
        max-width: calc(100vw - 32px);
        min-height: 40px;
        padding: 8px 14px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .top-meta .date {
        margin-left: auto;
        float: none !important;
        display: block;
        margin-top: 0;
        text-align: right;
    }
    .product-top-meta {
        flex-wrap: wrap;
    }
    .product-top-meta .date {
        margin-top: 0;
    }
    .news-article-content {
        font-size: 15px;
        line-height: 1.8;
    }
    .news-row-card {
        flex-direction: column;
        gap: 16px;
        padding: 18px;
    }
    .news-thumb {
        flex-basis: auto;
        width: 100%;
    }
}
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px; /* 按钮距离屏幕边缘的距离 */
    z-index: 10; /* 必须高于遮罩层(overlay)和文字 */
    pointer-events: none; /* 让中间区域不阻挡点击，只有按钮可点 */
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2); /* 半透明背景 */
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    pointer-events: auto; /* 恢复按钮的点击响应 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #fff;
    color: var(--primary-color); /* 悬停时变为主色调 */
    transform: scale(1.1);
}

/* 移动端适配：手机上按钮小一点，距离边缘近一点 */
@media (max-width: 768px) {
    .slider-controls {
        padding: 0 15px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
        background: rgba(0, 0, 0, 0.2); /* 手机上背景稍微深一点，防看不清 */
    }
}
/* --- Lightbox (图片大图预览) 样式 [修正版 - 完美居中] --- */
.lightbox-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* 背景稍微加深一点 */
    opacity: 0;
    transition: opacity 0.3s ease;
    
    /* 【核心】使用 Flexbox 实现垂直水平双居中 */
    justify-content: center;
    align-items: center;
    flex-direction: column; /* 让图片和文字垂直排列 */
}

/* 显示状态 */
.lightbox-modal.show {
    opacity: 1;
    display: flex !important; /* 强制使用 flex，确保居中生效 */
}

/* 图片内容 */
.lightbox-content {
    display: block;
    /* 宽高自适应，但限制最大尺寸，给四周留出空隙 */
    max-width: 90vw; /* 屏幕宽度的 90% */
    max-height: 80vh; /* 屏幕高度的 80% */
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

/* 文字说明 */
#lightbox-caption {
    margin-top: 15px;
    width: 90%;
    text-align: center;
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 300;
    text-shadow: 1px 1px 2px black;
}

/* 关闭按钮 (×) - 绝对定位在右上角 */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
    line-height: 1; /* 防止行高影响定位 */
}

.close-btn:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.close-btn,
.gallery-lightbox-nav {
    border: 0;
    background: transparent;
    font-family: inherit;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2001;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-prev { left: 28px; }
.gallery-lightbox-next { right: 28px; }

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
    color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.78);
    transform: translateY(-50%) scale(1.08);
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

/* 放大动画 */
@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;} 
    to {transform: scale(1); opacity: 1;}
}

/* 移动端微调 */
@media only screen and (max-width: 768px) {
    .close-btn {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    .gallery-lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
    .gallery-lightbox-prev { left: 8px; }
    .gallery-lightbox-next { right: 8px; }
    #lightbox-caption {
        font-size: 14px;
    }
}
/* --- 产品详细数据区块样式 --- */
.product-data-section {
    margin-bottom: 40px;
}

/* 表格主标题 */
.table-title {
    text-align: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 表格底部附注 */
.table-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 16%, var(--border-color));
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    background: color-mix(in srgb, var(--primary-color) 6%, var(--surface-bg));
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.75;
    margin-top: -15px;
    margin-bottom: 40px;
}

.table-note-label {
    flex: 0 0 auto;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.6;
}

.table-note-copy {
    min-width: 0;
}

/* 详情信息块容器 */
.product-details-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 0; /* 左右 padding 改为 0，让文字跟上面的表格左对齐 */
    /* 背景色和边框已经删除 */
}

/* 独立的详情块 */
.detail-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 块级标题 (复刻画册的蓝色圆角标签) */
.block-heading {
    background-color: var(--accent-color); /* 使用你的浅蓝色变量 */
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

/* 块级内容 */
.block-content {
    width: 100%;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

/* 化学式内容特殊处理 (居中显示图片) */
.formula-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 0;
}

.formula-content img {
    max-width: 100%;
    height: auto;
    /* 如果背景是白色的图，可以加上这个混合模式去掉白底，让它融入背景 */
    /* mix-blend-mode: multiply; */ 
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-details-blocks {
        padding: 18px 0;
    }
    .table-title {
        margin-bottom: 18px;
        font-size: 22px;
        line-height: 1.35;
    }
    .spec-table {
        display: block;
        max-width: 100%;
        margin: 20px 0 24px;
        overflow: visible;
        border: 0;
        box-shadow: none;
    }
    .pretreatment-table,
    .silicone-products-table {
        min-width: 0;
        table-layout: auto;
    }
    .spec-table thead {
        display: none;
    }
    .spec-table tbody,
    .spec-table tr,
    .spec-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }
    .spec-table tbody {
        display: grid;
        gap: 16px;
    }
    .detail-page-body .spec-table tbody tr,
    .spec-table tbody tr {
        margin: 0;
        border: 1px solid var(--border-color);
        border-radius: 14px;
        overflow: hidden;
        background: var(--surface-bg);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }
    .detail-page-body .spec-table tbody tr:nth-child(even),
    .spec-table tbody tr:nth-child(even) {
        background: var(--surface-bg);
    }
    .spec-table tbody td {
        border: 0;
        border-bottom: 1px solid var(--border-color);
        padding: 13px 16px;
        color: var(--text-color);
        text-align: left;
        word-break: break-word;
    }
    .spec-table tbody td:last-child {
        border-bottom: 0;
    }
    .spec-table tbody td[data-label] {
        display: grid;
        grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
        gap: 14px;
        align-items: center;
    }
    .spec-table tbody td[data-label]::before {
        content: attr(data-label);
        color: var(--primary-color);
        font-weight: 700;
        text-align: left;
    }
    .spec-table tbody td:first-child[data-label] {
        padding-top: 15px;
        padding-bottom: 15px;
        border-left: 4px solid var(--primary-color);
        background: var(--surface-soft);
        font-size: 16px;
        font-weight: 700;
    }
    .product-name-cell {
        text-align: left;
    }
    .product-name-cell strong,
    .product-name-cell span {
        color: var(--text-color);
    }
    .cell-list {
        margin: 0;
        padding: 0;
    }
    .dyeing-category-row td,
    .series-category-row td {
        display: block;
        width: 100%;
        border-radius: 12px;
        margin: 0;
        padding: 13px 16px;
    }
    .detail-page-body .spec-table tbody tr.dyeing-category-row,
    .detail-page-body .spec-table tbody tr.series-category-row,
    .spec-table tbody tr.dyeing-category-row,
    .spec-table tbody tr.series-category-row {
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    .dyeing-category-row td::before,
    .series-category-row td::before,
    .empty-cell::before {
        content: none !important;
    }
    .table-note {
        align-items: center;
        margin-top: 0;
        margin-bottom: 30px;
        padding: 14px 16px;
        line-height: 1.7;
    }
}

.formula-cas {
    margin: 0;
    color: #0056b3;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

:root[data-theme="dark"] .formula-cas {
    color: #fbbf24;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .formula-cas {
        color: #fbbf24;
    }
}

/* --- 页脚隐私入口与隐私政策页面 --- */
.footer-legal-links {
    position: absolute;
    right: max(24px, calc((100% - 1200px) / 2 + 20px));
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-privacy-link,
.footer-b2b-privacy-link,
.footer-legal-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: var(--footer-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-privacy-link::after,
.footer-b2b-privacy-link::after,
.footer-legal-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.footer-privacy-link:hover,
.footer-b2b-privacy-link:hover,
.footer-legal-link:hover {
    color: var(--secondary-color);
}

.footer-privacy-link:hover::after,
.footer-privacy-link:focus-visible::after,
.footer-b2b-privacy-link:hover::after,
.footer-b2b-privacy-link:focus-visible::after,
.footer-legal-link:hover::after,
.footer-legal-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.privacy-page {
    background: var(--page-bg);
}

.privacy-page .privacy-language-en {
    display: none;
}

html[lang="en"] .privacy-page .privacy-language-zh {
    display: none;
}

html[lang="en"] .privacy-page .privacy-language-en {
    display: block;
}

.privacy-hero {
    position: relative;
    margin-top: 80px;
    padding: 72px 0 68px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background:
        radial-gradient(circle at 82% 18%, rgba(0, 168, 255, 0.14), transparent 30%),
        linear-gradient(135deg, var(--surface-bg) 0%, var(--surface-muted) 100%);
}

.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image: linear-gradient(rgba(0, 86, 179, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 86, 179, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
    mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}

.privacy-hero .container {
    z-index: 1;
}

.privacy-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.privacy-hero h1 {
    max-width: 800px;
    color: var(--text-color);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.privacy-hero p {
    max-width: 700px;
    margin-top: 18px;
    color: var(--text-light);
    font-size: 18px;
}

.b2b-privacy-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(243, 156, 18, 0.16), transparent 30%),
        linear-gradient(135deg, var(--surface-bg) 0%, var(--surface-muted) 100%);
}

.legal-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(71, 85, 105, 0.14), transparent 30%),
        linear-gradient(135deg, var(--surface-bg) 0%, var(--surface-muted) 100%);
}

.privacy-intro a,
.privacy-section > p a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.privacy-main {
    background: var(--surface-bg);
}

.privacy-document {
    max-width: 1040px;
    padding-top: 58px;
    padding-bottom: 96px;
}

.privacy-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 38px;
    color: var(--text-light);
    font-size: 14px;
}

.privacy-meta i {
    margin-right: 6px;
    color: var(--primary-color);
}

.privacy-intro p,
.privacy-section > p {
    margin: 0 0 18px;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.95;
}

.privacy-callout {
    margin-top: 30px !important;
    padding: 22px 24px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    background: var(--surface-muted);
}

.privacy-callout strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.privacy-toc {
    margin: 50px 0 64px;
    padding: 32px 36px 34px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface-muted);
}

.privacy-toc h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 20px;
}

.privacy-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 34px;
    padding-left: 20px;
}

.privacy-toc li {
    color: var(--text-light);
    font-size: 15px;
}

.privacy-toc a:hover {
    color: var(--primary-color);
}

.privacy-section {
    scroll-margin-top: 112px;
    padding-top: 10px;
    margin-top: 54px;
}

.privacy-section h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 24px;
    color: var(--text-color);
    font-size: 28px;
    line-height: 1.35;
}

.privacy-section h2 span {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.privacy-section h3 {
    margin: 28px 0 10px;
    color: var(--text-color);
    font-size: 18px;
}

.privacy-table-wrap {
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.privacy-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
}

.privacy-table th,
.privacy-table td {
    padding: 17px 18px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
}

.privacy-table th:last-child,
.privacy-table td:last-child {
    border-right: none;
}

.privacy-table tr:last-child td {
    border-bottom: none;
}

.privacy-table th {
    color: var(--text-color);
    background: var(--surface-muted);
    font-size: 15px;
    font-weight: 700;
}

.privacy-contact-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 28px 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface-muted);
}

.privacy-contact-card > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 20px;
}

.privacy-contact-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.privacy-contact-card p {
    margin: 5px 0;
    color: var(--text-light);
    line-height: 1.75;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .footer-legal-links {
        position: static;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 2px;
    }
}

@media (max-width: 768px) {

    .privacy-hero {
        margin-top: 80px;
        padding: 52px 0 48px;
    }

    .privacy-hero h1 {
        font-size: 42px;
    }

    .privacy-hero p {
        font-size: 16px;
    }

    .privacy-document {
        padding-top: 38px;
        padding-bottom: 72px;
    }

    .privacy-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 28px;
    }

    .privacy-intro p,
    .privacy-section > p {
        font-size: 15px;
        line-height: 1.85;
    }

    .privacy-callout {
        padding: 18px;
    }

    .privacy-toc {
        margin: 38px 0 50px;
        padding: 24px 24px 26px;
    }

    .privacy-toc ol {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .privacy-section {
        margin-top: 42px;
        scroll-margin-top: 90px;
    }

    .privacy-section h2 {
        gap: 10px;
        font-size: 23px;
    }

    .privacy-contact-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* 员工工作台样式已迁移至 employee/employee.css。 */
