/* ====== 实验室测试能力页面 - 独立模块化样式 ======
   设计理念：每个模块都有独特的视觉标识和布局
   避免重复：每个模块使用独立的前缀命名
   视觉层次：通过颜色、布局、交互创造差异化体验
*/

/* ========== CSS变量定义 ========== */
:root {
    --lab-blue: #3b82f6;
    --lab-cyan: #06b6d4;
    --lab-green: #10b981;
    --lab-amber: #f59e0b;
    --lab-red: #ef4444;
    --lab-purple: #8b5cf6;
    --lab-indigo: #6366f1;
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* ========== 全局重置 ========== */
* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li,
figure, blockquote,
dl, dd, dt {
    margin: 0;
    padding: 0;
}

/* 修复滚动条导致的布局偏移 */
html {
    scrollbar-gutter: stable;
}

/* ========================================
   模块1: 实验室环境 (lab-env-*)
   布局：左图右文 + 编号设备列表
   特色：深色背景渐变、玻璃态卡片
======================================== */
.lab-env-section {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lab-env-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.lab-env-container {
    position: relative;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    z-index: 1;
}

.lab-env-header {
    text-align: center;
    margin-bottom: 64px;
    margin-top: 32px;
}

.lab-env-header .eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.25);
}
.lab-env-section .lab-env-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.lab-env-card {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    min-height: 700px;
}

.lab-env-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.lab-env-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lab-env-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 50%, rgba(15, 23, 42, 0.85) 100%);
    pointer-events: none;
}

.lab-env-equipment-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.lab-env-equipment-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lab-env-equipment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--lab-blue), var(--lab-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lab-env-equipment-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.lab-env-equipment-item:hover::before {
    opacity: 1;
}

.lab-env-equipment-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: linear-gradient(135deg, var(--lab-blue), var(--lab-cyan));
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.lab-env-equipment-content {
    flex: 1;
}

.lab-env-equipment-content strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.lab-env-equipment-content span {
    display: block;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
}

/* ========================================
   模块2: 标准覆盖 (standards-*)
   布局：全宽响应式数据表格
   特色：表头渐变、斑马纹、状态标记
======================================== */
.standards-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.standards-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.standards-header {
    text-align: center;
    margin-bottom: 56px;
}

.standards-header .eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--lab-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.standards-section .standards-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark) !important;
    margin-bottom: 12px;
}

.standards-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.standards-table-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.standards-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.standards-data-table thead {
    background: linear-gradient(135deg, var(--lab-blue), #2563eb);
    color: #ffffff;
}

.standards-data-table thead th {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 12px;
    text-align: left;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.standards-data-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.standards-data-table tbody tr:last-child {
    border-bottom: none;
}

.standards-data-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.03);
    box-shadow: inset 4px 0 0 var(--lab-blue);
}

.standards-data-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.standards-data-table tbody tr:nth-child(even):hover {
    background: rgba(59, 130, 246, 0.05);
}

.standards-data-table tbody td {
    padding: 16px 20px;
    color: var(--text-body);
    line-height: 1.6;
    vertical-align: middle;
}

.standards-data-table tbody td:first-child {
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.standards-status-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lab-green);
    font-weight: 700;
    font-size: 13px;
}

.standards-status-check::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--lab-green);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.standards-status-none {
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   模块3: 资质认可 (accreditation-*)
   布局：4列网格（错位卡片效果）
   特色：图标圆形、等级边框、悬浮动画
======================================== */
.accreditation-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.accreditation-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.accreditation-header {
    text-align: center;
    margin-bottom: 64px;
}

.accreditation-header .eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.accreditation-section .accreditation-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff !important;
}

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

.accreditation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.accreditation-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--lab-amber), #fbbf24, var(--lab-blue));
    border-radius: var(--radius-lg);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.accreditation-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: transparent;
    box-shadow: 0 20px 56px rgba(245, 158, 11, 0.2);
}

.accreditation-card:hover::after {
    opacity: 1;
}

.accreditation-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
    border: 2px solid rgba(245, 158, 11, 0.25);
    font-size: 32px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.accreditation-card:hover .accreditation-icon-wrapper {
    background: linear-gradient(135deg, var(--lab-amber), #fbbf24);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.accreditation-card span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.6;
}

/* ========================================
   模块4: 工程服务 (engineering-*)
   布局：3列网格 + 左侧彩色竖条
   特色：渐进式显示、箭头连接
======================================== */
.engineering-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.engineering-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.engineering-header {
    text-align: center;
    margin-bottom: 64px;
}

.engineering-header .eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--lab-purple);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.engineering-section .engineering-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark) !important;
}

.engineering-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.engineering-service-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--lab-purple);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.engineering-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.engineering-service-card strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.3;
}

.engineering-service-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
    margin: 0;
}

/* 为每张卡片设置不同的左边框颜色 */
.engineering-service-card:nth-child(1) { border-left-color: #8b5cf6; }
.engineering-service-card:nth-child(2) { border-left-color: #06b6d4; }
.engineering-service-card:nth-child(3) { border-left-color: #10b981; }
.engineering-service-card:nth-child(4) { border-left-color: #f59e0b; }
.engineering-service-card:nth-child(5) { border-left-color: #ef4444; }
.engineering-service-card:nth-child(6) { border-left-color: #3b82f6; }

/* ========================================
   模块5: 实验室图库 (showcase-*)
   布局：大中小混合瀑布流
   特色：首项跨列、玻璃态、三层结构
======================================== */
.showcase-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.showcase-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.showcase-header {
    text-align: center;
    margin-bottom: 64px;
}

.showcase-header .eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--lab-cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.showcase-section .showcase-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark) !important;
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 24px;
}

.showcase-item {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.showcase-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.showcase-item:first-child .showcase-item-icon {
    flex: 9 !important;
    min-height: 520px !important;
    max-height: none !important;
}

.showcase-item:first-child .showcase-item-body {
    padding: 16px 28px !important;
    flex: 1 !important;
    height: auto !important;
}

.showcase-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(6, 182, 212, 0.3);
}

.showcase-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(6, 182, 212, 0.02));
    border-bottom: 1px solid var(--border-color);
    min-height: 180px;
    max-height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.showcase-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.showcase-item:first-child .showcase-item-icon {
    min-height: 200px;
}

.showcase-item-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-item-body strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.showcase-item:first-child .showcase-item-body strong {
    font-size: 24px;
}

.showcase-item-body span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    letter-spacing: 0.5px;
}

/* ========================================
   模块6: 测试流程 (workflow-*)
   布局：横向8步流程 + 连接线
  特色：圆形步骤编号、渐变连接线
======================================== */
.workflow-section {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%),
        url('../img/service-3.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
}

.workflow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.65) 50%,
        rgba(15, 23, 42, 0.95) 100%
    );
}

.workflow-container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    z-index: 1;
}

.workflow-header {
    text-align: center;
    margin-bottom: 72px;
}

.workflow-header .eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.workflow-section .workflow-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff !important;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding: 0 20px;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: linear-gradient(90deg,
        var(--lab-blue),
        var(--lab-cyan),
        var(--lab-green),
        var(--lab-amber)
    );
    opacity: 0.3;
    z-index: 0;
}

.workflow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 130px;
}

.workflow-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid var(--lab-cyan);
    color: var(--lab-cyan);
    font-size: 22px;
    font-weight: 900;
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    margin-bottom: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
    position: relative;
}

.workflow-step-number::after {
    content: attr(data-step);
}

.workflow-step:hover .workflow-step-number {
    background: linear-gradient(135deg, var(--lab-cyan), var(--lab-blue));
    border-color: transparent;
    color: #ffffff;
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
}

.workflow-step strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.workflow-step span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.6;
}

/* ========================================
   模块7: 服务承诺 (commitment-*)
   布局：横向4列对比卡片
   特色：顶部彩色图标条、主题色区分
======================================== */
.commitment-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.commitment-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.commitment-header {
    text-align: center;
    margin-bottom: 64px;
}

.commitment-header .eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--lab-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.commitment-section .commitment-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark) !important;
}

.commitment-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.commitment-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.commitment-card::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--lab-red), #f87171);
    transition: height 0.3s ease;
}

.commitment-card:nth-child(1)::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.commitment-card:nth-child(2)::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.commitment-card:nth-child(3)::before { background: linear-gradient(90deg, #10b981, #34d399); }
.commitment-card:nth-child(4)::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.commitment-card:hover::before {
    height: 8px;
}

.commitment-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 20px;
    font-size: 44px;
}

.commitment-card-body {
    padding: 0 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.commitment-card-body h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 12px;
}

.commitment-card-body p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* ========================================
   通用section头部样式（所有模块共用）
======================================== */
.section-head {
    margin-bottom: 48px;
}

.section-head.center {
    text-align: center;
}

.section-head .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: inherit;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* 深色section的文字颜色调整 */
.dark .section-head h2,
.dark .section-head p {
    color: #ffffff;
}

.dark .section-head p {
    color: #cbd5e1;
}

/* ========================================
   响应式设计：平板（≤992px）
======================================== */
@media (max-width: 992px) {
    .lab-env-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .lab-env-image-wrapper {
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .lab-env-card {
        min-height: 500px !important;
    }

    .lab-env-equipment-list {
        padding: 32px 24px !important;
    }

    .accreditation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .engineering-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .showcase-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }

    .showcase-item:first-child .showcase-item-icon {
        flex: none !important;
        min-height: 240px !important;
        max-height: 260px !important;
    }

    .showcase-item:first-child .showcase-item-body {
        flex: none !important;
        padding: 18px 24px !important;
    }

    .workflow-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 28px;
    }

    .workflow-steps::before {
        display: none;
    }

    .workflow-step {
        max-width: 140px;
    }

    .commitment-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .standards-data-table {
        font-size: 13px;
    }

    .standards-data-table thead th,
    .standards-data-table tbody td {
        padding: 12px 14px;
    }
}

/* ========================================
   响应式设计：手机（≤640px）
======================================== */
@media (max-width: 640px) {
    .lab-env-section,
    .standards-section,
    .accreditation-section,
    .engineering-section,
    .showcase-section,
    .workflow-section,
    .commitment-section {
        padding: 64px 0 !important;
    }

    .lab-env-container,
    .standards-container,
    .accreditation-container,
    .engineering-container,
    .showcase-container,
    .workflow-container,
    .commitment-container {
        padding: 0 20px !important;
    }

    .lab-env-header h2,
    .standards-header h2,
    .accreditation-header h2,
    .engineering-header h2,
    .showcase-header h2,
    .workflow-header h2,
    .commitment-header h2 {
        font-size: 28px !important;
    }

    .lab-env-container {
        padding: 0 16px !important;
    }

    .lab-env-header {
        margin-bottom: 32px !important;
        margin-top: 16px !important;
    }

    .lab-env-card {
        min-height: auto !important;
        border-radius: var(--radius-md) !important;
    }

    .lab-env-equipment-list {
        gap: 12px;
        padding: 24px 16px !important;
    }

    .lab-env-equipment-item {
        padding: 18px 20px;
    }

    .accreditation-grid,
    .engineering-services-grid,
    .showcase-gallery,
    .commitment-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .showcase-item:first-child {
        grid-column: span 1;
    }

    .showcase-item:first-child .showcase-item-icon {
        flex: none !important;
        min-height: 200px !important;
        max-height: 220px !important;
        height: auto !important;
    }

    .showcase-item:first-child .showcase-item-body {
        flex: none !important;
        padding: 16px 20px !important;
        height: auto !important;
    }

    .workflow-step {
        max-width: 100%;
        flex: 0 0 calc(50% - 14px);
    }

    .workflow-step-number {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    .standards-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .standards-data-table {
        min-width: 700px;
    }
}
