@charset "UTF-8";
/* 首页专用样式 */

/* ---------- 首屏（浅色基调，深蓝字 + 亮黄点睛） ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(211, 236, 219, .95), transparent 66%),
    linear-gradient(180deg, #f4faf6 0%, #e8f4ec 100%);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  padding: 54px 0 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 54px;
  align-items: center;
  padding-bottom: 46px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--brand);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.24;
  letter-spacing: -.015em;
  margin: 0 0 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(180deg, rgba(253, 200, 0, 0) 62%, rgba(253, 200, 0, .55) 62%);
  padding-bottom: 2px;
}
.hero__lede {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 560px;
  margin: 0 0 26px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media {
  position: relative;
  padding: 0;
}
.hero__shot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #fff;
  background: #fff;
}
.hero__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
/* ---------- 首屏数据条 ---------- */
.hero-stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .62);
}
.hero-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero-stat {
  padding: 20px 20px;
  border-left: 1px solid var(--line);
}
.hero-stat:first-child { border-left: 0; padding-left: 0; }
.hero-stat__num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hero-stat__label { font-size: 13.5px; color: var(--muted); }

/* ---------- 产品分类 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, transform var(--t-fast) ease;
}
.cat-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--brand);
}
.cat-card__icon {
  width: 34px; height: 34px;
  color: var(--accent);
}
.cat-card__name { font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.cat-card__meta { font-size: 12.5px; color: var(--muted); }
.cat-card__go {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- 精品推荐 ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, transform var(--t-fast) ease;
}
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--brand);
}
.product-card__media {
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 14px 16px 16px; }
.product-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__cat { font-size: 12.5px; color: var(--muted); }

/* ---------- 新闻 / 知识 双栏 ---------- */
.post-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.post-column__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--brand);
  margin-bottom: 6px;
}
.post-column__head h2 { font-size: 20px; margin: 0; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-bottom: 1px dashed var(--line); }
.post-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.post-list a:hover { color: var(--brand); }
.post-list .post-dot {
  flex: 0 0 auto;
  width: 6px; height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background-color var(--t-fast) ease;
}
.post-list a:hover .post-dot { background: var(--gold); }
.post-list .post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 技术能力条 ---------- */
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cap-card {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  color: var(--ink);
  transition: box-shadow var(--t-fast) ease, transform var(--t-fast) ease, border-color var(--t-fast) ease;
}
.cap-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-top-color: var(--gold); color: var(--ink); }
.cap-card__icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.cap-card h3 { font-size: 17px; margin: 0 0 8px; }
.cap-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 12px; }

/* ---------- 咨询条 ---------- */
.cta-band {
  background: linear-gradient(120deg, #eaf5ee 0%, #d6ebdd 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 44px 0;
}
.cta-band__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-band__grid > div:first-child { max-width: 800px; }
.cta-band h2 { color: var(--brand); font-size: 25px; line-height: 1.45; margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero__grid { gap: 36px; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 42px; }
  .hero__media { max-width: 520px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .capabilities { grid-template-columns: minmax(0, 1fr); }
  .post-columns { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat { border-left: 0; border-top: 1px solid var(--line); }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-top: 0; }
}

@media (max-width: 640px) {
  .hero { padding-top: 42px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stats__grid { grid-template-columns: minmax(0, 1fr); }
}
