/* ===== 全局样式重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ===== CSS变量定义 ===== */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --accent-color: #ed8936;
    --accent-light: #f6ad55;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    gap: 10px;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    background: #fff;
}

.logo-icon {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== 主要内容区 ===== */
main {
    margin-top: 72px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Hero轮播区域 ===== */
.hero {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
    font-size: 1.1rem;
}

.hero-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots button.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* ===== 通用区块 ===== */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== 业务卡片 ===== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== 产品展示 ===== */
.products {
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 180px;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-info .category {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-specs {
    list-style: none;
    padding: 0;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs .label {
    color: var(--text-light);
}

.product-specs .value {
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== 产品板块 ===== */
.product-block {
    margin-bottom: 4rem;
}

.product-block:last-of-type {
    margin-bottom: 0;
}

.product-block h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-block .block-desc {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* ===== CTA区域 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* ===== 页面Banner ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== 关于我们 ===== */
.about-content {
    display: grid;
    grid-template-columns: minmax(0, 300px) 1fr;
    gap: 2.25rem;
    align-items: center;
}

.about-image {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.about-logo-frame {
    width: 100%;
    max-width: 290px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 0;
}

.about-logo-img {
    width: 84%;
    max-height: 125px;
    object-fit: contain;
    background: #fff;
    border-radius: 0;
    padding: 0;
}

.about-logo-text {
    text-align: center;
}

.about-logo-text strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: #14487f;
}

.about-logo-text span {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.4px;
    line-height: 1.6;
    color: #5a7bb0;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.1rem;
}

.about-text p {
    margin-bottom: 0.85rem;
    color: #555;
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ===== 联系表单 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.contact-details p {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--accent-color);
}

/* ===== 服务详情页 ===== */
.service-detail {
    background: var(--bg-light);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.detail-card:hover {
    box-shadow: var(--shadow-lg);
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.detail-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== 定期保养表格 ===== */
.maint-table-wrap {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.maint-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.maint-table th {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1rem 0.75rem;
    text-align: center;
    white-space: nowrap;
}

.maint-table th.maint-item {
    text-align: left;
    padding-left: 1.5rem;
}

.maint-table td {
    padding: 0.8rem 0.75rem;
    text-align: center;
    font-size: 0.92rem;
    color: #555;
    border-bottom: 1px solid #eef1f5;
}

.maint-table td.maint-item {
    text-align: left;
    padding-left: 1.5rem;
    color: #333;
}

.maint-table tbody tr:hover td {
    background: #fafbfd;
}

.maint-table .maint-group td {
    background: #f4f7fb;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 1px;
    text-align: left;
    padding-left: 1.5rem;
}

.maint-table td.dot {
    color: #2e7d32;
    font-size: 1.15rem;
    line-height: 1;
}

.maint-legend {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #777;
}

/* ===== 服务支持页紧凑布局 ===== */
.page-service .page-banner {
    padding: 3rem 2rem;
}

.page-service .section {
    padding: 3rem 0;
}

.page-service .section-title {
    margin-bottom: 1.75rem;
}

.page-service .section-title h2 {
    font-size: 1.9rem;
}

.page-service .section-title p {
    font-size: 0.98rem;
}

.page-service .section-title .underline {
    margin-top: 0.7rem;
}

.page-service .service-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.page-service .detail-card {
    padding: 1.15rem 1.15rem;
}

.page-service .detail-card h3 {
    font-size: 1rem;
    margin-bottom: 0.55rem;
}

.page-service .detail-card ul li {
    padding: 0.2rem 0 0.2rem 1.25rem;
    font-size: 0.86rem;
}

@media (max-width: 992px) {
    .page-service .service-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .page-service .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

.page-service .maint-table th {
    padding: 0.8rem 0.6rem;
    font-size: 0.86rem;
}

.page-service .maint-table td {
    padding: 0.5rem 0.6rem;
    font-size: 0.88rem;
}

.page-service .maint-table td.dot {
    font-size: 1rem;
}

.page-service .maint-legend {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    line-height: 1.7;
}

/* 服务流程 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.process-step {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.process-step h4 {
    font-size: 0.98rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.process-step p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* 服务承诺 */
.promise-title {
    text-align: center;
    margin: 2.25rem 0 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.promise-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9rem;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--bg-white);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    padding: 0.9rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.promise-icon {
    font-size: 1.35rem;
    line-height: 1.1;
}

.promise-item h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.promise-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.page-service .cta-section {
    padding: 2.75rem 2rem;
}

.page-service .cta-section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.page-service .cta-section p {
    font-size: 1rem;
    margin-bottom: 1.35rem;
}

.page-service .cta-btn {
    padding: 0.8rem 2.4rem;
}

/* ===== 零部件页面 ===== */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.part-category {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.part-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.part-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.part-header h3 {
    font-size: 1.2rem;
}

.part-body {
    padding: 1.5rem;
}

.part-body ul {
    list-style: none;
}

.part-body li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-color);
    color: #555;
}

.part-body li:last-child {
    border-bottom: none;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.back-to-top.visible {
    display: flex;
}

/* ===== 产品分类标签 ===== */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-light);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero {
        height: 240px;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .products-grid,
    .services-grid,
    .parts-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ===== 证书展示 ===== */
.cert-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cert-item {
    text-align: center;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-item img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.cert-item img:hover {
    transform: scale(1.02);
}

.cert-caption {
    margin-top: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* ===== 工程现场照片 ===== */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--bg-light);
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.photo-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: white;
    padding: 1.5rem 1rem 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
}

/* ===== 图片灯箱 ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 480px) {
    .cert-gallery,
    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .photo-item img {
        height: 200px;
    }
}

/* ===== 数据表格 ===== */
.table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: transparent;
    overflow: visible;
}

.data-table thead th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1.1rem 1.8rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px 8px 0 0;
}

.data-table th:first-child {
    width: 28%;
    border-radius: 8px 0 0 0;
}

.data-table th:last-child {
    width: 72%;
    border-radius: 0 8px 0 0;
}

.data-table tbody td {
    padding: 1.2rem 1.8rem;
    color: #555;
    line-height: 1.8;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody td:first-child {
    border-left: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px;
}

.data-table tbody td:last-child {
    border-right: 1px solid var(--border-color);
    border-radius: 0 8px 8px 0;
}

/* ===== 工程案例表：现场照片列 ===== */
.case-table th:first-child {
    width: 16%;
    border-radius: 8px 0 0 0;
}

.case-table th:nth-child(2) {
    width: 44%;
}

.case-table th:last-child {
    width: 40%;
    text-align: center;
    border-radius: 0 8px 0 0;
}

.case-table tbody td {
    padding: 0.9rem 1.2rem;
}

.case-photo-cell {
    text-align: left;
}

.case-thumbs {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.case-photo-cell .no-photo {
    color: #c3cbd4;
}

.case-thumb {
    display: block;
    width: 128px;
    height: 82px;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.case-photo-note {
    display: block;
    font-size: 0.72rem;
    color: #8b95a1;
    margin-top: 0.35rem;
}

.case-sub {
    font-size: 0.78rem;
    color: #8b95a1;
    font-weight: 400;
}

@media (max-width: 768px) {
    .case-thumb {
        width: 92px;
        height: 60px;
    }

    .case-table thead th,
    .case-table tbody td {
        padding: 0.7rem 0.6rem;
        font-size: 0.88rem;
    }
}

/* ===== 主要客户与合作伙伴 ===== */
.project-note {
    max-width: 900px;
    margin: 0 auto 1.6rem;
    padding: 0.9rem 1.2rem;
    background: #fff;
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #55606e;
    line-height: 1.75;
    box-shadow: var(--shadow);
}

.project-note-label {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.5rem;
    vertical-align: 1px;
}

.brand-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px 20px;
    align-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 82px;
}

.brand-item img {
    height: var(--h, 44px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.brand-others {
    margin-top: 1.6rem;
    font-size: 0.85rem;
    color: #7b8794;
    line-height: 1.9;
    text-align: center;
}

@media (max-width: 992px) {
    .brand-flow {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 16px;
    }
}

@media (max-width: 768px) {
    .brand-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 12px;
    }
    .brand-item {
        height: 66px;
    }
    .brand-item img {
        height: calc(var(--h, 44px) * 0.8);
    }
}

@media (max-width: 480px) {
    .brand-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

.data-table tbody tr:hover td {
    background: var(--bg-light);
}

.data-table tbody tr:nth-child(even) td {
    background: #f9fafb;
}

.data-table tbody tr:nth-child(even):hover td {
    background: var(--bg-light);
}

.data-table .cat-cell {
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    border-right: 3px solid var(--accent-color) !important;
}

/* ===== 可点击卡片 ===== */
.clickable-card {
    cursor: pointer;
    position: relative;
}

.clickable-card:hover {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
    transform: translateY(-5px);
}

.card-hint {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    transition: var(--transition);
}

.clickable-card:hover .card-hint {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 纯CSS证书弹窗 ===== */
.cert-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.cert-modal:target {
    display: flex;
    animation: certFadeIn 0.3s ease;
}

@keyframes certFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cert-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
    padding: 2rem;
    text-align: center;
    animation: certZoomIn 0.3s ease;
}

@keyframes certZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cert-modal-content img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.cert-modal-caption {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.cert-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #666;
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10;
}

.cert-modal-close:hover {
    color: var(--accent-color);
}

/* 点击背景关闭 */
.cert-modal:target::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}

/* 数字淡入动画 */
.stat-anim {
    animation: statFadeIn 1s ease;
}

@keyframes statFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== 响应式表格和图片 ===== */
@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-item {
        padding-top: 75%;
    }

    .data-table {
        border-spacing: 0 6px;
    }

    .data-table th,
    .data-table td {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }

    .data-table th {
        width: 30%;
    }

    .data-table th:last-child {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .photo-item {
        padding-top: 60%;
    }

    .data-table {
        font-size: 0.85rem;
        border-spacing: 0 8px;
    }

    .data-table thead th {
        border-radius: 8px 8px 0 0;
    }

    .data-table th,
    .data-table td {
        padding: 0.6rem 0.8rem;
        display: block;
        width: 100% !important;
        border-radius: 6px !important;
    }

    .data-table thead {
        display: none;
    }

    .data-table tbody td {
        border-top: none;
        border-bottom: none;
        margin-bottom: 2px;
    }

    .data-table .cat-cell {
        background: var(--primary-color);
        color: white;
        font-weight: 600;
        border-right: none !important;
    }
}