/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

html {
    background-color: var(--nav-bg);
    overflow-x: hidden;
}

:root {
    --primary-color: #c00;
    --primary-hover: #a00;
    --nav-bg: #3c404b;
    --nav-text: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

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

ul, ol {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.section-title h2 {
    font-size: 30px;
    color: var(--text-dark);
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    display: none;
}

.btn {
    font-size: 17px;
    border-radius: 8px;
    display: inline-block;
    padding: 13px 36px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 17px;
}

/* ===== 顶部导航栏 ===== */
.header {
    background-color: var(--nav-bg);
    color: var(--nav-text);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    background-color: var(--nav-bg);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--nav-text);
    text-decoration: none;
}

.logo .logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo .logo-full {
    font-size: 20px;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav ul {
    display: flex;
    justify-content: center;
}

.nav ul li {
    margin: 0 10px;
}

.nav ul li a {
    color: var(--nav-text);
    padding: 25px 0;
    display: block;
    transition: color 0.3s;
    font-size: 20px;
    font-weight: 600;
}

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

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #25D366;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.whatsapp-link:hover {
    opacity: 0.8;
}

.whatsapp-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ===== Custom Language Dropdown ===== */
.lang-switch {
    position: relative;
    display: inline-block;
}

.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #c00 0%, #e60000 100%);
    border: 1px solid #ff3333;
    border-radius: 20px;
    color: #fff;
    padding: 6px 14px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(204,0,0,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lang-current:hover {
    background: linear-gradient(135deg, #e60000 0%, #ff1a1a 100%);
    border-color: #ff6666;
    box-shadow: 0 4px 12px rgba(204,0,0,0.5);
    transform: translateY(-1px);
}

.lang-arrow {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: linear-gradient(180deg, #b30000 0%, #c00 100%);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 20px rgba(204,0,0,0.2);
    min-width: 110px;
    z-index: 9999;
    overflow: hidden;
    animation: langDropIn 0.2s ease;
}

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

.lang-dropdown.open .lang-menu {
    display: block;
}

.lang-option {
    display: block;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 17px;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(255,255,255,0.15);
}

.lang-option.active {
    font-weight: 600;
}

.qq-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--nav-text);
}

.qq-link:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--nav-text);
    border-radius: 2px;
}

/* ===== Banner轮播 ===== */
.banner {
    position: relative;
    height: 450px;
    overflow: hidden;
}

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

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s;
}

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

/* 首页 Banner h1 标题覆盖层 */
.banner-overlay {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    z-index: 5;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    pointer-events: none;
    width: 90%;
    max-width: 900px;
}

.banner-overlay h1 {
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 2px;
    line-height: 1.3;
}

.banner-overlay p {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

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

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

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

.banner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.banner-arrows .arrow {
    width: 50px;
    height: 50px;
    background-color: transparent;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
}

.banner-arrows .arrow svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.banner-arrows .arrow:hover {
    color: #fff;
}

/* ===== 新闻动态 + 关于我们 ===== */
.news-about {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.news-about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.news-column .news-list {
    margin-top: 30px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-size: 17px;
    border-radius: 4px;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.news-item h4 {
    font-size: 17px;
    font-weight: 500;
}

.news-item h4 a {
    color: var(--text-dark);
}

.news-item h4 a:hover {
    color: var(--primary-color);
}

.about-column .about-content {
    margin-top: 30px;
}

.about-column .about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-column .about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.about-column .stat-item {
    text-align: center;
}

.about-column .stat-num {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-color);
}

.about-column .stat-label {
    font-size: 17px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .news-about .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== 欢迎区域 ===== */
.welcome {
    background-color: #fffaf0;
    padding: 60px 0;
}

.welcome .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.welcome-content {
    flex: 1;
}

.welcome-content h2 {
    font-size: 30px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.welcome-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: justify;
    text-indent: 2em;
}

.welcome-content strong {
    color: var(--primary-color);
}

.hotline {
    text-align: center;
    padding: 24px 40px;
    background-color: var(--nav-bg);
    border-radius: 10px;
    color: var(--bg-white);
}

.hotline-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.hotline .label {
    font-size: 22px;
    opacity: 0.9;
    letter-spacing: 4px;
}

.phone-icon {
    height: 20px;
    width: auto;
}

.hotline-number {
    text-align: center;
}

.hotline .number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 2px;
}

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

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

.page-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.page-btn:hover:not(:disabled) {
    border-color: #c00;
    color: #c00;
    background: #fff5f5;
}

.page-btn.active {
    background: #c00;
    color: #fff;
    border-color: #c00;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===== 产品知识 ===== */
.knowledge {
    padding: 60px 0;
    background-color: #fef9f3;
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.knowledge-item {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.knowledge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.knowledge-item h3 {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.knowledge-item h3 a {
    color: var(--text-dark);
}

.knowledge-item h3 a:hover {
    color: var(--primary-color);
}

.knowledge-item p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 产品知识列表页（news-article 布局）==== */
.news-list-page {
    padding: 20px 0;
}

.news-article {
    display: flex;
    gap: 25px;
    padding: 25px 30px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.news-article:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.news-article-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    padding: 12px 8px;
    background: linear-gradient(135deg, var(--primary-color), #1a8ccc);
    border-radius: 8px;
    color: #fff;
    height: fit-content;
}

.date-day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.date-month {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    margin-top: 2px;
}

.news-article-content {
    flex: 1;
    min-width: 0;
}

.news-article-content h3 {
    font-size: 19px;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.news-article-content h3 a {
    color: var(--text-dark);
    transition: color 0.2s;
}

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

.news-article-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 12px 0;
}

.news-article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.news-article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-article {
        gap: 15px;
        padding: 18px;
        margin-bottom: 15px;
    }

    .news-article-date {
        width: 56px;
        padding: 10px 6px;
    }

    .date-day {
        font-size: 22px;
    }

    .date-month {
        font-size: 11px;
    }

    .news-article-content h3 {
        font-size: 17px;
    }

    .news-article-content p {
        font-size: 14px;
    }

    .news-article-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ===== 新闻动态 + 关于我们 ===== */
/* [已合并至上方 .news-about/.news-item/.news-date 定义，此处删除重复] */

.about-content {
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: justify;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 5px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 17px;
    color: var(--text-light);
}

/* ===== 知名客户 ===== */
.clients {
    padding: 70px 0;
    background-color: #f5f5f5;
}

.client-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}

.client-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    padding: 16px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.client-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.client-item img {
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

/* ===== 联系方式 ===== */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
    color: #333333;
}

.contact-section .section-header {
    text-align: center;
    display: block;
}

.contact-section .section-header::before {
    display: none;
}

.contact-section .section-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-section .section-header p {
    font-size: 17px;
    color: #666;
}

.contact-section .section-title h2,
.contact-section .section-title p {
    color: #1a1a2e;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    max-width: 100%;
    overflow-x: hidden;
}

/* 联系页面布局 */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: stretch;
}

.contact-info-box {
    background: white;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
    height: 100%;
    border: 1px solid #f0f0f0;
}

.contact-info-box h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid #c00;
    font-weight: 600;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 38px;
    height: 38px;
    background: #fff0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-icon svg {
    width: 19px;
    height: 19px;
    fill: #c00;
}

.info-content h3 {
    font-size: 17px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 500;
}
.info-content p {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
}

.info-content p a {
    color: inherit;
    text-decoration: none;
}

/* info-item 默认深色文字（用于 contact.html 等浅色背景页面） */
.info-item strong {
    color: var(--text-dark);
    margin-right: 10px;
}

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

/* 联系区域 - 浅色背景，使用深色文字 */
.contact-section .info-item strong {
    color: #1a1a2e;
}

.contact-section .info-item span {
    color: #555;
}

/* 联系表单 */
.contact-form-box {
    background: white;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.contact-form-box h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form-box .subtitle {
    color: #aaa;
    margin-bottom: 26px;
    font-size: 17px;
}

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

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

.form-group label {
    display: block;
    font-size: 17px;
    color: #666;
    margin-bottom: 7px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    font-size: 17px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fafafa;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ccc;
    background: white;
}

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

.form-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.submit-btn, .reset-btn {
    min-width: 140px;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.submit-btn {
    background: #c00;
    color: white;
    border: none;
    padding: 13px 36px;
    font-size: 17px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.submit-btn:hover {
    background: #a00;
}

.reset-btn {
    background: #c00;
    color: white;
    border: none;
    padding: 13px 36px;
    font-size: 17px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.reset-btn:hover {
    background: #a00;
}

/* 地图区域 */
.map-section {
    padding: 60px 0;
    background: white;
}

.map-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 40px 40px;
    text-align: center;
    border: 2px dashed #ddd;
}

.map-box .location-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.map-box .location-icon {
    font-size: 30px;
}

.map-box .location-address {
    text-align: left;
}

.map-box .location-address h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 4px;
}

.map-box .location-address p {
    font-size: 17px;
    color: #888;
}

.map-box .map-nav-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.map-box .btn-map-nav {
    display: inline-block;
    padding: 8px 18px;
    font-size: 17px;
    color: #fff;
    background: linear-gradient(135deg, #c00, #e00);
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}

.map-box .btn-map-nav:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.map-box svg {
    width: 48px;
    height: 48px;
    fill: #c00;
    margin-bottom: 15px;
}

.map-box h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.map-box p {
    color: #666;
}

/* 联系页面响应式 */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== 底部 ===== */
.footer {
    background-color: var(--nav-bg);
    color: var(--bg-white);
    padding: 20px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo .footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

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

.footer-contact p {
    color: #ffffff !important;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 17px;
    color: rgba(255,255,255,0.6);
}

/* ===== 新产品卡片网格布局 ===== */
.products-page {
    max-width: 960px;
    margin: 0 auto;
}

.products-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 0;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(204,0,0,0.15);
    border-color: #c00;
}

.product-card-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.product-card-icon {
    font-size: 56px;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.product-card-body h3 {
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 10px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card-specs-table tr {
    border-bottom: 1px dashed #e8e8e8;
}

.product-card-specs-table tr:last-child {
    border-bottom: none;
}

.product-card-specs-table .spec-label {
    font-size: 14px;
    font-weight: 600;
    color: #c00;
    padding: 6px 10px;
    white-space: nowrap;
    width: 22%;
    vertical-align: middle;
}

.product-card-specs-table .spec-value {
    font-size: 14px;
    color: #444;
    padding: 6px 10px;
    width: 28%;
}

.product-card-app {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff8f0;
    border-radius: 6px;
    border-left: 3px solid #c00;
    min-height: 36px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card-app strong {
    color: #333;
}

.product-card-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c00 0%, #e60000 100%);
    color: #fff;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

.product-card-btn:hover {
    background: linear-gradient(135deg, #e60000 0%, #ff3333 100%);
    box-shadow: 0 4px 15px rgba(204,0,0,0.4);
    transform: translateY(-2px);
}

/* 响应式：平板 */
@media (max-width: 1024px) {
    .products-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* 响应式：手机 */
@media (max-width: 640px) {
    .products-grid-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-card-body {
        padding: 14px;
    }
    
    .product-card-img {
        height: 150px;
    }
    
    .product-card-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        display: block;
    }
    
    .product-card-icon {
        font-size: 40px;
    }
    
    .product-card-body h3 {
        font-size: 14px;
        height: auto;
        min-height: 38px;
    }
    
    .product-card-specs-table .spec-label,
    .product-card-specs-table .spec-value {
        font-size: 13px;
        padding: 5px 8px;
    }
    
    .product-card-app {
        font-size: 13px;
        padding: 6px 10px;
        margin-bottom: 10px;
    }
    
    .product-card-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* 首页产品展示 - 真实图片 */
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-item:hover .product-img img {
    transform: scale(1.08);
}

/* ===== Windows中等屏幕优化 (1366px - 1600px) ===== */
@media screen and (min-width: 1025px) and (max-width: 1600px) {
    /* 导航栏优化 */
    .header .container {
        padding: 0 25px;
    }
    
    .nav ul li {
        margin: 0 8px;
    }
    
    .nav ul li a {
        font-size: 17px;
        padding: 20px 0;
    }
    
    /* 标题字号适配 */
    .banner-overlay h1 {
        font-size: clamp(20px, 2.5vw, 28px);
    }
    
    .banner-overlay p {
        font-size: clamp(13px, 1.5vw, 16px);
    }
    
    /* 欢迎区域优化 */
    .welcome {
        padding: 50px 0;
    }
    
    .welcome .container {
        gap: 40px;
        padding: 0 30px;
    }
    
    .welcome-content h2 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .welcome-content p {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    /* 服务热线卡片优化 - 避免与正文重叠 */
    .hotline {
        padding: 20px 30px;
        min-width: 260px;
    }
    
    .hotline .label {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .hotline .number {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    /* 容器留白增加 */
    .container {
        padding: 0 25px;
    }
    
    /* 新闻关于区域优化 */
    .news-about {
        padding: 60px 0;
    }
    
    .news-about .container {
        gap: 40px;
        padding: 0 25px;
    }
    
    /* 产品卡片优化 */
    .products-grid-new {
        gap: 20px;
    }
    
    .product-card-img {
        height: 180px;
    }
    
    /* 知名客户区域 */
    .clients {
        padding: 50px 0;
    }
    
    .client-list {
        gap: 15px;
    }
    
    /* 联系区域 */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-layout {
        gap: 20px;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 25px 30px;
    }
}

/* ===== 响应式布局（合并自 responsive.css） ===== */
/* ===== 响应式布局 ===== */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 95%;
    }

    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .knowledge-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .header .container {
        height: 60px;
        flex-wrap: nowrap;
    }
    .nav {
    }
    .header-right {
        gap: 6px;
        flex-shrink: 0;
    }
    .lang-current {
        padding: 3px 8px;
        font-size: 13px;
        gap: 4px;
    }
    .lang-arrow svg {
        width: 10px;
        height: 10px;
        display: inline-block;
        vertical-align: middle;
    }
    .whatsapp-link {
        font-size: 13px;
        gap: 3px;
    }
    .whatsapp-link svg {
        width: 16px;
        height: 16px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        padding: 20px;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav ul li {
        margin: 0;
    }

    .nav ul li a {
        padding: 10px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 18px;
        line-height: 1.4;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .banner {
        height: 300px;
    }

    .banner-content h2 {
        font-size: 30px;
    }

    .banner-content p {
        font-size: 17px;
    }

    .welcome .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .welcome-content h2 {
        font-size: 22px;
    }

    .hotline {
        padding: 20px 25px;
        width: 100%;
        max-width: 340px;
    }

    .hotline .label {
        font-size: 18px;
    }
    
    .hotline .number {
        font-size: 26px;
        color: #fff !important;
        white-space: nowrap;
        letter-spacing: 2px;
    }

    .phone-icon {
        height: 18px;
    }

    .hotline-label {
        margin-bottom: 4px;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-img {
        height: 140px;
    }

    .knowledge-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-about .container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 12px 8px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .section-title h2 {
        font-size: 24px;
    }

    .welcome-content h2 {
        font-size: 24px;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 160px;
    }

    .knowledge-list {
        grid-template-columns: 1fr;
    }

    .client-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 100%;
    }

    .client-item {
        aspect-ratio: 16 / 9;
        padding: 10px;
    }

    .client-item img {
        max-width: 90px;
        max-height: 45px;
    }

    .banner {
        height: 250px;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .submit-btn, .reset-btn {
        min-width: 100%;
        max-width: 100%;
    }
}

/* ===== 页面通用样式（从内联样式合并） ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.page-header h1 { font-size: 36px; margin-bottom: 10px; }
.page-header p { display: none; }
.breadcrumb {
    background: #f5f5f5;
    padding: 12px 0;
    font-size: 16px;
    color: #666;
}
.breadcrumb a { color: #333; }
.breadcrumb a:hover { color: #c00; }

/* 关于我们页面 */
.about-intro { padding: 60px 0; }
.about-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.about-intro-content h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #1a1a2e;
}
.about-intro-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.about-stats-section {
    background: #f9f9f9;
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-box {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #c00;
    margin-bottom: 10px;
}
.stat-text {
    font-size: 17px;
    color: #666;
}
.about-advantage { padding: 60px 0; }
.advantage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.advantage-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
}
.advantage-icon {
    width: 50px;
    height: 50px;
    background: #c00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}
.advantage-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1a1a2e;
}
.advantage-content p {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
}

/* 联系页面 */
.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #ffffff;
}

/* 首页联系区域 - 白色背景，深色文字 */
.contact-section .contact-info,
.contact-section .contact-form {
    color: #333;
}

.contact-section .contact-info h3,
.contact-section .contact-form h3 {
    color: #222;
}


.contact-section .form-group input,
.contact-section .form-group textarea {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    color: #333;
}

.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder {
    color: #aaa;
}

.contact-section .btn {
    font-size: 17px;
    border-radius: 8px;
    background: #c00;
    color: #ffffff;
    border: none;
}

/* ===== 公司位置 ===== */
.company-location {
    padding: 60px 0;
    background: #fafafa;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c00;
    font-size: 17px;
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 17px;
    color: #666;
    margin-bottom: 5px;
}
.contact-item p {
    font-size: 17px;
    color: #333;
}
/* [已合并至上方 .form-group 定义，此处删除重复] */

/* 新闻页面 */
.news-list-page { padding: 20px 0; }
/* [已删除死代码: .news-grid/.news-card — 新闻页面使用 .news-article] */

/* 响应式补充 */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-list { grid-template-columns: 1fr; }
    /* [已删除: .news-grid 响应式 — 死代码] */
}

/* ===== 联系页面样式 ===== */
.contact-full {
    padding: 60px 0;
    background: #f9f9f9;
}

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

.contact-card-icon svg {
    width: 35px;
    height: 35px;
}

.contact-card h3 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

/* 联系表单区域 */
.contact-form-full .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.contact-form-full .form-group {
    text-align: left;
}

.contact-form-full label {
    display: block;
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form-full input,
.contact-form-full select,
.contact-form-full textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 17px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
}

.contact-form-full input:focus,
.contact-form-full select:focus,
.contact-form-full textarea:focus {
    outline: none;
    border-color: #c00;
    background: white;
}

.contact-form-full textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-large:hover {
    background: #a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204,0,0,0.3);
}

/* 地图区域 */
.map-section {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.map-placeholder p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

/* 响应式 */
@media (max-width: 1024px) {
    }

@media (max-width: 768px) {
    .contact-form-full .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-section,
    .map-section {
        padding: 30px 20px;
    }
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.3s, transform 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.back-to-top:hover {
    background: #a00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(204,0,0,0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
        /* 横向滚动产品展示 */
        .products-carousel {
            padding: 80px 0;
            background: #ffffff;
        }
        .products-carousel .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 40px;
        }
        .section-header::before {
            content: '';
            width: 4px;
            height: 30px;
            background: #c00;
            margin-right: 15px;
        }
        .section-header h2 {
            font-size: 30px;
            color: #333;
            font-weight: 500;
        }
        .carousel-wrapper {
            position: relative;
            padding: 0 60px;
        }
        .carousel-container {
            overflow: hidden;
        }
        .carousel-track {
            display: flex;
            gap: 20px;
            transition: transform 0.3s ease;
        }
        .carousel-item {
            flex: 0 0 calc(25% - 15px);
            background: white;
            border: 2px solid #c00;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .carousel-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        .carousel-item-img {
            position: relative;
            padding-top: 100%;
            overflow: hidden;
        }
        .carousel-item-img img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .carousel-item-title {
            padding: 12px;
            background: #c00;
            color: white;
            font-size: 17px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: #c00;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }
        .carousel-arrow:hover {
            background: #a00;
            transform: translateY(-50%) scale(1.1);
        }
        .carousel-arrow svg {
            width: 24px;
            height: 24px;
            fill: white;
        }
        .carousel-arrow.prev {
            left: 0;
        }
        .carousel-arrow.next {
            right: 0;
        }
        .carousel-arrow:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        @media (max-width: 1024px) {
            .carousel-item {
                flex: 0 0 calc(33.333% - 14px);
            }
        }
        @media (max-width: 768px) {
            .carousel-wrapper {
                padding: 0 40px;
            }
            .carousel-item {
                flex: 0 0 calc(50% - 10px);
            }
            .carousel-arrow {
                width: 40px;
                height: 40px;
            }
        }

/* ===== 知识详情页面 ===== */
.knowledge-page { padding: 20px 0; }
.knowledge-article { background: #fff; padding: 25px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.knowledge-article h1 { font-size: 30px; color: #333; margin-bottom: 15px; }
.article-meta { font-size: 17px; color: #999; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.article-meta span { margin-right: 20px; }
.article-content h2 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 35px 0 18px;
    padding-left: 16px;
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
}

.article-content h2:first-child {
    margin-top: 10px;
}

.article-content p {
    color: #444;
    line-height: 1.9;
    margin-bottom: 16px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 18px 0;
    padding-left: 0;
    list-style: none;
}

.article-content li {
    color: #444;
    line-height: 1.9;
    padding: 8px 12px 8px 28px;
    position: relative;
    border-radius: 4px;
    transition: background 0.2s;
}

.article-content li:hover {
    background-color: #fafafa;
}

.article-content li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.article-content strong {
    color: #222;
    font-weight: 600;
}

/* ===== 手机端优化（480px及以下） ===== */
@media screen and (max-width: 480px) {
    /* 字体变大 */
    body {
        font-size: 17px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .product-info h3 {
        font-size: 18px;
    }
    
    /* 按钮好点击（最小 44x44px 触摸区域） */
    .btn {
    font-size: 17px;
    border-radius: 8px;
        min-height: 44px;
        min-width: 44px;
        font-size: 17px;
        padding: 12px 24px;
    }
    
    .submit-btn {
        min-height: 44px;
        font-size: 17px;
        padding: 12px 30px;
    }
    
    .reset-btn {
        min-height: 44px;
        font-size: 17px;
        padding: 12px 30px;
    }
    
    /* 不横滑 */
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100vw;
        padding: 0 15px;
    }
}

/* Static map image link - clickable image */
.map-img-link {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed #ccc;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
}

/* ===== 公司照片展示 ===== */
.company-gallery,
.team-gallery {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.team-gallery {
    background-color: var(--bg-light);
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 30px 15px 15px;
    font-size: 17px;
    font-weight: 500;
}

/* 响应式 - 平板 */
@media screen and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-contact p {
        color: #ffffff !important;
    }
}

/* ===== 资质认证展示 - 横向阅读版 ===== */
.certificates-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.certificate-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.certificate-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.certificate-info {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.certificate-badge {
    display: inline-block;
    background: #c00;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.certificate-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.certificate-info p {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 响应式 - 平板 */
@media screen and (max-width: 900px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 响应式 - 手机 */
@media screen and (max-width: 480px) {
    .certificates-section {
        padding: 40px 0;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificate-img {
        padding: 15px;
        aspect-ratio: auto;
        max-height: 220px;
    }
    
    .certificate-img img {
        max-height: 180px;
    }
    
    .certificate-info {
        padding: 20px;
    }
    
    .certificate-info h3 {
        font-size: 18px;
    }
    
    .certificate-info p {
        font-size: 17px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-caption {
        font-size: 17px;
    }
}

/* ===== 无障碍：减少动画偏好 ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== 产品卡片社交分享图标 ===== */
.product-share-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.product-share-icons a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    max-width: 36px;
    max-height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50% !important;
    background: #f5f5f5 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.product-share-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-share-icons svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-share-icons {
        gap: 6px;
    }
    .product-share-icons a {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px;
        max-height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    .product-share-icons svg {
        width: 24px;
        height: 24px;
    }
}

/* ===== 服装成品占位图标 ===== */
.garment-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: #f8f9fa;
    gap: 10px;
}

.garment-placeholder span {
    font-size: 14px;
    color: #999;
}

.garment-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 服装成品网格 - 手机端适配 */
.garments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media screen and (max-width: 768px) {
    .garments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .garment-placeholder {
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .garments-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .garment-placeholder {
        height: 200px;
    }
}

/* 联系页面地图链接按钮 - 强制同一行 */
.map-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
}
/* ===== 全局滚动条 - 适老化设计 ===== */
::-webkit-scrollbar {
    width: 14px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-left: 1px solid #ddd;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 7px;
    border: 2px solid #f0f0f0;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Firefox */
html {
    scrollbar-width: auto;
    scrollbar-color: #888 #f0f0f0;
}

.map-links::-webkit-scrollbar {
    display: none;
}
.map-links a {
    flex-shrink: 0;
    padding: 8px 12px !important;
    font-size: 13px !important;
    white-space: nowrap;
    min-width: 90px !important;
    text-align: center;
}

/* 文章上一篇/下一篇导航 */
.article-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    padding: 20px 0;
    background: #f8f8f8;
}

.article-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    margin-top: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
}

.article-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0 24px;
    border-radius: 6px;
    min-width: 180px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    word-break: break-word;
    box-sizing: border-box;
}

.article-nav a:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(192,0,0,0.25);
    text-decoration: none;
}

.nav-prev { text-align: center; }
.nav-next { text-align: center; }

@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
        gap: 12px;
        padding: 20px 15px;
    }
    .article-nav a {
        width: 100%;
        min-width: unset;
        min-height: 48px;
        text-align: center !important;
        padding: 14px 20px;
        font-size: 13px;
    }
}
