/* ============================================================
   Heatdongdong — Official Website
   Style System: Light & Warm · Precision & Heat
   Palette: Warm Orange #E8632B / Ink #2B2D42 / Soft Ivory #FAF7F2
   ============================================================ */

:root {
  --brand: #E8632B;
  --brand-dark: #D14E1E;
  --brand-soft: #FCEFE6;
  --brand-glow: rgba(232, 99, 43, .32);
  --dark: #2B2D42;
  --dark-2: #33364C;
  --dark-3: #3A3D55;
  --steel: #8D99AE;
  --steel-light: #A9B2C2;
  --bg: #FAF7F2;
  --bg-alt: #F3EEE6;
  --bg-card: #FFFFFF;
  --white: #FFFFFF;
  --text: #26283A;
  --text-2: #4A4E5A;
  --text-3: #7A7F8C;
  --line: #E9E2D8;
  --line-strong: #DDD4C8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(60, 50, 30, .07);
  --shadow-lg: 0 16px 48px rgba(60, 50, 30, .13);
  --font: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-head: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.25; color: var(--dark); font-weight: 700; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all .25s;
  text-align: center; line-height: 1.2; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px var(--brand-glow); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn-white-outline { border-color: rgba(255,255,255,.85); color: #fff; background: transparent; }
.btn-white-outline:hover { background: #fff; color: var(--brand-dark); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-light { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 16.5px; }
.section-light .section-head p { color: var(--text-2); }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; }
.logo .logo-img { height: 54px; width: auto; }
.header .logo .logo-img { height: 52px; }
.footer .logo .logo-img { height: 64px; }

/* ---------- Top bar / Header ---------- */
.topbar { background: var(--brand); color: #FFF4EC; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #FFE3D2; }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-right .dot { font-weight: 700; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 15px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--text-2);
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.active { color: var(--brand); }
.nav .btn { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 8px; position: relative; z-index: 120; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px auto; border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (light) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: url('../img/hero-bg.jpg') center center / cover no-repeat;
}
/* 渐变遮罩：左侧深色保证文字对比度，右侧透明展示背景图产品区 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(95deg, rgba(15,15,25,.62) 0%, rgba(15,15,25,.30) 45%, rgba(15,15,25,0) 68%);
}
.hero .container { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr; max-width: 680px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(232,99,43,.15); border: 1px solid rgba(232,99,43,.5); color: #FFD9C8;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { color: #FFFFFF; font-size: clamp(32px, 5.4vw, 54px); letter-spacing: -.02em; margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.hero h1 .accent { color: #FF8A4C; }
.hero p.lead {
  color: rgba(255,255,255,.95);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .01em;
  max-width: 560px;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; }
.hero-stats .stat b { display: block; font-size: 26px; color: #FFFFFF; }
.hero-stats .stat span { font-size: 13px; color: rgba(255,255,255,.6); }
/* Hero 内按钮覆写：深色遮罩上需用白色描边样式 */
.hero .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--dark); }

/* ---------- Marquee band ---------- */
.band { background: var(--brand); color: #fff; padding: 15px 0; overflow: hidden; }
.band .track { display: flex; gap: 48px; white-space: nowrap; animation: scroll 30s linear infinite; width: max-content; }
.band span { font-weight: 700; font-size: 14.5px; letter-spacing: .06em; color: #FFF3EA; }
.band span i { color: #FFD9C2; font-style: normal; margin: 0 4px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Feature cards (product lines) ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); font-size: 24px; margin-bottom: 18px;
}

/* ---------- Lineup cards (What We Supply 分类卡片) ---------- */
.lineup-card {
  padding: 0; display: flex; flex-direction: column; border: 1px solid var(--line);
}
.lineup-card-img {
  position: relative; height: 220px; overflow: hidden; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lineup-card-img img {
  max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s ease;
}
.lineup-card:hover .lineup-card-img img { transform: scale(1.08); }
.lineup-card-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.92); color: var(--brand); backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.lineup-card-body {
  padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column;
}
.lineup-card-icon {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); font-size: 18px; margin-bottom: 12px;
}
.lineup-card-body h3 { font-size: 17px; margin-bottom: 8px; }
.lineup-card-body p { font-size: 14px; color: var(--text-2); line-height: 1.55; flex: 1; }
.lineup-card-link {
  display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600;
  color: var(--brand); transition: gap .2s;
}
.lineup-card:hover .lineup-card-link { color: var(--brand-dark); }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 14.5px; }
.card .tag {
  display: inline-block; background: var(--bg-alt); color: var(--text-2); font-size: 12px;
  font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Product cards ---------- */
.product-card { display: flex; flex-direction: column; position: relative; }
.product-thumb {
  aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 18px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #F6F2EB 0%, #EAE3D8 100%);
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
}
.product-thumb .machine-mini {
  width: 52%; height: 62%; background: linear-gradient(180deg, #FFFFFF, #DCD5CA);
  border-radius: 8px 8px 4px 4px; position: relative; box-shadow: 0 10px 20px rgba(0,0,0,.10);
}
.product-thumb .machine-mini::before {
  content: ""; position: absolute; top: -8px; left: 14%; width: 34%; height: 16px;
  background: #33364C; border-radius: 4px 4px 0 0;
}
.product-thumb .machine-mini::after {
  content: ""; position: absolute; top: -8px; right: 14%; width: 34%; height: 16px;
  background: #33364C; border-radius: 4px 4px 0 0;
}
.product-thumb .steam { position: absolute; width: 3px; height: 26px; background: rgba(232,99,43,.55); border-radius: 3px; top: 8%; }
.product-thumb .steam.s1 { left: 30%; animation: steam 2.4s ease-in-out infinite; }
.product-thumb .steam.s2 { right: 30%; animation: steam 2.4s ease-in-out .8s infinite; }
@keyframes steam { 0%,100% { transform: translateY(0); opacity: .8; } 50% { transform: translateY(-10px); opacity: .3; } }

.product-card h3 { font-size: 17px; }
.product-card .model { font-size: 12.5px; color: var(--brand); font-weight: 700; letter-spacing: .06em; margin-bottom: 6px; }
.product-card .desc { font-size: 13.5px; color: var(--text-2); flex: 1; margin-bottom: 12px; }
.product-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.product-card .meta span {
  background: var(--bg); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600;
  color: var(--text-2); padding: 3px 9px; border-radius: 6px;
}
.product-card .price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; row-gap: 8px; border-top: 1px dashed var(--line); padding-top: 14px; }
/* 左侧 MOQ+价格：独占第一行，完整显示不截断 */
.product-card .price-row > div:first-child { flex: 1 1 100%; min-width: 0; }
.product-card .price-row .from { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.product-card .price-row .price { font-size: 18px; font-weight: 800; color: var(--dark); }
.product-card .price-row .price small { font-size: 12px; font-weight: 600; color: var(--text-3); }
.link-arrow { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
/* 产品卡跳转阿里详情页：占满第二行宽度，内部靠右对齐确保按钮始终并排 */
.product-card .card-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; flex-basis: 100%; justify-content: flex-end; }
.product-card h3 a, .product-card .product-thumb a { color: inherit; text-decoration: none; }
/* 图片外链锚点：绝对定位铺满容器（容器已 position:relative）。
   注意不能用 width/height:100% —— 在 aspect-ratio 决定的 flex 容器中，
   锚点的百分比高度无法解析，会塌缩为正方形导致图片上下被裁切 */
.product-card .product-thumb a { position: absolute; inset: 0; }
.product-card h3 a:hover { color: var(--brand); }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--dark); color: #fff; font-weight: 600; white-space: nowrap; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; color: var(--dark); white-space: nowrap; width: 190px; }
.spec-table tr:nth-child(even) td { background: #FAFBFC; }

/* ---------- Feature list ---------- */
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-2); font-size: 15px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Numbered steps ---------- */
.steps { display: grid; gap: 24px; }
.step { display: flex; gap: 18px; }
.step .num {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--dark); color: #fff;
  font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; }

/* ---------- Advantage cards ---------- */
.adv-card { text-align: center; padding: 34px 26px; }
.adv-card .icon { margin: 0 auto 18px; }

/* ---------- Cert badges ---------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 28px;
  display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; color: var(--dark);
  box-shadow: var(--shadow); letter-spacing: .02em;
}
.cert .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand);
}
.tl-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.tl-item span { font-size: 12.5px; color: var(--text-3); font-weight: 600; letter-spacing: .04em; display: block; margin-bottom: 6px; }
.tl-item p { font-size: 14.5px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--brand); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; padding: 20px 24px; cursor: pointer;
  font-size: 15.5px; font-weight: 700; color: var(--dark); display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .chev { transition: transform .3s; color: var(--brand); font-size: 14px; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 24px 20px; color: var(--text-2); font-size: 14.5px; }

/* ---------- Blog ---------- */
.blog-section { padding: 60px 0; }
.blog-section .container { max-width: 1180px; }
/* 侧边栏列表项之间加分割线 */
#blog-sidebar ul { list-style: none; padding: 0; margin: 0; }
#blog-sidebar ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
#blog-sidebar ul li:last-child { border-bottom: none; padding-bottom: 0; }
#blog-sidebar ul li:first-child { padding-top: 0; }
#blog-sidebar ul li a {
  display: block; color: var(--text-1); text-decoration: none; font-size: 14px; line-height: 1.5;
}
#blog-sidebar ul li a:hover { color: var(--brand); }
.blog-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(43,45,66,.10);
  box-shadow: 0 2px 8px rgba(43,45,66,.04);
}
.blog-card .thumb {
  height: 200px; border-radius: 10px; margin-bottom: 16px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 16px;
}
.blog-card .thumb .cat { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(43,45,66,.82); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
/* 带真实封面图时：图片铺满缩略图区域（后台 Decap CMS 上传的封面） */
.blog-card .thumb.has-img { padding: 0; background: #fff; align-items: stretch; }
.blog-card .thumb.has-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .thumb.has-img img { transform: scale(1.05); }
.blog-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.45; color: var(--dark); }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { font-size: 13.5px; color: var(--text-2); flex: 1; margin-bottom: 14px; }
.blog-card .date { font-size: 12.5px; color: var(--text-3); display: flex; gap: 8px; align-items: center; }

/* 分类筛选标签 */
.blog-cat-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-cat-tags .cat-tag {
  display: inline-block; padding: 7px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text-2); text-decoration: none;
  transition: all .25s ease;
}
.blog-cat-tags .cat-tag:hover { border-color: var(--brand); color: var(--brand); }
.blog-cat-tags .cat-tag.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 特色文章大卡片：左图右文，全宽展示最新一篇 */
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; padding: 0;
  margin-bottom: 32px;
  border: 1px solid rgba(43,45,66,.15);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(43,45,66,.10);
  background: var(--bg-card);
}
.blog-featured-thumb {
  position: relative; min-height: 320px; overflow: hidden; background: var(--bg-alt);
  display: flex; align-items: stretch;
}
.blog-featured-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-featured:hover .blog-featured-thumb img { transform: scale(1.04); }
.blog-featured-thumb .cat {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .04em;
}
.blog-featured-body {
  padding: 32px; display: flex; flex-direction: column; justify-content: center;
  color: var(--text-1);
}
.blog-featured-meta { font-size: 13px; color: var(--text-3); margin-bottom: 12px; display: flex; gap: 16px; }
.blog-featured-body h2 {
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; margin-bottom: 12px;
  color: var(--dark);
}
.blog-featured-body h2 a { color: var(--dark); text-decoration: none; }
.blog-featured-body h2 a:hover { color: var(--brand); }
.blog-featured-body p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.blog-rest-grid { margin-top: 8px; gap: 24px; }

/* 移动端：特色卡片改为上下布局 */
@media (max-width: 860px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-thumb { min-height: 220px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; text-align: center; padding: 80px 0; position: relative; overflow: hidden;
}
/* 右上角光晕装饰 */
.cta-band::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
/* 左下角光晕装饰 */
.cta-band::after {
  content: ''; position: absolute; bottom: -40%; left: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band .cta-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 14px;
  padding: 5px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.88); margin-bottom: 32px; font-size: 16.5px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn { padding: 15px 36px; font-size: 15.5px; }
.cta-band .btn-light { box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.cta-band .btn-light:hover { box-shadow: 0 8px 28px rgba(0,0,0,.25); }

/* ---------- Contact / forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px;
  font-family: var(--font); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(232,99,43,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-3); margin-top: 12px; }

.contact-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; height: 100%; }
.contact-card h3 { margin-bottom: 20px; }
.contact-card .ci { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-card .ci .ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.contact-card .ci b { color: var(--dark); font-size: 14.5px; display: block; margin-bottom: 2px; }
.contact-card .ci p, .contact-card .ci a { font-size: 13.5px; color: var(--text-2); }
.contact-card .ci a:hover { color: var(--brand); }

/* ---------- Page hero (inner pages, light) ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 90% -20%, rgba(232, 99, 43, .14) 0%, transparent 60%),
    linear-gradient(180deg, #FFFCF8 0%, #F7F1E9 100%);
  color: var(--text); padding: 66px 0 60px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(2px 2px at 25% 30%, rgba(43,45,66,.3) 50%, transparent 51%),
    radial-gradient(2px 2px at 75% 60%, rgba(43,45,66,.22) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 50% 20%, rgba(43,45,66,.18) 50%, transparent 51%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--dark); font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: var(--text-2); max-width: 640px; font-size: 16.5px; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: 14px; color: var(--text-2); cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ---------- Article ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article .meta-line { display: flex; gap: 16px; align-items: center; color: var(--text-3); font-size: 13.5px; margin-bottom: 26px; flex-wrap: wrap; }
.article .meta-line .cat { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.article h2 { font-size: 24px; margin: 34px 0 14px; }
.article h3 { font-size: 19px; margin: 28px 0 12px; }
.article p { margin-bottom: 16px; color: var(--text-2); }
.article ul, .article ol { margin: 0 0 16px; padding-left: 24px; color: var(--text-2); }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 16px 20px;
  border-radius: 0 10px 10px 0; margin: 20px 0; color: var(--text-2); font-style: italic;
}
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article table th, .article table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article table th { background: var(--bg-alt); font-weight: 700; }
.article img { border-radius: 12px; margin: 20px 0; }

/* ---------- Team / partners ---------- */
.partner-logo {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-align: center;
  font-weight: 800; font-size: 17px; color: var(--text-2); display: flex; align-items: center; justify-content: center; gap: 10px;
}

/* ---------- Pagination ---------- */
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.pager a, .pager span {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); font-weight: 600; color: var(--text-2);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .cur { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ---------- Factory gallery (产线展示) ---------- */
.factory-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.factory-gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 420px; box-shadow: var(--shadow);
}
.factory-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.factory-gallery-side {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.factory-gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 202px; box-shadow: var(--shadow);
}
.factory-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.factory-gallery-item:hover img,
.factory-gallery-main:hover img { transform: scale(1.06); }
.factory-gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 16px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em;
}

/* ---------- Footer (modern dark gradient) ---------- */
.footer {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-3) 50%, #2B2D42 100%);
  color: #C6CAD6; padding: 64px 0 0; position: relative;
  border-top: 3px solid var(--brand);
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

/* 页脚网格布局：第一列较宽放公司介绍，最后一列放联系方式 */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 16px;
}

.footer h4 {
  color: #fff; font-size: 13px; margin-bottom: 18px; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 700; position: relative; padding-bottom: 10px;
}
.footer h4::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #A9B0C0; font-size: 13.5px; transition: color .2s, padding-left .2s; }
.footer ul a:hover { color: var(--brand); padding-left: 4px; }
.footer .logo { margin-bottom: 16px; display: inline-block; }
.footer .logo-img { background: rgba(255,255,255,.95); border-radius: 10px; padding: 6px 10px; height: 48px; width: auto; }
.footer .about-txt { font-size: 13px; margin-bottom: 22px; max-width: 300px; color: #A9B0C0; line-height: 1.65; }

/* 页脚社交媒体图标 */
.footer .socials { display: flex; gap: 8px; margin-bottom: 22px; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); color: #C6CAD6;
  display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all .25s;
  border: 1px solid rgba(255,255,255,.06);
}
.footer .socials a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); border-color: var(--brand); }
.footer .socials a.alibaba { font-size: 16px; }
.footer .socials a.alibaba:hover { background: #E55A00; border-color: #E55A00; }

/* 页脚联系信息 */
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; color: #A9B0C0; line-height: 1.5; }
.footer-contact-item .ci-icon { flex-shrink: 0; font-size: 15px; margin-top: 1px; }
.footer-contact-item a { color: #A9B0C0; }
.footer-contact-item a:hover { color: var(--brand); }

/* 页脚认证徽章 */
.footer-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.footer-trust .badge {
  padding: 5px 12px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  font-size: 11px; font-weight: 600; color: #A9B0C0; letter-spacing: .03em; transition: all .2s;
}
.footer-trust .badge:hover { background: rgba(232,99,43,.15); border-color: var(--brand); color: #fff; }

/* 页脚快速询盘卡片 */
.footer-cta-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 20px; margin-top: 4px;
}
.footer-cta-card p { font-size: 12.5px; color: #A9B0C0; margin-bottom: 12px; line-height: 1.5; }
.footer-cta-card .btn { width: 100%; padding: 10px 20px; font-size: 13.5px; }

/* 页脚底部版权栏 */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #7A7F8C;
}
.footer-bottom a { color: #A9B0C0; }
.footer-bottom a:hover { color: var(--brand); }
.back-top {
  display: inline-flex; align-items: center; gap: 5px; color: #A9B0C0; cursor: pointer;
  transition: color .2s; font-size: 12.5px; background: none; border: none;
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1);
}
.back-top:hover { color: var(--brand); border-color: var(--brand); background: rgba(232,99,43,.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--dark); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-size: 14.5px; box-shadow: var(--shadow-lg); z-index: 200; transition: transform .4s ease; max-width: 92vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .container { padding-top: 56px; padding-bottom: 64px; }
  /* 移动端：文字在上方，遮罩改为上深下浅的竖向渐变 */
  .hero::before { background: linear-gradient(180deg, rgba(15,15,25,.62) 0%, rgba(15,15,25,.30) 55%, rgba(15,15,25,.1) 100%); }

  .nav {
    position: fixed; inset: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
    flex-direction: column; justify-content: center; align-items: center; gap: 18px; z-index: 110;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav a { color: var(--text-2); font-size: 19px; padding: 10px 24px; }
  .nav a:hover { color: var(--brand); background: transparent; }
  .nav .btn { margin: 10px 0 0; }
  .nav-toggle { display: block; }
  .topbar-right span.hide-m { display: none; }
  .factory-gallery { grid-template-columns: 1fr; }
  .factory-gallery-main { min-height: 280px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 50px 0 44px; }
  .cert { width: 100%; justify-content: center; }
  .cta-band { padding: 48px 0; }
  .product-card .price-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .factory-gallery-side { grid-template-columns: 1fr; }
  .factory-gallery-item { min-height: 180px; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: 13px; font-weight: 700; color: var(--text-2);
  cursor: pointer; transition: all .2s; margin-left: 6px; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }
.lang-switch .lang-label { color: var(--brand); }
.lang-switch .globe { font-size: 14px; }

/* ---------- Product real images ---------- */
.product-thumb.has-img { background: #fff; }
.product-thumb.has-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 10px;
  transition: transform .4s ease;
}
.product-card:hover .product-thumb.has-img img { transform: scale(1.06); }

/* ---------- Alibaba social link ---------- */
.footer .socials a.alibaba {
  background: #FF6A00; font-size: 11px; font-weight: 800;
}
.footer .socials a.alibaba:hover { background: #E55A00; }

/* ---------- Chinese font optimization ---------- */
html[lang="zh-CN"] body { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4, html[lang="zh-CN"] h5 {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  letter-spacing: 0;
}
html[lang="zh-CN"] .hero h1 { letter-spacing: 0; }

/* ---------- Nav layout with lang switch ---------- */
.header .container { gap: 12px; }
.nav { gap: 4px; }
.nav .lang-switch { padding: 6px 12px; font-size: 12.5px; }

/* ---------- Product card refinements ---------- */
.product-card { transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- Print ---------- */
@media print {
  .header, .footer, .topbar, .cta-band, .toast { display: none !important; }
}
