/* ============================================
   骓驰汽车技术官网 - 前台样式
   ZhuiChi Auto Technology Official Website - Frontend Styles
   ============================================ */

/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1e3a8a;
    --primary-dark: #1e3a5f;
    --primary-light: #e0e7ff;
    --primary-mid: #3b5998;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #059669;
    --warning: #f59e0b;
    --danger: #dc2626;
    --info: #2563eb;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.05);
    --radius: 6px;
    --radius-lg: 10px;
    --radius-xl: 16px;
    --max-width: 1200px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "Noto Sans", sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ===== 按钮 ===== */
.btn {
    display: inline-block; padding: 10px 24px; border-radius: var(--radius);
    font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.2s;
    border: 2px solid transparent; text-align: center; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-success { background: var(--success); color: var(--white); }
.btn-warning { background: var(--warning); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-info { background: var(--info); color: var(--white); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 17px; }
.btn-block { display: block; width: 100%; }

/* ===== 导航栏 ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200); transition: all var(--transition);
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 90px; }

/* ===== Logo ===== */
.logo {
    display: flex; align-items: center; text-decoration: none;
    flex-shrink: 0;
}
.logo-img {
    display: block; width: 210px; height: 74px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    transition: opacity 0.3s, transform 0.3s;
}
.logo:hover .logo-img {
    opacity: 0.9; transform: scale(1.02);
}
.logo-text { font-size: 22px; font-weight: 700; color: var(--gray-900); letter-spacing: 2px; }
.logo-sub { font-size: 11px; color: var(--gray-500); letter-spacing: 1px; }
/* Logo 品牌名称文字后备（移动端显示） */
.logo-brand-text {
    display: none; margin-left: 10px;
    font-size: 16px; font-weight: 700; color: var(--gray-900);
    white-space: nowrap; letter-spacing: 1px;
}

.nav-list { display: flex; list-style: none; gap: 0; }
.nav-list a {
    display: block; padding: 8px 18px; border-radius: var(--radius);
    color: var(--gray-600); font-size: 15px; font-weight: 500; transition: all var(--transition);
    position: relative;
}
.nav-list a::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--primary); border-radius: 2px;
    transition: width var(--transition);
}
.nav-list a:hover, .nav-list a.active {
    color: var(--primary); background: transparent;
}
.nav-list a:hover::after, .nav-list a.active::after {
    width: calc(100% - 36px);
}

.header-actions { display: flex; align-items: center; gap: 16px; }

/* 语言切换 */
.lang-switcher { display: flex; align-items: center; gap: 1px; font-size: 13px; }
.lang-btn { padding: 4px 9px; border-radius: 4px; color: var(--gray-400); transition: all var(--transition); font-weight: 500; }
.lang-btn.active { background: var(--primary); color: var(--white); font-weight: 600; }
.lang-btn:hover:not(.active) { color: var(--primary); background: var(--primary-light); }
.lang-divider { color: var(--gray-300); user-select: none; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 4px;
}
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 1px; transition: all 0.3s; }
/* 汉堡菜单打开 → X 动画 */
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; top: 90px; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 999; padding: 20px; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav a { display: block; padding: 14px 16px; color: var(--gray-800); font-size: 16px; border-bottom: 1px solid var(--gray-100); font-weight: 500; transition: all var(--transition); }
.mobile-nav a:hover { color: var(--primary); background: var(--primary-light); border-radius: var(--radius); }
.mobile-lang { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.mobile-lang .lang-btn { padding: 8px 18px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; }

/* ===== 移动端底部导航栏（默认隐藏，768px 以下显示） ===== */
.mobile-bottom-nav { display: none; }

/* ===== 主内容 ===== */
.main-content { padding-top: 90px; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(165deg, #0f172a 0%, #172554 25%, #1e3a8a 55%, #1e40af 100%);
    color: var(--white); overflow: hidden; padding: 0;
}
/* 背景网格 */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-shape {
    position: absolute; border-radius: 50%; opacity: 0.04;
}
.shape-1 {
    width: 800px; height: 800px; background: radial-gradient(circle, #60a5fa, transparent 70%);
    top: -300px; right: -200px; animation: heroFloat1 10s ease-in-out infinite;
}
.shape-2 {
    width: 500px; height: 500px; background: radial-gradient(circle, #a78bfa, transparent 70%);
    bottom: -150px; left: -100px; animation: heroFloat2 12s ease-in-out infinite;
}
.shape-3 { display: none; }
@keyframes heroFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.04); }
}
@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.06); }
}
.hero-grid-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-wrapper {
    position: relative; z-index: 2; display: grid;
    grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    min-height: 100vh; padding: 110px 20px 120px;
}

/* 左侧文案 */
.hero-left { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 50px;
    padding: 6px 16px; font-size: 13px; font-weight: 500;
    margin-bottom: 28px; letter-spacing: 0.5px; color: rgba(255,255,255,0.9);
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e; box-shadow: 0 0 8px #22c55e;
    animation: badgeBlink 2.5s ease-in-out infinite;
}
@keyframes badgeBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
    font-size: 54px; font-weight: 800; line-height: 1.2;
    margin-bottom: 20px; letter-spacing: 1px;
}
.hero-highlight {
    background: linear-gradient(135deg, #93c5fd, #c4b5fd);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 20px; opacity: 0.8; margin-bottom: 16px;
    font-weight: 400; line-height: 1.6; color: rgba(255,255,255,0.9);
}
.hero-body {
    font-size: 16px; opacity: 0.6; margin-bottom: 40px;
    line-height: 1.8; max-width: 500px; color: rgba(255,255,255,0.7);
}

/* 按钮组 */
.hero-btns { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-cta {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: none; box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 34px; font-size: 17px; font-weight: 600;
    border-radius: 50px; transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.hero-cta:hover {
    transform: translateY(-3px); color: var(--white);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
}
.btn-arrow { transition: transform 0.3s ease; }
.hero-cta:hover .btn-arrow { transform: translateX(5px); }

.btn-ghost {
    background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 50px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 28px; font-size: 15px; font-weight: 500;
    backdrop-filter: blur(10px); transition: all 0.3s ease;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12); color: var(--white);
    border-color: rgba(255,255,255,0.25); transform: translateY(-2px);
}

/* 信任指标 */
.hero-stats {
    display: flex; gap: 48px; margin-top: 52px; padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { text-align: center; }
.stat-number {
    font-size: 42px; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, #fff, #93c5fd);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-plus {
    font-size: 28px; font-weight: 700;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block; font-size: 13px; color: rgba(255,255,255,0.5);
    margin-top: 4px; letter-spacing: 1px; font-weight: 400;
}

/* ===== 右侧效果图展示 ===== */
.hero-right {
    animation: fadeInRight 0.8s ease-out 0.15s both;
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-showcase { position: relative; }

/* Hero 右侧核心业务轮播 */
.hero-carousel {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-carousel-slide {
    flex: 0 0 100%;
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.hero-slide-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-carousel-slide:hover .hero-slide-image img {
    transform: scale(1.05);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.1) 100%);
    pointer-events: none;
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px 24px;
    z-index: 2;
}

.hero-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: #86efac;
    margin-bottom: 12px;
}

.hero-slide-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-slide-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #60a5fa;
    transition: color 0.3s ease;
}

.hero-carousel-slide:hover .hero-slide-link {
    color: #93c5fd;
}

.hero-slide-link svg {
    transition: transform 0.3s ease;
}

.hero-carousel-slide:hover .hero-slide-link svg {
    transform: translateX(4px);
}

.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(15,23,42,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-carousel-btn:hover {
    background: rgba(59,130,246,0.8);
    border-color: rgba(59,130,246,0.5);
}

.hero-carousel-prev { left: 14px; }
.hero-carousel-next { right: 14px; }

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #60a5fa;
}

/* Hero 回退静态卡片（hero_slides 表为空时） */
.hero-static-services { display: flex; flex-direction: column; gap: 12px; }
.hero-static-card {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg);
    padding: 16px 20px; color: var(--white); text-decoration: none;
    transition: all var(--transition);
}
.hero-static-card:hover {
    background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3);
    transform: translateX(4px);
}
.hero-static-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900; flex-shrink: 0; color: var(--accent);
}
.hero-static-card h3 {
    font-size: 16px; font-weight: 700; margin-bottom: 2px; color: var(--white);
}
.hero-static-card p { font-size: 13px; opacity: 0.7; color: var(--white); }

/* 底部波浪 */
.hero-wave {
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 1; line-height: 0;
}
.hero-wave svg {
    width: 100%; height: 120px; display: block;
}

/* ===== Section ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 34px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; letter-spacing: -0.3px; }
.section-header p { font-size: 17px; color: var(--gray-500); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.nowrap { white-space: nowrap; }

.section-header::after {
    content: ''; display: block; width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-mid));
    margin: 16px auto 0; border-radius: 2px;
}

/* ===== 卡片 ===== */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow); transition: all var(--transition); border: 1px solid var(--gray-100); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gray-200); }
.card-icon { margin-bottom: 18px; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.card-icon svg { display: block; }
.card h3 { font-size: 20px; margin-bottom: 8px; color: var(--gray-900); font-weight: 700; }
.service-card h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(15px, 1.4vw, 17px); letter-spacing: -0.3px; }
.card h4 { font-size: 17px; margin-bottom: 8px; color: var(--gray-900); font-weight: 600; }
.card-sub { color: var(--primary-mid); font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.card p { color: var(--gray-500); font-size: 14px; line-height: 1.7; }
.card-body { padding-top: 16px; }

/* 网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-5 .service-card { padding: 22px 16px; }
.grid-5 .service-card h3 { font-size: clamp(13px, 1.05vw, 15px); }
.grid-5 .service-card .card-icon { width: 42px; height: 42px; font-size: 20px; }
.grid-5 .service-card .card-icon img { width: 24px; height: 24px; }

/* ===== 案例卡片 ===== */
.case-real-img {
    width: 100%; height: 200px; object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: transform 0.5s ease;
}
.case-card { padding: 0; overflow: hidden; position: relative; }
.case-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
    opacity: 0; transition: opacity var(--transition);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.case-card:hover .case-real-img { transform: scale(1.06); }
.case-card:hover::after { opacity: 1; }
.case-card .card-body { padding: 22px 24px; position: relative; z-index: 1; }
.case-card .card-body h4 { font-size: 17px; margin-bottom: 8px; color: var(--gray-800); }
.case-card .card-body p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===== Hero 实物图片 ===== */
.thumb-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.showcase-car-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}


/* ===== 核心能力优势 ===== */
.competence-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.competence-item {
    display: flex; gap: 24px; align-items: flex-start;
    background: var(--white); padding: 32px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.competence-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gray-200); }
.competence-icon { flex-shrink: 0; width: 120px; }
.competence-img {
    width: 100%; height: 90px; object-fit: cover; border-radius: var(--radius);
    transition: transform var(--transition);
}
.competence-item:hover .competence-img { transform: scale(1.04); }
.competence-body h3 { font-size: 18px; margin-bottom: 10px; color: var(--gray-900); font-weight: 700; }
.competence-body p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ===== 服务页图片展示 ===== */
.service-showcase {
    display: flex; gap: 16px; margin-bottom: 32px;
}
.service-showcase-img {
    flex: 1; max-width: 50%; height: 280px; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}
.service-showcase-img:hover { transform: scale(1.03); }

/* ===== 关于页-业务版图 ===== */
.about-image-row {
    display: flex; gap: 20px;
}
.about-row-img {
    flex: 1; max-width: 50%; height: 320px; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}
.about-row-img:hover { transform: scale(1.03); }

/* ===== 客户品牌卡片 ===== */
.client-brands-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.client-brand-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 20px; text-align: center; box-shadow: var(--shadow);
    transition: all 0.3s;
}
.client-brand-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.brand-img-wrap {
    width: 100%; height: 140px; overflow: hidden; border-radius: var(--radius);
    margin-bottom: 14px;
}
.brand-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.client-brand-card:hover .brand-img { transform: scale(1.08); }
.client-brand-card h4 { font-size: 16px; margin-bottom: 6px; color: var(--gray-900); }
.client-brand-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===== 合作伙伴 ===== */
.partners-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 48px; align-items: center;
}
.partner-item {
    text-align: center; transition: all var(--transition); cursor: default;
    padding: 16px 24px; border-radius: var(--radius-lg);
}
.partner-item:hover {
    background: var(--gray-50);
}
.partner-placeholder {
    width: 72px; height: 72px; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-light), #e8ecf4);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
    font-size: 28px; font-weight: 700; color: var(--primary-mid);
    box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.partner-item:hover .partner-placeholder {
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.partner-item span { font-size: 14px; color: var(--gray-600); font-weight: 500; }
.partner-logo-img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius); margin: 0 auto 10px; display: block; transition: all var(--transition); }
.partner-item:hover .partner-logo-img { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: var(--white); text-align: center;
    position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(96,165,250,0.1), transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(167,139,250,0.08), transparent 50%);
    pointer-events: none;
}
.cta > .container { position: relative; z-index: 1; }
.cta h2 { font-size: 34px; margin-bottom: 14px; font-weight: 700; }
.cta p { font-size: 17px; opacity: 0.8; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; text-align: center; }
.cta p.nowrap { max-width: none; padding: 0 20px; }
.cta .btn-primary { background: var(--white); color: var(--primary); font-weight: 600; border: none; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.cta .btn-primary:hover { background: #f0f4ff; color: var(--primary-dark); box-shadow: 0 8px 30px rgba(0,0,0,0.2); transform: translateY(-2px); }
.cta .btn-outline { border-color: var(--white); color: var(--white); }
.cta .btn-outline:hover { background: var(--white); color: var(--primary); }

/* ===== 页脚（仿 IAT AUTO 风格） ===== */
.footer {
    background: #0a1628; color: rgba(255,255,255,0.7);
    font-size: 14px; line-height: 1.7;
}
.footer-pc { padding: 72px 0 28px; }
.footer-mobile { display: none !important; padding: 32px 0 80px; }

.footer-main {
    display: grid; grid-template-columns: 1.25fr 0.85fr 1.05fr; gap: 48px;
    padding-bottom: 48px;
}
.footer-col {
    display: flex; flex-direction: column;
}
.footer h4 {
    color: #fff; font-size: 15px; font-weight: 600;
    margin-bottom: 20px; letter-spacing: 0.5px; position: relative;
    padding-bottom: 12px;
}
.footer h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 28px; height: 2px; background: var(--accent); border-radius: 1px;
}

/* 品牌列 */
.footer-logo-link { display: block; margin-bottom: 16px; }
.footer-logo-link:hover { opacity: 0.9; }
.footer-logo-img { height: 36px; width: auto; display: block; opacity: 0.95; transition: opacity 0.3s; }
.footer-logo-link:hover .footer-logo-img { opacity: 1; }
.footer-desc { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.55); margin-bottom: 18px; max-width: 360px; }
.footer-qr-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.footer-qr-img { width: 80px; height: 80px; border-radius: 4px; background: #fff; padding: 3px; }
.footer-qr-label { font-size: 12px; color: rgba(255,255,255,0.45); }

/* 导航列 */
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; }
.footer-nav ul li { width: 50%; }
.footer-nav ul li a {
    color: rgba(255,255,255,0.6); font-size: 13px;
    padding: 4px 0; display: inline-block; transition: all 0.2s;
}
.footer-nav ul li a:hover { color: var(--accent); transform: translateX(3px); }

/* 联系方式列 */
.footer-contact-item {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.6); font-size: 13px;
    margin-bottom: 14px; line-height: 1.6;
}
.footer-contact-item svg { flex-shrink: 0; color: rgba(255,255,255,0.45); display: block; }
.footer-contact-item span,
.footer-contact-item a { word-break: break-word; overflow-wrap: break-word; }
.footer-contact-item a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--accent); }

/* 分割线 */
.footer-divider { border-top: 1px solid rgba(255,255,255,0.06); }

/* 底部栏 */
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; font-size: 12px; color: rgba(255,255,255,0.4);
    flex-wrap: wrap; gap: 8px 16px;
}
.footer-bottom-left { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.footer-beian { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; font-size: 12px; }
.footer-beian:hover { color: rgba(255,255,255,0.55); }
.footer-lang-mini { display: flex; align-items: center; gap: 4px; font-size: 11px; }
.footer-lang-mini a { color: rgba(255,255,255,0.35); text-decoration: none; padding: 2px 4px; transition: color 0.2s; }
.footer-lang-mini a.active { color: rgba(255,255,255,0.6); font-weight: 600; }
.footer-lang-mini a:hover { color: rgba(255,255,255,0.75); }
.footer-lang-mini .lang-sep { color: rgba(255,255,255,0.12); }

/* ===== Hero 主图可点击看大图 ===== */
.hero-image-hover { position: relative; cursor: pointer; }
.hero-img-zoom {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: rgba(15, 23, 42, 0.45); color: var(--white); opacity: 0; transition: opacity 0.3s ease;
    gap: 8px; font-size: 14px; font-weight: 500; border-radius: 12px;
}
.hero-image-hover:hover .hero-img-zoom { opacity: 1; }

/* ===== 图片灯箱 ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center; padding: 40px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-lg); box-shadow: 0 24px 80px rgba(0,0,0,0.4); }
.lightbox-close {
    position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: none; color: var(--white); font-size: 32px; line-height: 1;
    cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ===== 案例轮播 ===== */
.cases-carousel-wrapper { position: relative; overflow: hidden; padding: 0 52px; }
.cases-carousel { display: flex; transition: transform 0.5s ease; gap: 24px; }
.cases-carousel .case-card {
    flex: 0 0 auto; padding: 0; overflow: hidden; cursor: pointer; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
}
.cases-carousel .case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.case-img-wrap { position: relative; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.case-real-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover .case-real-img { transform: scale(1.08); }
.case-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(15,23,42,0.5); opacity: 0; transition: opacity 0.3s ease;
}
.case-card:hover .case-overlay { opacity: 1; }
.case-view-btn {
    background: var(--white); color: var(--primary); padding: 8px 18px; border-radius: 50px;
    font-size: 14px; font-weight: 600; transform: translateY(10px); transition: transform 0.3s ease;
}
.case-card:hover .case-view-btn { transform: translateY(0); }
.case-badge {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    background: var(--primary); color: #fff; padding: 4px 12px;
    border-radius: 50px; font-size: 12px; font-weight: 600;
    pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--white); color: var(--primary); box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.carousel-btn:hover { background: var(--primary); color: var(--white); box-shadow: var(--shadow-lg); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--gray-300); cursor: pointer; transition: all 0.2s; }
.carousel-dot.active { background: var(--primary); width: 24px; border-radius: 6px; }

/* ===== 案例详情弹窗 ===== */
.case-modal {
    position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.85);
    display: flex; align-items: center; justify-content: center; padding: 24px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.case-modal.active { opacity: 1; visibility: visible; pointer-events: auto; }
.case-modal-inner {
    background: var(--white); border-radius: var(--radius-xl); max-width: 900px; width: 100%;
    max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.case-modal-close {
    position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
    border: none; background: var(--gray-100); color: var(--gray-700); font-size: 24px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.2s;
}
.case-modal-close:hover { background: var(--gray-200); }
.case-modal-grid { display: grid; grid-template-columns: 1.2fr 1fr; }
.case-modal-media { height: 100%; min-height: 320px; }
.case-modal-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.case-modal-body { padding: 40px; }
.case-modal-body h3 { font-size: 22px; margin-bottom: 12px; color: var(--gray-900); }
.case-modal-body p { color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.case-modal-detail { color: var(--gray-600); font-size: 14px; }

/* ===== 响应式轮播调整 ===== */
@media (max-width: 1024px) {
    .cases-carousel-wrapper { padding: 0 44px; }
    .case-modal-grid { grid-template-columns: 1fr; }
    .case-modal-img { border-radius: var(--radius-xl) var(--radius-xl) 0 0; height: 260px; }
    .case-modal-body { padding: 28px; }
}
@media (max-width: 768px) {
.cases-carousel-wrapper { padding: 0 36px; }
.case-real-img { height: 200px; }
.case-modal-img { height: 200px; }
.carousel-btn { width: 36px; height: 36px; }
}

/* ===== 页面 Banner ===== */
.page-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2d5ab0 50%, #3b82f6 100%);
    color: var(--white); padding: 90px 0 56px; text-align: center;
    position: relative; overflow: hidden;
}
.page-banner::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.05), transparent 60%),
                radial-gradient(circle at 20% 70%, rgba(147,197,253,0.08), transparent 60%);
    pointer-events: none;
}
.page-banner > .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 38px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.5px; }
.page-banner p { font-size: 17px; opacity: 0.75; margin: 0 auto; line-height: 1.7; white-space: nowrap; }

/* ===== 关于页面 ===== */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-text h2 { font-size: 30px; margin-bottom: 16px; }
.about-intro-text .lead { font-size: 18px; color: var(--primary); margin-bottom: 16px; font-weight: 500; }
.about-intro-text p { color: var(--gray-600); line-height: 1.8; }
.about-img-placeholder {
    height: 350px; background: linear-gradient(135deg, var(--primary-light), #e0e7ff);
    border-radius: var(--radius-lg); display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px; font-size: 64px;
}
.about-img-placeholder p { color: var(--gray-500); font-size: 16px; }
.about-real-img {
    width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* 时间线 */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; margin-bottom: 36px; display: flex; gap: 24px; align-items: flex-start; }
.timeline-item::before { content: ''; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--primary); }
.timeline-year { font-size: 20px; font-weight: 700; color: var(--primary); min-width: 60px; }
.timeline-content h3 { font-size: 18px; margin-bottom: 4px; }
.timeline-content p { color: var(--gray-500); font-size: 14px; }

/* MVV 卡片 */
.mvv-card { text-align: center; padding: 40px 24px; }
.mvv-card .card-icon { margin-bottom: 16px; color: var(--primary-mid); }

/* 团队 */
.team-avatar {
    width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; margin: 0 auto 16px;
}
.team-card { text-align: center; }
.team-role { color: var(--primary); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.team-bio { font-size: 13px; color: var(--gray-500); }

/* ===== 服务页面 ===== */
.tabs { display: flex; gap: 0; margin-bottom: 44px; background: var(--gray-100); padding: 5px; border-radius: 50px; overflow: hidden; }
.tab-btn { flex: 1; text-align: center; padding: 13px 24px; border-radius: 50px; font-weight: 600; color: var(--gray-500); font-size: 15px; transition: all var(--transition); white-space: nowrap; }
.tab-btn.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow); }
.tab-btn:hover:not(.active) { color: var(--primary-mid); }
.tab-content h2 { font-size: 30px; margin-bottom: 12px; color: var(--gray-900); }
.tab-content .lead { font-size: 17px; color: var(--gray-500); margin-bottom: 36px; line-height: 1.7; }

/* 工作流程 */
.workflow { display: flex; align-items: flex-start; gap: 12px; }
.workflow-step { flex: 1; text-align: center; position: relative; }
.workflow-num {
    width: 52px; height: 52px; border-radius: 50%; background: var(--primary);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(30,58,138,0.2);
}
.workflow-content h4 { font-size: 16px; margin-bottom: 6px; font-weight: 600; color: var(--gray-800); }
.workflow-content p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.workflow-arrow { font-size: 22px; color: var(--gray-300); padding-top: 16px; font-weight: 300; }

/* ===== 联系我们 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form-wrap h2, .contact-info-wrap h2 { font-size: 26px; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius);
    font-size: 15px; font-family: inherit; transition: all var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.char-count { display: block; text-align: right; font-size: 12px; color: var(--gray-400); margin-top: 4px; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* 联系信息 */
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; padding: 16px; border-radius: var(--radius); transition: all var(--transition); }
.contact-info-item:hover { background: var(--gray-50); }
.info-icon { min-width: 44px; display: flex; align-items: center; justify-content: center; color: var(--primary-mid); flex-shrink: 0; }
.info-icon svg { display: block; }
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; font-weight: 600; color: var(--gray-800); }
.contact-info-item p { color: var(--gray-500); font-size: 14px; }
.service-promise { background: var(--gray-50); border-radius: var(--radius-lg); padding: 24px; margin-top: 30px; }
.service-promise h4 { margin-bottom: 12px; font-size: 16px; }
.service-promise ul { list-style: none; }
.service-promise li { padding: 6px 0; color: var(--gray-600); font-size: 14px; }
.service-promise li::before { content: '✓ '; color: var(--success); font-weight: 700; margin-right: 8px; }

/* ===== 留言板 ===== */
.message-layout { display: grid; grid-template-columns: 400px 1fr; gap: 40px; }
.message-form-wrap h3, .message-list-wrap h3 { font-size: 22px; margin-bottom: 20px; }
.message-list { display: flex; flex-direction: column; gap: 16px; }
.message-item { background: var(--white); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow); }
.message-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.message-header strong { color: var(--gray-900); }
.message-header time { font-size: 13px; color: var(--gray-400); }
.message-body { color: var(--gray-600); font-size: 15px; line-height: 1.7; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--gray-400); }

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; }
.page-btn { padding: 8px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius); color: var(--gray-600); font-size: 14px; }
.page-btn:hover { background: var(--gray-50); }
.page-info { font-size: 14px; color: var(--gray-500); }

/* ===== 新闻列表页 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-link { text-decoration: none; color: inherit; display: block; }
.news-card-img-wrap { position: relative; height: 200px; overflow: hidden; background: var(--gray-100); }
.news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img { transform: scale(1.06); }
.news-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--gray-300); }
.news-card-placeholder svg { display: block; }
.news-card-category {
    position: absolute; top: 12px; left: 12px; background: var(--primary); color: var(--white); padding: 4px 12px;
    border-radius: 50px; font-size: 12px; font-weight: 600;
}
.news-card-body { padding: 20px; }
.news-card-date { font-size: 13px; color: var(--gray-400); display: block; margin-bottom: 8px; }
.news-card-title { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-summary { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 12px; }
.news-card-more { font-size: 14px; font-weight: 600; color: var(--primary); }

/* ===== 新闻详情页 ===== */
.news-back-link { display: inline-block; margin-bottom: 24px; color: var(--primary); font-weight: 600; font-size: 15px; text-decoration: none; }
.news-back-link:hover { text-decoration: underline; }
.news-header { margin-bottom: 32px; }
.news-detail-category { display: inline-block; background: var(--primary); color: var(--white); padding: 4px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.news-detail-title { font-size: 32px; font-weight: 900; color: var(--gray-900); line-height: 1.35; margin-bottom: 12px; }
.news-detail-date { font-size: 15px; color: var(--gray-400); display: flex; align-items: center; gap: 6px; }
.news-detail-date svg { flex-shrink: 0; }
.news-detail-cover { margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden; }
.news-detail-cover-img { width: 100%; max-height: 480px; object-fit: cover; }
.news-detail-content { font-size: 16px; line-height: 1.9; color: var(--gray-700); }
.news-detail-content h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin: 28px 0 12px; }
.news-detail-content p { margin-bottom: 18px; }
.news-detail-content img { max-width: 100%; border-radius: var(--radius); margin: 16px 0; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--gray-400); transition: all 0.2s; }
.share-btn:hover { background: var(--gray-50); border-color: var(--gray-300); color: var(--primary); }
.share-btn svg { display: block; }

/* ===== 首页新闻区块 ===== */
.news-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-home-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.news-home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-home-card a { text-decoration: none; color: inherit; }
.news-home-img-wrap { position: relative; height: 180px; overflow: hidden; background: var(--gray-100); }
.news-home-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-home-card:hover .news-home-img-wrap img { transform: scale(1.05); }
.news-home-noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--gray-300); }
.news-home-noimg svg { display: block; }
.news-home-tag { position: absolute; top: 10px; left: 10px; background: var(--primary); color: var(--white); padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.news-home-body { padding: 18px; }
.news-home-body time { font-size: 12px; color: var(--gray-400); }
.news-home-body h3 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin: 8px 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-home-body p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ===== 后台新闻表格 ===== */
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--gray-50); padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 600; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 14px; color: var(--gray-700); }
.admin-table tr:hover td { background: var(--gray-50); }
.admin-table .badge { background: var(--gray-100); color: var(--gray-600); padding: 2px 10px; border-radius: 50px; font-size: 12px; }
.admin-table .btn-danger { color: var(--danger); border-color: var(--danger); }
.admin-table .btn-danger:hover { background: var(--danger); color: var(--white); }

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .hero-wrapper { gap: 48px; }
    .hero-title { font-size: 44px; }
}

@media (max-width: 1024px) {
    .hero { min-height: auto; }
    .hero-wrapper {
        grid-template-columns: 1fr; gap: 48px;
        min-height: auto; padding: 130px 20px 140px;
    }
    .hero-right { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
    .hero-left { text-align: center; }
    .hero-body { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; border-top: none; padding-top: 24px; margin-top: 36px; }
    .hero-title { font-size: 38px; }
    .hero-slide-content { padding: 22px 20px 22px; }
    .hero-slide-title { font-size: 20px; }
    .client-brands-grid { grid-template-columns: repeat(2, 1fr); }
    .competence-grid { grid-template-columns: 1fr; }
    .about-image-row { flex-direction: column; }
    .about-row-img { max-width: 100%; height: 240px; }
    .service-showcase { flex-direction: column; }
    .service-showcase-img { max-width: 100%; height: 220px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .workflow { flex-direction: column; }
    .workflow-arrow { transform: rotate(90deg); }
    .message-layout { grid-template-columns: 1fr; }
    .news-home-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-detail-title { font-size: 26px; }
}

@media (max-width: 768px) {
    .logo-img { width: 140px; height: 49px; }
    /* PC 页脚在手机端隐藏，手机页脚显示 */
    .footer-pc { display: none; }
    .footer-mobile { display: block !important; padding: 16px 0 80px; }
    /* 手机页脚 - 单行紧凑布局 */
    .footer-mobile-row {
        display: flex; align-items: center; justify-content: space-between;
        gap: 12px; flex-wrap: wrap;
    }
    .footer-mobile-brand {
        display: flex; align-items: center; gap: 10px;
        flex: 1; min-width: 0;
    }
    .footer-mobile-logo-img { height: 24px; width: auto; display: block; opacity: 0.95; }
    .footer-mobile-copy {
        font-size: 11px; color: rgba(255,255,255,0.3);
        white-space: nowrap;
    }
    /* 手机页脚 - 联系按钮 */
    .footer-mobile-contact { display: flex; gap: 8px; flex-shrink: 0; }
    .footer-mobile-btn {
        display: inline-flex; align-items: center; gap: 5px;
        background: var(--accent); color: #0a1628;
        padding: 7px 14px; border-radius: 20px;
        font-size: 12px; font-weight: 600; text-decoration: none;
        transition: opacity 0.2s; white-space: nowrap;
    }
    .footer-mobile-btn:hover { opacity: 0.85; }
    .footer-mobile-btn-outline {
        background: transparent; color: rgba(255,255,255,0.65);
        border: 1px solid rgba(255,255,255,0.18);
    }
    .footer-mobile-btn-outline:hover { border-color: rgba(255,255,255,0.3); opacity: 1; }
    /* 手机页脚 - ICP */
    .footer-mobile-icp {
        text-align: center; margin-top: 10px; padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.06);
        font-size: 10px;
    }
    .footer-mobile-icp a { color: rgba(255,255,255,0.25); text-decoration: none; }
    /* 旧 PC 页脚移动端样式已失效，清理 */
    .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 28px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-site-name { margin-bottom: 12px; font-size: 18px; }
    .footer-desc { 
        max-width: 100%; font-size: 12px; line-height: 1.7; 
        margin-bottom: 0;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .footer-qr-row { display: none; }
    .footer-nav ul { gap: 2px 0; }
    .footer-nav ul li { width: 100%; }
    .footer-nav ul li a { font-size: 12px; padding: 3px 0; }
    .footer-contact-item { margin-bottom: 10px; font-size: 12px; gap: 8px; }
    .footer-contact-item svg { width: 14px; height: 14px; }
    .footer-bottom { padding: 14px 0; gap: 8px; }
    .header .container { height: 78px; }
    .mobile-nav { top: 78px; }
    .main-content { padding-top: 78px; }
    .hero-wrapper { padding: 100px 16px 120px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 17px; }
    .hero-body { font-size: 15px; }
    .hero-stats { gap: 28px; }
    .stat-number { font-size: 32px; }
    .stat-plus { font-size: 22px; }
    .hero-cta { padding: 14px 26px; font-size: 15px; }
    .btn-ghost { padding: 14px 22px; font-size: 14px; }
    .hero-slide-content { padding: 18px 16px 18px; }
    .hero-slide-title { font-size: 18px; }
    .hero-slide-desc { font-size: 13px; -webkit-line-clamp: 2; }
    .hero-carousel-btn { width: 34px; height: 34px; }
    .nav-list { display: none; }
    .mobile-menu-btn { display: flex; }
    .section { padding: 56px 0; }
    .section-header h2 { font-size: 28px; }
    .section-header p { font-size: 15px; }
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .nowrap { white-space: normal; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .client-brands-grid { grid-template-columns: 1fr 1fr; }
    .competence-grid { grid-template-columns: 1fr; }
    .competence-item { flex-direction: column; }
    .competence-icon { width: 100%; }
    .competence-img { height: 140px; }
    .about-image-row { flex-direction: column; }
    .about-row-img { max-width: 100%; height: 200px; }
    .service-showcase { flex-direction: column; }
    .service-showcase-img { max-width: 100%; height: 200px; }
    .tabs { flex-wrap: wrap; border-radius: var(--radius-lg); }
    .tab-btn { flex: 1 1 40%; border-radius: var(--radius); }
    .partners-grid { gap: 20px 32px; }
    .page-banner { padding: 80px 0 48px; }
    .page-banner h1 { font-size: 30px; }
    .page-banner p { white-space: normal; }
    .news-detail-title { font-size: 24px; }
    .news-card-img-wrap { height: 160px; }
    .news-home-grid, .news-grid { grid-template-columns: 1fr; }
    .news-home-img-wrap { height: 180px; }

    /* 移动端底部导航栏（始终固定在屏幕底部） */
    .mobile-bottom-nav {
        display: flex; align-items: center; justify-content: space-around;
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
        /* 以下两条确保 iOS Safari 上 fixed 定位不受滚动影响 */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
        height: auto; min-height: 52px;
    }
    .bottom-nav-item {
        display: flex; flex-direction: column; align-items: center;
        gap: 2px; padding: 4px 10px; color: var(--gray-400);
        font-size: 10px; font-weight: 500;
        border-radius: var(--radius); transition: all var(--transition);
        text-decoration: none; min-width: 48px;
    }
    .bottom-nav-item.active { color: var(--primary); }
    .bottom-nav-item .bnav-icon { opacity: 0.7; transition: all var(--transition); }
    .bottom-nav-item.active .bnav-icon { opacity: 1; }
    .bottom-nav-item .bnav-label { line-height: 1.2; }
    /* 页面主体撑开底部导航高度（含 iPhone 底部安全区） */
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    /* 确保 body 不创建新的包含块导致 fixed 失效 */
    html, body { overflow-x: hidden; overflow-y: auto; }

    /* 移动端 Logo 品牌文字隐藏，避免与图片中的文字重叠 */
    .logo { flex-direction: row; align-items: center; }
    .logo-brand-text { display: none; }
}

/* ===== 工具类（替代内联样式） ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-400); }
.mt-48 { margin-top: 48px; }
.ml-16 { margin-left: 16px; }
.mb-8 { margin-bottom: 8px; }
.pb-0 { padding-bottom: 0; }
.py-120 { padding: 120px 0; }
.py-60 { padding: 60px 0; }
.max-w-860 { max-width: 860px; }
.d-inline-block { display: inline-block; }
.case-badge-modal { display: inline-block; margin-bottom: 8px; }

/* 新闻详情分享区块 */
.news-share-bar {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    display: flex; align-items: center; gap: 12px;
}
.news-share-label { color: var(--gray-400); font-size: 14px; }

/* 服务详情页 CTA */
.service-cta-wrapper { margin-top: 48px; }
.service-cta-btn { margin-left: 16px; }

/* 职位卡片 */
.job-card-arrow { transition: transform 0.3s; }
.copy-hint { font-size: 12px; margin-left: 4px; }
.empty-icon { font-size: 48px; margin-bottom: 16px; color: var(--gray-300); line-height: 1; }
/* ===== 工具类扩展（替代内联样式，满足 CSP nonce-only 要求） ===== */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.flex-center { display: flex; align-items: center; gap: 8px; }
/* 新闻页 Banner 紫色主题变体 */
.page-banner-news { background: linear-gradient(135deg, var(--primary) 0%, #4a148c 100%); color: var(--white); padding: 80px 0 60px; }
.page-banner-news h1 { font-size: 42px; font-weight: 900; }
.page-banner-news p { font-size: 18px; opacity: 0.85; margin-top: 12px; }
/* ===== 招聘页样式（从内联迁移至外部，CSP 合规） ===== */
.careers-hero {
    position: relative; background: linear-gradient(135deg, var(--gray-900) 0%, #1e3a5f 50%, #0d2137 100%);
    padding: 120px 0 80px; color: var(--white); text-align: center; overflow: hidden;
}
.careers-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(26, 86, 219, 0.2) 0%, transparent 70%);
}
.careers-hero .container { position: relative; z-index: 1; }
.careers-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.careers-hero p { font-size: 18px; color: rgba(255,255,255,0.75); margin: 0 auto; white-space: nowrap; }
.careers-hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 40px; }
.careers-stat { text-align: center; }
.careers-stat-num { font-size: 36px; font-weight: 700; }
.careers-stat-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }
/* 职位列表 */
.job-list { max-width: 860px; margin: 0 auto; }
.job-card {
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    padding: 28px 32px; margin-bottom: 20px; cursor: pointer; transition: all 0.3s;
    border: 1px solid var(--gray-200);
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.job-card-title { font-size: 20px; font-weight: 700; color: var(--gray-900); }
.job-card-title-en { font-size: 14px; color: var(--gray-400); margin-top: 2px; }
.job-card-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.job-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.job-tag-dept { background: var(--primary-light); color: var(--primary); }
.job-tag-loc { background: #ecfdf5; color: #059669; }
.job-tag-type { background: #fef3c7; color: #d97706; }
.job-card-arrow { color: var(--gray-400); transition: transform 0.3s; display: flex; align-items: center; }
.job-card-arrow svg { display: block; }
.job-card.expanded .job-card-arrow { transform: rotate(90deg); }
.job-card-body { display: none; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--gray-200); }
.job-card.expanded .job-card-body { display: block; }
.job-section { margin-bottom: 18px; }
.job-section h5 { font-size: 15px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.job-section p, .job-section .req-text { font-size: 14px; color: var(--gray-600); line-height: 1.8; white-space: pre-line; }
.job-apply-btn {
    display: inline-block; margin-top: 8px; padding: 10px 28px;
    background: var(--primary); color: var(--white); border-radius: var(--radius);
    font-size: 15px; font-weight: 500; text-decoration: none; transition: all 0.2s;
}
.job-apply-btn:hover { background: var(--primary-dark); color: var(--white); }
/* 投递说明 */
.apply-note {
    background: var(--gray-50); border-radius: var(--radius-lg);
    padding: 36px; text-align: center; margin-top: 48px;
}
.apply-note h3 { font-size: 22px; margin-bottom: 10px; color: var(--gray-900); }
.apply-note p { font-size: 15px; color: var(--gray-500); }
.apply-note .btn { margin-top: 14px; }
.empty-jobs { text-align: center; padding: 60px 20px; color: var(--gray-400); }
.empty-jobs .empty-icon { color: var(--gray-300); margin-bottom: 16px; display: flex; justify-content: center; }
.empty-jobs .empty-icon svg { display: block; }
@media (max-width: 768px) {
    .careers-hero h1 { font-size: 28px; }
    .careers-hero p { white-space: normal; font-size: 16px; }
    .careers-hero-stats { gap: 28px; }
    .careers-stat-num { font-size: 28px; }
    .job-card { padding: 20px; }
    .job-card-title { font-size: 17px; }
}
/* 服务详情页标题 */
.svc-detail-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.svc-detail-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.svc-detail-icon img { width: 48px; height: 48px; display: block; }
/* 服务详情页特色列表 */
.svc-feature-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.svc-feature-list li { padding: 16px 20px; background: var(--gray-50); border-radius: var(--radius); display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--gray-700); line-height: 1.6; }
.svc-feature-list li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
/* 工作时间表 */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.hours-table td { padding: 10px 16px; font-size: 14px; color: var(--gray-700); border-bottom: 1px solid var(--gray-100); }
.hours-table td:first-child { font-weight: 600; color: var(--gray-900); width: 100px; }
/* 温馨提示框 */
.tips-box { background: #fefce8; border-left: 4px solid #f59e0b; padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; color: #92400e; line-height: 1.7; }
/* 留言提醒 */
.message-note { background: var(--primary-light); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; font-size: 14px; line-height: 1.7; }
/* 联系页面地图占位 */
.map-placeholder { height: 300px; background: var(--gray-100); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-top: 4px; overflow: hidden; }
/* 留言板提醒 */
.msg-reminder { background: #eff6ff; border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; font-size: 14px; color: var(--gray-700); line-height: 1.7; }
/* 关于页面轮播区 */
.about-carousel-section { margin-top: 48px; }
/* 关于页使命标签 */
.mission-label { font-size: 14px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
/* 关于页大号标题 */
.about-big-title { font-size: 32px; font-weight: 700; color: var(--gray-900); margin-bottom: 20px; line-height: 1.3; }
/* 描述文字 */
.about-desc-text { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
/* 关于页统计网格 */
.about-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.about-stat-item { text-align: center; padding: 24px 16px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-stat-num { font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.about-stat-label { font-size: 14px; color: var(--gray-500); margin-top: 4px; }
@media (max-width: 768px) {
  .about-stats-grid { grid-template-columns: 1fr; }
  .svc-feature-list { grid-template-columns: 1fr; }
  .page-banner-news h1, .page-banner-careers h1 { font-size: 30px; }
  .page-banner-news p, .page-banner-careers p { font-size: 15px; }
}
