/* ============================================================
   驷马贸易官网 · 工厂业务页 /factory/
   依赖：main.css（六蓝 tokens、按钮、页脚）+ inner.css（页头、锚点、FAQ）
   规则：hover 只改颜色 / 描边 / 背景；不做位移与缩放
   ============================================================ */

/* ---------- M1 Hero ---------- */
.factory-hero {
  display: block;
  height: auto;
  min-height: 560px;
  padding: calc(var(--header-h) + 34px) 0 0;
}

.factory-hero .page-hero__bg {
  background-position: center 54%;
}

.factory-hero .page-hero__mask {
  background:
    linear-gradient(90deg, rgba(4, 13, 38, .92) 0%, rgba(6, 20, 58, .74) 44%, rgba(8, 24, 68, .38) 100%),
    linear-gradient(180deg, rgba(4, 13, 38, .22) 0%, rgba(4, 13, 38, .10) 40%, rgba(4, 13, 38, .82) 100%);
}

.factory-hero__grid {
  display: block;
}

.factory-hero h1 {
  max-width: 940px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.28;
  letter-spacing: -.03em;
}

.factory-hero .page-hero__sub {
  max-width: 800px;
  margin-top: 18px;
  font-size: clamp(14.5px, 1.3vw, 16.5px);
  line-height: 1.85;
}

.factory-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.factory-hero__more {
  margin-top: 12px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.factory-hero__more a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .42);
  transition: color .18s ease, border-color .18s ease;
}

.factory-hero__more a:hover,
.factory-hero__more a:focus-visible {
  color: var(--blue-pale);
  border-color: var(--blue-pale);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, .55);
  background: transparent;
  color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: var(--blue);
  border-color: #fff;
  color: #fff;
}

.btn-outline {
  border: 1px solid rgba(0, 47, 167, .38);
  background: transparent;
  color: var(--blue);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--blue);
  background: rgba(0, 47, 167, .06);
}

/* 四能力导轨 */
.factory-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(22px, 3.2vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.factory-rail a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 16px 15px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  transition: background-color .18s ease, color .18s ease;
}

.factory-rail a:first-child {
  border-left: 0;
  padding-left: 0;
}

.factory-rail a:hover,
.factory-rail a:focus-visible {
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.factory-rail__no {
  flex: none;
  color: var(--blue-pale);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.factory-rail__text {
  min-width: 0;
}

.factory-rail__text strong,
.factory-rail__text small {
  display: block;
}

.factory-rail__text strong {
  color: #fff;
  font-size: 14.5px;
  line-height: 1.4;
}

.factory-rail__text small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .58);
  font-size: 11.5px;
  line-height: 1.45;
}

.factory-rail__arrow {
  flex: none;
  width: 15px;
  height: 15px;
  margin-left: auto;
  opacity: .38;
  transition: opacity .18s ease;
}

.factory-rail a:hover .factory-rail__arrow,
.factory-rail a:focus-visible .factory-rail__arrow {
  opacity: 1;
}

/* ---------- M2 四块能力 ---------- */
.factory-capabilities {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #F6FAFF 0%, #FFFFFF 46%);
}

.factory-capabilities > .container {
  position: relative;
  z-index: 1;
}

/* 底纹：页脚「光圈」语言——只做两角柔光，不压正文与卡片 */
.cap-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
}

.cap-deco::before {
  content: "";
  position: absolute;
  top: -360px;
  right: -360px;
  width: 620px;
  aspect-ratio: 1;
  border: 1px solid rgba(16, 43, 152, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(16, 43, 152, .015);
}

.cap-deco__halo {
  position: absolute;
  border-radius: 50%;
}

.cap-deco__halo--tr {
  top: -480px;
  right: -280px;
  width: 980px;
  height: 980px;
  background: radial-gradient(circle at 50% 50%,
    rgba(16, 43, 152, .16) 0%,
    rgba(16, 43, 152, .08) 34%,
    rgba(16, 43, 152, .028) 55%,
    rgba(16, 43, 152, 0) 70%);
}

.cap-deco__halo--bl {
  bottom: -520px;
  left: -320px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at 50% 50%,
    rgba(5, 159, 223, .18) 0%,
    rgba(5, 159, 223, .075) 36%,
    rgba(5, 159, 223, .025) 58%,
    rgba(5, 159, 223, 0) 72%);
}

@media (max-width: 1023px) {
  .cap-deco::before {
    display: none;
  }

  .cap-deco__halo--tr {
    top: -400px;
    right: -300px;
    width: 760px;
    height: 760px;
  }

  .cap-deco__halo--bl {
    bottom: -420px;
    left: -320px;
    width: 700px;
    height: 700px;
  }
}

@media (max-width: 767px) {
  .cap-deco__halo--tr {
    top: -300px;
    right: -260px;
    width: 560px;
    height: 560px;
    opacity: .8;
  }

  .cap-deco__halo--bl {
    display: none;
  }
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 292px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.cap-card:hover,
.cap-card:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(0, 24, 95, .18);
}

.cap-card__top {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 22px;
}

.cap-card__no {
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  transition: color .2s ease;
}

.cap-card__top svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--blue);
  opacity: .34;
  transition: color .2s ease, opacity .18s ease;
}

.cap-card:hover .cap-card__top svg,
.cap-card:focus-visible .cap-card__top svg {
  color: #fff;
  opacity: 1;
}

.cap-card__tag {
  padding: 2px 8px;
  border: 1px solid #EADFC6;
  border-radius: 999px;
  background: #FFF9EA;
  color: #8A6D2F;
  font-size: 10.5px;
  line-height: 1.5;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.cap-card__title {
  margin-top: 15px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  transition: color .2s ease;
}

.cap-card:hover .cap-card__title,
.cap-card:focus-visible .cap-card__title {
  color: #fff;
}

.cap-card__desc {
  flex: 1 0 auto;
  margin-top: 9px;
  color: var(--text-sub);
  font-size: 13.5px;
  line-height: 1.75;
  transition: color .2s ease;
}

.cap-card__fit {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1.65;
  transition: color .2s ease, border-color .2s ease;
}

.cap-card__fit b {
  color: var(--text);
  font-weight: 500;
  transition: color .2s ease;
}

.cap-card__go {
  margin-top: 0;
  padding-top: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease;
}

.cap-card__go::after {
  content: " →";
}

.cap-card--supply {
  border-color: #EDF1F7;
  background: #FCFDFF;
}

.cap-card--supply:hover,
.cap-card--supply:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
}

.cap-card:hover .cap-card__no,
.cap-card:focus-visible .cap-card__no,
.cap-card:hover .cap-card__go,
.cap-card:focus-visible .cap-card__go {
  color: #fff;
}

.cap-card:hover .cap-card__desc,
.cap-card:focus-visible .cap-card__desc,
.cap-card:hover .cap-card__fit,
.cap-card:focus-visible .cap-card__fit {
  color: rgba(255, 255, 255, .78);
}

.cap-card:hover .cap-card__fit,
.cap-card:focus-visible .cap-card__fit {
  border-top-color: rgba(255, 255, 255, .34);
}

.cap-card:hover .cap-card__fit b,
.cap-card:focus-visible .cap-card__fit b {
  color: #fff;
}

.cap-card:hover .cap-card__tag,
.cap-card:focus-visible .cap-card__tag {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.cap-why {
  margin-top: 24px;
  padding: 18px 22px 20px;
  border: 1px solid #DCE8F7;
  border-radius: 10px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FBFF 100%);
}

.cap-why__label {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.cap-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.cap-why__grid > div {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.cap-why__grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.cap-why__grid strong {
  display: block;
  color: var(--blue-ink);
  font-size: 14.5px;
  line-height: 1.45;
}

.cap-why__grid span {
  display: block;
  margin-top: 5px;
  color: var(--text-sub);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- M3 北海自有水产工厂 ---------- */
.factory-beihai {
  position: relative;
  background: linear-gradient(180deg, #F4F9FF 0%, var(--blue-tint) 28%, #F9FCFF 100%);
}

.beihai-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.beihai-copy h2 {
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.34;
  text-wrap: balance;
}

.beihai-lead {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 1.88;
}

.beihai-sub {
  margin-top: 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.beihai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.beihai-tags span {
  padding: 5px 12px;
  border: 1px solid rgba(0, 47, 167, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 12.5px;
  line-height: 1.5;
}

.beihai-cta {
  margin-top: 24px;
}

.beihai-note {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 12.5px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, background-color .2s ease;
}

.product-card:hover {
  border-color: rgba(0, 47, 167, .30);
  background: #FBFDFF;
}

.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E9F1FB;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transition: filter .2s ease;
}

.product-card:hover img {
  filter: brightness(1.04);
}

.product-card__body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px 13px;
}

.product-card__body strong {
  color: var(--text);
  font-size: 14.5px;
}

.product-card__body span {
  color: var(--text-sub);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.product-note {
  margin-top: 10px;
  color: var(--text-sub);
  font-size: 11.5px;
  line-height: 1.6;
}

.beihai-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(26px, 3.4vw, 38px);
}

.path-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #D8E4F5;
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s ease, background-color .18s ease;
}

.path-card:hover,
.path-card:focus-visible {
  border-color: var(--blue);
  background: #FBFDFF;
}

.path-card > span:first-child {
  display: block;
  min-width: 0;
}

.path-card strong {
  display: block;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.4;
}

.path-card > span:first-child > span {
  display: block;
  margin-top: 4px;
  color: var(--text-sub);
  font-size: 12.5px;
  line-height: 1.65;
}

.path-card__go {
  flex: none;
  color: var(--blue);
  font-size: 13px;
}

/* ---------- M4 宁明玉源工厂 ---------- */
.factory-processing {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 17, 52, .94) 0%, rgba(7, 26, 78, .90) 48%, rgba(4, 14, 44, .96) 100%),
    url("../../img/coop/coop-stock.webp") center 46% / cover no-repeat,
    var(--blue-ink);
}

.factory-processing .container {
  position: relative;
  z-index: 1;
}

.processing-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: stretch;
}

.processing-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: var(--blue-ink);
}

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

.processing-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 13, 38, .04) 40%, rgba(4, 13, 38, .78) 100%);
  pointer-events: none;
}

.processing-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.processing-media figcaption span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 4px;
  background: rgba(6, 18, 54, .55);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: .06em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.processing-copy h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.36;
  text-wrap: balance;
}

.processing-br-mobile {
  display: none;
}

.processing-lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.9;
}

.processing-steps {
  list-style: none;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.processing-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.processing-step__no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.processing-steps h3 {
  color: #fff;
  font-size: 15.5px;
  line-height: 1.4;
}

.processing-steps p {
  margin-top: 4px;
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  line-height: 1.7;
}

.processing-close {
  margin-top: 16px;
  color: rgba(255, 255, 255, .80);
  font-size: 13.5px;
  line-height: 1.8;
}

.processing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.processing-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, .52);
  font-size: 12.5px;
  line-height: 1.7;
}

.processing-fit {
  margin-top: clamp(32px, 4.2vw, 48px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.processing-fit__label {
  color: var(--blue-pale);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.processing-fit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.fit-card {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .2s ease, background-color .2s ease;
}

.fit-card:hover {
  border-color: rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .07);
}

.fit-card__who {
  color: var(--blue-pale);
  font-size: 11px;
  letter-spacing: .06em;
}

.fit-card h3 {
  margin-top: 8px;
  color: #fff;
  font-size: 15.5px;
  line-height: 1.5;
}

.fit-card p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- M5 代加工与定制 ---------- */
.factory-oem {
  background: #fff;
}

.oem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr);
  gap: clamp(30px, 4.2vw, 54px);
  align-items: stretch;
}

.oem-flow-wrap {
  min-width: 0;
}

.oem-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  list-style: none;
}

.oem-step {
  min-width: 0;
  padding: 22px 16px 20px;
  border-left: 1px solid var(--line);
}

.oem-step:first-child {
  border-left: 0;
}

.oem-step__no {
  display: block;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
}

.oem-step h3 {
  margin-top: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.oem-step p {
  margin-top: 5px;
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1.65;
}

.oem-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.oem-terms > div {
  padding: 14px 16px;
  border: 1px solid #E4ECF7;
  border-radius: 8px;
  background: #F8FBFF;
}

.oem-terms strong {
  display: block;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.oem-terms span {
  display: block;
  margin-top: 5px;
  color: var(--text-sub);
  font-size: 12.5px;
  line-height: 1.65;
}

.oem-sample {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-ink);
}

.oem-sample img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oem-sample::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 54, .02) 42%, rgba(6, 18, 54, .86) 100%);
  pointer-events: none;
}

.oem-sample__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 4px;
  background: rgba(6, 18, 54, .50);
  color: #fff;
  font-size: 11px;
  letter-spacing: .06em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.oem-sample__body {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
}

.oem-sample__body strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.45;
}

.oem-sample__body p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.65;
}

.oem-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 24px;
}

.oem-actions p {
  flex-basis: 100%;
  color: var(--text-sub);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- M6 原料收储 ---------- */
.factory-supply {
  padding-block: clamp(36px, 4.5vw, 56px);
  background: var(--blue-tint);
}

.supply-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr) minmax(210px, .62fr);
  gap: clamp(22px, 3.4vw, 38px);
  align-items: center;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #D9E6F6;
  border-radius: 12px;
  background: #fff;
}

.supply-copy h2 {
  font-size: clamp(21px, 2.3vw, 26px);
  line-height: 1.4;
}

.supply-copy > p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.75;
}

.supply-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.supply-step {
  padding: 0 16px;
  border-left: 1px solid var(--line);
}

.supply-step:first-child {
  padding-left: 0;
  border-left: 0;
}

.supply-step > span {
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
}

.supply-step strong {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.45;
}

.supply-step p {
  margin-top: 4px;
  color: var(--text-sub);
  font-size: 11.5px;
  line-height: 1.6;
}

.supply-cta {
  justify-self: end;
}

.supply-cta .btn {
  height: 44px;
}

.supply-cta p {
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ---------- M7 FAQ + 最终 CTA ---------- */
.factory-faq {
  background: #fff;
}

.factory-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.factory-contact {
  margin-top: 0;
  padding: 24px;
  align-self: start;
}

.factory-contact h3 {
  font-size: 19px;
}

.factory-contact .btn {
  width: 100%;
  margin-top: 16px;
}

.factory-contact__more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--blue);
  font-size: 12.5px;
  transition: color .18s ease;
}

.factory-contact__more:hover,
.factory-contact__more:focus-visible {
  color: var(--blue-deep);
}

.factory-contact .factory-contact__time {
  margin-top: 0;
  color: var(--text-sub);
  font-size: 11.5px;
}

#contact {
  scroll-margin-top: calc(var(--header-h) + 78px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .oem-grid {
    grid-template-columns: 1fr;
  }

  .oem-sample {
    min-height: 320px;
  }

  .supply-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  }

  .supply-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 1023px) {
  .factory-hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 30px);
  }

  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beihai-grid,
  .processing-grid,
  .factory-faq-grid {
    grid-template-columns: 1fr;
  }

  .processing-media {
    min-height: 340px;
    aspect-ratio: 16 / 9;
  }

  .oem-sample {
    min-height: 300px;
  }

  .factory-contact {
    max-width: 480px;
  }
}

@media (max-width: 767px) {
  .processing-br-mobile {
    display: inline;
  }

  .factory-hero {
    padding-top: calc(var(--header-h) + 26px);
  }

  .factory-hero h1 {
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.3;
  }

  .factory-hero .page-hero__sub {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
  }

  .factory-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }

  .factory-hero__actions .btn {
    width: 100%;
  }

  .factory-hero__more {
    font-size: 12.5px;
  }

  .factory-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .factory-rail a {
    padding: 12px 10px 14px;
  }

  .factory-rail a:nth-child(2n+1) {
    padding-left: 0;
    border-left: 0;
  }

  .factory-rail a:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .factory-rail__text strong {
    font-size: 13.5px;
  }

  .factory-rail__text small {
    font-size: 11px;
  }

  .factory-rail__arrow {
    display: none;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cap-card {
    min-height: 0;
  }

  .cap-why__grid {
    grid-template-columns: 1fr;
  }

  .cap-why__grid > div {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .cap-why__grid > div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .beihai-cta {
    width: 100%;
  }

  .product-card__body {
    display: block;
    padding: 10px 12px 12px;
  }

  .product-card__body span {
    display: block;
    margin-top: 2px;
  }

  .beihai-paths {
    grid-template-columns: 1fr;
  }

  .path-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .processing-media {
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }

  .processing-fit__grid {
    grid-template-columns: 1fr;
  }

  .processing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .processing-actions .btn {
    width: 100%;
  }

  .oem-flow {
    grid-template-columns: 1fr;
  }

  .oem-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .oem-step:first-child {
    border-top: 0;
  }

  .oem-step__no {
    grid-row: 1 / 3;
    padding-top: 2px;
  }

  .oem-step h3 {
    margin-top: 0;
  }

  .oem-step p {
    margin-top: 2px;
  }

  .oem-terms {
    grid-template-columns: 1fr;
  }

  .oem-sample {
    min-height: 300px;
  }

  .oem-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .oem-actions .btn {
    width: 100%;
  }

  .supply-band {
    grid-template-columns: 1fr;
  }

  .supply-steps {
    grid-template-columns: 1fr;
  }

  .supply-step {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .supply-step:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .supply-cta {
    grid-column: auto;
    justify-self: stretch;
  }

  .supply-cta .btn {
    width: 100%;
  }

  .factory-contact {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-card,
  .product-card,
  .path-card,
  .fit-card,
  .factory-rail a,
  .factory-rail__arrow,
  .cap-card__top svg,
  .cap-card__title {
    transition: none;
  }
}
