/* ============================================
   数领物流科技 - 全站样式文件
   ============================================ */

/* ---------- CSS 变量定义 ---------- */
:root {
  --primary: #1a73e8;        /* 科技蓝 */
  --primary-dark: #1557b0;   /* 深蓝（hover态） */
  --primary-light: #e8f0fe;  /* 浅蓝背景 */
  --bg-light: #f8f9fa;       /* 浅灰背景 */
  --white: #ffffff;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --border-color: #e0e0e0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(26, 115, 232, 0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* ---------- 全局重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-title p {
  font-size: 16px;
  color: var(--text-gray);
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar .logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.navbar .logo span {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* 导航栏吸顶态 */
.navbar.sticky {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 汉堡菜单按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Banner ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #4fc3f7 100%);
  color: var(--white);
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}

/* 背景装饰 */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: 2px;
}

.hero-content .subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮组件 ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--primary);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

/* ---------- 卡片组件 ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

/* ---------- 服务概览 ---------- */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  text-align: center;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ---------- 企业优势数字展示 ---------- */
.stats {
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
  color: var(--white);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item h3 span {
  font-size: 24px;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.85;
}

/* ---------- 合作伙伴 ---------- */
.partners {
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  align-items: center;
}

.partner-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
}

/* ---------- CTA 引导区 ---------- */
.cta-section {
  background: var(--bg-light);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.cta-section p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 36px;
}

/* ---------- 面包屑导航 ---------- */
.breadcrumb {
  padding: 15px 0;
  font-size: 14px;
  color: var(--text-gray);
}

.breadcrumb a {
  color: var(--text-gray);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-light);
}

/* ---------- Footer 底部 ---------- */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 2;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 悬浮客服组件 ---------- */
.float-service {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 999;
}

.float-service-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.4);
  transition: var(--transition);
}

.float-service-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.5);
}

.float-service-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding: 16px;
  min-width: 200px;
  display: none;
}

.float-service-panel.active {
  display: block;
}

.float-service-panel .service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  cursor: pointer;
}

.float-service-panel .service-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.float-service-panel .service-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
}

/* ---------- 回到顶部按钮 ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  border: 1px solid var(--border-color);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- 表单样式 ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group label .required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

/* ---------- 弹窗 (Modal) ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #4caf50;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.modal p {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-gray);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--border-color);
  color: var(--text-dark);
}

/* ---------- 关于我们页 ---------- */

/* ---------- 资讯列表页 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.news-cover {
  height: 200px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-light);
}

.news-card h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.news-card h3 a {
  color: var(--text-dark);
}

.news-card h3 a:hover {
  color: var(--primary);
}

.news-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.news-read-more:hover {
  color: var(--primary-dark);
}

/* ---------- 文章详情页 ---------- */
.article-container {
  max-width: 860px;
}

.article-header {
  margin-bottom: 36px;
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
  font-size: 30px;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 16px 0;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-light);
  flex-wrap: wrap;
}

/* 文章封面图 */
.article-cover-img {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-cover-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 加载状态 */
.news-loading,
.article-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 16px;
  grid-column: 1 / -1;
}

.article-not-found {
  text-align: center;
  padding: 80px 20px;
}

.article-not-found h2 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.article-not-found p {
  font-size: 16px;
  color: var(--text-gray);
}

.news-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 16px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-gray);
  background: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.page-link.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  cursor: default;
}

.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-gray);
}

.article-content p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.article-content h2 {
  font-size: 22px;
  color: var(--text-dark);
  margin: 40px 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.article-content h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin: 28px 0 14px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0 20px 2em;
  padding-left: 0;
}

.article-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.article-content ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--text-dark);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-content a:hover {
  color: var(--primary-dark);
}

/* Quill编辑器内容样式适配 */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}

.article-content blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--primary);
  background: var(--bg-light);
  color: var(--text-gray);
  font-style: italic;
}

.article-content pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 16px 20px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
}

.article-content .ql-align-center {
  text-align: center;
}

.article-content .ql-align-right {
  text-align: right;
}

.article-content .ql-align-justify {
  text-align: justify;
}

/* 文章底部标签 */
.article-tags {
  margin: 36px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.article-tag-label {
  font-size: 14px;
  color: var(--text-gray);
  margin-right: 4px;
}

.article-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-light);
  color: var(--text-gray);
  border-radius: 16px;
  font-size: 13px;
  transition: var(--transition);
}

.article-tag:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* 相关文章推荐 */
.article-related {
  margin: 36px 0;
}

.article-related h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: 6px;
  transition: var(--transition);
}

.related-item:hover {
  background: var(--primary-light);
}

.related-title {
  font-size: 14px;
  color: var(--text-dark);
  flex: 1;
  margin-right: 16px;
}

.related-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

/* 文章底部CTA */
.article-cta {
  text-align: center;
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-top: 36px;
}

.article-cta p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 16px;
  text-indent: 2em;
}

/* ---------- 发展历程时间线 ---------- */
.timeline-section {
  background: var(--bg-light);
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--primary-light);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 28px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-light);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-date {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ---------- 资质荣誉 ---------- */
.honors .partner-item {
  min-height: 180px;
  flex-direction: column;
  gap: 8px;
  height: auto;
  padding: 20px;
}

.honors .partner-item img {
  max-height: 120px;
  width: auto;
}

/* ---------- 业务服务详情页 ---------- */
.service-detail {
  max-width: 900px;
  margin: 0 auto;
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}

.service-detail-header h2 {
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-detail-header p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
}

.service-detail-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.service-features {
  padding-left: 0;
}

.service-features li {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-gray);
  border-bottom: 1px dashed var(--border-color);
  line-height: 1.7;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li strong {
  color: var(--text-dark);
}

/* ---------- 解决方案页 ---------- */
.solution-overview p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 16px;
  text-indent: 2em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.solution-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.solution-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--primary-light);
  border-bottom: 1px solid var(--border-color);
}

.solution-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
}

.solution-card-header h3 {
  font-size: 20px;
  color: var(--text-dark);
}

.solution-card-body {
  padding: 28px;
}

.solution-item {
  margin-bottom: 20px;
}

.solution-item:last-child {
  margin-bottom: 0;
}

.solution-item h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.solution-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

.solution-item ul {
  padding-left: 20px;
}

.solution-item ul li {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 2;
  list-style: disc;
}

/* ---------- 实施流程 ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.process-step {
  position: relative;
  padding: 30px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process-step h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* 流程步骤之间的连接箭头 */
.process-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  z-index: 1;
}

/* ---------- 成功案例页 ---------- */
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tag {
  padding: 8px 24px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  font-size: 14px;
  color: var(--text-gray);
  background: var(--white);
  transition: var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.case-cover {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-body {
  padding: 24px;
}

.case-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 10px;
}

.case-body h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-body p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-data {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light);
}

.case-data strong {
  color: var(--primary);
  font-size: 15px;
}

/* ---------- 在线咨询页 ---------- */
.page-banner {
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #4fc3f7 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 20px 60px;
}

.page-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner .subtitle {
  font-size: 18px;
  opacity: 0.9;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.consult-form-wrap h2 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.btn-block {
  display: block;
  width: 100%;
}

.consult-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.consult-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-item {
  text-align: center;
  flex: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 8px;
}

.step-text {
  font-size: 14px;
  color: var(--text-gray);
}

.promise-list li {
  font-size: 14px;
  color: var(--text-gray);
  padding: 6px 0;
  line-height: 1.7;
}

.phone-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0;
}

/* ---------- 联系我们页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  text-align: center;
  padding: 32px 20px;
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin: 0 auto 16px;
}

.contact-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-highlight {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-desc {
  font-size: 13px;
  color: var(--text-light);
}

.qrcode-placeholder {
  width: 100px;
  height: 100px;
  background-color: #e0e0e0;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
  border-radius: 4px;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
  border-radius: var(--radius);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.branch-item {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.branch-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.branch-item h4 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
}

.branch-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
}

/* ---------- 页面滚动渐显动画 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   响应式适配
   ============================================ */

/* ---------- 平板 (<=768px) ---------- */
@media (max-width: 768px) {
  .navbar .container {
    height: 60px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 400px;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--bg-light);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 480px;
    padding: 100px 20px 60px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content .subtitle {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-item h3 {
    font-size: 36px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section h2 {
    font-size: 26px;
  }

  /* 关于我们页 */
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 200px !important;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding: 10px 10px 10px 50px;
    text-align: left !important;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }

  .honors .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 业务服务页 */
  .service-detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* 解决方案页 */
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  /* 成功案例页 */
  .cases-grid {
    grid-template-columns: 1fr;
  }

  /* 资讯列表页 */
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* 文章详情页 */
  .article-header h1 {
    font-size: 24px;
  }

  .article-content h2 {
    font-size: 20px;
  }

  .article-meta {
    gap: 12px;
  }

  /* 在线咨询页 */
  .page-banner h1 {
    font-size: 28px;
  }

  .consult-grid {
    grid-template-columns: 1fr;
  }

  .consult-steps {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* 联系我们页 */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-placeholder {
    height: 300px;
  }
}

/* ---------- 手机 (<=480px) ---------- */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero {
    min-height: 420px;
    padding: 90px 16px 50px;
  }

  .hero-content h1 {
    font-size: 26px;
    letter-spacing: 1px;
  }

  .hero-content .subtitle {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 30px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .float-service {
    right: 16px;
    bottom: 80px;
  }

  .back-to-top {
    right: 16px;
    bottom: 30px;
    width: 38px;
    height: 38px;
  }

  .modal {
    padding: 28px 20px;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  /* 关于我们页 */
  .honors .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 解决方案页 */
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .solution-card-header {
    padding: 16px 20px;
  }

  .solution-card-body {
    padding: 20px;
  }

  /* 成功案例页 */
  .filter-tags {
    gap: 8px;
  }

  .filter-tag {
    padding: 6px 16px;
    font-size: 13px;
  }

  /* 在线咨询页 */
  .page-banner {
    padding: 80px 16px 40px;
  }

  .page-banner h1 {
    font-size: 24px;
  }

  .phone-number {
    font-size: 22px;
  }

  /* 联系我们页 */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .branch-grid {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    height: 250px;
    font-size: 14px;
  }
}
