/* ============ 公司简介 ============ */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.intro__lead {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.5;
  letter-spacing: -0.028em;
  font-weight: 500;
  color: var(--fg);
}

.intro__lead::first-letter {
  color: var(--acc);
}

.intro__body p {
  color: var(--fg-2);
  font-size: 15.5px;
  line-height: 1.9;
}

.intro__body p + p {
  margin-top: 18px;
}

.hl {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hl__i {
  background: var(--bg);
  padding: 22px 20px;
  transition: background 0.35s;
}

.hl__i:hover {
  background: var(--bg-2);
}

.hl__i h4 {
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl__i h4::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--acc);
  border-radius: 1px;
  transform: rotate(45deg);
}

.hl__i p {
  font-size: 13.5px;
  color: var(--fg-3);
  line-height: 1.75;
}

.hl__i:hover h4::before {
  background: var(--gold);
}

@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
  }
}

/* ============ 业务矩阵（分隔行，非等宽卡片） ============ */

.blist {
  border-top: 1px solid var(--line);
}

.brow {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 300px) minmax(0, 1fr) 46px;
  gap: 26px;
  align-items: center;
  padding: 34px 6px 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-out), background 0.4s;
  overflow: hidden;
}

.brow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}

.brow:hover {
  padding-left: 22px;
  background: linear-gradient(90deg, rgba(176,125,40,0.07), transparent 55%);
}

.brow:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.brow__no {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.brow__ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-acc);
  display: grid;
  place-items: center;
  color: #eaf2ff;
  box-shadow: 0 10px 22px -10px rgba(43, 95, 166, 0.55);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s;
}

.brow__ic svg {
  width: 27px;
  height: 27px;
}

.brow:hover .brow__ic {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 26px -10px var(--gold-soft);
}

.brow__no-n {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-4);
  letter-spacing: 0.04em;
  transition: color 0.4s;
}

.brow:hover .brow__no-n {
  color: var(--gold-2);
}

.brow__t {
  font-size: clamp(20px, 2.3vw, 27px);
  letter-spacing: -0.03em;
}

.brow__st {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-4);
  margin-top: 7px;
}

.brow__d {
  color: var(--fg-3);
  font-size: 14.5px;
  line-height: 1.8;
}

.brow__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.brow__arw {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--fg-3);
  transition: all 0.4s var(--ease-out);
}

.brow:hover .brow__arw {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(-45deg);
}

@media (max-width: 860px) {
  .brow {
    grid-template-columns: 54px 1fr;
    gap: 8px 18px;
    padding-block: 26px;
  }
  .brow__ic {
    width: 40px;
    height: 40px;
  }
  .brow__ic svg {
    width: 23px;
    height: 23px;
  }
  .brow__no {
    gap: 6px;
  }
  .brow__d {
    grid-column: 2;
  }
  .brow__arw {
    display: none;
  }
}

/* ============ 产品板块（左右分栏交替） ============ */

.prod {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.prod--flip .prod__vis {
  order: -1;
}

.prod__vis {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border: 1px solid rgba(43, 95, 166, 0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* 自包含深石板底：产品可视化（jixia/twin/agri 的 SVG/Canvas）本就是暗色图纸，须衬深底；
     不再依赖 --bg-1（浅色化后已变白），否则会 dark→white 渐变失真 */
  background: radial-gradient(130% 110% at 50% -10%, #11202e, #0a131c 70%);
  transition: border-color 0.4s, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.prod__vis:hover {
  border-color: var(--gold);
  box-shadow: 0 28px 70px -34px rgba(43, 95, 166, 0.55);
  transform: translateY(-3px);
}

.prod__vis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod__vis svg,
.prod__vis canvas {
  width: 100%;
  height: 100%;
}

.prod__vis::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 0 var(--hi);
  border-radius: inherit;
}

.feat {
  margin-top: 34px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.feat__i {
  background: var(--bg);
  padding: 19px 4px 19px 0;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  transition: background 0.35s, padding-left 0.4s var(--ease-out);
}

.feat__i:hover {
  background: var(--bg-1);
  padding-left: 14px;
}

.feat__n {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--acc);
  padding-top: 4px;
  opacity: 0.8;
}

.feat__i h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.feat__i p {
  font-size: 13.5px;
  color: var(--fg-3);
  line-height: 1.78;
}

/* 指标条 */
.mets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.met__v {
  font-family: var(--mono);
  font-size: 24px;
  color: var(--acc);
  letter-spacing: -0.02em;
  font-weight: 500;
}

.met__l {
  font-size: 12.5px;
  color: var(--fg-4);
  margin-top: 5px;
}

/* 技术分层列表 */
.layers {
  margin-top: 32px;
  display: grid;
  gap: 8px;
  counter-reset: ly;
}

.layer {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  transition: all 0.35s var(--ease-out);
}

.layer:hover {
  border-color: var(--acc-line);
  background: var(--acc-dim);
  transform: translateX(6px);
}

.layer b {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--acc);
}

.layer span {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.6;
}

/* 闭环流程 */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 34px;
}

.flow__i {
  background: var(--bg);
  padding: 20px 18px;
  position: relative;
  transition: background 0.35s;
}

.flow__i:hover {
  background: var(--bg-2);
}

.flow__i b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 9px;
}

.flow__i b i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10.5px;
  color: var(--acc);
  border: 1px solid var(--acc-line);
  border-radius: 4px;
  padding: 1px 5px;
}

.flow__i p {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.7;
}

@media (max-width: 940px) {
  .prod {
    grid-template-columns: 1fr;
  }
  .prod--flip .prod__vis {
    order: 0;
  }
  .prod__vis {
    aspect-ratio: 16 / 11;
  }
}

/* ============ 技术底座（spotlight 卡片） ============ */

.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.tcard {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}

.tcard::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(176,125,40,0.14),
    transparent 62%
  );
  pointer-events: none;
}

.tcard:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.tcard:hover::before {
  opacity: 1;
}

.tcard__tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-4);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 2px 7px;
  transition: all 0.35s;
}

.tcard:hover .tcard__tag {
  color: var(--gold-2);
  border-color: var(--gold-soft);
}

.tcard h4 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-right: 70px;
}

.tcard p {
  font-size: 13.5px;
  color: var(--fg-3);
  line-height: 1.8;
}

.tcard__bar {
  margin-top: 20px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.tcard__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--acc);
  transition: width 0.7s var(--ease-out);
}

.tcard:hover .tcard__bar i {
  width: 100%;
}

/* ============ 应用场景 ============ */

.sgrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.scard {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
  isolation: isolate;
  transition: border-color 0.4s;
}

.scard:nth-child(1),
.scard:nth-child(4) {
  grid-column: span 4;
}

.scard__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.scard__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease-out);
}

.scard:hover .scard__bg img {
  transform: scale(1.08);
}

.scard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--bg-2) 97%, transparent) 6%,
    color-mix(in srgb, var(--bg-2) 52%, transparent) 60%,
    transparent);
}

.scard:hover {
  border-color: var(--gold);
}

.scard h4 {
  font-size: 19px;
  margin-bottom: 9px;
}

.scard p {
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 46ch;
}

.scard__m {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--gold-2);
  border-top: 1px solid var(--gold-soft);
  padding-top: 12px;
  width: fit-content;
}

@media (max-width: 900px) {
  .sgrid {
    grid-template-columns: 1fr;
  }
  .scard,
  .scard:nth-child(1),
  .scard:nth-child(4) {
    grid-column: span 1;
  }
}

/* ============ 关于我们 ============ */

.vmv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-bottom: 60px;
}

.vmv__i {
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-tint), transparent 60%);
  transition: border-color 0.4s;
}

.vmv__i::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.vmv__i:hover::before {
  transform: scaleX(1);
}

.vmv__i:hover .vmv__k {
  color: var(--gold-2);
}

.vmv__i:hover {
  border-color: var(--acc-line);
}

.vmv__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--acc);
  margin-bottom: 14px;
}

.vmv__i p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.tl {
  position: relative;
  padding-left: 30px;
}

.tl::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--acc-line), var(--line) 30%, var(--line));
}

.tl__i {
  position: relative;
  padding-bottom: 34px;
}

.tl__i:last-child {
  padding-bottom: 0;
}

.tl__i::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--fg-4);
  transition: all 0.4s;
}

.tl__i:hover::before {
  border-color: var(--acc);
  box-shadow: 0 0 0 4px var(--acc-dim);
}

.tl__d {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--acc);
  margin-bottom: 6px;
}

.tl__i h4 {
  font-size: 17px;
  margin-bottom: 7px;
}

.tl__i p {
  font-size: 13.5px;
  color: var(--fg-3);
  line-height: 1.8;
  max-width: 62ch;
}
