/* ============================================
   新疆法商咨询信息有限公司 - 门户网站样式
   基于 Baidu Miaoda/Amis 平台原始设计还原
   ============================================ */

/* --- CSS 设计令牌 (Design Tokens) --- */
:root {
  /* 品牌色 */
  --colors-brand-4: #3078f2;
  --colors-brand-5: #2468f2;
  --colors-brand-6: #0049e6;
  --colors-brand-10: #002db3;

  /* 中性文字色 */
  --colors-neutral-text-1: #ffffff;
  --colors-neutral-text-2: #f7f8fa;
  --colors-neutral-text-3: #f2f3f5;
  --colors-neutral-text-4: #e8e9eb;
  --colors-neutral-text-5: #d4d6d9;
  --colors-neutral-text-6: #b8babf;
  --colors-neutral-text-11: #070c14;

  /* 中性填充/背景色 */
  --colors-neutral-fill-3: #f2f3f5;
  --colors-neutral-fill-8: #5c5f66;
  --colors-neutral-fill-10: #151b26;
  --colors-neutral-fill-11: #070c14;

  /* 中性边框色 */
  --colors-neutral-line-8: #5c5f66;
  --colors-neutral-line-10: #151b26;

  /* 语义变量映射 */
  --primary: var(--colors-brand-5);
  --primary-hover: var(--colors-brand-6);
  --primary-active: var(--colors-brand-4);
  --primary-light-bg: rgba(36, 104, 242, 0.12);

  --text-dark: var(--colors-neutral-text-1);
  --text-body: var(--colors-neutral-text-2);
  --text-secondary: var(--colors-neutral-text-4);
  --text-muted: var(--colors-neutral-text-5);
  --text-placeholder: var(--colors-neutral-text-6);

  --header-bg: var(--colors-neutral-fill-11);
  --footer-bg: var(--colors-neutral-fill-10);
  --bg-light: var(--colors-neutral-fill-10);
  --page-bg: var(--colors-neutral-fill-11);
  --card-bg: #0f1726;
  --border-color: var(--colors-neutral-fill-8);
  --border-light: var(--colors-neutral-line-10);

  /* 排版 */
  --font-family: -apple-system, "Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, sans-serif;
  --font-size-hero: 48px;
  --font-size-section-title: 32px;
  --font-size-section-subtitle: 24px;
  --font-size-subtitle: 18px;
  --font-size-body: 14px;
  --font-size-small: 12px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* 间距与布局 */
  --header-height: 56px;
  --content-max-width: 1140px;
  --section-padding: 80px;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 40px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(7, 12, 20, 0.06);
  --shadow-md: 0 4px 6px rgba(8, 14, 26, 0.04), 0 1px 10px rgba(8, 14, 26, 0.05), 0 2px 4px rgba(8, 14, 26, 0.06);
  --shadow-lg: 0 10px 30px rgba(7, 12, 20, 0.1);
  --shadow-xl: 0 20px 50px rgba(7, 12, 20, 0.15);

  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-smooth: 0.5s 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;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-hover);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  background: none;
}

input,
textarea {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 导航栏 --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--header-bg);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo 与品牌名 */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand .logo-icon {
  width: 39px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: #fff;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.nav-brand .brand-text {
  font-family: BlinkMacSystemFont, var(--font-family);
  font-size: 19px;
  font-weight: var(--font-weight-bold);
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: var(--header-height);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition-base);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
  color: #fff;
  font-weight: var(--font-weight-semibold);
}

/* 登录入口 */
.nav-links a.nav-login {
  margin-left: 12px;
  padding: 0 22px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.nav-links a.nav-login::after {
  display: none;
}

.nav-links a.nav-login:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* 登录按钮：置于顶栏最右侧边缘 */
.nav-links li.nav-login-item {
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 汉堡菜单按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-base);
  transform-origin: center;
}

.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 --- */
.home-hero {
  position: relative;
  min-height: 500px;
  background-color: var(--header-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

/* 背景图片暗色遮罩 */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(180, 180, 180, 0.4);
  z-index: 1;
}

/* 底部波浪分隔符 */
.home-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23070c14' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,40 1440,35 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
}

.home-hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.home-hero .hero-text {
  flex: 1;
  color: #fff;
}

.home-hero .hero-subtitle {
  display: inline-block;
  background: rgba(36, 104, 242, 0.2);
  color: var(--colors-brand-6);
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  margin-bottom: 20px;
  border: 1px solid rgba(36, 104, 242, 0.3);
  letter-spacing: 1px;
}

.home-hero h1 {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.home-hero h1 .highlight {
  color: var(--colors-brand-6);
}

.home-hero .hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.home-hero .hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 40px;
  height: 44px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid var(--colors-brand-5);
  white-space: nowrap;
}

.btn-primary {
  background: var(--colors-brand-5);
  color: var(--colors-neutral-text-11);
}

.btn-primary:hover {
  background: var(--colors-brand-6);
  border-color: var(--colors-brand-6);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  height: 36px;
  padding: 0 20px;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-pill);
}

/* Hero 右侧卡片装饰 */
.home-hero .hero-visual {
  flex: 0 0 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 450px;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, z-index 0s, box-shadow 0.3s ease;
}

.hero-card:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-card:nth-child(1):hover,
.hero-card:nth-child(2):hover,
.hero-card:nth-child(3):hover {
  z-index: 999;
}

.hero-card:nth-child(1) {
  top: 0;
  right: 0;
  width: 280px;
  z-index: 3;
  animation-delay: 0s;
}

.hero-card:nth-child(2) {
  top: 90px;
  left: 0;
  width: 250px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  animation-delay: 1.3s;
}

.hero-card:nth-child(3) {
  top: 180px;
  right: 20px;
  width: 260px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  animation-delay: 2.6s;
}

.hero-card .card-icon {
  width: 44px;
  height: 44px;
  background: rgba(36, 104, 242, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hero-card .card-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-small);
}

.hero-card .card-value {
  color: #fff;
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-bold);
}

/* --- 内页 Hero --- */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--colors-neutral-text-1) 0%, #1a2030 50%, #1e2d4a 100%);
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(36, 104, 242, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath fill='%23070c14' d='M0,25 C480,50 960,0 1440,25 L1440,50 L0,50 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
}

.page-hero .hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: rgba(36, 104, 242, 0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(36, 104, 242, 0.2);
}

.page-hero h1 {
  font-size: var(--font-size-section-title);
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 24px auto;
  border-radius: 2px;
}

/* --- 通用 Section --- */
.section {
  padding: var(--section-padding) 0;
  background: var(--page-bg);
}

.section-gray {
  background: var(--bg-light);
}

/* 波浪分隔 SVG */
.wave-top {
  position: relative;
}

.wave-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23111827' d='M0,20 C360,40 720,0 1080,20 C1260,30 1380,28 1440,24 L1440,40 L0,40 Z'/%3E%3C/svg%3E") no-repeat top center;
  background-size: 100% 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: var(--font-size-section-subtitle);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* --- 服务卡片网格 (2 列桌面端) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* --- 服务卡片 --- */
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light-bg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .card-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(36, 104, 242, 0.06);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.service-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.service-card:hover .card-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-bold);
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-secondary);
  font-size: var(--font-size-body);
  line-height: 1.7;
}

/* --- 服务卡片含图片 --- */
.service-card-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #e0e0e0;
  background: var(--card-bg);
  transition: all var(--transition-base);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation: float 3s ease-in-out infinite;
  margin: 15px;
}

.service-card-img:hover {
  animation: none;
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  border-color: var(--primary);
}

.service-card-img:nth-child(1) { animation-delay: 0s; }
.service-card-img:nth-child(2) { animation-delay: 0.75s; }
.service-card-img:nth-child(3) { animation-delay: 1.5s; }
.service-card-img:nth-child(4) { animation-delay: 2.25s; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.service-card-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 1024px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.service-card-img .card-body {
  padding: 20px;
}

.service-card-img h3 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-card-img p {
  font-size: var(--font-size-body);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 公司概况 Section --- */
.about-section {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.about-visual {
  flex: 0 0 420px;
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  position: relative;
  overflow: hidden;
}

.about-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%);
  background-size: 20px 20px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(36, 104, 242, 0.4);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: var(--font-size-section-subtitle);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.about-text .about-tag {
  display: inline-block;
  color: var(--primary);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 15px;
}

.about-stats {
  display: flex;
  gap: 40px;
}

.about-stat {
  text-align: center;
}

.about-stat .stat-num {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary);
}

.about-stat .stat-label {
  font-size: var(--font-size-small);
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- 详情页内容 --- */
.content-section {
  padding: 60px 0;
}

.content-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 28px;
  transition: all var(--transition-base);
}

.content-card:hover {
  box-shadow: var(--shadow-md);
}

.content-card h3 {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-card h3 .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.content-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}

/* --- 案例卡片 --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light-bg);
}

.case-card .case-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.case-card .case-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.2));
}

.case-card .case-body {
  padding: 24px;
}

.case-card .case-tag {
  display: inline-block;
  background: var(--primary-light-bg);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 12px;
}

.case-card h4 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.case-card p {
  color: var(--text-secondary);
  font-size: var(--font-size-body);
  line-height: 1.6;
}

/* --- 公司展示 - 理念标语区域 --- */
.company-slogan {
  
  padding: 60px 0;
  text-align: center;
}

.slogan-content h2 {
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.slogan-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* --- 渐变按钮 --- */
.btn-gradient {
  position: relative;
  background: var(--colors-brand-5);
  color: #fff !important;
  border-radius: 0;
  border-color: var(--colors-brand-5);
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.4s ease-in-out;
  z-index: 0;
}

.btn-gradient:hover::before {
  left: 0;
}

.btn-gradient:hover {
  color: #000 !important;
  border-color: #fff;
}

.btn-gradient span,
.btn-gradient svg {
  position: relative;
  z-index: 1;
}

.btn-gradient span {
  display: inline-flex;
  align-items: center;
}

/* --- 业务服务 - 4列服务卡片 --- */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-item {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: transform var(--transition-base);
}

.service-item:hover {
  transform: translateY(-4px);
}

.service-item-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.service-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item h3 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: 12px;
}

.service-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* --- 公司展示 - 理念与优势 --- */
.about-banner {
  background: var(--primary);
  padding: 40px 0;
  margin-bottom: 40px;
}

.about-banner-content {
  text-align: center;
}

.about-banner-content h2 {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: 12px;
}

.about-banner-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-item {
  display: flex;
  gap: 16px;
}

.about-num {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  color: rgba(36, 104, 242, 0.15);
  line-height: 1;
  flex-shrink: 0;
}

.about-content h3 {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 12px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 核心团队 --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light-bg);
}

.team-card .team-photo {
  height: 220px;
  overflow: hidden;
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-card .team-position {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.team-card .team-name {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  text-align: center;
}

.team-card p {
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: var(--font-size-body);
  line-height: 1.6;
}

/* --- 新闻卡片 --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light-bg);
}

.news-card .news-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: var(--radius-md);
}

.news-card .news-overlay-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  clip-path: polygon(0 100%, 0 100%, 100% 0, 100% 0);
  transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-overlay-left {
  clip-path: polygon(0 100%, 0 0, 100% 0, 100% 0);
}

.news-card .news-overlay-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  clip-path: polygon(0 100%, 0 100%, 100% 0, 100% 0);
  transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-overlay-right {
  clip-path: polygon(0 100%, 0 100%, 100% 0, 100% 100%);
}

.news-card .news-overlay-content {
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  position: relative;
  z-index: 3;
  transition: all 0.4s ease 0.15s;
}

.news-card:hover .news-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

.news-card .news-overlay h4 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: #fff;
  margin-bottom: 12px;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.news-card .news-overlay-btn {
  display: inline-block;
  padding: 8px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.news-card .news-overlay-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.news-card .news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  z-index: 1;
}

.news-card .news-badge span {
  font-size: 9px;
  font-weight: normal;
  opacity: 0.8;
  line-height: 1;
}

.news-card .news-tag-vertical {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 2px;
  z-index: 1;
}

.news-card .news-tag-vertical.policy {
  background: rgba(36, 104, 242, 0.9);
  color: #fff;
}

.news-card .news-tag-vertical.company {
  background: rgba(26, 188, 156, 0.9);
  color: #fff;
}

.news-card .news-tag-vertical.industry {
  background: rgba(39, 174, 96, 0.9);
  color: #fff;
}

.news-card .news-body {
  padding: 16px;
}

.news-card h4 {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 联系我们页面 --- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.contact-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contact-info-card:hover .contact-card-img {
  transform: scale(1.05);
}

.contact-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--card-bg) 100%);
}

.contact-card-body {
  padding: 36px;
  position: relative;
}

.contact-card-body h3 {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-card-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item .contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

.contact-item .contact-detail h4 {
  font-size: var(--font-size-small);
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item .contact-detail p {
  font-weight: var(--font-weight-semibold);
  font-size: 15px;
  color: var(--text-dark);
}

/* 联系表单 - section-cta 区域 */
.contact-form-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-desc {
  font-size: 15px;
  color: var(--primary);
  font-weight: var(--font-weight-semibold);
}

.contact-form-card > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e74c3c;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-body);
  font-family: inherit;
  transition: all var(--transition-base);
  background: var(--page-bg);
  color: var(--text-body);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-placeholder);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light-bg);
  background: var(--card-bg);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
  height: 52px;
}

.form-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(36, 104, 242, 0.4);
}

.form-submit:active {
  background: var(--primary-active);
  transform: translateY(0);
}

/* --- 服务详情列表 --- */
.service-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-detail-item {
  display: flex;
  gap: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  align-items: flex-start;
}

.service-detail-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light-bg);
}

.service-detail-item .sd-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.service-detail-item:hover .sd-icon {
  transform: scale(1.1);
}

.service-detail-item .sd-content h4 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-detail-item .sd-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--font-size-body);
}

/* --- 服务入口 (em-service2 布局) --- */
.em-service2-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.em-service2-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light-bg);
}

.em-service2-icon {
  float: left;
  width: 48px;
  height: 48px;
  background: var(--primary-light-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-right: 16px;
}

.em-service2-content {
  overflow: hidden;
}

.em-service2-content h4 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 6px;
}

.em-service2-content p {
  font-size: var(--font-size-body);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- CTA 行动号召区 --- */
.section-cta {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.section-cta h2 {
  font-size: var(--font-size-section-subtitle);
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
}

.section-cta p {
  font-size: 16px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.section-cta .btn {
  background: #fff;
  color: var(--primary);
}

.section-cta .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 底部波浪装饰 bottom_shape */
.bottom-shape {
  position: relative;
}

.bottom-shape::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23070c14' d='M0,20 C360,40 720,0 1080,20 C1260,30 1380,28 1440,25 L1440,40 L0,40 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
}

/* --- 页脚 --- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand h3 {
  color: #fff;
  font-size: var(--font-size-subtitle);
  font-weight: var(--font-weight-bold);
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.7;
  font-size: var(--font-size-body);
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  color: #fff;
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--font-size-body);
  margin-bottom: 10px;
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.35);
}

/* --- SlideInUp 动画 --- */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 滚动渐入动画 --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease forwards, transform 0.5s ease forwards;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  animation: slideInUp 0.5s ease forwards;
}

/* --- 分页组件 --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-body);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
  background: var(--card-bg);
}

.pagination-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination-prev,
.pagination-next {
  width: auto;
  padding: 0 12px;
}

/* --- Toast 提示 (CSS 备用, 主要由 JS 注入) --- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--header-bg);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-success {
  border-left: 4px solid #27ae60;
}

.toast-warning {
  border-left: 4px solid #f39c12;
}

/* --- Modal 弹窗 (CSS 备用) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.show {
  opacity: 1;
}

.modal-content {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 520px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-xl);
}

.modal-overlay.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--page-bg);
  color: var(--text-dark);
}

.modal-content h3 {
  font-size: var(--font-size-subtitle);
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-right: 30px;
  font-weight: var(--font-weight-bold);
}

.modal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-line;
  font-size: 15px;
}

/* --- img-box + detail-box 并排卡片 (业务服务页) --- */
.business-card {
  display: flex;
  gap: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-base);
  margin-bottom: 24px;
}

.business-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light-bg);
}

.business-card .img-box {
  flex: 0 0 200px;
  min-height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.5);
}

.business-card .detail-box {
  flex: 1;
  padding: 28px;
}

.business-card .detail-box h4 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--text-dark);
  margin-bottom: 10px;
}

.business-card .detail-box p {
  font-size: var(--font-size-body);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 响应式设计 --- */

/* 平板端 (<=1024px) */
@media (max-width: 1024px) {
  .home-hero .container {
    flex-direction: column;
    text-align: center;
  }

  .home-hero .hero-desc {
    margin: 0 auto 36px;
  }

  .home-hero .hero-btns {
    justify-content: center;
  }

  .home-hero .hero-visual {
    flex: 0 0 auto;
  }

  .about-section {
    flex-direction: column;
  }

  .about-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 移动端 (<=768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
    --font-size-hero: 32px;
    --font-size-section-title: 24px;
    --font-size-section-subtitle: 20px;
    --section-padding: 50px;
  }

  /* 汉堡菜单 */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--header-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 16px;
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.nav-login {
    width: auto;
    margin: 16px auto 0;
    padding: 10px 36px;
  }

  .nav-links li.nav-login-item {
    position: static;
  }

  /* 首页 Hero */
  .home-hero {
    min-height: 400px;
    padding: 60px 0;
  }

  .home-hero h1 {
    font-size: 28px;
  }

  .home-hero .hero-desc {
    font-size: 15px;
  }

  /* 内页 Hero */
  .page-hero {
    padding: 60px 0 50px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .page-hero p {
    font-size: var(--font-size-body);
  }

  /* 卡片堆叠 */
  .hero-card-stack {
    width: 280px;
    height: 380px;
  }

  .hero-card:nth-child(1) { width: 220px; }
  .hero-card:nth-child(2) { width: 200px; top: 70px; }
  .hero-card:nth-child(3) { width: 210px; top: 140px; }

  /* Section */
  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .section-header p {
    font-size: var(--font-size-body);
  }

  /* 网格变单列 */
  .services-grid,
  .cases-grid,
  .news-grid,
  .team-grid,
  .about-grid,
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-banner-content h2 {
    font-size: 24px;
  }

  .about-banner-content p {
    font-size: 15px;
  }

  .about-num {
    font-size: 36px;
  }

  .about-content h3 {
    font-size: 18px;
  }

  

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* 内容卡片 */
  .content-card {
    padding: 24px;
  }

  /* 联系我们 */
  .contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 28px;
  }

  .contact-card-header {
    height: 160px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* 服务详情 */
  .service-detail-item {
    flex-direction: column;
  }

  /* 业务卡片 */
  .business-card {
    flex-direction: column;
  }

  .business-card .img-box {
    flex: 0 0 auto;
    min-height: 120px;
  }
}

/* 小屏手机 (<=480px) */
@media (max-width: 480px) {
  .home-hero {
    padding: 50px 0 40px;
  }

  .home-hero h1 {
    font-size: 24px;
  }

  .hero-card-stack {
    display: none;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about-visual {
    max-width: 100%;
  }

  .about-img-placeholder {
    height: 260px;
  }
}
