/* 首页专有样式：全屏幻灯片 + 快捷入口 + 数据带 + 业务板块 + 工艺链 + 新闻 */

/* ---------- 首屏幻灯片 ---------- */
.hero-slider {
  position: relative;
  background: var(--steel-2);
  overflow: hidden;
  border-bottom: 4px solid var(--edge);
}
.hs-slide { position: relative; display: none; color: #fff; }
.hs-slide.is-active { display: block; animation: hsIn 420ms ease; }
@keyframes hsIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
.hs-slide img,
.hs-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: grayscale(0.22) contrast(1.06) brightness(0.56);
}
.hs-slide video {
  pointer-events: none;
  background: #14100e;
}
.hs-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 16, 14, 0.94) 4%, rgba(20, 16, 14, 0.66) 48%, rgba(20, 16, 14, 0.16) 84%);
}
.hs-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 11vh, 120px) 24px clamp(56px, 9vh, 96px);
  min-height: clamp(460px, 62vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 6px solid var(--brand);
}
.hs-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffb184;
  margin: 0 0 18px;
}
.hs-inner h1,
.hs-title {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 18ch;
  font-weight: 900;
}
.hs-inner h1 em,
.hs-title em {
  font-style: normal;
  color: var(--brand);
}
.hs-lead {
  margin: 22px 0 30px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #ddd2cb;
  max-width: 48ch;
}
.hs-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(20, 16, 14, 0.35);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.hs-nav:hover { background: var(--brand); border-color: var(--brand); }
.hs-prev { left: 18px; }
.hs-next { right: 18px; }

.hs-dots {
  position: absolute;
  right: 24px;
  bottom: 26px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hs-dots button {
  width: 32px;
  height: 6px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 160ms ease, width 160ms ease;
}
.hs-dots button:hover { background: rgba(255, 255, 255, 0.75); }
.hs-dots button.is-active { width: 52px; background: var(--brand); }

/* ---------- 快捷入口 ---------- */
.quick-strip { background: #fff; border-bottom: 2px solid var(--edge); }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.quick-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 24px 18px 26px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  transition: background 180ms ease;
}
.quick-item:first-child { border-left: 0; }
.quick-item:hover { background: var(--brand-soft); }
.quick-item:hover .quick-ico { color: var(--brand); }
.quick-ico {
  width: 32px;
  height: 32px;
  color: var(--brand-strong);
  margin-bottom: 8px;
  transition: color 180ms ease;
}
.quick-ico svg { width: 100%; height: 100%; display: block; }
.quick-t { font-size: 15.5px; font-weight: 900; letter-spacing: -0.01em; }
.quick-item:hover .quick-t { color: var(--brand-strong); }
.quick-s { font-size: 11.5px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---------- 数据带 ---------- */
.stats-band { background: var(--brand); color: #fff; border-bottom: 4px solid var(--edge); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.stats-grid > div:first-child { border-left: 0; }
.stats-grid .v {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stats-grid .v .u { font-size: 15px; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.stats-grid .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
}

/* ---------- 业务板块 ---------- */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.biz-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.biz-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 rgba(43, 34, 29, 0.16); }
.biz-card--wide { grid-column: 1 / -1; flex-direction: row; }
.biz-card--wide .biz-media { flex: 0 0 44%; border-bottom: 0; border-right: 2px solid var(--edge); }
.biz-card--wide .biz-media img { height: 100%; aspect-ratio: auto; object-fit: cover; }
.biz-card--wide .biz-body { justify-content: center; padding: 30px 32px; }
.biz-card--wide .biz-body h3 { font-size: 26px; }
.biz-media { position: relative; border-bottom: 2px solid var(--edge); overflow: hidden; }
.biz-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 340ms ease; }
.biz-card:hover .biz-media img { transform: scale(1.035); }
.biz-no {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
}
.biz-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.biz-en {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.biz-body h3 { font-size: 23px; margin-bottom: 8px; }
.biz-body > p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; flex: 1; }
.biz-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.biz-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.biz-specs li:last-child { border-bottom: 0; }
.biz-specs li span:first-child { color: var(--muted); }
.biz-specs li span:last-child { font-weight: 700; text-align: right; }

/* ---------- 工艺链 ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.22);
}
.process li {
  margin: 0;
  padding: 24px 20px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease;
}
.process li:last-child { border-right: 0; }
.process li:hover { background: rgba(240, 100, 25, 0.16); }
.process .step {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #ffb184;
}
.process h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.process p { margin: 0; font-size: 13px; line-height: 1.6; color: #b9aea7; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.news-card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 rgba(43, 34, 29, 0.16); }
.news-card-media { border-bottom: 2px solid var(--edge); overflow: hidden; }
.news-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 320ms ease; }
.news-card:hover .news-card-media img { transform: scale(1.035); }
.news-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.news-card-meta .cat { color: var(--brand-strong); font-weight: 700; letter-spacing: 0.08em; }
.news-card h3 { font-size: 18.5px; line-height: 1.35; margin-bottom: 10px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--brand-strong); }
.news-card p { font-size: 14px; color: var(--muted); margin: 0 0 16px; flex: 1; }

.news-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.news-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.news-cat:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.news-cat .count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.news-cat:hover .count { color: #ffb184; }

/* ---------- 表面处理配套条 ---------- */
.coating-strip {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--edge);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.coating-strip img { width: 280px; height: auto; object-fit: cover; border-right: 2px solid var(--edge); }
.coating-strip-body { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.coating-strip-body h4 { margin: 0; font-size: 18px; }
.coating-strip-body p { margin: 0; font-size: 14px; color: var(--muted); }
.coating-strip:hover { box-shadow: 7px 7px 0 rgba(43, 34, 29, 0.12); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(odd) { border-left: 0; }
  .quick-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .quick-item:nth-child(5) { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div:nth-child(3) { border-left: 0; }
  .stats-grid > div:nth-child(3),
  .stats-grid > div:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.28); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process li:nth-child(3) { border-right: 0; }
  .process li:nth-child(-n + 3) { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .news-grid, .news-cats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card--wide { grid-column: auto; flex-direction: column; }
  .biz-card--wide .biz-media { flex: none; border-right: 0; border-bottom: 2px solid var(--edge); }
  .biz-card--wide .biz-media img { aspect-ratio: 16 / 9; }
  .biz-card--wide .biz-body { padding: 22px 24px 24px; }
  .hs-nav { display: none; }
  .hs-inner { border-left-width: 4px; padding-left: 20px; }
  .hs-dots { right: 18px; bottom: 18px; }
}

@media (max-width: 760px) {
  .quick-grid { grid-template-columns: 1fr; }
  .quick-item { border-left: 0; border-top: 1px solid var(--line); padding: 20px 18px; }
  .quick-item:nth-child(5) { grid-column: auto; }
  .quick-item:first-child { border-top: 0; }
  .stats-grid > div { padding: 24px 18px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .process li:nth-child(2n) { border-right: 0; }
  .process li:last-child { border-bottom: 0; }
  .news-grid, .news-cats { grid-template-columns: 1fr; }
  .hs-lead { font-size: 15.5px; }
  .biz-body { padding: 20px; }
  .coating-strip { flex-direction: column; }
  .coating-strip img { width: 100%; height: 190px; border-right: 0; border-bottom: 2px solid var(--edge); }
  .coating-strip-body { padding: 20px; }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-active { animation: none; }
  .hs-slide video { display: none; }
  .biz-card:hover,
  .news-card:hover,
  .news-cat:hover { transform: none; box-shadow: none; }
  .biz-card:hover .biz-media img,
  .news-card:hover .news-card-media img { transform: none; }
}

/* ---------- 材料与表面处理 ---------- */
.mat-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 46px;
  align-items: start;
}
.mat-block h3 { font-size: 19px; margin-bottom: 14px; }
.tier-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--edge); }
.tier-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.tier-list .tier {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--brand-strong);
  font-weight: 700;
  padding-top: 3px;
}
.tier-list strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.tier-list .use { font-size: 13.5px; color: var(--muted); }
.mat-note { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.75; }

@media (max-width: 1000px) {
  .mat-wrap { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .tier-list li { grid-template-columns: 1fr; gap: 4px; }
}
