/* ==========================================================================
   卓易格（上海）电子科技有限公司 — 官网样式表
   主色 #EA3C2B / 深色 #2D2C32 / 正文 #434343
   ========================================================================== */

:root {
  --primary: #ea3c2b;
  --primary-dark: #c9301f;
  --primary-soft: #fdf0ee;
  --dark: #2d2c32;
  --dark-2: #222127;
  --dark-3: #3e3d44;
  --text: #434343;
  --text-2: #666666;
  --muted: #919191;
  --line: #e8e8e8;
  --bg-soft: #f7f8fa;
  --radius: 4px;
  --max: 1240px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .06);
  --shadow: 0 10px 34px rgba(0, 0, 0, .10);
  --t: .3s cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--t); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 通用标题 ---------- */
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .en {
  display: block;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.sec-head h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .5px;
  line-height: 1.35;
}
.sec-head .line {
  width: 42px; height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}
.sec-head p { color: var(--text-2); margin-top: 14px; font-size: 14px; }
.sec-head.left { text-align: left; }
.sec-head.left .line { margin-left: 0; }

section { padding: 74px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-dark .sec-head h2 { color: #fff; }
.sec-dark .sec-head .en { color: rgba(255, 255, 255, .45); }
.sec-dark .sec-head p { color: rgba(255, 255, 255, .65); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  font-size: 14px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--t);
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--dark); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.arrow { font-family: Arial, sans-serif; }

/* ==========================================================================
   顶部语言条
   ========================================================================== */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 34px;
  height: 34px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar .tb-left { display: flex; gap: 20px; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: rgba(255, 255, 255, .62); }
.topbar a:hover { color: #fff; }
.topbar .lang { display: flex; }
.topbar .lang a {
  padding: 0 11px;
  border-left: 1px solid rgba(255, 255, 255, .13);
  line-height: 12px;
  margin: 11px 0;
}
.topbar .lang a:first-child { border-left: 0; }
.topbar .lang a.active { color: var(--primary); font-weight: 600; }

/* ==========================================================================
   页头 / 导航
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 900;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-link { display: inline-flex; align-items: center; }
.brand .mark {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff7355 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
}
.brand .txt { display: flex; flex-direction: column; justify-content: center; }
.brand .txt .cn {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: .3px;
  white-space: nowrap;
}
.brand .txt .en {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .04em;
  line-height: 1.45;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 主导航 */
.main-nav { display: flex; align-items: stretch; height: 100%; }
.main-nav > li { position: relative; display: flex; align-items: center; }
.main-nav > li > a {
  display: block;
  padding: 0 17px;
  font-size: 15px;
  color: var(--text);
  line-height: 82px;
  position: relative;
  white-space: nowrap;
}
.main-nav > li > a::after {
  content: "";
  position: absolute;
  left: 17px; right: 17px; bottom: 20px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.main-nav > li:hover > a,
.main-nav > li > a.active { color: var(--primary); }
.main-nav > li:hover > a::after,
.main-nav > li > a.active::after { transform: scaleX(1); }

/* 下拉 */
.main-nav .sub {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(8px);
  min-width: 152px;
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 2px solid var(--primary);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--t);
}
.main-nav > li:hover .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.main-nav .sub li a {
  display: block;
  padding: 9px 22px;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
}
.main-nav .sub li a:hover { background: var(--primary-soft); color: var(--primary); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 11px 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--t);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero 轮播
   ========================================================================== */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--dark); }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 33, 39, .90) 0%, rgba(34, 33, 39, .62) 52%, rgba(34, 33, 39, .30) 100%);
}
.hero-slide.on { opacity: 1; }
.hero-slide .container { position: relative; z-index: 2; }
.hero-txt { max-width: 640px; color: #fff; }
.hero-txt .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: 11px;
  margin-bottom: 20px;
}
.hero-txt h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-txt h1 em { font-style: normal; color: var(--primary); }
.hero-txt p {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.hero-dots button {
  width: 34px; height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: var(--t);
}
.hero-dots button.on { background: var(--primary); width: 48px; }

/* 快捷服务条 */
.quick-bar { background: var(--primary); color: #fff; }
.quick-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.quick-bar .qb {
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.quick-bar .qb:first-child { border-left: 0; }
.quick-bar .qb .n { font-size: 24px; font-weight: 700; line-height: 1; font-family: Arial, sans-serif; }
.quick-bar .qb .l { font-size: 13px; line-height: 1.5; opacity: .95; }
.quick-bar .qb .l b { display: block; font-size: 15px; font-weight: 600; }

/* ==========================================================================
   服务卡片（三卡）
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px 32px 34px;
  text-align: center;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--t);
}
.svc-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-5px); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .ico {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.svc-card:hover .ico { background: var(--primary); }
.svc-card .ico img { width: 38px; height: 38px; object-fit: contain; transition: var(--t); }
.svc-card .ico svg { width: 36px; height: 36px; stroke: var(--primary); transition: var(--t); }
.svc-card:hover .ico svg { stroke: #fff; }
.svc-card h3 { font-size: 19px; color: var(--dark); font-weight: 600; margin-bottom: 10px; }
.svc-card p { color: var(--text-2); font-size: 13.5px; }
.svc-card .tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.svc-card .tags span {
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 12px;
  border-radius: 20px;
}

/* ==========================================================================
   企业概况（图文分栏）
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 6px; width: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute;
  right: -16px; bottom: -16px;
  background: var(--primary);
  color: #fff;
  padding: 22px 26px;
  border-radius: 6px;
  text-align: center;
  box-shadow: var(--shadow);
}
.split-media .badge b { display: block; font-size: 34px; font-weight: 700; line-height: 1; font-family: Arial, sans-serif; }
.split-media .badge span { font-size: 12.5px; letter-spacing: .06em; opacity: .92; }
.split-body .sec-head { margin-bottom: 22px; }
.split-body p { color: var(--text-2); margin-bottom: 15px; text-align: justify; }
.split-body p strong { color: var(--dark); font-weight: 600; }
.hl { color: var(--primary); font-weight: 600; }

.kv-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.kv-tags span {
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 6px 17px;
  font-size: 13px;
  color: var(--text-2);
  background: #fff;
}

/* 数字统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.stat { text-align: center; padding: 24px 10px; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.stat b {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  font-family: Arial, sans-serif;
}
.stat span { font-size: 13px; color: var(--text-2); }

/* ==========================================================================
   产品分类 Tab
   ========================================================================== */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.tabs button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  padding: 9px 26px;
  border-radius: 40px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--t);
}
.tabs button:hover { border-color: var(--primary); color: var(--primary); }
.tabs button.on { background: var(--primary); border-color: var(--primary); color: #fff; }

.tab-pane { display: none; }
.tab-pane.on { display: block; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 产品/器件网格 */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--t);
  background: #fff;
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.prod-card .thumb {
  height: 158px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.prod-card:hover .thumb img { transform: scale(1.07); }
.prod-card .body { padding: 18px 20px 20px; }
.prod-card h4 { font-size: 15.5px; color: var(--dark); font-weight: 600; margin-bottom: 7px; }
.prod-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ==========================================================================
   品牌轮播（代理经销）
   ========================================================================== */
.brand-swiper { position: relative; overflow: hidden; padding: 6px 0 10px; }
.brand-track { display: flex; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.brand-item {
  flex: 0 0 20%;
  padding: 0 12px;
}
.brand-item .inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--t);
}
.brand-item .inner img {
  max-height: 62px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: var(--t);
}
.brand-item .inner:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.brand-item .inner:hover img { filter: none; opacity: 1; }
.brand-name { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

.swiper-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.swiper-nav button {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.swiper-nav button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 品牌说明列表 */
.brand-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.brand-notes .bn {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  padding: 18px 22px;
}
.brand-notes .bn b { display: block; color: var(--dark); font-size: 14.5px; margin-bottom: 5px; }
.brand-notes .bn p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* ==========================================================================
   应用领域
   ========================================================================== */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card {
  position: relative;
  height: 232px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.app-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 29, 34, .86) 0%, rgba(30, 29, 34, .28) 55%, rgba(30, 29, 34, .12) 100%);
  transition: var(--t);
}
.app-card:hover img { transform: scale(1.08); }
.app-card:hover::after { background: linear-gradient(0deg, rgba(234, 60, 43, .88) 0%, rgba(30, 29, 34, .3) 60%, rgba(30, 29, 34, .1) 100%); }
.app-card .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  z-index: 2;
  color: #fff;
}
.app-card .cap b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.app-card .cap span { font-size: 12.5px; color: rgba(255, 255, 255, .82); }

/* ==========================================================================
   新闻
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.news-card .thumb { height: 178px; overflow: hidden; background: var(--bg-soft); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.news-card .meta .tag {
  font-size: 11.5px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 10px;
  border-radius: 3px;
}
.news-card .meta time { font-size: 12.5px; color: var(--muted); }
.news-card h4 {
  font-size: 16px;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.55;
  transition: color var(--t);
}
.news-card:hover h4 { color: var(--primary); }
.news-card p { font-size: 13px; color: var(--text-2); margin-top: 10px; flex: 1; }
.news-card .more { margin-top: 16px; font-size: 13px; color: var(--primary); }

/* ==========================================================================
   合作伙伴 logo 墙
   ========================================================================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.partner-grid .p {
  background: #fff;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  transition: var(--t);
}
.partner-grid .p img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: var(--t);
}
.partner-grid .p:hover img { filter: none; opacity: 1; }
.partner-grid .p:hover { background: var(--bg-soft); }

/* ==========================================================================
   内页 Hero（面包屑）
   ========================================================================== */
.page-hero {
  height: 260px;
  background: var(--dark) url("../img/banner.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 33, 39, .82);
}
.page-hero .container { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-size: 34px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 12px; }
.page-hero .crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-hero .crumb a:hover { color: var(--primary); }
.page-hero .crumb .sep { opacity: .45; }

/* 内页通用正文 */
.page-wrap { padding: 70px 0; }
.prose { font-size: 15px; line-height: 2; color: var(--text-2); }
.prose p { margin-bottom: 18px; text-align: justify; }
.prose p strong { color: var(--dark); }
.prose h3 {
  font-size: 19px;
  color: var(--dark);
  font-weight: 600;
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 18px 0; }
.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 3px; top: 13px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* 内页两栏（左侧目录 + 右侧内容） */
.page-cols { display: grid; grid-template-columns: 236px 1fr; gap: 42px; align-items: start; }
.side-stack {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 106px;
  align-self: start;
}
.side-menu {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.side-menu .hd {
  background: var(--dark);
  color: #fff;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
}
.side-menu .hd span { display: block; font-size: 10.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .45); text-transform: uppercase; font-weight: 400; }
.side-menu ul { padding: 8px 0; }
.side-menu ul li a {
  display: block;
  padding: 12px 22px;
  font-size: 14px;
  color: var(--text-2);
  border-left: 3px solid transparent;
}
.side-menu ul li a:hover { background: var(--bg-soft); color: var(--primary); }
.side-menu ul li a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}
.side-menu .contact-mini {
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.9;
}
.side-menu .contact-mini b { display: block; color: var(--dark); margin-bottom: 8px; font-size: 14px; }
.side-menu .contact-mini .k { color: var(--muted); font-size: 12px; }
.side-menu .contact-mini a { color: var(--primary); word-break: break-all; }

/* ==========================================================================
   发展历程时间轴
   ========================================================================== */
.timeline { position: relative; padding: 10px 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--line) 100%);
}
.tl-item { display: flex; align-items: flex-start; margin-bottom: 40px; position: relative; }
.tl-item:nth-child(odd) { justify-content: flex-start; }
.tl-item:nth-child(even) { justify-content: flex-end; }
.tl-item .box {
  width: calc(50% - 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 28px;
  transition: var(--t);
}
.tl-item .box:hover { box-shadow: var(--shadow); border-color: transparent; }
.tl-item .box .yr {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  font-family: Arial, sans-serif;
  margin-bottom: 8px;
}
.tl-item .box h4 { font-size: 16.5px; color: var(--dark); font-weight: 600; margin-bottom: 9px; }
.tl-item .box p { font-size: 13.5px; color: var(--text-2); }
.tl-item .dot {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 14px; height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  z-index: 2;
}
.tl-end {
  text-align: center;
  background: var(--dark);
  color: #fff;
  border-radius: 6px;
  padding: 30px;
  font-size: 17px;
  letter-spacing: .5px;
  margin-top: 10px;
}
.tl-end b { color: var(--primary); }

/* ==========================================================================
   荣誉资质
   ========================================================================== */
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.honor-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: var(--t);
}
.honor-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.honor-card .pic {
  height: 268px;
  background: linear-gradient(160deg, #fbfbfc 0%, #eef0f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}
.honor-card .pic svg { width: 108px; height: 108px; }
.honor-card .cap { padding: 18px 22px; text-align: center; }
.honor-card .cap b { display: block; color: var(--dark); font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.honor-card .cap span { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   联系我们
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.contact-list { display: grid; gap: 18px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 26px;
  transition: var(--t);
}
.contact-item:hover { box-shadow: var(--shadow-sm); border-color: #ddd; }
.contact-item .ci {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: 8px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .ci svg { width: 22px; height: 22px; stroke: var(--primary); }
.contact-item .ct .k { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; margin-bottom: 3px; }
.contact-item .ct .v { font-size: 15.5px; color: var(--dark); font-weight: 500; line-height: 1.6; word-break: break-all; }
.contact-item .ct .v a { color: var(--primary); }
.contact-item .ct .v a:hover { text-decoration: underline; }

.map-box {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.map-box .map-hd {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.map-box .map-hd span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.map-box .map-ph {
  height: 292px;
  background:
    linear-gradient(rgba(45, 44, 50, .045) 0 0) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(45, 44, 50, .045) 0 0) 0 0 / 34px 34px,
    linear-gradient(150deg, #f4f6f8 0%, #e9edf1 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-box .pin {
  text-align: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 18px 24px;
  max-width: 300px;
}
.map-box .pin .dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--primary);
  margin: 0 auto 10px;
  box-shadow: 0 0 0 6px rgba(234, 60, 43, .16);
}
.map-box .pin b { display: block; color: var(--dark); font-size: 14.5px; margin-bottom: 4px; }
.map-box .pin p { font-size: 12.5px; color: var(--text-2); line-height: 1.65; }

/* ==========================================================================
   表单
   ========================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; color: var(--dark); font-weight: 500; }
.form-field label .req { color: var(--primary); margin-left: 3px; }
.form-field input,
.form-field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 15px;
  font-size: 14px;
  color: var(--text);
  background: #fcfcfd;
  transition: var(--t);
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(234, 60, 43, .09);
}
.form-field textarea { min-height: 148px; resize: vertical; }
.form-field .err { font-size: 12.5px; color: var(--primary); min-height: 0; display: none; }
.form-field.invalid input,
.form-field.invalid textarea { border-color: var(--primary); background: #fff8f7; }
.form-field.invalid .err { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-msg {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 13.5px;
  display: none;
}
.form-msg.ok { display: block; background: #eef8f2; color: #1a7a4a; border: 1px solid #cfe9db; }
.form-msg.bad { display: block; background: #fdf0ee; color: var(--primary-dark); border: 1px solid #f6d5d0; }

/* ==========================================================================
   产品列表页（库存表）
   ========================================================================== */
.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.table-tools .search {
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-tools .search input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 15px;
  width: 268px;
  font-size: 14px;
  transition: var(--t);
}
.table-tools .search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(234, 60, 43, .09); }
.table-tools .count { font-size: 13px; color: var(--muted); }
.table-tools .count b { color: var(--primary); font-weight: 600; }

.data-table-wrap {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
  background: #fff;
}
table.data {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.data thead th {
  background: var(--dark);
  color: #fff;
  font-weight: 500;
  text-align: left;
  padding: 14px 18px;
  white-space: nowrap;
  font-size: 13.5px;
  letter-spacing: .02em;
}
table.data tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: top;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: #fbfbfc; }
table.data tbody tr:hover { background: var(--primary-soft); }
table.data tbody td.brand-cell { color: var(--dark); font-weight: 600; white-space: nowrap; }
table.data tbody td.model-cell { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; word-break: break-all; }
table.data tbody td.qty-cell { color: var(--primary); font-weight: 600; font-family: Arial, sans-serif; white-space: nowrap; }
.table-empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.table-foot { margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ==========================================================================
   网站地图
   ========================================================================== */
.sm-group { margin-bottom: 38px; }
.sm-group h3 {
  font-size: 17px;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 16px;
  padding-left: 13px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}
.sm-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 20px;
  background: #fff;
  transition: var(--t);
}
.sm-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.sm-item .sm-t { color: var(--dark); font-weight: 600; font-size: 14.5px; flex: 0 0 auto; min-width: 76px; }
.sm-item .sm-d { color: var(--muted); font-size: 12.5px; flex: 1; line-height: 1.6; }
.sm-item .sm-a { color: var(--primary); font-family: Arial, sans-serif; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .66); padding: 62px 0 0; font-size: 13.5px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 46px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand .brand .mark { background: linear-gradient(135deg, var(--primary) 0%, #ff7355 100%); }
.foot-brand .brand .txt .cn { color: #fff; }
.foot-brand .brand .txt .en { color: rgba(255, 255, 255, .42); }
.foot-brand p { line-height: 1.95; color: rgba(255, 255, 255, .6); }
.foot-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 13px;
  position: relative;
}
.foot-col h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--primary);
}
.foot-col ul li { margin-bottom: 11px; }
.foot-col ul li a { color: rgba(255, 255, 255, .66); }
.foot-col ul li a:hover { color: var(--primary); padding-left: 4px; }
.foot-contact li { display: flex; gap: 11px; margin-bottom: 15px; align-items: flex-start; line-height: 1.75; }
.foot-contact li svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 4px; stroke: var(--primary); }
.foot-contact li a { color: var(--primary); word-break: break-all; }
.foot-contact li a:hover { text-decoration: underline; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
}
.foot-bottom a { color: rgba(255, 255, 255, .45); }
.foot-bottom a:hover { color: var(--primary); }
.foot-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 32px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(234, 60, 43, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--t);
  z-index: 800;
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-dark); }
.to-top svg { width: 20px; height: 20px; stroke: #fff; }

/* 涟漪进入动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .page-cols { grid-template-columns: 1fr; gap: 30px; }
  .side-stack { position: static; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-item { flex: 0 0 25%; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .split { gap: 40px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-header .container { height: 70px; }
  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    box-shadow: var(--shadow);
    padding: 8px 0;
    display: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > li { display: block; }
  .main-nav > li > a { line-height: 1.6; padding: 13px 24px; font-size: 15px; }
  .main-nav > li > a::after { display: none; }
  .main-nav > li > a.active { background: var(--primary-soft); }
  .main-nav .sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 6px;
    background: var(--bg-soft);
  }
  .main-nav .sub li a { padding: 10px 40px; font-size: 13.5px; }

  .hero { height: 480px; }
  .hero-txt h1 { font-size: 32px; }
  .hero-txt p { font-size: 14.5px; }
  .quick-bar .container { grid-template-columns: 1fr 1fr; }
  .svc-grid, .brand-notes { grid-template-columns: 1fr; }
  .apps-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-media .badge { right: 12px; bottom: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-item { flex: 0 0 33.3333%; }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .sec-head h2 { font-size: 25px; }
  .timeline::before { left: 18px; }
  .tl-item, .tl-item:nth-child(even) { justify-content: flex-start; }
  .tl-item .box { width: calc(100% - 46px); margin-left: 46px; }
  .tl-item .dot { left: 18px; }
  .page-hero { height: 210px; }
  .page-hero h1 { font-size: 26px; }
  .form-card { padding: 26px; }
  .topbar .tb-left { display: none; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .topbar .container { justify-content: center; }
  .brand .txt .cn { font-size: 15px; letter-spacing: 0; }
  .brand .txt .en { display: none; }
  .brand .mark { width: 42px; height: 42px; flex-basis: 42px; font-size: 19px; border-radius: 8px; }
  .hero { height: 440px; }
  .hero-txt h1 { font-size: 25px; }
  .hero-txt .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .quick-bar .container { grid-template-columns: 1fr; }
  .quick-bar .qb { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .quick-bar .qb:first-child { border-top: 0; }
  .apps-grid, .news-grid, .honor-grid, .prod-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-item { flex: 0 0 50%; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { justify-content: center; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 27px; }
  .to-top { right: 16px; bottom: 20px; width: 42px; height: 42px; }
  .table-tools .search input { width: 100%; }
  .table-tools .search { width: 100%; }
  .sm-list { grid-template-columns: 1fr; }
  .sm-item .sm-d { display: none; }
}
