/* ============================================
   江苏博厚新材料科技有限公司 - 前台样式
   配色：深海蓝 #1B4965 / 暖橙 #E07A5F / 背景 #F7F9FC
   ============================================ */

/* Tailwind CSS CDN */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* CSS变量 - 深海蓝 + 暖橙 */
:root {
    --primary: #1B4965;
    --primary-dark: #0F3550;
    --primary-light: #E8F0F6;
    --primary-gradient: linear-gradient(135deg, #1B4965 0%, #2A6B8A 50%, #3B8BA8 100%);
    --primary-soft: #D5E3EC;
    --accent: #E07A5F;
    --accent-gradient: linear-gradient(135deg, #E07A5F, #F0A088);
    --bg-cream: #F7F9FC;
    --bg-warm: #F2F6FA;
    --dark: #1B2A3A;
    --dark-light: #2D3F52;
    --gray-bg: #F7F9FC;
    --gray-border: #E2E8ED;
    --text-dark: #1A2129;
    --text-gray: #5C6B7A;
    --text-light: #8FA0B0;
    --text-white: #FFFFFF;
    --success: #5B9E8A;
    --warning: #E09A4A;
    --danger: #C45C5C;
    --info: #5B7B9A;

    --shadow-sm: 0 1px 3px rgba(27, 73, 101, 0.06), 0 1px 2px rgba(27, 73, 101, 0.04);
    --shadow-md: 0 4px 12px rgba(27, 73, 101, 0.08), 0 2px 4px rgba(27, 73, 101, 0.04);
    --shadow-lg: 0 12px 32px rgba(27, 73, 101, 0.12), 0 4px 8px rgba(27, 73, 101, 0.06);
    --shadow-xl: 0 24px 48px rgba(27, 73, 101, 0.15), 0 8px 16px rgba(27, 73, 101, 0.08);
    --shadow-primary: 0 8px 24px rgba(27, 73, 101, 0.28);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== 基础重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--primary); color: #fff; }

html { scroll-behavior: smooth; }

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ========== 页面进度条 ========== */
.progress-bar {
    position: fixed; top: 0; left: 0; height: 2px;
    background: var(--primary);
    z-index: 9999; width: 0;
    transition: width 0.15s ease-out;
}

/* ========== 顶部导航栏 ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}
.header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 70px;
}

.header-logo { height: 44px; display: flex; align-items: center; gap: 10px; }
.header-logo img { height: 100%; }

.header-nav { display: flex; align-items: center; gap: 2px; }
.header-nav a {
    display: block; padding: 10px 18px; font-size: 15px; font-weight: 500;
    color: var(--text-dark); border-radius: 6px; transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.header-nav a:hover { color: var(--primary); background: var(--primary-light); }
.header-nav a { display: none; }
.header-nav a.active { color: var(--primary); font-weight: 600; }

/* 导航下拉子菜单 */
.nav-item { position: relative; }
.nav-item > a {
    display: block; padding: 10px 18px; font-size: 15px; font-weight: 500;
    color: var(--text-dark); border-radius: 6px; transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.nav-item > a:hover, .nav-item:hover > a { color: var(--primary); background: var(--primary-light); }
.nav-item > a.active { color: var(--primary); font-weight: 600; }
.nav-dropdown {
    display: none; position: absolute;
    top: 100%; left: 0;
    min-width: 140px; background: #fff;
    border-radius: 6px; box-shadow: var(--shadow-md);
    z-index: 1001; overflow: hidden;
    border: 1px solid var(--gray-border);
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
    display: block; padding: 10px 18px; font-size: 14px;
    color: var(--text-dark); white-space: nowrap; border-radius: 0;
    border-bottom: 1px solid var(--gray-border);
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { color: var(--primary); background: var(--primary-light); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-search {
    display: inline-flex; align-items: center;
    border: 1px solid var(--gray-border);
    border-radius: 20px; overflow: hidden;
}
.header-search input {
    width: 160px; padding: 8px 14px; border: none;
    background: transparent; font-size: 14px; outline: none;
}
.header-search button {
    padding: 8px 14px; background: var(--primary); color: #fff;
    border: none; cursor: pointer; font-size: 14px;
}
.header-search button:hover { background: var(--primary-dark); }

.lang-switch {
    padding: 6px 16px; border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary); font-size: 13px; font-weight: 600;
    background: transparent; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.lang-switch:hover { background: var(--primary); color: #fff; }

.mobile-menu-btn {
    display: none; font-size: 22px; cursor: pointer; color: var(--dark);
}
.mobile-menu-btn:hover { color: var(--primary); }

/* ========== Banner轮播 ========== */
.banner-section { margin-top: 70px; position: relative; }
.swiper-container { width: 100%; height: 550px; overflow: hidden; }
.swiper-slide {
    position: relative; display: flex; align-items: center; justify-content: center;
}
.swiper-slide img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.swiper-slide .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(27,42,58,0.7), rgba(27,42,58,0.25));
}
.swiper-slide .slide-content {
    position: relative; z-index: 2; text-align: center; color: #fff;
    max-width: 800px; padding: 0 24px;
}
.swiper-slide .slide-content h2 {
    font-size: 44px; font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}
.swiper-slide .slide-content p {
    font-size: 18px; opacity: 0.9; margin-bottom: 28px;
}
.swiper-slide .slide-content .btn-slide {
    display: inline-block;
    padding: 12px 36px; background: var(--accent);
    color: #fff; border-radius: 30px;
    font-size: 15px; font-weight: 600;
    transition: background 0.2s;
}
.swiper-slide .slide-content .btn-slide:hover {
    background: #cc6a4f;
}

.swiper-pagination-bullet {
    background: #fff; opacity: 0.5; width: 24px; height: 3px;
    border-radius: 2px;
}
.swiper-pagination-bullet-active {
    background: var(--primary); opacity: 1; width: 40px;
}
.swiper-button-next, .swiper-button-prev { color: #fff; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 18px; font-weight: 700; }
.swiper-button-next:hover, .swiper-button-prev:hover { color: var(--accent); }

/* ========== 通用区块 ========== */
.section { padding: 60px 0; }
.section-gray { background: var(--gray-bg); }

.section-title {
    text-align: center; margin-bottom: 40px;
}
.section-title h2 {
    font-size: 30px; font-weight: 700; color: var(--dark);
    padding-bottom: 14px;
}
.section-title p { color: var(--text-gray); margin-top: 8px; font-size: 15px; }

/* ========== 核心业务 ========== */
.business-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.business-card {
    background: #fff;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    border: 1px solid var(--gray-border);
}
.business-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.business-icon {
    width: 60px; height: 60px; margin: 0 auto 18px;
    background: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
}
.business-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.business-card p { color: var(--text-gray); font-size: 14px; line-height: 1.6; }

/* ========== 最新动态 ========== */
.news-section-inner { display: flex; gap: 30px; }
.news-main {
    flex: 0 0 50%; position: relative;
    border-radius: 8px; overflow: hidden;
    height: 340px; cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.news-main img { width: 100%; height: 100%; object-fit: cover; }
.news-main:hover img { transform: scale(1.03); }
.news-main img { transition: transform 0.4s ease; }
.news-main .news-main-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(27,42,58,0.85));
    color: #fff;
}
.news-main .news-main-overlay h3 {
    font-size: 20px; font-weight: 600; margin-bottom: 6px; line-height: 1.4;
}
.news-main .news-main-overlay span { font-size: 13px; opacity: 0.8; }

.news-list { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.news-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 6px; box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s; cursor: pointer;
}
.news-item:hover { box-shadow: var(--shadow-md); }
.news-item .news-date {
    flex-shrink: 0; width: 56px; text-align: center;
    padding: 8px 0; background: var(--primary); color: #fff; border-radius: 6px;
}
.news-item .news-date .day { font-size: 20px; font-weight: 700; line-height: 1; }
.news-item .news-date .month { font-size: 11px; margin-top: 2px; opacity: 0.9; }
.news-item .news-info { flex: 1; min-width: 0; }
.news-item .news-info h4 {
    font-size: 15px; font-weight: 500; margin-bottom: 4px;
    color: var(--text-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ========== 底部 ========== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
}
.footer-col h4 {
    color: #fff; font-size: 16px; font-weight: 600;
    margin-bottom: 18px; padding-bottom: 10px;
    position: relative;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 24px; height: 2px; background: var(--accent);
}
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 6px; color: rgba(255,255,255,0.55); }
.footer-col a {
    display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    margin-top: 40px; padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center; font-size: 13px;
    color: rgba(255,255,255,0.45);
}
.footer-bottom p { margin: 4px 0; }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--accent); }

/* ========== 悬浮按钮 ========== */
.float-consult {
    position: fixed; right: 20px; bottom: 100px;
    z-index: 999;
    display: flex; flex-direction: column; gap: 10px;
    align-items: flex-end;
}
.float-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: background 0.2s; border: none;
}
.float-btn:hover { background: var(--primary-dark); }

.float-consult .consult-popup {
    display: none;
    position: absolute;
    bottom: 60px; right: 0;
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 24px;
    z-index: 1000;
}
.float-consult .consult-popup.show { display: block; }
.float-consult .consult-popup h4 {
    font-size: 17px; font-weight: 600; margin-bottom: 5px; color: var(--dark);
}
.float-consult .consult-popup > p {
    margin-bottom: 16px; font-size: 13px; color: var(--text-gray);
}

/* 回到顶部 */
.back-to-top {
    position: fixed; right: 20px; bottom: 30px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 998;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* ========== 面包屑（升级） ========== */
.breadcrumb {
    background: var(--gray-bg);
    padding: 14px 0;
    margin-top: 76px;
    border-bottom: 1px solid var(--gray-border);
}
.breadcrumb .container {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
}
.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #cbd5e1; }
.breadcrumb .current { color: var(--dark); font-weight: 500; }

/* ========== 产品列表页（升级） ========== */
.product-layout { display: flex; gap: 30px; padding: 50px 0; }
.product-sidebar { flex: 0 0 260px; }
.product-sidebar .sidebar-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-border);
}
.sidebar-card h4 {
    font-size: 16px; font-weight: 600;
    margin-bottom: 16px; color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-border);
}
.category-tree li {
    padding: 10px 14px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    display: flex; justify-content: space-between; align-items: center;
}
.category-tree li:hover {
    color: var(--primary);
    background: var(--primary-light);
}
.category-tree li.active {
    color: #fff;
    background: var(--primary-gradient);
    box-shadow: 0 4px 8px rgba(27, 73, 101, 0.2);
}
.category-tree .children { padding-left: 15px; margin-top: 4px; }

.product-main { flex: 1; }
.product-search {
    display: flex; gap: 12px; margin-bottom: 28px;
    background: #fff;
    padding: 8px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}
.product-search input {
    flex: 1; padding: 10px 16px;
    border: none;
    background: var(--gray-bg);
    border-radius: var(--radius-sm);
    font-size: 14px; outline: none;
    transition: var(--transition);
}
.product-search input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.product-search button {
    padding: 10px 28px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.product-search button:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

.product-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px;
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}
.product-count { font-size: 14px; color: var(--text-gray); }
.product-count strong { color: var(--primary); font-weight: 700; }
.product-sort {
    display: flex; gap: 6px;
}
.product-sort a {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    color: var(--text-gray);
    transition: var(--transition);
}
.product-sort a:hover, .product-sort a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    background: #fff;
    border-radius: 8px; overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    border: 1px solid var(--gray-border);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-card .card-img {
    height: 200px; overflow: hidden;
    background: var(--gray-bg);
}
.product-card .card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .card-img img { transform: scale(1.04); }
.product-card .card-body { padding: 16px 18px 20px; }
.product-card .card-body h5 {
    font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--dark);
}
.product-card .card-body p {
    font-size: 13px; color: var(--text-gray);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.5;
    min-height: 38px;
}
.product-card .card-foot {
    display: flex; justify-content: space-between;
    margin-top: 12px; padding-top: 12px;
    border-top: 1px solid var(--gray-border);
    font-size: 12px; color: var(--text-light);
}

/* ========== 产品详情页（升级） ========== */
.detail-layout {
    display: flex; gap: 40px;
    padding: 50px 0;
    align-items: flex-start;
}
.detail-gallery { flex: 0 0 45%; position: sticky; top: 100px; }
.detail-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-bg);
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
}
.detail-gallery-main img { width: 100%; height: 400px; object-fit: cover; }
.detail-gallery-thumbs {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.detail-gallery-thumbs img {
    width: 100%; height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}
.detail-gallery-thumbs img:hover { opacity: 1; }
.detail-gallery-thumbs img.active {
    border-color: var(--primary); opacity: 1;
}

.detail-info { flex: 1; }
.detail-info h1 {
    font-size: 30px; font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
    line-height: 1.3;
}
.detail-info .subtitle {
    color: var(--text-gray);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}
.detail-info .params-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.detail-info .params-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-border);
    font-size: 14px;
}
.detail-info .params-table tr:last-child td { border-bottom: none; }
.detail-info .params-table td:first-child {
    font-weight: 600; color: var(--dark);
    width: 35%;
    background: var(--gray-bg);
}
.detail-info .action-row {
    display: flex; gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.detail-info .btn-quote {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 36px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}
.detail-info .btn-quote:hover {
    box-shadow: 0 12px 28px rgba(27, 73, 101, 0.4);
    transform: translateY(-2px);
}
.detail-info .btn-outline-primary {
    padding: 14px 32px;
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-full);
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.detail-info .btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.detail-info .feature-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: 8px;
}
.detail-info .feature-tag {
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 12px; font-weight: 500;
    transition: var(--transition);
}
.detail-info .feature-tag:hover {
    background: var(--primary);
    color: #fff;
}

.detail-content { padding: 50px 0; }
.detail-content .tab-nav {
    display: flex; gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--gray-border);
    background: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 0 8px;
    box-shadow: var(--shadow-sm);
}
.detail-content .tab-nav span {
    padding: 16px 28px;
    cursor: pointer;
    font-size: 15px; font-weight: 500;
    color: var(--text-gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    position: relative;
}
.detail-content .tab-nav span:hover { color: var(--primary); }
.detail-content .tab-nav span.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}
.detail-content .tab-content {
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    line-height: 1.9;
    color: var(--text-dark);
    min-height: 200px;
}
.detail-content .tab-content img { max-width: 100%; border-radius: var(--radius); margin: 8px 0; }
.detail-content .tab-content h2,
.detail-content .tab-content h3 {
    color: var(--dark); margin: 24px 0 12px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    font-weight: 600;
}
.detail-content .tab-content p { margin-bottom: 14px; }

/* ========== 新闻列表页（升级） ========== */
.news-tabs {
    display: flex; gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.news-tabs a {
    padding: 10px 22px;
    font-size: 14px; font-weight: 500;
    color: var(--text-gray);
    background: #fff;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}
.news-tabs a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}
.news-tabs a.active {
    background: var(--primary-gradient);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.news-grid { display: flex; flex-direction: column; gap: 18px; }
.news-card {
    display: flex; gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid var(--gray-border);
}
.news-card:hover {
    box-shadow: var(--shadow-md);
}
.news-card .news-card-img {
    flex: 0 0 220px;
    height: 150px;
    border-radius: 6px; overflow: hidden;
}
.news-card .news-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card .news-card-body { flex: 1; min-width: 0; }
.news-card .news-card-body h4 {
    font-size: 18px; font-weight: 600; margin-bottom: 8px;
    color: var(--dark); line-height: 1.4;
}
.news-card .news-card-body .meta {
    font-size: 13px; color: var(--text-gray);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
}
.news-card .news-card-body .meta span {
    display: inline-flex; align-items: center; gap: 4px;
}
.news-card .news-card-body p {
    font-size: 14px; color: var(--text-gray);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* 新闻详情 */
.news-detail {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}
.news-detail h1.article-title {
    font-size: 32px; font-weight: 700;
    text-align: center;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.4;
}
.news-detail .article-meta {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px dashed var(--gray-border);
    display: flex; justify-content: center; gap: 20px;
    flex-wrap: wrap;
}
.news-detail .article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-detail .article-meta i { color: var(--primary); }
.news-detail .article-content {
    line-height: 1.9;
    color: var(--text-dark);
    font-size: 15px;
}
.news-detail .article-content img { max-width: 100%; border-radius: var(--radius); margin: 12px 0; }
.news-detail .article-content h2,
.news-detail .article-content h3 {
    color: var(--dark);
    margin: 24px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    font-weight: 600;
}
.news-detail .article-content p { margin-bottom: 14px; }
.news-detail .article-content blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-dark);
}

/* ========== 荣誉资质（升级） ========== */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.honor-card {
    background: #fff;
    border-radius: 8px; overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer; text-align: center;
    border: 1px solid var(--gray-border);
}
.honor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.honor-card .honor-img {
    height: 240px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-bg);
}
.honor-card .honor-img img {
    max-height: 100%; object-fit: contain; padding: 16px;
}
.honor-card .honor-body { padding: 16px 14px; }
.honor-card .honor-body h5 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--dark); }
.honor-card .honor-body p { font-size: 12px; color: var(--text-light); }

/* 荣誉放大弹窗 */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.88);
    align-items: center; justify-content: center;
}
.lightbox.show { display: flex; }
.lightbox img {
    max-width: 90%; max-height: 90%;
    border-radius: 4px;
}
.lightbox .close-btn {
    position: absolute; top: 20px; right: 30px;
    color: #fff; font-size: 32px;
    cursor: pointer;
}
.lightbox .close-btn:hover { color: var(--accent); }

/* ========== 联系我们（升级） ========== */
.contact-layout { display: flex; gap: 40px; padding: 50px 0; }
.contact-form-wrap { flex: 1; }
.contact-form-wrap h2 {
    font-size: 28px; font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark);
    position: relative; padding-left: 18px;
}
.contact-form-wrap h2::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 28px;
    background: var(--primary-gradient);
    border-radius: 3px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-group label {
    display: block;
    font-size: 14px; font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}
.contact-form .form-group label .required { color: var(--danger); margin-left: 2px; }
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: #fff;
}
.contact-form .form-group input:hover,
.contact-form .form-group textarea:hover { border-color: #cbd5e1; }
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 73, 101, 0.08);
    background: #fff;
}
.contact-form .form-group input.error,
.contact-form .form-group textarea.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}
.contact-form .form-group .field-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}
.contact-form .form-group.has-error .field-error { display: block; }
.contact-form .form-group textarea { height: 130px; resize: vertical; }

.contact-form .captcha-row {
    display: flex; gap: 12px; align-items: center;
}
.contact-form .captcha-row input { flex: 1; }
.contact-form .captcha-row img {
    height: 44px; cursor: pointer;
    border-radius: var(--radius);
    border: 1px solid var(--gray-border);
}
.contact-form .btn-submit {
    padding: 14px 40px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-size: 15px; font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 8px;
}
.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(27, 73, 101, 0.4);
}
.contact-form .btn-submit:disabled {
    opacity: 0.7; cursor: not-allowed; transform: none;
}
.contact-form .btn-submit .spinner {
    display: none;
    width: 14px; height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.contact-form .btn-submit.loading .spinner { display: inline-block; }
.contact-form .btn-submit.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-info-side { flex: 0 0 360px; }
.contact-info-side .info-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border: 1px solid var(--gray-border);
}
.contact-info-side .info-card h4 {
    font-size: 18px; font-weight: 600;
    margin-bottom: 18px;
    color: var(--dark);
    position: relative; padding-bottom: 12px;
}
.contact-info-side .info-card h4::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 30px; height: 2px;
    background: var(--primary-gradient);
}
.contact-info-side .info-item {
    display: flex; gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed var(--gray-border);
    font-size: 14px;
    transition: var(--transition);
}
.contact-info-side .info-item:hover { padding-left: 6px; }
.contact-info-side .info-item:last-child { border-bottom: none; }
.contact-info-side .info-item .icon {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    flex-shrink: 0;
}
.contact-info-side .info-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 2px;
}
.contact-info-side .info-item p { color: var(--text-gray); font-size: 13px; line-height: 1.6; }

.contact-map {
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

/* ========== 弹窗/模态框 ========== */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.5);
    align-items: center; justify-content: center;
}
.modal-overlay.show { display: flex; }
.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    width: 90%; max-width: 500px;
    max-height: 85vh; overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    position: relative;
}
.modal-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.modal-content > p { color: var(--text-gray); font-size: 14px; margin-bottom: 20px; }
.modal-content .form-group { margin-bottom: 14px; }
.modal-content .form-group label {
    display: block; font-size: 13px; font-weight: 500;
    margin-bottom: 5px; color: var(--dark);
}
.modal-content .form-group input,
.modal-content .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    font-size: 14px; font-family: inherit;
    outline: none;
}
.modal-content .form-group input:focus,
.modal-content .form-group textarea:focus {
    border-color: var(--primary);
}
.modal-close {
    position: absolute; top: 14px; right: 16px;
    font-size: 22px; cursor: pointer;
    color: var(--text-gray);
}
.modal-close:hover { color: var(--danger); }

/* ========== Toast 通知 ========== */
.toast-container {
    position: fixed; top: 90px; right: 20px;
    z-index: 10000;
    display: flex; flex-direction: column;
    gap: 10px; max-width: 340px;
}
.toast {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-left: 4px solid var(--info);
    min-width: 260px;
}
.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error { border-left-color: var(--danger); }
.toast.toast-warning { border-left-color: var(--warning); }
.toast.toast-info { border-left-color: var(--info); }
.toast .toast-icon { width: 22px; height: 22px; flex-shrink: 0; font-size: 15px; }
.toast .toast-body { flex: 1; }
.toast .toast-title { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.toast .toast-msg { font-size: 13px; color: var(--text-gray); }
.toast .toast-close {
    color: var(--text-light); font-size: 18px; cursor: pointer;
    margin-left: 6px; transition: color 0.2s;
}
.toast .toast-close:hover { color: var(--danger); }
.toast.fade-out { opacity: 0; transition: opacity 0.3s; }

/* ========== 分页（升级） ========== */
.pagination {
    display: flex; justify-content: center;
    gap: 6px; margin-top: 50px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center; justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500;
    background: #fff;
    border: 1px solid var(--gray-border);
    color: var(--text-dark);
    transition: var(--transition);
}
.pagination a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}
.pagination .active {
    background: var(--primary-gradient);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}
.pagination .disabled {
    color: #cbd5e1; cursor: not-allowed;
    background: var(--gray-bg);
}

/* ========== 空状态（新增） ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}
.empty-state i {
    font-size: 60px;
    color: #cbd5e1;
    margin-bottom: 16px;
}
.empty-state h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.empty-state p { font-size: 14px; }

/* ========== 按钮通用样式（升级） ========== */
.btn {
    display: inline-flex; align-items: center;
    justify-content: center; gap: 6px;
    padding: 11px 26px;
    border-radius: var(--radius);
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(27, 73, 101, 0.35);
}
.btn-outline {
    background: #fff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ========== 响应式 ========== */
@media (max-width: 1199px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .honor-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-col:nth-child(5) { grid-column: 1 / -1; display: flex; gap: 30px; }
    .news-section-inner { flex-direction: column; }
    .news-main { height: 280px; }
}
@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 76px; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 0;
        box-shadow: var(--shadow-md);
        gap: 0;
    }
    .header-nav.show { display: flex; }
    .header-nav a { padding: 12px 24px; border-radius: 0; }
    .nav-item { width: 100%; }
    .nav-dropdown {
        display: none; position: static;
        box-shadow: none; border: none; border-radius: 0;
        background: var(--primary-light);
    }
    .nav-item:hover .nav-dropdown { display: block; }
    .nav-dropdown a { padding: 10px 36px; border-bottom: 1px solid var(--gray-border); }
    .mobile-menu-btn { display: flex; }
    .product-layout { flex-direction: column; }
    .product-sidebar { flex: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { flex-direction: column; }
    .detail-gallery { position: static; }
    .honor-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { flex-direction: column; }
    .contact-info-side { flex: none; }
    .banner-section .swiper-container { height: 360px; }
    .swiper-slide .slide-content h2 { font-size: 28px; }
    .swiper-slide .slide-content p { font-size: 15px; margin-bottom: 20px; }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .section-title { margin-bottom: 40px; }
    .news-card { flex-direction: column; }
    .news-card .news-card-img { flex: none; height: 180px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:nth-child(5) { grid-column: auto; display: block; }
    .header-search { display: none; }
    .float-consult { right: 16px; bottom: 90px; }
    .back-to-top { right: 16px; bottom: 24px; }
    .news-detail { padding: 30px 20px; }
    .news-detail h1.article-title { font-size: 24px; }
    .toast-container { right: 12px; left: 12px; max-width: none; }
    .toast { min-width: 0; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .business-grid { grid-template-columns: 1fr; }
    .honor-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .header-inner { padding: 0 16px; }
    .swiper-slide .slide-content h2 { font-size: 24px; }
    .section-title h2 { font-size: 24px; }
}
