/* 成都米乐高图像科技有限公司 - 站点公共样式 */
:root {
  --ink: #0a1124;
  --ink-2: #121c39;
  --ink-3: #1b294b;
  --text: #1a2440;
  --muted: #6c7791;
  --line: #e6eaf2;
  --paper: #f6f8fc;
  --white: #ffffff;
  --cyan: #21d4fd;
  --blue: #2b7cff;
  --violet: #7b5cff;
  --pink: #ff6ba8;
  --grad: linear-gradient(120deg, #21d4fd 0%, #2b7cff 45%, #7b5cff 100%);
  --shadow: 0 18px 45px rgba(14, 28, 60, 0.09);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; color: var(--ink); }
p { margin: 0 0 14px; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  height: 40px;
  background: var(--ink);
  color: #b8c4df;
  font-size: 13px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar strong { color: #fff; font-size: 15px; letter-spacing: .5px; }
.topbar a:hover { color: var(--cyan); }
.topbar .divider { width: 1px; height: 13px; background: #35415f; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 35, 70, .06);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(12, 24, 52, .10); }
.header-inner { height: 78px; display: flex; align-items: center; gap: 30px; }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -1px;
  box-shadow: 0 8px 18px rgba(43, 124, 255, .28);
}
.logo-text b { display: block; font-size: 17px; color: var(--ink); line-height: 1.25; letter-spacing: .5px; }
.logo-text small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 12px 15px; font-size: 15px; font-weight: 600; color: #24304d;
  border-radius: 8px; transition: .2s ease;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--blue); background: #f0f5ff; }
.nav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .2s ease;
}
.nav > li:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub a { display: block; padding: 8px 12px; font-size: 14px; color: #465270; border-radius: 6px; }
.nav .sub a:hover { background: #f0f5ff; color: var(--blue); }
.header-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 30px; background: var(--grad); color: #fff;
  font-weight: 600; font-size: 14px; box-shadow: 0 8px 20px rgba(43, 124, 255, .25);
}
.header-cta:hover { color: #fff; filter: brightness(1.08); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: #eef3ff; border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-2); margin: 5px auto; border-radius: 2px; }

/* ---------- 首页 Banner ---------- */
.hero {
  position: relative; min-height: 560px; overflow: hidden;
  background: var(--ink) url("../assets/hero.svg") center/cover no-repeat;
  color: #fff; display: flex; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 34, .94) 0%, rgba(8, 15, 34, .72) 48%, rgba(8, 15, 34, .18) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 80px 0 70px; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .07);
  font-size: 13px; letter-spacing: .5px; color: #cfe6ff; margin-bottom: 26px;
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 62px); letter-spacing: 1px; line-height: 1.2; }
.hero h1 span {
  background: linear-gradient(100deg, #65e7ff, #8aa8ff 55%, #c39cff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .hero-sub { margin: 22px 0 8px; font-size: 19px; color: #d8e4ff; font-weight: 500; }
.hero .hero-desc { font-size: 15px; color: #a9b8d8; max-width: 600px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 32px; font-weight: 600; font-size: 15px; transition: .2s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(43, 124, 255, .3); }
.btn-primary:hover { filter: brightness(1.1); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-dark { background: var(--ink-2); color: #fff; }
.btn-dark:hover { background: var(--blue); color: #fff; }
.hero-stats { display: flex; gap: 46px; margin-top: 56px; }
.hero-stats div { border-left: 2px solid rgba(33, 212, 253, .55); padding-left: 16px; }
.hero-stats b { display: block; font-size: 30px; color: #fff; line-height: 1.2; }
.hero-stats span { font-size: 13px; color: #9fb0d3; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 68px 0; }
.section-white { background: #fff; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: #d5def3; }
.section-head { margin-bottom: 42px; }
.section-head.center { text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--blue); text-transform: uppercase; margin-bottom: 10px;
}
.section-dark .section-eyebrow { color: var(--cyan); }
.section-title { font-size: clamp(26px, 3vw, 38px); letter-spacing: .5px; }
.section-title::after {
  content: ""; display: block; width: 54px; height: 3px; border-radius: 2px;
  background: var(--grad); margin-top: 16px;
}
.section-head.center .section-title::after { margin-left: auto; margin-right: auto; }
.section-desc { color: var(--muted); margin-top: 16px; max-width: 760px; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }
.section-dark .section-desc, .section-dark .section-title { color: #dce6fa; }
.more-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 14px; }
.more-link:hover { gap: 13px; }

/* ---------- 服务卡片 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s ease; box-shadow: 0 6px 18px rgba(20, 40, 80, .04);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfdcf8; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .tag {
  position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 20px;
  background: rgba(10, 17, 36, .7); color: #b9e9ff; font-size: 12px; backdrop-filter: blur(6px);
}
.card-body { padding: 24px 24px 26px; }
.card-title { font-size: 20px; margin-bottom: 10px; }
.card-text { color: var(--muted); font-size: 14px; min-height: 50px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  color: var(--blue); font-weight: 600; font-size: 14px;
}
.card-link::after { content: "→"; transition: transform .2s ease; }
.card:hover .card-link::after { transform: translateX(5px); }

/* ---------- 优势 ---------- */
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-item {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.adv-num {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.adv-item h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.adv-item p { color: #aebbd6; font-size: 14px; margin: 0; }
.adv-item small { display: block; color: #7f8fb0; font-size: 12px; margin-top: 8px; }

/* ---------- 图文分栏 ---------- */
.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; }
.split-body h3 { font-size: 26px; margin-bottom: 16px; }
.split-body p { color: var(--muted); }
.check-list { margin: 22px 0 26px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #394665; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%;
  background: #e8f5ff; border: 4px solid var(--blue);
}

/* ---------- 案例 ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-card {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--ink);
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover img { transform: scale(1.08); }
.case-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6, 12, 28, .93) 0%, rgba(6, 12, 28, .1) 62%);
}
.case-card .case-info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; color: #fff; }
.case-card .case-info small { display: block; color: #7de2ff; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 4px; }
.case-card .case-info b { font-size: 15px; line-height: 1.5; font-weight: 600; }
.case-card .case-info span { display: block; opacity: 0; max-height: 0; overflow: hidden; font-size: 12px; color: #b9c9e6; transition: .25s ease; }
.case-card:hover .case-info span { opacity: 1; max-height: 60px; margin-top: 6px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- 新闻卡片 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card .card-media { aspect-ratio: 16 / 9; }
.news-card-body { padding: 18px 20px 22px; }
.news-card-body h3 { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
.news-card-body p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #95a0b8; }
.news-meta em { font-style: normal; color: var(--blue); font-weight: 700; }

/* ---------- 视频 /  partners ---------- */
.video-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.video-box { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.video-box img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(33, 212, 253, .22); display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(4px); color: #fff; font-size: 24px; transition: .2s ease;
}
.play-btn:hover { background: rgba(33, 212, 253, .45); transform: translate(-50%, -50%) scale(1.08); }
.video-note { font-size: 12px; color: #8d9ab8; margin-top: 10px; }
.partners { display: flex; flex-wrap: wrap; gap: 12px; }
.partners span {
  padding: 10px 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; color: #4a5673;
}

/* ---------- 内页 Banner ---------- */
.page-banner {
  position: relative; padding: 64px 0 62px; overflow: hidden; color: #fff;
  background: var(--ink) url("../assets/banner.svg") center/cover no-repeat;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 34, .93), rgba(8, 15, 34, .55));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: 36px; letter-spacing: 1px; }
.page-banner p { color: #a7b8dc; margin: 12px 0 0; max-width: 720px; font-size: 15px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #93a5ca; margin-top: 20px; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: #e7f3ff; }

/* ---------- 内页两栏 ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.main-col { min-width: 0; }
.side-col { display: grid; gap: 22px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.widget h3 {
  font-size: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); position: relative;
}
.widget h3::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--grad); border-radius: 2px;
}
.widget-body { padding: 16px 20px 20px; }
.widget-links li { border-bottom: 1px dashed var(--line); }
.widget-links li:last-child { border-bottom: 0; }
.widget-links a { display: block; padding: 11px 4px; font-size: 14px; color: #4a5673; }
.widget-links a:hover, .widget-links a.active { color: var(--blue); padding-left: 12px; }
.widget-call { text-align: center; }
.widget-call .phone { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: .5px; }
.widget-call .person { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.widget-call .btn { width: 100%; }
.widget-qr { width: 150px; height: 150px; margin: 0 auto 8px; border: 1px solid var(--line); border-radius: 8px; }
.widget-qr img { width: 100%; height: 100%; }
.widget-tip { font-size: 12px; color: #98a2b7; text-align: center; }

/* ---------- 新闻列表 ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-tabs button {
  border: 1px solid var(--line); background: #fff; color: #53617e; padding: 9px 22px;
  border-radius: 24px; font-size: 14px; cursor: pointer; transition: .2s ease;
}
.filter-tabs button.active { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.news-list { display: grid; gap: 16px; }
.news-row {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: .2s ease;
}
.news-row:hover { box-shadow: var(--shadow); border-color: #cfdcf8; }
.news-row .news-thumb { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.news-row .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row h3 { font-size: 18px; margin-bottom: 8px; }
.news-row h3:hover { color: var(--blue); }
.news-row p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.news-tag { display: inline-block; padding: 2px 10px; border-radius: 4px; background: #eef4ff; color: var(--blue); font-size: 12px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #57637f; font-size: 14px;
}
.pager .current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 新闻详情 ---------- */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 42px 42px; }
.article h1 { font-size: 30px; line-height: 1.45; margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: #8b96ae; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-lead {
  padding: 18px 22px; background: #f2f7ff; border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0;
  color: #3f4d6b; font-size: 15px; margin-bottom: 28px;
}
.article-body p { color: #3d4a68; margin-bottom: 18px; font-size: 15.5px; }
.article-body h2 { font-size: 21px; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--blue); }
.article-body img { width: 100%; border-radius: 10px; margin: 12px 0 20px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.article-tags a { padding: 5px 14px; background: #f2f5fa; border-radius: 16px; font-size: 12px; color: #67738f; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.article-nav a {
  padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: #4d5a76;
}
.article-nav a b { display: block; color: #95a0b8; font-size: 12px; font-weight: 500; margin-bottom: 4px; }
.article-nav a:last-child { text-align: right; }
.article-nav a:hover { border-color: var(--blue); color: var(--blue); }
.related { margin-top: 34px; }
.related h3 { font-size: 18px; margin-bottom: 16px; }
.related ul { display: grid; gap: 10px; }
.related li { padding-left: 16px; position: relative; font-size: 14px; color: #4d5a76; }
.related li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- 产品详情 ---------- */
.product-hero { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); min-height: 330px; }
.product-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.product-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 12, 28, .92), rgba(6, 12, 28, .28)); }
.product-hero .ph-text { position: relative; z-index: 2; padding: 60px 46px; color: #fff; max-width: 660px; }
.product-hero .ph-text small { color: #6ee0ff; letter-spacing: 2px; font-size: 12px; }
.product-hero .ph-text h1 { color: #fff; font-size: 34px; margin: 12px 0 14px; }
.product-hero .ph-text p { color: #c0ceea; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; margin-top: 24px; }
.panel h2 { font-size: 23px; margin-bottom: 18px; }
.panel > p { color: #4c5976; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.feature-item { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcff; }
.feature-item b { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }
.feature-item span { font-size: 13px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.step { position: relative; padding: 20px 18px; border-radius: 10px; background: #f3f7ff; }
.step i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.step b { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 4px; }
.step span { font-size: 12.5px; color: var(--muted); }
.inquiry-cta {
  margin-top: 24px; padding: 34px 38px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(110deg, #10204a, #1c3b7a 60%, #254a9e);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.inquiry-cta h3 { color: #fff; font-size: 24px; }
.inquiry-cta p { color: #b6c9ee; margin: 6px 0 0; font-size: 14px; }
.inquiry-cta .btn { flex: 0 0 auto; }

/* ---------- 关于 / 案例 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.value-item { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.value-item b { display: block; color: var(--blue); font-size: 24px; margin-bottom: 6px; }
.value-item span { color: var(--muted); font-size: 14px; }
.case-archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.contact-card h3 { font-size: 20px; margin-bottom: 20px; }
.contact-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico { flex: 0 0 38px; height: 38px; border-radius: 10px; background: #eef4ff; color: var(--blue); display: grid; place-items: center; font-size: 18px; }
.contact-line b { display: block; font-size: 14px; color: var(--ink-2); }
.contact-line span { font-size: 14px; color: var(--muted); }
.contact-form label { display: block; font-size: 13px; color: #465270; margin-bottom: 6px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1px solid #dfe5f0; border-radius: 8px;
  font: inherit; font-size: 14px; color: var(--text); background: #fff; outline: none; transition: .2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 124, 255, .1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-msg { font-size: 13px; color: var(--blue); min-height: 20px; }
.wechat-inline {
  display: flex; align-items: center; gap: 16px; margin-top: 16px;
  padding-top: 18px; border-top: 1px dashed var(--line);
}
.wechat-inline img { width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 8px; flex: 0 0 auto; }
.wechat-inline b { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 4px; }
.wechat-inline span { display: block; font-size: 13px; color: var(--muted); line-height: 1.7; }
.wechat-inline small { display: block; font-size: 11px; color: #a2acc0; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #9eacc9; padding-top: 62px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer .logo-text b { color: #fff; }
.footer-intro { font-size: 13px; color: #8796b6; margin-top: 18px; max-width: 330px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 9px; font-size: 13px; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact li { font-size: 13px; margin-bottom: 10px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 20px 0;
  font-size: 12px; color: #7686a8; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 18px; box-shadow: 0 8px 20px rgba(43, 124, 255, .3);
  opacity: 0; visibility: hidden; transition: .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 滚动显现 ---------- */
/* 保证内容在脚本未执行或动画未完成时始终可见 */
.reveal { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav > li > a { padding: 10px 10px; font-size: 14px; }
  .header-cta { padding: 9px 14px; }
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}
@media (max-width: 900px) {
  .container { width: min(100% - 32px, 1200px); }
  .topbar-left .topbar-hide, .topbar-right .topbar-hide { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 16px 18px; max-height: 70vh; overflow-y: auto;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 12px; min-width: 0; }
  .header-cta { display: none; }
  .hero { min-height: 500px; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 24px; }
  .services-grid, .advantages, .feature-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: 1fr; }
  .side-col { grid-template-columns: 1fr 1fr; }
  .feature-split, .video-band, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .case-archive { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 48px 0; }
}
@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .section.tight { padding: 48px 0; }
  .topbar { height: 34px; font-size: 12px; }
  .header-inner { height: 66px; }
  .logo-text b { font-size: 15px; }
  .hero-inner { padding: 60px 0 50px; }
  .hero h1 { font-size: 34px; }
  .hero .hero-sub { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 18px 28px; margin-top: 38px; }
  .services-grid, .advantages, .feature-grid, .value-grid, .cases-grid, .news-grid, .case-archive, .side-col, .form-row { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .news-row .news-thumb { aspect-ratio: 16 / 8; }
  .article { padding: 24px 20px 28px; }
  .article h1 { font-size: 23px; }
  .article-nav { grid-template-columns: 1fr; }
  .panel { padding: 24px 20px; }
  .product-hero .ph-text { padding: 38px 24px; }
  .product-hero .ph-text h1 { font-size: 26px; }
  .inquiry-cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { display: block; }
  .back-top { right: 14px; bottom: 16px; }
}
