/* ============================================
   上海榛芯科技 - 现代化网站样式
   HazelChip Modern Website Styles
   配色方案：榛芯暖棕风格 - 基于 Logo #7A4A2A
   ============================================ */

/* CSS 变量定义 - 榛芯科技暖棕配色 */
:root {
    /* 主色调：榛子棕色 (基于 Logo #7A4A2A) */
    --primary-color: #7A4A2A;
    --primary-light: #A66B3C;
    --primary-dark: #5C3820;
    --primary-glow: rgba(122, 74, 42, 0.25);
    
    /* 辅助色：金色/琥珀色 */
    --secondary-color: #D4A574;
    --accent-color: #C4915A;
    
    /* 深色背景 */
    --dark-bg: #1A1410;
    --dark-surface: #261E18;
    --dark-card: #322820;
    --dark-elevated: #3E3228;
    
    /* 浅色背景 */
    --light-bg: #FAF7F4;
    --light-surface: #FFFFFF;
    --light-card: #F5EDE6;
    
    /* 文字颜色 */
    --text-primary: #2D2015;
    --text-secondary: #5A4A3A;
    --text-light: #FAF7F4;
    --text-muted: #8A7A6A;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #7A4A2A 0%, #A66B3C 50%, #C4915A 100%);
    --gradient-hero: linear-gradient(180deg, rgba(26, 20, 16, 0.95) 0%, rgba(38, 30, 24, 0.9) 50%, rgba(26, 20, 16, 0.92) 100%);
    --gradient-card: linear-gradient(135deg, rgba(122, 74, 42, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(122, 74, 42, 0.15) 0%, transparent 70%);
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px -6px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(122, 74, 42, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(122, 74, 42, 0.25);
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* 导航栏高度 */
    --header-height: 72px;
}

/* 全局重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--light-bg);
    overflow-x: hidden;
}

/* 现代化导航栏 */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 20, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(122, 74, 42, 0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 44px;
    width: auto;
}

.footer-brand .logo-img {
    height: 56px;
}

.modern-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.modern-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

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

.modern-nav a:hover {
    color: var(--primary-light);
}

.modern-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1A1410 0%, #261E18 50%, #1A1410 100%);
    overflow: hidden;
}

/* 榛子背景图 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('imgs/hazel-bg.png') center/cover no-repeat;
    opacity: 0.35;
    z-index: 0;
}

/* 网格背景效果 - 仅首页 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(122, 74, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 74, 42, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(122, 74, 42, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(196, 145, 90, 0.06) 0%, transparent 50%),
                linear-gradient(180deg, rgba(26, 20, 16, 0.3) 0%, rgba(26, 20, 16, 0.6) 50%, rgba(26, 20, 16, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    padding-top: var(--header-height);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(122, 74, 42, 0.15);
    border: 1px solid rgba(122, 74, 42, 0.4);
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, #7A4A2A 0%, #D4A574 50%, #C4915A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #1A1410;
    border: none;
    box-shadow: 0 4px 20px rgba(122, 74, 42, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(122, 74, 42, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid rgba(122, 74, 42, 0.5);
}

.btn-outline:hover {
    background: rgba(122, 74, 42, 0.15);
    border-color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 8px auto 0;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* 所有 Section 添加榛子背景 */
.modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('imgs/hazel-bg.png') center/cover no-repeat;
    opacity: 0.28;
    z-index: 0;
    pointer-events: none;
}

/* 浅色 Section 背景叠加 */
.section-alt::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 244, 0.88);
    z-index: 0;
    pointer-events: none;
}

/* 深色 Section 背景叠加 */
.section-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 20, 16, 0.55);
    z-index: 0;
    pointer-events: none;
}

.modern-section {
    position: relative;
    padding: 100px 24px;
}

.section-alt {
    background: var(--light-bg);
    position: relative;
}

.section-dark {
    background: var(--dark-bg);
    color: var(--text-light);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.section-header.light {
    color: var(--text-light);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: #1A1410;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: var(--text-muted);
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(122, 74, 42, 0.08);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(122, 74, 42, 0.15);
}

.card:hover::before {
    opacity: 1;
}

.card-featured {
    background: var(--dark-bg);
    color: var(--text-light);
    border: 1px solid rgba(122, 74, 42, 0.2);
}

.card-featured::before {
    opacity: 1;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.card-featured p {
    color: var(--text-muted);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(122, 74, 42, 0.2);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* ========== GPU 实验室样式 ========== */

.lab-intro {
    background: linear-gradient(135deg, rgba(122, 74, 42, 0.08) 0%, rgba(212, 165, 116, 0.04) 100%);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    margin-bottom: 48px;
    border: 1px solid rgba(122, 74, 42, 0.12);
}

.lab-intro h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 12px;
}

.lab-intro p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* 服务卡片网格 */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.service-card-large {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(122, 74, 42, 0.08);
    transition: all var(--transition-normal);
}

.service-card-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(122, 74, 42, 0.15);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(122, 74, 42, 0.1);
}

.service-icon {
    font-size: 32px;
}

.service-card-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-detail-list {
    list-style: none;
}

.service-detail-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.service-detail-list li:last-child {
    border-bottom: none;
}

.service-detail-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 实验室设备展示 */
.lab-equipment {
    background: var(--dark-bg);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    color: var(--text-light);
}

.lab-equipment h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--dark-surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(122, 74, 42, 0.15);
    transition: all var(--transition-normal);
}

.equipment-item:hover {
    background: var(--dark-card);
    border-color: rgba(122, 74, 42, 0.25);
}

.equip-icon {
    font-size: 24px;
}

.equipment-item span:last-child {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* ========== 硬件维修服务样式 ========== */

.repair-intro {
    text-align: center;
    margin-bottom: 48px;
}

.repair-intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 维修服务网格 - 两列布局 */
.repair-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* 维修服务网格 - 四卡片并排布局 */
.repair-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.repair-card {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(122, 74, 42, 0.08);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.repair-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(122, 74, 42, 0.15);
}

.repair-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(122, 74, 42, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(122, 74, 42, 0.1);
}

.repair-icon {
    font-size: 32px;
}

.repair-card-header h3 {
    font-size: 20px;
    font-weight: 600;
    flex: 1;
}

.repair-badge {
    background: var(--gradient-primary);
    color: #1A1410;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.repair-card-body {
    padding: 24px 28px;
}

.repair-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.repair-service-list {
    list-style: none;
}

.repair-service-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.repair-service-list .check {
    color: var(--primary-color);
    font-weight: bold;
}

.repair-gpu-models {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(122, 74, 42, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.repair-gpu-models span:first-child {
    color: var(--text-muted);
    font-size: 13px;
}

.gpu-tag {
    background: rgba(122, 74, 42, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

/* 服务流程 */
.service-process {
    background: linear-gradient(135deg, rgba(122, 74, 42, 0.06) 0%, rgba(212, 165, 116, 0.03) 100%);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    margin-bottom: 48px;
    border: 1px solid rgba(122, 74, 42, 0.1);
}

.service-process h4 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #1A1410;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-muted);
}

.process-arrow {
    color: var(--primary-color);
    font-size: 24px;
    opacity: 0.5;
}

/* 服务保障 */
.service-guarantee {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.guarantee-item {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(122, 74, 42, 0.08);
    transition: all var(--transition-normal);
}

.guarantee-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(122, 74, 42, 0.15);
}

.guarantee-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.guarantee-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.guarantee-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== 案例网格 ========== */

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.case-card {
    background: var(--light-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(122, 74, 42, 0.08);
    transition: all var(--transition-normal);
}

.case-card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    transform: translateY(-4px);
    border-color: rgba(122, 74, 42, 0.15);
}

.case-icon {
    font-size: 48px;
    padding: 32px 24px 16px;
    text-align: center;
    background: linear-gradient(135deg, rgba(122, 74, 42, 0.06) 0%, transparent 100%);
}

.case-content {
    padding: 20px 24px 28px;
}

.case-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.case-content p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.case-tag {
    display: inline-block;
    background: rgba(122, 74, 42, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
}

/* ========== 关于我们新布局 ========== */

.about-grid-new {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-content-left {
    color: var(--text-light);
}

.about-content-left .about-lead {
    font-size: 22px;
    color: var(--primary-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-content-left p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats-inline {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.stat-box {
    background: var(--dark-surface);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(122, 74, 42, 0.15);
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-box .stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.about-content-right {
    position: sticky;
    top: 100px;
}

.about-contact-card {
    background: var(--dark-surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid rgba(122, 74, 42, 0.15);
}

.about-contact-card h4 {
    color: var(--primary-light);
    font-size: 18px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a,
.contact-item span:last-child {
    color: var(--text-light);
    font-size: 15px;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-light);
}

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

.modern-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 64px 24px 24px;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-tagline {
    color: var(--primary-light) !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

.footer-contact {
    margin-top: 24px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 8px 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-light);
}

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

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

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

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

/* ========== 响应式设计 ========== */

@media (max-width: 1200px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-guarantee {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modern-nav {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .modern-nav.open {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 24px;
        border-bottom: 1px solid rgba(122, 74, 42, 0.15);
    }
    
    .modern-nav.open ul {
        flex-direction: column;
        gap: 16px;
    }
    
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .repair-grid {
        grid-template-columns: 1fr;
    }
    
    .repair-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-step {
        flex: 0 0 45%;
        margin-bottom: 16px;
    }
    
    .about-grid-new {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content-right {
        position: static;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .modern-section {
        padding: 64px 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .card-grid,
    .case-grid,
    .case-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .repair-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-guarantee {
        grid-template-columns: 1fr;
    }
    
    .about-stats-inline {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-box {
        padding: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .lab-intro {
        padding: 24px;
    }
    
    .service-process {
        padding: 24px;
    }
    
    .lab-equipment {
        padding: 24px;
    }
}

/* ============================================
   技术能力板块 - Tab切换样式
   ============================================ */
.capability-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cap-tab {
    padding: 12px 28px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cap-tab:hover {
    background: var(--gradient-card);
    border-color: var(--primary-light);
}

.cap-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(122, 74, 42, 0.3);
}

.capability-panel {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
}

.capability-panel.active {
    display: block;
}

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
}
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
}
