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

:root {
    --primary: #C30E23;
    --primary-dark: #9E0B1C;
    --primary-light: #FDE8EB;
    --text-dark: #1a1a1a;
    --text-medium: #555;
    --text-light: #888;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border: #e5e5e5;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.25s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-white);
}

/* ===== 版块1: 顶部导航栏 ===== */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    height: 48px;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
    transition: color 0.25s;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu .has-submenu > a::before {
    content: "▾";
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    color: var(--text-light);
    transition: transform 0.25s;
}

.nav-menu .has-submenu:hover > a::before {
    color: var(--primary);
    transform: rotate(180deg);
}

/* 下拉子菜单 */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-white);
    min-width: 160px;
    list-style: none;
    padding: 8px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    border-top: 2px solid var(--primary);
    z-index: 200;
}

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

.submenu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transition: all 0.2s;
    text-align: center;
}

.submenu li a::after {
    display: none;
}

.submenu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.lang-switch {
    display: flex;
    gap: 4px;
}

.lang-switch a {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
    border: 1px solid var(--border);
    transition: all 0.25s;
}

.lang-switch a:first-child {
    border-radius: 2px 0 0 2px;
}

.lang-switch a:last-child {
    border-radius: 0 2px 2px 0;
    border-left: none;
}

.lang-switch a:hover,
.lang-switch a.active {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* ===== 版块2: Hero Banner ===== */
.hero {
    position: relative;
    height: 640px;
    background: #222;
    overflow: hidden;
    padding: 80px 0 120px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #333;
    background-image: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(195,14,35,0.65) 100%);
    z-index: 1;
}

.hero-bg::after {
    content: "[Banner背景图: 厂区/产品/工程]";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    font-size: 15px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.hero-dots span {
    width: 32px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.25s;
}

.hero-dots span.active {
    background: var(--bg-white);
}

/* ===== 版块3: 数据统计 ===== */
.stats {
    background: var(--bg-light);
    padding: 56px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h2 {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-medium);
}

/* ===== 通用版块 ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

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

.section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-title p {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.section-title .divider {
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
}

/* ===== 版块4: 公司简介 ===== */
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text .label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-text h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-text .btn-primary {
    margin-top: 12px;
}

.about-image {
    height: 360px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* ===== 版块5: 核心产品展示 ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.product-card .img-placeholder {
    height: 200px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    overflow: hidden;
}

.product-card .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-card-body p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-card-body .link {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    transition: color 0.25s;
}

.product-card-body .link:hover {
    color: var(--primary-dark);
}

/* ===== 版块6: 典型案例 ===== */
.cases-section {
    background: var(--primary);
    color: var(--bg-white);
}

.cases-section .section-title h2 {
    color: var(--bg-white);
}

.cases-section .section-title p {
    color: rgba(255,255,255,0.75);
}

.cases-section .section-title .divider {
    background: var(--bg-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.case-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    overflow: hidden;
    transition: background 0.3s;
}

.case-card:hover {
    background: rgba(255,255,255,0.14);
}

.case-card .img-placeholder {
    height: 160px;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.case-card-body {
    padding: 16px;
}

.case-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    margin-bottom: 8px;
}

.case-tag.domestic {
    background: rgba(255,255,255,0.2);
    color: var(--bg-white);
}

.case-tag.overseas {
    background: rgba(0,0,0,0.3);
    color: var(--bg-white);
}

.case-card-body h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--bg-white);
}

.case-card-body .case-info {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.cases-more {
    text-align: center;
    margin-top: 40px;
}

.cases-more .btn-outline {
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.cases-more .btn-outline:hover {
    background: var(--bg-white);
    color: var(--primary);
}

/* ===== 版块7: 客户Logo墙 ===== */
.logos-wall {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.logo-item {
    width: 150px;
    height: 64px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 12px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== 版块8: 新闻动态 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 28px;
    transition: box-shadow 0.3s;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.news-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 2px;
    margin-bottom: 12px;
}

.news-tag.company {
    background: var(--primary-light);
    color: var(--primary);
}

.news-tag.industry {
    background: #e8f4ec;
    color: #2e7d32;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-card p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 14px;
    line-height: 1.8;
}

.news-card .link {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

/* ===== 版块9: 联系我们 ===== */
.contact-section {
    background: var(--primary);
    color: var(--bg-white);
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
    line-height: 1.6;
}

.contact-info li strong {
    min-width: 60px;
    font-weight: 600;
}

.qr-code {
    margin-top: 20px;
    width: 110px;
    height: 110px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: var(--bg-white);
    font-size: 14px;
    font-family: inherit;
    border-radius: 2px;
    transition: border-color 0.25s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bg-white);
}

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

/* ===== 版块10: 认证资质 ===== */
.certifications {
    padding: 48px 0;
    background: var(--bg-light);
}

.certifications-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-item {
    padding: 12px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
}

/* ===== 版块11: Footer ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo img {
    height: 44px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    font-size: 13px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.6);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
}
@media (max-width: 900px) {
    .nav-menu { gap: 18px; }
    .nav-menu a { font-size: 13px; }
    .hero { height: 540px; padding: 60px 0 100px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 15px; margin-bottom: 28px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .about-section .container { grid-template-columns: 1fr; gap: 32px; }
    .contact-section .container { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== 产品汇总页专用样式 ===== */

/* 页面Banner */
.page-banner {
    height: 320px;
    background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(195,14,35,0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    position: relative;
}

.page-banner-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-banner-content p {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.85;
    margin-bottom: 12px;
}

.page-banner-content .desc {
    font-size: 15px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 分类导航锚点 */
.category-nav {
    position: sticky;
    top: 72px;
    z-index: 90;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-nav-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.category-nav a {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    transition: color 0.25s;
}

.category-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.25s;
}

.category-nav a:hover,
.category-nav a.active {
    color: var(--primary);
}

.category-nav a:hover::after,
.category-nav a.active::after {
    width: 100%;
}

/* 产品分类板块 */
.product-category {
    padding: 64px 0;
    scroll-margin-top: 120px;
}

.product-category:nth-child(even) {
    background: var(--bg-light);
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.category-header p {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.category-header .divider {
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
}

.category-header .cat-desc {
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 产品卡片网格 */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 响应式 - 产品汇总页 */
@media (max-width: 900px) {
    .product-list-grid { grid-template-columns: repeat(2, 1fr); }
    .category-nav a { padding: 12px 20px; font-size: 13px; }
}

@media (max-width: 600px) {
    .product-list-grid { grid-template-columns: 1fr; }
    .category-nav-inner { flex-wrap: wrap; }
    .page-banner-content h1 { font-size: 26px; }
}

/* ===== 产品详情页专用样式 ===== */

/* 面包屑导航 */
.breadcrumb {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumb-inner a {
    color: var(--text-medium);
    transition: color 0.25s;
}

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

.breadcrumb-inner span {
    margin: 0 6px;
    color: var(--text-light);
}

.breadcrumb-inner .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* 产品主信息区 */
.product-main {
    padding: 48px 0;
}

.product-main .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* 产品图集 */
.product-gallery .main-image {
    height: 400px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.product-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .thumbs {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.product-gallery .thumbs .thumb {
    flex: 1;
    height: 80px;
    background: #e8e8e8;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    transition: border-color 0.25s, transform 0.25s;
    overflow: hidden;
}

.product-gallery .thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery .thumbs .thumb:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.product-gallery .thumbs .thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

/* 产品信息 */
.product-info .cat-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-info h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.product-info .subtitle {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.product-info .brief {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

/* 参数表格 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

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

.spec-table th {
    color: var(--text-light);
    font-weight: 500;
    width: 40%;
    background: var(--bg-light);
}

.spec-table td {
    color: var(--text-dark);
    font-weight: 500;
}

/* 按钮组 */
.product-actions {
    display: flex;
    gap: 16px;
}

/* Tab切换区 */
.product-tabs {
    border-top: 1px solid var(--border);
    padding-top: 48px;
}

.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 32px;
}

.tab-nav a {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    transition: color 0.25s, transform 0.25s;
}

.tab-nav a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.tab-nav a:hover,
.tab-nav a.active {
    color: var(--primary);
}

.tab-nav a:hover::after,
.tab-nav a.active::after {
    width: 100%;
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    animation: tabFadeIn 0.4s ease;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.tab-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 12px;
}

/* 应用场景配图 */
.scene-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.scene-image {
    height: 160px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.scene-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 相关案例卡片 */
.case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.case-list .case-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 16px;
}

.case-list .case-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.case-list .case-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* 产品图集展示 */
.gallery-section {
    padding: 64px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    height: 200px;
    background: #e8e8e8;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    transition: box-shadow 0.25s;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* 相关产品推荐 */
.related-section {
    padding: 64px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 响应式 - 产品详情页 */
@media (max-width: 900px) {
    .product-main .container { grid-template-columns: 1fr; gap: 32px; }
    .scene-images { grid-template-columns: repeat(2, 1fr); }
    .case-list { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .scene-images { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .product-info h1 { font-size: 24px; }
    .tab-nav a { padding: 10px 16px; font-size: 13px; }
}

/* ===== 解决方案汇总页专用样式 ===== */

/* 案例卡片网格 */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 案例卡片 */
.solution-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.solution-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}

.solution-card .img-placeholder {
    height: 180px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    overflow: hidden;
}

.solution-card .img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-card-body {
    padding: 16px;
}

.solution-card-body h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.solution-card-body .sol-info {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.solution-card-body .sol-info span {
    display: block;
}

/* 案例标签 - 国内/海外 */
.sol-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 2px;
}

.sol-tag.domestic {
    background: var(--primary-light);
    color: var(--primary);
}

.sol-tag.overseas {
    background: #e8f0fe;
    color: #1967d2;
}

.solution-card-body .link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    transition: opacity 0.25s;
}

.solution-card-body .link:hover {
    opacity: 0.75;
}

/* 解决方案分类板块 */
.solution-category {
    padding: 64px 0;
    scroll-margin-top: 120px;
}

.solution-category:nth-child(even) {
    background: var(--bg-light);
}

/* 响应式 - 解决方案汇总页 */
@media (max-width: 900px) {
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .solution-grid { grid-template-columns: 1fr; }
}

/* ===== 解决方案详情页专用样式 ===== */

/* 案例主信息区 */
.case-main {
    padding: 48px 0;
}

.case-main .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* 案例主图 */
.case-gallery .main-image {
    height: 400px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.case-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-gallery .thumbs {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.case-gallery .thumbs .thumb {
    flex: 1;
    height: 80px;
    background: #e8e8e8;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    transition: border-color 0.25s;
    overflow: hidden;
}

.case-gallery .thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-gallery .thumbs .thumb:hover {
    border-color: var(--primary);
}

/* 案例信息 */
.case-info .cat-label {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    border-radius: 2px;
}

.case-info .cat-label.domestic {
    background: var(--primary-light);
    color: var(--primary);
}

.case-info .cat-label.overseas {
    background: #e8f0fe;
    color: #1967d2;
}

.case-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.case-info .case-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.case-info .case-table th,
.case-info .case-table td {
    padding: 10px 16px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.case-info .case-table th {
    color: var(--text-light);
    font-weight: 500;
    width: 35%;
    background: var(--bg-light);
}

.case-info .case-table td {
    color: var(--text-dark);
    font-weight: 500;
}

.case-info .case-actions {
    display: flex;
    gap: 16px;
}

/* 案例概述 */
.case-overview {
    padding: 48px 0;
    background: var(--bg-light);
}

.case-overview .overview-content {
    max-width: 800px;
    margin: 0 auto;
}

.case-overview h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.case-overview p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 16px;
}

.case-highlights {
    margin-top: 28px;
    padding: 24px;
    background: var(--bg-white);
    border-left: 4px solid var(--primary);
}

.case-highlights h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.case-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-highlights li {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    padding-left: 20px;
    position: relative;
}

.case-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* 使用设备 */
.equipment-section {
    padding: 64px 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* 相关案例 */
.related-cases-section {
    padding: 64px 0;
    background: var(--bg-light);
}

.related-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 响应式 - 解决方案详情页 */
@media (max-width: 900px) {
    .case-main .container { grid-template-columns: 1fr; gap: 32px; }
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .related-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .equipment-grid { grid-template-columns: 1fr; }
    .related-cases-grid { grid-template-columns: 1fr; }
    .case-info h1 { font-size: 22px; }
}

/* ===== 关于锡探科技页专用样式 ===== */

/* 公司简介 */
.about-intro {
    padding: 64px 0;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-intro .intro-text .label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-intro .intro-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-intro .intro-text p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 12px;
}

.about-intro .intro-image {
    height: 360px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    border: 1px solid var(--border);
}

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

.advantage-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s, transform 0.3s;
}

.advantage-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.advantage-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.advantage-card .icon svg {
    width: 26px;
    height: 26px;
}

.advantage-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.7;
}

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

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

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.timeline-item {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.timeline-item .year {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-item .event {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.7;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--primary);
}

/* 研发实力 */
.about-rnd {
    padding: 64px 0;
    background: var(--bg-light);
}

.about-rnd .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-rnd .rnd-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-rnd .rnd-text p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-rnd .rnd-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-rnd .rnd-text li {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 2;
    padding-left: 20px;
    position: relative;
}

.about-rnd .rnd-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.about-rnd .rnd-image {
    height: 320px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    border: 1px solid var(--border);
}

/* 企业愿景 */
.vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--bg-white);
}

.vision-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.vision-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.95;
}

.vision-item p {
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.85;
}

/* 响应式 - 关于页 */
@media (max-width: 900px) {
    .about-intro .container { grid-template-columns: 1fr; gap: 32px; }
    .about-rnd .container { grid-template-columns: 1fr; gap: 32px; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
    .timeline::before { left: 25%; }
    .timeline-item:nth-child(odd)::before { left: calc(50% - 1px); }
    .timeline-item:nth-child(even)::before { left: calc(50% - 1px); }
    .vision-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
    .advantage-grid { grid-template-columns: 1fr; }
    .timeline-grid { grid-template-columns: 1fr; gap: 32px 0; }
    .timeline::before { left: 50%; }
    .about-intro .intro-image { height: 240px; }
    .about-rnd .rnd-image { height: 240px; }
}

/* ===== 荣誉资质页专用样式 ===== */

/* Tab切换 - radio input hack */
.cert-radio { display: none; }

.cert-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.cert-tabs label {
    display: block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.25s, border-color 0.25s;
}

.cert-tabs label:hover {
    color: var(--primary);
}

/* 默认隐藏所有panel */
.cert-panel { display: none; }

/* #honors-radio 选中时显示荣誉证书 */
#honors-radio:checked ~ .cert-tabs label[for="honors-radio"],
#qualifications-radio:checked ~ .cert-tabs label[for="qualifications-radio"] {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

#honors-radio:checked ~ .cert-content #honors-panel {
    display: block;
}

#qualifications-radio:checked ~ .cert-content #qualifications-panel {
    display: block;
}

/* 默认选中第一个radio */
#honors-radio { /* checked in HTML */ }

/* 证书网格 */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cert-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.cert-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.cert-card .cert-image {
    height: 280px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.cert-card .cert-body {
    padding: 20px;
    text-align: center;
}

.cert-card .cert-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cert-card .cert-body p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* 响应式 - 荣誉资质页 */
@media (max-width: 900px) {
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .cert-grid { grid-template-columns: 1fr; }
    .cert-tabs a { padding: 10px 20px; font-size: 14px; }
    .cert-card .cert-image { height: 220px; }
}

/* ===== 联系我们页专用样式 ===== */

/* 联系信息与表单 */
.contact-main {
    padding: 64px 0;
}

.contact-main .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

/* 左侧联系信息 */
.contact-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-info .info-item .info-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info .info-item .info-icon svg {
    width: 18px;
    height: 18px;
}

.contact-info .info-item .info-text h4 {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info .info-item .info-text p {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

/* 二维码区 */
.contact-info .qr-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.contact-info .qr-section h4 {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 12px;
}

.contact-info .qr-box {
    width: 120px;
    height: 120px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* 右侧留言表单 */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
}

.contact-form h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form .form-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form .form-group label .required {
    color: var(--primary);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-dark);
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.25s;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

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

.contact-form .form-submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.25s;
}

.contact-form .form-submit:hover {
    background: var(--primary-dark);
}

/* 地图区 */
.contact-map {
    height: 400px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 15px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-map .map-placeholder {
    text-align: center;
    color: #999;
}

/* 响应式 - 联系页 */
@media (max-width: 900px) {
    .contact-main .container { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 28px; }
    .contact-map { height: 300px; }
}

@media (max-width: 600px) {
    .contact-form .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; }
    .contact-map { height: 240px; }
}
