/* ==========================================================
   佛山市天辰洁能环保技术有限公司 — 官网样式
   ========================================================== */
:root {
  --blue: #0e4f9e;
  --blue-dark: #0a3a75;
  --blue-deep: #0c1a2c;
  --red: #d5281e;
  --green: #1e7a3c;
  --ink: #1a2330;
  --gray: #64707f;
  --line: #e3e8ef;
  --bg-soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(12, 38, 76, 0.10);
  --radius: 6px;
  --trans: all .35s cubic-bezier(.25, .6, .3, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.wrap { width: min(1280px, 92%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.topbar {
  background: var(--blue-deep);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  padding: 6px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .lang { display: flex; gap: 14px; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
header.site-header.scrolled { box-shadow: 0 4px 24px rgba(12,38,76,.08); }
.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name .cn { font-size: 27px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink); }
.brand-name .en {
  font-size: 11px; color: var(--gray); letter-spacing: .4px;
  text-transform: uppercase; max-width: 224px; line-height: 1.35;
}

nav.main-nav { flex-shrink: 0; }
nav.main-nav ul { display: flex; flex-wrap: nowrap; }
nav.main-nav li { position: relative; flex: 0 0 auto; }
nav.main-nav a {
  display: block;
  padding: 0 18px;
  line-height: 84px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  position: relative;
  transition: color .25s;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 16px;
  width: 0; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s;
}
nav.main-nav a:hover, nav.main-nav li.active a { color: var(--blue); }
nav.main-nav a:hover::after, nav.main-nav li.active a::after { width: 26px; }

/* 产品中心下拉 */
nav.main-nav .caret {
  display: inline-block;
  width: 0; height: 0;
  margin-left: 7px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .55;
  transition: transform .3s;
}
nav.main-nav li.has-sub:hover .caret { transform: rotate(180deg); opacity: 1; }
nav.main-nav .sub-menu {
  position: absolute;
  top: 100%; left: 50%;
  min-width: 186px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity .28s, transform .28s, visibility .28s;
  z-index: 120;
}
nav.main-nav li.has-sub:hover .sub-menu,
nav.main-nav li.has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
nav.main-nav .sub-menu a {
  padding: 11px 22px;
  line-height: 1.5;
  font-size: 15px;
  font-weight: 400;
  color: #3d4a5c;
}
nav.main-nav .sub-menu a::after { display: none; }
nav.main-nav .sub-menu a:hover { background: var(--bg-soft); color: var(--blue); }

/* 语言切换：字号/字重/颜色与其他导航项一致 */
nav.main-nav .lang-item { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--trans); }

/* ---------- 首页 Banner 轮播 ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
/* 三张 banner 统一尺寸：容器固定 1920:780 比例，图片一律 cover 填充 */
.hero .slides { position: relative; aspect-ratio: 1920 / 780; }
.hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero .slide.current { opacity: 1; z-index: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.hero-dots button {
  width: 34px; height: 4px;
  border: none; border-radius: 2px;
  background: rgba(14,79,158,.25);
  cursor: pointer;
  transition: var(--trans);
}
.hero-dots button.on { background: var(--blue); }
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  color: var(--blue);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transition: var(--trans);
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* ---------- 内页 Banner ---------- */
.page-banner {
  position: relative;
  height: clamp(220px, 26vw, 380px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-banner img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,24,48,.72) 0%, rgba(8,24,48,.30) 55%, rgba(8,24,48,.05) 100%);
}
/* 分子背景 banner：亮度贴近英文站，只留很淡的一层压暗保证白字可读 */
.page-banner.molecule::after {
  background: linear-gradient(90deg, rgba(8,24,48,.18) 0%, rgba(8,24,48,.06) 40%, rgba(8,24,48,0) 62%);
}
.page-banner.molecule h1 { text-shadow: 0 2px 14px rgba(6,20,42,.6), 0 1px 3px rgba(6,20,42,.5); }
.page-banner.molecule .sub { opacity: 1; text-shadow: 0 2px 10px rgba(6,20,42,.55); }
.page-banner .wrap { position: relative; z-index: 2; color: #fff; }
.page-banner h1 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: 2px; }
.page-banner .sub { font-size: 15px; opacity: .82; letter-spacing: 3px; text-transform: uppercase; margin-top: 6px; }
.breadcrumb { margin-top: 14px; font-size: 13.5px; opacity: .8; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 通用 Section ---------- */
section.block { padding: clamp(60px, 7vw, 100px) 0; }
.section-head { margin-bottom: 48px; }
.section-head .eyebrow {
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-head .eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--red);
}
.section-head h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin-top: 10px;
  letter-spacing: 1px;
}
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head .desc { color: var(--gray); max-width: 760px; margin-top: 14px; }
.section-head.center .desc { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  border: 1px solid var(--blue);
  cursor: pointer;
  transition: var(--trans);
}
.btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.btn .arr { transition: transform .3s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- 首页：关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.about-grid .text p { color: #3d4a5c; margin-bottom: 16px; text-align: justify; }
.about-grid .pic {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-grid .pic::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(14,79,158,.15), transparent 70%);
}
.about-grid .pic img { width: 100%; height: 100%; object-fit: cover; }
/* 图在左、文字在右 */
.about-grid.pic-left { grid-template-columns: 1fr 1.15fr; }
.about-grid.pic-left .text p { color: #3d4a5c; margin-bottom: 16px; text-align: justify; }
/* 拼图（带透明背景，整张显示不裁切） */
.about-grid .pic.collage {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.about-grid .pic.collage::before { content: none; }
.about-grid .pic.collage img { width: 100%; height: auto; object-fit: contain; }

/* 公司简介：整幅文字，无配图 */
.profile-text { max-width: 1000px; margin: 0 auto; }
.profile-text p { color: #3d4a5c; margin-bottom: 16px; text-align: justify; text-indent: 2em; }

.stats {
  margin-top: clamp(48px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .item {
  padding: 34px 20px;
  text-align: center;
  position: relative;
}
.stats .item + .item::before {
  content: "";
  position: absolute;
  left: 0; top: 28%;
  height: 44%; width: 1px;
  background: var(--line);
}
.stats .num {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.15;
  font-family: "Avenir Next", "Helvetica Neue", var(--font);
}
.stats.cols3 { grid-template-columns: repeat(3, 1fr); }
.stats .num sup { font-size: .45em; color: var(--red); margin-left: 2px; }
.stats .num .unit { font-size: .42em; font-weight: 600; margin-left: 4px; letter-spacing: 1px; }
.stats .label { color: var(--gray); font-size: 14.5px; margin-top: 6px; letter-spacing: 1px; }

/* ---------- 首页：产品三大类 ---------- */
.block.alt { background: var(--bg-soft); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.9;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .8s cubic-bezier(.2,.6,.25,1);
}
/* 环境化学与工程配图为宽幅横图，取中偏右（地球）位置 */
.cat-card img[src*="category/env"] { object-position: 68% center; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,29,56,0) 30%, rgba(10,29,56,.88) 100%);
  transition: var(--trans);
}
.cat-card:hover .veil { background: linear-gradient(180deg, rgba(10,42,88,.28) 0%, rgba(10,42,88,.92) 100%); }
.cat-card .info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 28px;
  color: #fff;
}
.cat-card .info h3 { font-size: 23px; letter-spacing: 1.5px; }
.cat-card .info .en {
  font-size: 11.5px; opacity: .65; letter-spacing: 1.4px;
  text-transform: uppercase; margin-bottom: 12px;
  line-height: 1.5; min-height: 3.1em;
}
.cat-card .info p {
  font-size: 14px; opacity: 0; line-height: 1.7;
  max-height: 0; overflow: hidden;
  transition: opacity .4s .1s, max-height .5s cubic-bezier(.2,.6,.25,1);
}
.cat-card:hover .info p { opacity: .92; max-height: 180px; }
.cat-card .bar { width: 34px; height: 3px; background: var(--red); margin: 10px 0 12px; }

/* ---------- 首页/产品页：产品卡片 ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.prod-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f7f9fc;
}
.prod-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s;
}
.prod-card:hover .thumb img { transform: scale(1.06); }
.prod-card .body { padding: 20px 22px 24px; }
.prod-card h4 { font-size: 17.5px; letter-spacing: .5px; }
.prod-card .tag { display: inline-block; font-size: 12px; color: var(--blue); background: rgba(14,79,158,.08); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px; }
.prod-card p { font-size: 13.8px; color: var(--gray); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card .more { margin-top: 14px; font-size: 13.5px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.prod-card:hover .more .arr { transform: translateX(4px); }
.prod-card .more .arr { transition: transform .3s; }

/* ---------- 首页：工程案例横滑 ---------- */
.block.dark {
  background: linear-gradient(rgba(9,22,42,.92), rgba(9,22,42,.92)), url(../images/bg-2.jpg) center/cover fixed;
  color: #fff;
}
.block.dark .section-head h2 { color: #fff; }
.block.dark .section-head .desc { color: rgba(255,255,255,.65); }
.case-rail-outer { position: relative; }
.case-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.case-rail::-webkit-scrollbar { display: none; }
.case-card {
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.case-card:hover img { transform: scale(1.07); }
.case-card .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(5,15,32,.85));
  font-size: 15.5px;
  letter-spacing: .5px;
}
.rail-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: var(--trans);
  z-index: 3;
}
.rail-btn:hover { background: var(--blue); border-color: var(--blue); }
.rail-btn.prev { left: -20px; }
.rail-btn.next { right: -20px; }

/* ---------- 首页：新闻 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--trans);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 22px 24px 26px; }
.news-card .date { font-size: 13px; color: var(--blue); letter-spacing: 1px; }
.news-card h4 { font-size: 17px; margin: 8px 0 10px; line-height: 1.5; }
.news-card p { font-size: 13.8px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- CTA 条 ---------- */
.cta-strip {
  background: linear-gradient(100deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 52px 0;
}
.cta-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h3 { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: 1px; }
.cta-strip p { opacity: .8; font-size: 14.5px; margin-top: 6px; }
.cta-strip .btn { background: #fff; color: var(--blue); border-color: #fff; }
.cta-strip .btn:hover { background: rgba(255,255,255,.88); }

/* ---------- 页脚 ---------- */
footer.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.68);
  font-size: 14.5px;
}
.footer-main {
  padding: clamp(48px, 6vw, 76px) 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: clamp(28px, 4vw, 60px);
}
.footer-main h5 {
  color: #fff;
  font-size: 16.5px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-main h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--red);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.6; }
.footer-contact .ico { color: var(--red); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 18px 0;
  font-size: 13px;
}
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 内页通用 ---------- */
.rich p { margin-bottom: 16px; color: #3d4a5c; text-align: justify; }
.rich h3 { font-size: 22px; margin: 30px 0 14px; color: var(--ink); }

.about-honors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.honor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--trans);
}
.honor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.honor-card .ico { font-size: 34px; margin-bottom: 12px; }
.honor-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.honor-card p { font-size: 13.5px; color: var(--gray); }

/* ---------- 产品中心：左侧分类栏 ---------- */
.prod-page { padding: clamp(44px, 5vw, 70px) 0 clamp(50px, 6vw, 84px); }
.prod-layout {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: clamp(28px, 3.4vw, 52px);
  align-items: start;
}
.prod-side { position: sticky; top: 104px; }
.side-search { display: flex; gap: 8px; margin-bottom: 24px; }
.side-search input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 14.5px;
  transition: border-color .25s, box-shadow .25s;
}
.side-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14,79,158,.12); }
.side-search button {
  flex: 0 0 46px; height: 44px;
  border: none; border-radius: var(--radius);
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  cursor: pointer; transition: background .25s;
}
.side-search button:hover { background: var(--blue-dark); }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; }
.side-box h4 {
  font-size: 16px; letter-spacing: 1px;
  padding: 14px 18px;
  border-left: 4px solid var(--blue);
  background: var(--bg-soft);
}
.side-cats li + li { border-top: 1px solid var(--line); }
.side-cats a {
  display: block;
  padding: 13px 18px;
  font-size: 15px;
  color: #3d4a5c;
  transition: var(--trans);
}
.side-cats a:hover, .side-cats a.on { background: var(--blue); color: #fff; padding-left: 24px; }
.side-contact { padding-bottom: 20px; }
.side-contact p { padding: 0 18px; font-size: 14px; color: var(--gray); margin-top: 10px; }
.side-contact p.tel { font-size: 21px; font-weight: 700; color: var(--blue); margin-top: 16px; letter-spacing: .5px; }
.side-contact .btn { margin: 16px 18px 0; padding: 10px 24px; font-size: 14px; }
.prod-main .prod-grid { grid-template-columns: repeat(3, 1fr); }
.prod-side + .prod-main > .prod-section:first-child { padding-top: 0; }
.prod-empty { padding: 40px 0; color: var(--gray); }

/* 产品页分类区 */
.prod-section { padding: clamp(34px, 3.6vw, 54px) 0; }
.prod-section + .prod-section { border-top: 1px solid var(--line); }
.prod-section .cat-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.prod-section .cat-head h3 { font-size: 26px; letter-spacing: 1px; }
.prod-section .cat-head .en { color: var(--gray); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.prod-section .cat-head::before { content: ""; width: 6px; height: 26px; background: var(--blue); border-radius: 3px; align-self: center; }

/* ---------- 案例详情：图集（大图轮播 + 缩略图条，参照中文站） ---------- */
.case-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.case-head h2 { font-size: clamp(21px, 2.2vw, 27px); letter-spacing: 1px; }
.btn.sm { padding: 9px 22px; font-size: 14px; }

.cv-stage {
  position: relative;
  background: #0c1a2c;
  border-radius: var(--radius);
  overflow: hidden;
  height: clamp(300px, 43vw, 620px);
  display: grid;
  place-items: center;
}
.cv-main { width: 100%; height: 100%; object-fit: contain; }
.cv-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(12,26,44,.42);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: var(--trans);
  z-index: 3;
}
.cv-stage:hover .cv-arrow { opacity: 1; }
.cv-arrow:hover { background: var(--blue); border-color: var(--blue); }
.cv-arrow.prev { left: 18px; }
.cv-arrow.next { right: 18px; }
.cv-count {
  position: absolute;
  right: 16px; bottom: 14px;
  background: rgba(12,26,44,.6);
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 2;
}
.cv-cap {
  text-align: center;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: .5px;
  min-height: 24px;
  margin-top: 16px;
}
.cv-cap:empty { display: none; }

.cv-thumbs-outer { position: relative; margin-top: 18px; padding: 0 42px; }
.cv-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 12px) / 6);
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.cv-thumbs::-webkit-scrollbar { display: none; }
.cv-thumb {
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: #f7f9fc;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: var(--trans);
}
.cv-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .3s; }
.cv-thumb:hover img { opacity: 1; }
.cv-thumb.on { border-color: var(--blue); }
.cv-thumb.on img { opacity: 1; }
.cv-tbtn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 32px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue);
  font-size: 18px;
  cursor: pointer;
  transition: var(--trans);
}
.cv-tbtn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.cv-tbtn.prev { left: 0; }
.cv-tbtn.next { right: 0; }

/* 只有一张图的案例：不显示箭头、计数与缩略图条 */
.case-viewer { margin-top: 26px; }
.case-viewer.single .cv-arrow,
.case-viewer.single .cv-count,
.case-viewer.single .cv-thumbs-outer { display: none; }

@media (max-width: 820px) {
  .cv-stage { height: clamp(240px, 62vw, 420px); }
  .cv-arrow { opacity: 1; width: 40px; height: 40px; }
  .cv-thumbs { grid-auto-columns: calc((100% - 3 * 10px) / 4); gap: 10px; }
  .cv-thumbs-outer { padding: 0 36px; }
}

/* 案例页：四列小图 + 蓝色标题条（参照中文站） */
.case-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.case-tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: var(--trans);
}
.case-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-tile .ph { aspect-ratio: 4/3; overflow: hidden; background: #f7f9fc; }
.case-tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.case-tile:hover .ph img { transform: scale(1.06); }
.case-tile .cap {
  background: var(--blue);
  color: #fff;
  font-size: 14.5px;
  letter-spacing: .5px;
  padding: 10px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-tile:hover .cap { background: var(--blue-dark); }

/* 案例页 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-item { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: var(--trans); }
.case-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-item .thumb { aspect-ratio: 4/3; overflow: hidden; }
.case-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.case-item:hover .thumb img { transform: scale(1.06); }
.case-item .body { padding: 18px 22px 22px; }
.case-item h4 { font-size: 16.5px; }
.case-item p { font-size: 13.5px; color: var(--gray); margin-top: 6px; }

/* 新闻页 */
.news-list .row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: var(--trans);
}
.news-list .row:hover { background: var(--bg-soft); padding-inline: 18px; }
.news-list .thumb { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; }
.news-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
/* 证书类竖图缩略图完整显示 */
.news-list .thumb.contain, .news-card .thumb.contain { background: var(--bg-soft); }
.news-list .thumb.contain img, .news-card .thumb.contain img { object-fit: contain; }
.news-list h4 { font-size: 18.5px; margin-bottom: 8px; }
.news-list p { color: var(--gray); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list .date { text-align: center; color: var(--gray); }
.news-list .date .d { font-size: 32px; font-weight: 700; color: var(--blue); line-height: 1; }
.news-list .date .ym { font-size: 13px; margin-top: 4px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); }
.contact-info .item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.contact-info .ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(14,79,158,.08);
  color: var(--blue);
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info h4 { font-size: 16px; }
.contact-info p { color: var(--gray); font-size: 14.5px; }
.contact-form { background: var(--bg-soft); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.contact-form h3 { margin-bottom: 18px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 15px;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,79,158,.12);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* 技术咨询页 */
.consult-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.consult-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.consult-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.consult-card:hover::before { transform: scaleX(1); }
.consult-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.consult-card .ico { font-size: 36px; margin-bottom: 16px; }
.consult-card h4 { font-size: 19px; margin-bottom: 10px; }
.consult-card p { font-size: 14px; color: var(--gray); }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.6,.25,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- 响应式 ---------- */
/* 中间档：导航压缩，避免菜单挤到换行 */
@media (max-width: 1200px) {
  .brand-name .en { display: none; }
  .brand img { height: 50px; }
  .brand-name .cn { font-size: 20px; }
  nav.main-nav a { padding: 0 12px; font-size: 15.5px; }
}
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { aspect-ratio: 3 / 3.1; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .case-rail { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    position: fixed;
    top: 0; right: -300px;
    width: 280px; height: 100vh;
    background: #fff;
    box-shadow: -8px 0 40px rgba(0,0,0,.14);
    transition: right .4s cubic-bezier(.2,.6,.25,1);
    padding-top: 80px;
    z-index: 200;
  }
  nav.main-nav.open { right: 0; }
  nav.main-nav ul { flex-direction: column; }
  nav.main-nav a { line-height: 58px; padding: 0 34px; border-bottom: 1px solid var(--line); font-size: 16px; }
  nav.main-nav a::after { display: none; }
  nav.main-nav .caret { display: none; }
  nav.main-nav .lang-item { margin-left: 0; }
  /* 移动端下拉直接展开为二级列表 */
  nav.main-nav .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; border-radius: 0;
    min-width: 0; padding: 0;
    background: var(--bg-soft);
  }
  nav.main-nav .sub-menu a { padding: 0 34px 0 48px; line-height: 46px; font-size: 14.5px; }
}
@media (max-width: 820px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cat-grid, .consult-grid, .news-grid, .case-grid { grid-template-columns: 1fr 1fr; }
  .case-tile-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .item:nth-child(3)::before { display: none; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .news-list .row { grid-template-columns: 1fr; gap: 14px; }
  .news-list .date { display: none; }
}
@media (max-width: 560px) {
  .cat-grid, .consult-grid, .news-grid, .case-grid, .prod-grid { grid-template-columns: 1fr; }
  .case-tile-grid { grid-template-columns: 1fr 1fr; }
  .case-tile .cap { font-size: 13px; padding: 8px 10px; }
  .case-rail { grid-auto-columns: 88%; }
  .brand-name .en { display: none; }
  .brand-name .cn { font-size: 16px; }
  .topbar { display: none; }
}

/* ---------- 产品详情页 ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.pd-pic {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f9fc;
}
.pd-pic img { width: 100%; display: block; }
.pd-info h1 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: 1px; }
.pd-info .cat-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--blue);
  background: rgba(14,79,158,.08);
  border-radius: 999px;
  padding: 3px 16px;
  margin-bottom: 14px;
}
.pd-info .desc { color: #3d4a5c; margin: 16px 0 24px; text-align: justify; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.spec-table-wrap { overflow-x: auto; margin-top: 40px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}
.spec-table th, .spec-table td {
  border: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
}
.spec-table thead th, .spec-table tr:first-child td {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.spec-table tbody tr:nth-child(even) { background: var(--bg-soft); }
/* 技术咨询「天辰洁能抑钒剂系列产品型号」标题不加粗 */
#standard .section-head h2 { font-weight: 400; }
.spec-title { font-size: 22px; margin: 44px 0 6px; display: flex; align-items: center; gap: 12px; }
.spec-title::before { content: ""; width: 6px; height: 22px; background: var(--blue); border-radius: 3px; }

.related-strip { margin-top: 60px; }
.related-strip h3 { font-size: 20px; margin-bottom: 20px; }

/* ---------- 图片画廊（荣誉/风采/案例） ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: var(--trans);
  display: block;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item .ph {
  aspect-ratio: 4/3;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f7f9fc;
}
.gallery-item.tall .ph { aspect-ratio: 3/4; }
.gallery-item .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item.contain .ph img { object-fit: contain; }
.gallery-item:hover .ph img { transform: scale(1.05); }
.gallery-item .cap { padding: 12px 16px; font-size: 14px; color: var(--ink); text-align: center; }

/* ---------- 文章页 ---------- */
.article { max-width: 920px; margin: 0 auto; }
.article h1 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.5; }
.article .meta { color: var(--gray); font-size: 14px; margin: 14px 0 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article .body p { margin-bottom: 16px; color: #3d4a5c; text-align: justify; }
.article .body h3 { margin: 28px 0 12px; font-size: 20px; }
.article .photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.article .photos img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
/* 单张配图 */
.article .fig { margin: 30px 0 10px; }
.article .fig img { display: block; width: 100%; max-width: 420px; border-radius: var(--radius); box-shadow: var(--shadow); }
/* 图文分组（万吨产能一文的 1~5 小节） */
.article .body h4 { margin: 22px 0 10px; font-size: 16px; color: var(--gray); font-weight: 600; }
.article .photos.free { align-items: start; }
.article .photos.free img { aspect-ratio: auto; height: auto; object-fit: contain; }
.article-nav { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; gap: 20px; flex-wrap: wrap; }
.article-nav a { color: var(--blue); }
.article-nav a:hover { text-decoration: underline; }

/* ---------- 新闻分组标题 ---------- */
.news-group-title { font-size: 24px; margin: 50px 0 10px; display: flex; align-items: center; gap: 12px; }
.news-group-title::before { content: ""; width: 6px; height: 24px; background: var(--blue); border-radius: 3px; }
.news-group-title:first-of-type { margin-top: 0; }
.news-simple-list { margin-top: 6px; }
.news-simple-list li {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 4px; border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
}
.news-simple-list li .t { color: var(--ink); }
.news-simple-list li .d { color: var(--gray); font-size: 14px; white-space: nowrap; }

/* ---------- 企业文化卡片 ---------- */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 60px); }
.culture-card { padding-top: 22px; border-top: 2px solid var(--blue); }
.culture-card h4 { font-size: 19px; margin-bottom: 12px; letter-spacing: 1px; }
.culture-card p { font-size: 14.5px; color: #3d4a5c; line-height: 1.9; }

/* 技术服务小标题（无卡片） */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 40px;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--ink);
}
.service-tags li { position: relative; }
.service-tags li + li::before {
  content: "";
  position: absolute;
  left: -20px; top: 50%;
  width: 1px; height: 16px;
  margin-top: -8px;
  background: var(--line);
}

/* 选型总表 */
.consult-table-fig { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 30px; }
.consult-table-fig img { width: 100%; display: block; }

@media (max-width: 980px) {
  .prod-layout { grid-template-columns: 1fr; }
  .prod-side { position: static; }
  .side-box { margin-bottom: 18px; }
  .side-cats { display: flex; flex-wrap: wrap; }
  .side-cats li { flex: 1 1 50%; }
  .side-cats li + li { border-top: none; }
  .side-contact { display: none; }
  .prod-main .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .pd-grid { grid-template-columns: 1fr; }
  .gallery-grid, .article .photos { grid-template-columns: 1fr 1fr; }
  .gallery-grid.cols3, .culture-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .culture-grid { grid-template-columns: 1fr; }
}
