/* ===== 河南拓卡科技 - 全局样式 ===== */

/* --- 变量 --- */
:root {
  --primary: #1565ff;
  --primary-dark: #0a4fd0;
  --primary-light: #4d8dff;
  --primary-bg: #eef4ff;
  --accent: #00c2ff;
  --text-dark: #1a1f36;
  --text-body: #4a5568;
  --text-muted: #8b95a7;
  --border: #e5e9f2;
  --bg-light: #f7f9fc;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(20, 40, 80, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 40, 80, 0.10);
  --shadow-lg: 0 20px 60px rgba(20, 40, 80, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --gradient: linear-gradient(135deg, #0a4fd0 0%, #1565ff 50%, #00c2ff 100%);
  --gradient-soft: linear-gradient(135deg, #eef4ff 0%, #f0f7ff 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Segoe UI", sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 布局容器 --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}
.section-sm {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}
.section-title .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}
.section-title p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 20px rgba(21, 101, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(21, 101, 255, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- 导航栏 --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 233, 242, 0.6);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo span { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-menu a:hover {
  color: var(--primary);
  background: var(--primary-bg);
}
.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}
/* 导航里的 CTA 按钮：实色底+更小 padding，避免渐变浅色段白字看不清 */
.nav-menu .btn {
  padding: 9px 20px;
  font-size: 0.9rem;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(21, 101, 255, 0.25);
  white-space: nowrap;
}
.nav-menu .btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 101, 255, 0.35);
}
.nav-cta { margin-left: 10px; }

.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-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- 页面通用头部 Banner --- */
.page-hero {
  padding: 130px 0 70px;
  background: var(--gradient-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 101, 255, 0.08), transparent 70%);
}
.page-hero h1 {
  font-size: 2.6rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* --- 首页 Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-soft);
  overflow: hidden;
  padding-top: 70px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 101, 255, 0.10), transparent 65%);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.08), transparent 65%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: 3rem;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero 右侧视觉 */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  z-index: 1;
}
.hero-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.hero-card-head h4 { font-size: 1rem; color: var(--text-dark); }
.hero-card-head .tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 600;
}
.hero-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-row .label { color: var(--text-muted); font-size: 0.9rem; }
.hero-stat-row .val { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.hero-stat-row .val .up { color: #2e7d32; }

/* --- 优势卡片网格 --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 28px; height: 28px; color: var(--primary); }
.feature-card h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* --- 产品/服务卡片 --- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card-top {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-card-top svg.big {
  width: 64px;
  height: 64px;
  color: #fff;
  z-index: 2;
}
.service-card-body { padding: 28px; }
.service-card-body .num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.service-card-body h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.service-card-body p {
  color: var(--text-body);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-body);
}
.service-features li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 数据统计 --- */
.stats-band {
  background: var(--gradient);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .num .suffix { font-size: 1.4rem; }
.stat-item .label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* --- CTA 区 --- */
.cta-band {
  background: var(--gradient-soft);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 32px;
}

/* --- 关于我们 --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 {
  font-size: 2rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 20px;
}
.about-text p {
  margin-bottom: 16px;
  color: var(--text-body);
  line-height: 1.9;
}
.about-visual {
  background: var(--gradient);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-visual svg { width: 100px; height: 100px; color: rgba(255,255,255,0.9); }
.about-visual .deco {
  position: absolute;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
}

/* 价值观 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.value-card .icon svg { width: 30px; height: 30px; color: var(--primary); }
.value-card h3 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 10px; }
.value-card p { font-size: 0.92rem; color: var(--text-body); }

/* 发展历程时间线 */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}
.tl-item:nth-child(odd) { justify-content: flex-end; padding-right: 50px; }
.tl-item:nth-child(even) { justify-content: flex-start; padding-left: 50px; }
.tl-item .dot {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  z-index: 2;
}
.tl-content {
  width: 45%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.tl-content .year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.tl-content h4 { font-size: 1.05rem; color: var(--text-dark); margin-bottom: 8px; }
.tl-content p { font-size: 0.9rem; color: var(--text-body); }

/* --- 产品页 服务详情 --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail:nth-child(even) .sd-visual { order: -1; }
.sd-visual {
  height: 320px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sd-visual svg { width: 80px; height: 80px; color: rgba(255,255,255,0.9); }
.sd-content .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.sd-content h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
}
.sd-content > p {
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.8;
}
.sd-list { margin-bottom: 28px; }
.sd-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sd-list li:last-child { border-bottom: none; }
.sd-list li svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.sd-list li .li-text strong { display: block; color: var(--text-dark); font-size: 0.98rem; margin-bottom: 2px; }
.sd-list li .li-text span { font-size: 0.88rem; color: var(--text-muted); }

/* --- 联系我们 --- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 44px 36px;
  color: #fff;
}
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-list .ci-icon svg { width: 22px; height: 22px; color: #fff; }
.contact-info-list .ci-text .label { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.contact-info-list .ci-text .val { font-size: 1.05rem; font-weight: 600; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 6px; }
.contact-form .sub { color: var(--text-muted); margin-bottom: 28px; font-size: 0.92rem; }
.form-row { margin-bottom: 20px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21,101,255,0.1);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; }
.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* 地图占位 */
.map-placeholder {
  margin-top: 40px;
  height: 300px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.map-placeholder svg { width: 48px; height: 48px; color: var(--primary); }
.map-placeholder p { color: var(--text-muted); font-size: 0.92rem; }

/* --- 新闻动态 / 文章 --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.news-card .date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 1.12rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}
.news-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .more {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
}
.news-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--text-muted);
}

.article-wrap { max-width: 820px; margin: 0 auto; }
.article-head { margin-bottom: 28px; }
.article-head h1 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.article-meta { color: var(--text-muted); font-size: 0.9rem; }
.article-body {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--text-body);
  word-break: break-word;
}
.article-body h2 {
  font-size: 1.32rem; color: var(--text-dark); font-weight: 700;
  margin: 36px 0 14px; padding-left: 13px;
  border-left: 4px solid var(--primary); line-height: 1.5;
}
.article-body h3 {
  font-size: 1.12rem; color: var(--text-dark); font-weight: 700;
  margin: 26px 0 10px;
}
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 24px; list-style-position: outside; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text-dark); font-weight: 700; }
.article-body blockquote {
  margin: 0 0 16px; padding: 12px 18px;
  background: var(--primary-bg); border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0; color: var(--text-body);
}
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.article-body code {
  background: var(--bg-light); padding: 2px 6px; border-radius: 4px;
  font-family: Consolas, Monaco, monospace; font-size: 0.92em;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* --- 页脚 --- */
.footer {
  background: #0f1a3a;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--primary-light); }

/* --- 滚动动画 --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 响应式 --- */
@media (max-width: 968px) {
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .grid-3, .values-grid, .news-grid { grid-template-columns: 1fr; }
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro, .service-detail, .contact-wrap { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .sd-visual { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 0;
  }
  .tl-item .dot { left: 20px; }
  .tl-content { width: 100%; }
}
@media (max-width: 640px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 14px 16px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-menu a.active::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; }
  .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row.split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.6rem; letter-spacing: 0; }
  .section { padding: 60px 0; }
}
