/* ==========================================
   宋安消防 - 全局样式
   ========================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #C41E3A;       /* 消防红 */
    --primary-dark: #A01830;        /* 深红 */
    --primary-light: #E63950;        /* 浅红 */
    --secondary-color: #333333;      /* 深灰 */
    --accent-color: #D4AF37;         /* 金色 */
    --bg-light: #F5F5F5;             /* 浅灰背景 */
    --bg-white: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #E0E0E0;
    
    /* Typography */
    --font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-xxl: 80px;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Effects */
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

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

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

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================
   Typography
   ========================================== */

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

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.section-title .subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: var(--spacing-md) auto 0;
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

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

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

.btn-white:hover {
    background: var(--bg-light);
}

/* ==========================================
   Header
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-item a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    padding: var(--spacing-sm) 0;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

.header-phone {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
}

.header-phone i {
    font-size: 20px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* ==========================================
   Banner / Hero
   ========================================== */

.banner {
    margin-top: var(--header-height);
    height: 500px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    height: 100%;
    position: relative;
}

.banner-slide {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background: var(--primary-color);
}

/* ==========================================
   Page Header
   ========================================== */

.page-header {
    margin-top: var(--header-height);
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    font-size: 42px;
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.page-header .breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.page-header .breadcrumb a {
    color: var(--bg-white);
}

.page-header .breadcrumb span {
    margin: 0 10px;
}

/* ==========================================
   Section
   ========================================== */

.section {
    padding: var(--spacing-xxl) 0;
}

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

/* ==========================================
   Service Grid
   ========================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 36px;
    color: var(--bg-white);
}

.service-card h4 {
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==========================================
   Product Grid - 参考荣誉页面布局
   ========================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.product-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 18px;  /* 适当缩小字体 */
}

.product-info p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: var(--spacing-md);
}

/* 大气的"查看详情"按钮样式 */
.product-link {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.25);
}

.product-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), #8B1528);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.35);
    color: #fff !important;
}

.product-link:active {
    transform: translateY(0);
}

/* ==========================================
   News Grid
   ========================================== */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.news-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: var(--spacing-md);
}

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

.news-content h4 {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-color);
    font-size: 13px;
}

/* ==========================================
   Case Grid
   ========================================== */

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.case-card {
    /* overlay 布局：图片+底部渐变遮罩 */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 280px;
    background: #f5f5f5;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.case-card:hover img {
    transform: scale(1.05);
}

/* 图片容器 - 新卡片结构 */
.case-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.case-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* 文字内容区 */
.case-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--bg-white);
}

.case-overlay h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
}

.case-overlay p {
    font-size: 13px;
    opacity: 0.9;
}

/* 案例卡片"查看详情"按钮 */
.case-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    background: rgba(196, 30, 58, 0.85);
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-link:hover {
    background: #C41E3A;
    transform: scale(1.05);
    color: #fff !important;
}

/* ==========================================
   Honor Grid
   ========================================== */

.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.honor-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.honor-card:hover {
    transform: scale(1.05);
}

.honor-image {
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.honor-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 多图数量徽章 */
.gallery-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.honor-info {
    padding: var(--spacing-md);
    text-align: center;
}

.honor-info h4 {
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
}

.honor-info p {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ==========================================
   分页样式
   ========================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination button.page-btn,
.pagination button.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}

.pagination button.page-btn:hover,
.pagination button.page-num:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination button.page-btn:active,
.pagination button.page-num:active {
    opacity: 0.7;
    transform: scale(0.95);
}

.pagination button.page-num.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    cursor: default;
}

.pagination button.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .page-ellipsis {
    color: var(--text-light);
    padding: 0 4px;
}

.pagination .page-info {
    color: var(--text-light);
    font-size: 13px;
    margin-left: 12px;
}

/* ==========================================
   About Section
   ========================================== */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
}

.about-content h2 {
    margin-bottom: var(--spacing-md);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   Contact Section
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

.contact-info {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

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

.contact-item h4 {
    color: var(--bg-white);
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.contact-form {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

/* 居中联系卡片样式 */
.contact-center-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-center-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.contact-center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-center-icon {
    width: 60px;
    height: 60px;
    background: #C41E3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}

.contact-center-card h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-center-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .contact-center-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .contact-center-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

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

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

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding-top: var(--spacing-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h3 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-links h4 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-md);
    font-size: 16px;
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: var(--spacing-sm);
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   Pagination
   ========================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.pagination a {
    background: var(--bg-white);
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.pagination .active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* ==========================================
   Tags
   ========================================== */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 12px;
    transition: var(--transition);
}

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

/* ==========================================
   Breadcrumb
   ========================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 14px;
}

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

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

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

/* ==========================================
   Article Detail
   ========================================== */

.article-detail {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.article-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    font-size: 32px;
    margin-bottom: var(--spacing-md);
}

.article-meta {
    color: var(--text-light);
    font-size: 13px;
}

.article-meta span {
    margin: 0 var(--spacing-sm);
}

.article-content {
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content p {
    margin-bottom: var(--spacing-md);
}

.article-content img {
    max-width: 100%;
    margin: var(--spacing-md) 0;
    border-radius: 4px;
}

/* ==========================================
   FAQ
   ========================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.faq-question h4 i {
    color: var(--primary-color);
}

.faq-question .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   Loading
   ========================================== */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid,
    .news-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .honor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    
    .header {
        height: 56px;
    }
    
    .logo {
        gap: 6px;
    }
    
    .logo-text {
        font-size: 18px;
        letter-spacing: 0;
    }
    
    .logo-text span {
        display: block;
        font-size: 10px;
    }
    
    .logo-text i {
        font-size: 18px;
    }
    
    .logo img {
        height: 36px;
    }
    
    /* 移动端隐藏电话，直接用咨询按钮 */
    .header-phone {
        display: none !important;
    }
    
    /* 移动端导航菜单 */
    .nav {
        position: relative;
        flex: 1;
        justify-content: flex-end;
    }
    
    .nav-list {
        display: none;
        writing-mode: horizontal-tb !important;
        flex-direction: column !important;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 20px;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-list li {
        width: 100% !important;
    }
    
    .nav-list a {
        display: block;
        padding: 15px 0 !important;
        font-size: 16px !important;
        border-bottom: 1px solid #eee;
        writing-mode: horizontal-tb !important;
        white-space: normal !important;
    }
    
    .nav.mobile-open .nav-list {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        position: relative;
        z-index: 1000;
        margin-left: auto;
    }
    
    .nav.mobile-open .mobile-menu-btn span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav.mobile-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }
    
    .nav.mobile-open .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .banner {
        height: 220px;
        margin-top: 60px;
    }
    
    .banner-slide img {
        object-fit: cover;
        object-position: center center;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .page-header {
        height: 200px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid,
    .news-grid,
    .case-grid,
    .honor-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        height: 220px;
    }
    
    .about-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* ==========================================
   Utilities
   ========================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.pt-1 { padding-top: var(--spacing-xs); }
.pt-2 { padding-top: var(--spacing-sm); }
.pt-3 { padding-top: var(--spacing-md); }
.pt-4 { padding-top: var(--spacing-lg); }
.pt-5 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-xs); }
.pb-2 { padding-bottom: var(--spacing-sm); }
.pb-3 { padding-bottom: var(--spacing-md); }
.pb-4 { padding-bottom: var(--spacing-lg); }
.pb-5 { padding-bottom: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ==========================================
   在线咨询悬浮按钮 (新样式)
   ========================================== */
#csWidget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    font-family: var(--font-family);
    animation: csFloat 2.4s ease-in-out infinite;
}

#csTrigger {
    width: 52px;
    height: 120px;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, #C41E3A 0%, #A01830 50%, #8B1528 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: -4px 0 24px rgba(196, 30, 58, 0.55), -8px 6px 24px rgba(196, 30, 58, 0.25);
    position: relative;
    padding: 0;
    transition: width .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
    overflow: visible;
}

#csTrigger::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 17px 0 0 17px;
    background: linear-gradient(180deg, #C41E3A, #A01830);
    opacity: 0;
    z-index: -1;
    animation: csGlow 2.4s ease-in-out infinite;
    filter: blur(10px);
}

#csTrigger:hover {
    width: 60px;
    box-shadow: -6px 0 32px rgba(196, 30, 58, 0.7), 0 0 0 0 rgba(196, 30, 58, 0);
}

#csTrigger:hover::before {
    opacity: .7;
}

@keyframes csFloat {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
        filter: drop-shadow(-4px 8px 16px rgba(196, 30, 58, 0.35));
    }
    50% {
        transform: translateY(-50%) translateX(0) translateY(-10px);
        filter: drop-shadow(-4px 18px 22px rgba(196, 30, 58, 0.55));
    }
}

@keyframes csGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: .5;
        transform: scale(1.1);
    }
}

#csTrigger .cs-online-dot {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ADFF6B;
    border: 1.5px solid rgba(255, 255, 255, .7);
    animation: csOnlinePulse 1.8s ease-in-out infinite;
}

@keyframes csOnlinePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(173, 255, 107, .7);
    }
    50% {
        opacity: .8;
        box-shadow: 0 0 0 5px rgba(173, 255, 107, 0);
    }
}

#csTrigger #csTriggerIcon,
#csTrigger #csTriggerClose {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

#csTrigger .cs-label {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    display: block;
}

.cs-panel {
    position: fixed;
    right: 50px;
    top: 50%;
    transform: translateY(-50%) translateX(16px) scale(.94);
    transform-origin: right center;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s cubic-bezier(.34, 1.2, .64, 1), transform .28s cubic-bezier(.34, 1.2, .64, 1);
    z-index: 9998;
}

.cs-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0) scale(1);
}

.cs-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.cs-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.cs-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .2s;
}

.cs-close-btn:hover {
    background: #f5f5f5;
    color: #666;
}

.cs-panel-body {
    padding: 16px;
}

.cs-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #f0f0f0;
}

.cs-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-info {
    flex: 1;
    min-width: 0;
}

.cs-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.cs-contact-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cs-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
}

.cs-contact-btn.cs-wechat:hover {
    border-color: #07C160;
    color: #07C160;
}

.cs-contact-btn.cs-phone:hover {
    border-color: #C41E3A;
    color: #C41E3A;
}

.cs-tip {
    font-size: 12px;
    color: #999;
    text-align: center;
    padding-top: 4px;
}

/* 微信二维码弹窗 */
#csQROverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cs-qr-modal {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    position: relative;
    animation: slideUp .3s ease;
}

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

.cs-qr-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f0f0f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.cs-qr-close:hover {
    background: #e0e0e0;
    color: #333;
}

.cs-qr-wechat-icon {
    margin-bottom: 12px;
}

.cs-qr-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.cs-qr-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
}

.cs-qr-img-wrap {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 12px;
    display: inline-block;
    margin-bottom: 12px;
}

.cs-qr-img-wrap img {
    width: 160px;
    height: 160px;
    display: block;
}

.cs-qr-search-tip {
    font-size: 12px;
    color: #999;
    margin: 0 0 4px;
}

.cs-qr-wechat-id {
    font-size: 16px;
    font-weight: 600;
    color: #07C160;
    margin: 0 0 12px;
}

.cs-qr-copy-btn {
    background: #07C160;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.cs-qr-copy-btn:hover {
    background: #06AD56;
    transform: translateY(-1px);
}

.cs-qr-copy-btn.copied {
    background: #4CAF50;
    cursor: default;
}

/* 响应式 */
@media (max-width: 768px) {
    #csTrigger {
        width: 48px;
        height: 110px;
    }
    
    #csTrigger:hover {
        width: 52px;
    }
    
    #csTrigger .cs-label {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .cs-panel {
        right: 46px;
        width: 280px;
    }
    
    .cs-qr-modal {
        padding: 24px 20px 20px;
    }
    
    .cs-qr-img-wrap img {
        width: 140px;
        height: 140px;
    }

    /* 移动端分页适配 */
    .pagination {
        gap: 6px;
        margin-top: 30px;
        padding: 0 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination button.page-btn,
    .pagination button.page-num {
        min-width: 44px;
        height: 44px;
        font-size: 15px;
        padding: 0 12px;
        border-radius: 50%;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }

    .pagination button.page-btn:active,
    .pagination button.page-num:active {
        opacity: 0.7;
        transform: scale(0.92);
    }

    .pagination .page-ellipsis {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        color: var(--text-light);
        font-size: 14px;
        flex-shrink: 0;
    }

    .pagination .page-info {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 12px;
        font-size: 13px;
    }

    /* 上一页/下一页特殊样式 */
    .pagination button.page-btn {
        flex-shrink: 0;
    }

    /* 画廊按钮手机端放大 */
    #galleryPrev, #galleryNext {
        width: 48px !important;
        height: 48px !important;
        font-size: 22px !important;
    }
}

/* ========== 后台：产品多图上传 ========== */
.multi-image-upload {
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #fafafa;
}
.multi-image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.multi-image-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #eee;
}
.multi-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.multi-image-item .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}
.multi-image-add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #fff;
    border: 1px dashed #C41E3A;
    color: #C41E3A;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.multi-image-add:hover {
    background: #fef0f1;
}

/* ========== 发展历程时间轴 ========== */

/* 时间轴容器 */
#historyTimeline {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.timeline-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
    padding: 36px 40px;
    background: linear-gradient(135deg, #fef8f8, #fff);
    border-radius: 16px;
    border: 1px solid #f5d7da;
}

.timeline-stat {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.timeline-stat + .timeline-stat {
    border-left: 1px solid #f0d7da;
}

.timeline-stat-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.timeline-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 时间轴主体 */
.timeline {
    position: relative;
    padding-left: 70px;
    border-left: 3px solid var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* 圆点标记 */
.timeline-marker {
    position: absolute;
    left: -43px;
    top: 22px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px var(--primary-color), 0 2px 10px rgba(196, 30, 58, 0.35);
    z-index: 1;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.4);
}

/* 年份徽章 */
.timeline-year-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    padding: 8px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.3);
    letter-spacing: 2px;
}

/* 事件卡片 */
.timeline-card {
    background: #fff;
    padding: 24px 28px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateX(6px);
}

.timeline-event {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.timeline-event:last-child {
    border-bottom: none;
}

.timeline-event-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.timeline-event-icon i {
    color: var(--primary-color);
    font-size: 15px;
}

.timeline-event span {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .timeline-stats {
        gap: 20px;
        padding: 20px 16px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .timeline-stat {
        max-width: unset;
    }

    .timeline-stat + .timeline-stat {
        border-left: none;
        border-top: 1px solid #f0d7da;
        padding-top: 16px;
    }

    .timeline-stat-num {
        font-size: 32px;
    }

    .timeline-stat-label {
        font-size: 12px;
    }

    .timeline {
        padding-left: 36px;
    }

    .timeline-marker {
        left: -23px;
        width: 14px;
        height: 14px;
        top: 18px;
        border-width: 2px;
    }

    .timeline-year-badge {
        padding: 5px 14px;
        font-size: 14px;
    }

    .timeline-card {
        padding: 14px 16px;
    }

    .timeline-event span {
        font-size: 13px;
    }
}

.dynamic-row,
.param-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.dynamic-row .feature-input,
.param-row .param-key,
.param-row .param-value {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.btn-remove-row {
    width: 32px;
    height: 32px;
    border: 1px solid #f44336;
    background: #fff;
    color: #f44336;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}
.btn-remove-row:hover {
    background: #f44336;
    color: #fff;
}
.btn-add-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #fff;
    border: 1px dashed #4CAF50;
    color: #4CAF50;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}
.btn-add-row:hover {
    background: #f1f8e9;
}

/* ========== 前台：产品多图轮播 ========== */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gallery-main {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover {
    border-color: #C41E3A;
    transform: scale(1.05);
}

/* ========== 前台：产品特点 ========== */
.product-features {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
.product-features h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}
.product-features ul {
    list-style: none;
    padding: 0;
}
.product-features li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}
.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C41E3A;
    font-weight: bold;
}

/* ========== 前台：产品参数表格 ========== */
.product-params {
    margin: 20px 0;
}
.product-params h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}
.product-params table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.product-params td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.product-params tr:last-child td {
    border-bottom: none;
}
.product-params .param-name {
    width: 30%;
    background: #f8f9fa;
    color: #666;
    font-weight: 500;
}
.product-params .param-value {
    color: #333;
}

/* ========== 前台：富文本图文内容 ========== */
.product-content {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.product-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}
.product-content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.product-content-body p {
    margin-bottom: 12px;
}
.product-content-body img {
    max-width: 100%;
    border-radius: 6px;
    margin: 10px 0;
}
.product-content-body h2,
.product-content-body h3 {
    margin: 20px 0 10px;
    color: #333;
}
.product-content-body ul,
.product-content-body ol {
    padding-left: 24px;
    margin: 10px 0;
}
.product-content-body blockquote {
    border-left: 4px solid #C41E3A;
    padding: 10px 15px;
    margin: 15px 0;
    background: #fdf2f3;
    color: #666;
    border-radius: 0 6px 6px 0;
}

/* ========== 响应式：产品详情页 ========== */
@media (max-width: 768px) {
    .product-gallery {
        margin-bottom: 20px;
    }
    .gallery-thumbs img {
        width: 60px;
        height: 60px;
    }
    .product-params .param-name {
        width: 35%;
    }
}

/* ==========================================
   Responsive: 480px
   ========================================== */
@media (max-width: 480px) {
    .case-card {
        height: 180px;
    }
    .case-overlay {
        padding: 12px 14px;
    }
    .case-overlay h4 {
        font-size: 14px;
    }
    .case-overlay p {
        font-size: 12px;
    }
    .case-link {
        padding: 4px 12px;
        font-size: 11px;
    }
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: #222;
    color: #999;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

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

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

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #333;
    font-size: 13px;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
