/* ============================================
   鑫双旗防静电地板官网 - 主样式表
   配色：深蓝 #1a4d7a + 金色 #c9a84c + 暖白
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --color-primary: #1a4d7a;
    --color-primary-dark: #0f3458;
    --color-primary-light: #2d6ba8;
    --color-gold: #c9a84c;
    --color-gold-light: #e0c068;
    --color-gold-dark: #a8893a;
    --color-bg: #faf7f2;
    --color-bg-white: #ffffff;
    --color-bg-card: #ffffff;
    --color-text: #2a2a2a;
    --color-text-light: #6c6c6c;
    --color-text-muted: #999999;
    --color-border: #e8e3da;
    --color-success: #2e8b57;
    --color-warning: #d4a017;
    --shadow-sm: 0 2px 8px rgba(26, 77, 122, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 77, 122, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 77, 122, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --max-width: 1280px;
    --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-en: 'Open Sans', Arial, sans-serif;
}

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* 防止子元素横向溢出触发页面横向滚动 */
}

body {
    font-family: var(--font-zh);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* 双保险：任何子元素溢出不影响布局 */
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-gold-dark);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.top-bar {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: rgba(255,255,255,0.85);
    margin-right: 16px;
}

.top-bar a:hover {
    color: var(--color-gold-light);
}

.top-bar .hotline {
    color: var(--color-gold-light);
    font-weight: 600;
}

.header {
    background: var(--color-primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo img {
    height: 54px;
    background: #fff;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

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

.logo-text .brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.logo-text .slogan {
    font-size: 0.75rem;
    color: var(--color-gold-light);
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav li {
    position: relative;
}

.nav li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav li a:hover,
.nav li.active a {
    color: var(--color-gold-light);
    background: rgba(255,255,255,0.08);
}

.nav li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
}

.header-cta {
    background: var(--color-gold);
    color: var(--color-primary-dark);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
}

.header-cta:hover {
    background: var(--color-gold-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer h4 {
    color: var(--color-gold-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-gold);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer ul li a:hover {
    color: var(--color-gold-light);
    padding-left: 6px;
}

.contact-info li {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.qrcode {
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 8px;
    margin-top: 8px;
    display: block;
    object-fit: contain;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.copyright a {
    color: rgba(255,255,255,0.5);
    margin: 0 8px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-primary-dark);
    border-color: var(--color-gold);
}

.btn-gold:hover {
    background: var(--color-gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ---------- 页面通用横幅 ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 50 L50 0 L100 50 L50 100 Z' fill='none' stroke='%23c9a84c' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 60px;
    opacity: 0.4;
}

.page-banner h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-banner .subtitle {
    color: var(--color-gold-light);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    background: var(--color-bg-white);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.breadcrumb a {
    color: var(--color-text-light);
}

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

.breadcrumb .sep {
    margin: 0 8px;
    color: var(--color-text-muted);
}

.breadcrumb .current {
    color: var(--color-primary);
    font-weight: 500;
}

/* ---------- 区块标题 ---------- */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-title .subtitle {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-top: 8px;
}

/* ---------- 首页 Hero Banner ---------- */
.hero {
    background: linear-gradient(135deg, rgba(15, 52, 88, 0.85) 0%, rgba(26, 77, 122, 0.7) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600') center/cover;
    color: #fff;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero .tagline {
    color: var(--color-gold-light);
    font-size: 1.4rem;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.hero .desc {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-gold-light);
    margin-bottom: 8px;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

/* ---------- 优势卡片 ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-card);
    padding: 36px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    color: var(--color-gold-light);
    font-size: 2rem;
    font-weight: 700;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- 产品卡片 ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.product-img {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e8eef5 0%, #d4e0ed 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 48%, var(--color-gold) 48%, var(--color-gold) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--color-primary) 48%, var(--color-primary) 52%, transparent 52%);
    background-size: 30px 30px;
    opacity: 0.06;
}

.product-img .img-label {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    z-index: 1;
    position: relative;
}

.product-img .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-gold);
    color: var(--color-primary-dark);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-info .tag {
    color: var(--color-gold-dark);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.product-info .more {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-info .more::after {
    content: ' →';
    transition: var(--transition);
}

.product-card:hover .more::after {
    margin-left: 4px;
}

/* ---------- 案例卡片 ---------- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    display: block; /* 现为 <a> 整卡链接，grid 子项块化 */
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.case-img {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    font-size: 1.4rem;
    font-weight: 700;
}

.case-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.04) 20px 40px);
}

.case-info {
    padding: 20px;
}

.case-info .industry {
    display: inline-block;
    background: rgba(26, 77, 122, 0.08);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.case-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.case-info p {
    color: var(--color-text-light);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

/* ---------- 新闻列表（横排：每篇一行） ---------- */
.news-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr); /* 单列 = 每篇文章占一行 */
    gap: 20px;
}

.news-item {
    background: var(--color-bg-card);
    padding: 24px;
    border-left: 3px solid var(--color-gold);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid var(--color-border);
    border-left-width: 3px;
    border-left-color: var(--color-gold);
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.news-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 8px;
    align-self: flex-start;
}

.news-date .day {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold-light);
    line-height: 1;
}

.news-date .year-month {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--color-primary);
}

.news-content h3 a:hover {
    color: var(--color-gold-dark);
}

.news-content .excerpt {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
    /* 摘要最多 2 行，超出部分以 … 截断 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻缩略图（横排左侧） */
.news-thumb {
    flex-shrink: 0;
    display: block;
    width: 220px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    overflow: hidden;
}

.news-content .meta {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.news-content .meta .cat {
    color: var(--color-gold-dark);
    margin-right: 12px;
}

/* ---------- 通用内容区 ---------- */
.content-block {
    background: var(--color-bg-white);
    padding: 60px 0;
}

.content-grid {
    display: grid;
    /* minmax(0,·) 允许列收缩到内容宽度以下，防止 min-content 撑爆列宽导致整页横向溢出 */
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
}

.content-main {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.content-main h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-gold);
}

.content-main h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.content-main p {
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 16px;
}

.content-main ul,
.content-main ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.content-main ul li {
    list-style: disc;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.8;
}

.content-main ol li {
    list-style: decimal;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.8;
}

.content-main blockquote {
    background: rgba(26, 77, 122, 0.04);
    border-left: 4px solid var(--color-gold);
    padding: 16px 20px;
    margin: 20px 0;
    color: var(--color-text);
    font-style: italic;
}

.sidebar {
    align-self: flex-start;
}

.sidebar-block {
    background: var(--color-bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.sidebar-block h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.sidebar-block ul li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.92rem;
}

.sidebar-block ul li:last-child {
    border-bottom: 0;
}

.sidebar-block ul li a {
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.sidebar-block ul li a:hover {
    color: var(--color-primary);
}

.sidebar-block ul li .date {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* ---------- 产品详情参数表 ---------- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.spec-table th,
.spec-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.spec-table th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    width: 30%;
}

.spec-table tr:nth-child(even) td {
    background: rgba(26, 77, 122, 0.03);
}

.spec-table tr:hover td {
    background: rgba(201, 168, 76, 0.08);
}

/* ---------- 表单 ---------- */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--color-bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 0;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 122, 0.1);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---------- 联系信息块 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--color-bg-card);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.contact-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}

/* ---------- 时间线（发展历程） ---------- */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 32px;
    width: 14px;
    height: 14px;
    background: var(--color-gold);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -7px;
}

.timeline-item:nth-child(even)::before {
    left: -7px;
}

.timeline-content {
    background: var(--color-bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.timeline-content .year {
    color: var(--color-gold-dark);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.timeline-content h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.timeline-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- 资质荣誉 ---------- */
.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.honor-card {
    background: var(--color-bg-card);
    aspect-ratio: 4 / 3;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    color: var(--color-primary);
    font-weight: 600;
}

.honor-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ---------- 详情页（案例/文章） ---------- */
.detail-cover {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    background: var(--color-bg-card);
}

.detail-title {
    font-size: 1.6rem;
    line-height: 1.4;
    margin-bottom: 14px;
    color: var(--color-primary-dark);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.detail-meta .cat {
    color: var(--color-gold-dark);
    font-weight: 600;
}

.detail-summary {
    background: rgba(26, 77, 122, 0.05);
    border-left: 4px solid var(--color-gold);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.98rem;
}

.detail-body p {
    color: var(--color-text);
    line-height: 2;
    margin-bottom: 16px;
    font-size: 0.98rem;
    text-align: justify;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.detail-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.detail-notfound {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

.detail-notfound p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ---------- 产品详情页 v13 模块 ---------- */
.pd-section {
    margin: 36px 0;
}
.pd-h2 {
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--color-gold);
    display: inline-block;
}

/* 核心参数表（按 cat 分组、蓝色首列 + 白奇行） */
.specs-group-title {
    margin: 24px 0 10px;
    font-size: 1.05rem;
    color: var(--color-primary);
    font-weight: 600;
    padding-left: 8px;
    border-left: 4px solid var(--color-gold);
}
.specs-group-title:first-child { margin-top: 0; }
.specs-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    margin-bottom: 12px;
}
.specs-table th, .specs-table td {
    padding: 14px 18px;
    text-align: left;
    border: 1px solid #e3e8ef;
    font-size: 0.95rem;
    line-height: 1.55;
}
.specs-table th {
    width: 32%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}
.specs-table tr:nth-child(even) td { background: #f5f8fc; }
.specs-table tr:nth-child(odd) td  { background: #fff; }

/* 产品特点（左短标题 + 右描述） */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.features-list li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px dashed #e3e8ef;
    align-items: start;
}
.features-list li:last-child { border-bottom: none; }
.features-list strong {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
    padding-right: 12px;
    border-right: 2px solid var(--color-gold);
}
.features-list span {
    color: var(--color-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 适用场景（项目符号） */
.scenarios-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}
.scenarios-list li {
    padding: 10px 0 10px 22px;
    position: relative;
    color: var(--color-text);
    font-size: 0.95rem;
    border-bottom: 1px dashed #eef2f7;
}
.scenarios-list li::before {
    content: "▸";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .specs-table th { width: 38%; }
    .features-list li { grid-template-columns: 1fr; gap: 6px; }
    .features-list strong { text-align: left; border-right: none; padding: 0 0 0 12px; border-left: 3px solid var(--color-gold); }
    .scenarios-list { grid-template-columns: 1fr; }
}

/* ---------- 行业筛选 ---------- */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-tab {
    padding: 8px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.92rem;
    transition: var(--transition);
    color: var(--color-text);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.filter-tab.active {
    background: var(--color-gold);
    color: var(--color-primary-dark);
    border-color: var(--color-gold);
    font-weight: 600;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: 0;
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-gold);
    color: var(--color-primary-dark);
    transform: translateY(-4px);
}

/* ---------- 浮动咨询 ---------- */
.float-consult {
    position: fixed;
    right: 24px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    background: var(--color-gold);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-direction: column;
    transition: var(--transition);
    border: 0;
    line-height: 1.1;
}

.float-btn:hover {
    background: var(--color-gold-dark);
    color: #fff;
    transform: translateY(-4px);
}

.float-btn .icon {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

/* ---------- 分页 ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.9rem;
}

.pagination a:hover,
.pagination a.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .features-grid,
    .products-grid,
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .cases-grid,
    .news-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .content-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .honors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .tagline {
        font-size: 1rem;
    }
    .section {
        padding: 50px 0;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav.active {
        display: flex;
    }
    .nav li a {
        padding: 12px 16px;
    }
    .menu-toggle {
        display: block;
    }
    .header-cta {
        display: none;
    }
    .header .container {
        height: 64px;
    }
    .logo img {
        height: 40px;
    }
    .content-main {
        padding: 24px;
    }
    /* 手机端：新闻缩略图缩小、详情封面变高、图库单列 */
    .news-thumb {
        width: 120px;
    }
    .news-item {
        padding: 16px;
        gap: 14px;
    }
    .detail-cover {
        aspect-ratio: 16 / 9;
    }
    .detail-gallery {
        grid-template-columns: 1fr;
    }
    .detail-title {
        font-size: 1.3rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 24px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 16px;
        text-align: left;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item::before {
        left: 17px;
        right: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .page-banner {
        padding: 60px 0 40px;
    }
    .page-banner h1 {
        font-size: 1.8rem;
    }
}
