/* ================= 净化工程页专属样式 (gongcheng.css) ================= */

/* 页面头图区 */
.gc-hero {
    margin-top: 72px;
    background: linear-gradient(to right, rgba(31, 41, 55, 0.95) 0%, rgba(31, 41, 55, 0.86) 50%, rgba(31, 41, 55, 0.6) 100%), url('/images/banner.jpg') center right / cover no-repeat;
    color: #fff;
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}

.gc-hero-inner { max-width: 860px; }

.gc-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}
.gc-hero h1 span { color: var(--accent-green); }

.gc-hero-desc {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 760px;
}

/* 头图数据栏 */
.gc-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.gc-stat strong {
    display: flex;
    align-items: baseline;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.gc-stat strong em {
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-green);
    margin-left: 6px;
}
.gc-stat > span {
    font-size: 13px;
    opacity: 0.75;
    letter-spacing: 0.5px;
}

/* 面包屑 */
.gc-breadcrumb-bar {
    background-color: var(--bg-soft-green);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}
.gc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
}
.gc-breadcrumb a { color: var(--text-dark); font-weight: 500; }
.gc-breadcrumb a:hover { color: var(--accent-green); }
.gc-breadcrumb i { font-size: 12px; color: var(--text-light); }
.gc-breadcrumb .current { color: var(--accent-green); font-weight: 600; }

/* ================= 行业应用 ================= */
.gc-ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.gc-ind-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.gc-ind-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-green);
}

.gc-ind-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}
.gc-ind-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gc-ind-card:hover .gc-ind-media img { transform: scale(1.06); }

.gc-ind-body { padding: 20px; flex-grow: 1; }

.gc-ind-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.gc-ind-top h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    transition: color 0.3s;
}
.gc-ind-card:hover .gc-ind-top h4 { color: var(--accent-green); }

.gc-level {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-green);
    background: var(--bg-soft-green);
    border: 1px solid rgba(41, 146, 77, 0.25);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.gc-ind-body p {
    font-size: 13.5px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ================= 工程系统构成 (图标和标题同行) ================= */
.gc-sys-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.gc-sys-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    
    /* 使用 flex 让图标和标题在一行 */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.gc-sys-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-green);
}

.gc-sys-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg-soft-green);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 0;   /* 取消底部间距 */
    margin-right: 16px; /* 右侧留白 */
    flex-shrink: 0;
    transition: var(--transition);
}
.gc-sys-card:hover .gc-sys-icon {
    background: var(--accent-green);
    color: #fff;
}

.gc-sys-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0; /* 取消底部间距 */
    flex: 1; /* 占据剩余空间 */
}
.gc-sys-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.75;
    width: 100%; /* 强制描述文字换行到下方 */
    margin-top: 20px;
}

/* ================= 洁净等级参考表 ================= */
.gc-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.gc-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
    font-size: 14px;
}

.gc-table thead th {
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
}
.gc-table thead th span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.65;
    margin-top: 2px;
}

.gc-table tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
    line-height: 1.6;
    vertical-align: middle;
}
.gc-table tbody tr:last-child td { border-bottom: none; }
.gc-table tbody tr:hover td { background: var(--bg-soft-green); }

.gc-lv {
    display: inline-flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}
.gc-lv em {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 3px;
}

.gc-name {
    font-weight: 600;
    color: var(--accent-green);
    white-space: nowrap;
}

.gc-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 18px;
}
.gc-note i {
    color: var(--accent-green);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ================= 行动号召 (美化版) ================= */
.gc-cta-section {
    padding: 80px 0 100px;
    background-color: var(--bg-soft-green);
    position: relative;
}

.gc-cta {
    background: linear-gradient(135deg, #1a2432 0%, #0f1520 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.gc-cta::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41, 146, 77, 0.25) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.gc-cta::after {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.gc-cta-text {
    position: relative;
    z-index: 2;
    max-width: 60%;
}
.gc-cta-text h2 {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.gc-cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.gc-cta-actions {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.gc-cta-actions .btn {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 12px;
}

.gc-cta-actions .btn-white {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: none;
}
.gc-cta-actions .btn-white:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.gc-cta-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-hover) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(41, 146, 77, 0.3);
}
.gc-cta-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 146, 77, 0.5);
}

/* ================= 滚动显现动画 ================= */
[data-gc-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-gc-reveal].gc-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================= 响应式设计 ================= */

/* 平板端 (<= 1024px) */
@media (max-width: 1024px) {
    .gc-hero {
        margin-top: 80px;
        padding: 60px 0 70px;
    }
    .gc-hero-stats { gap: 36px; }

    .gc-ind-grid { grid-template-columns: repeat(2, 1fr); }
    .gc-sys-grid { grid-template-columns: repeat(2, 1fr); }

    .gc-cta {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 24px;
    }
    .gc-cta-text { max-width: 100%; }
    .gc-cta-actions { justify-content: center; }
}

/* 手机端 (<= 768px) */
@media (max-width: 768px) {
    .gc-hero {
        padding: 50px 0 60px;
    }
    .gc-hero-desc { margin-bottom: 30px; }

    .gc-hero-stats {
        gap: 24px 30px;
        padding-top: 22px;
    }
    .gc-stat strong { font-size: 26px; }
    .gc-stat > span { font-size: 12px; }

    .gc-breadcrumb-bar { padding: 12px 0; }

    /* 行业应用：强制两列显示 */
    .gc-ind-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }
    .gc-ind-body { padding: 12px; }
    
    /* 移动端标题与标签垂直排列，防止挤压 */
    .gc-ind-top { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 6px; 
        margin-bottom: 8px;
    }
    .gc-ind-top h4 { font-size: 15px; }
    .gc-level { font-size: 10px; padding: 2px 6px; }
    
    /* 移动端隐藏多余行数，保持两列卡片高度一致 */
    .gc-ind-body p { 
        font-size: 12px; 
        line-height: 1.5;
        display: -webkit-box; 
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical; 
        overflow: hidden; 
    }

    /* 工程系统构成 */
    .gc-sys-grid { grid-template-columns: 1fr; gap: 16px; }
    .gc-sys-card { padding: 20px; }
    .gc-sys-icon { 
        width: 42px; 
        height: 42px; 
        font-size: 18px; 
        margin-right: 12px; 
    }
    .gc-sys-card h4 { font-size: 16px; }
    .gc-sys-card p { margin-top: 12px; font-size: 13px; }

    /* 表格 */
    .gc-table-wrap { border-radius: 12px; }
    .gc-table { min-width: 760px; font-size: 13px; }
    .gc-table thead th,
    .gc-table tbody td { padding: 14px 16px; }

    /* 底部 CTA */
    .gc-cta-section { padding: 50px 0; }
    .gc-cta { border-radius: 16px; padding: 30px 20px; }
    .gc-cta-text p { font-size: 14px; }
    
    .gc-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .gc-cta-actions .btn { width: 100%; justify-content: center; }
}