/* =========================================================
   PLAYNEST TOYS — site.css
   设计语言：工业感的严谨 + 玩具的暖意
   ========================================================= */

:root {
  --navy: #14324c;
  --navy-deep: #0d2233;
  --ink: #1b1a18;
  --body: #4a463f;
  --muted: #6e6a63;
  --muted-2: #948f86;
  --cream: #faf7f1;
  --sand: #f2ede3;
  --paper: #ffffff;
  --amber: #c9701f;
  --amber-dark: #a85c15;
  --amber-soft: #fdf1e4;
  --mint: #2fa98c;
  --mint-soft: #edf6f3;
  --line: #e5dfd3;
  --line-strong: #d3cabb;

  --radius-lg: 18px;
  --radius: 14px;
  --radius-sm: 9px;
  --container: 1200px;

  --font-display: "Manrope", "Segoe UI Variable Display", "PingFang SC", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --shadow-card: 0 22px 45px -30px rgba(20, 50, 76, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.3;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------------------- 通用元素 ---------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-family: var(--font-body);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--light {
  color: #f0c795;
}

.eyebrow--plain::before {
  display: none;
}

.lede {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.section--tight {
  padding: clamp(48px, 5vw, 72px) 0;
}

.section--sand {
  background: var(--sand);
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 54px);
}

.section-head__text {
  max-width: 640px;
}

.section-head h2 {
  margin-top: 16px;
}

.section-head p {
  margin-top: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow span {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------------------------- 按钮 ---------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--amber);
  color: #fff;
}

.btn--primary:hover {
  background: var(--amber-dark);
}

.btn--dark {
  background: var(--navy);
  color: #fff;
}

.btn--dark:hover {
  background: var(--navy-deep);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--navy);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: rgba(20, 50, 76, 0.04);
}

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

/* ---------------------------- 顶部导航 ---------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.hdr__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.hdr--overlay {
  position: fixed;
  left: 0;
  right: 0;
  color: #fff;
}

.hdr--overlay .brand__name,
.hdr--overlay .nav a,
.hdr--overlay .hdr__meta {
  color: #fff;
}

.hdr.is-solid {
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(20, 50, 76, 0.04);
}

.hdr.is-solid .brand__name,
.hdr.is-solid .nav a,
.hdr.is-solid .hdr__meta {
  color: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--amber);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  opacity: 0.6;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 18px;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.28s var(--ease);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.nav a:hover {
  color: var(--amber);
}

.hdr__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr__meta {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.burger svg {
  width: 18px;
  height: 18px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--cream);
  padding: 88px 24px 32px;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 24px;
}

/* ---------------------------- 首屏 ---------------------------- */

.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(9, 26, 38, 0.94) 0%,
      rgba(9, 26, 38, 0.62) 45%,
      rgba(9, 26, 38, 0.34) 100%
    ),
    linear-gradient(to right, rgba(9, 26, 38, 0.72) 0%, rgba(9, 26, 38, 0.1) 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: clamp(48px, 6vw, 84px);
  color: #fff;
}

.hero h1 {
  color: #fff;
  max-width: 17ch;
  margin-top: 22px;
}

.hero__sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.74);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 26px;
}

.hero__fact {
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__fact:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero__fact b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero__fact span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.02em;
}

/* 认证条 */

.certbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.certbar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.certbar__label {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-right: 26px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.certbar__list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.cert-chip {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--sand);
  border-radius: 6px;
  padding: 6px 12px;
  white-space: nowrap;
}

.cert-chip--mint {
  background: var(--mint-soft);
  color: #1b6b58;
}

/* ---------------------------- 分类卡片 ---------------------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.cat-card__figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.cat-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat-card:hover .cat-card__figure img {
  transform: scale(1.045);
}

.cat-card__body {
  padding: 20px 22px 24px;
}

.cat-card__count {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(250, 247, 241, 0.94);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 11px;
  backdrop-filter: blur(4px);
}

.cat-card h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

.cat-card__cn {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 6px;
}

.cat-card p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------------------------- 产品卡片 ---------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.pcard__figure {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sand);
}

.pcard__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.pcard:hover .pcard__figure img {
  transform: scale(1.05);
}

.pcard__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--amber-soft);
  color: #8a4a10;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 5px;
}

.pcard__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pcard__cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.pcard h3 {
  font-size: 16.5px;
  line-height: 1.32;
}

.pcard__brief {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.pcard__price {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.pcard__moq {
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------------------------- 数据 / 能力 ---------------------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 34px 30px 34px 0;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat b i {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--amber);
}

.stat span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.value-item {
  padding: 32px 40px 32px 0;
  border-bottom: 1px solid var(--line);
}

.value-item:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 40px;
}

.value-item:nth-child(even) {
  padding-left: 40px;
}

.value-item__no {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.value-item h3 {
  margin-top: 10px;
  font-size: 19px;
}

.value-item p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 42ch;
}

/* ---------------------------- 流程 ---------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process__item {
  background: var(--paper);
  padding: 28px 26px 32px;
  transition: background 0.3s var(--ease);
}

.process__item:hover {
  background: #fffdf9;
}

.process__no {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.process__item h3 {
  margin-top: 14px;
  font-size: 17px;
}

.process__item p {
  margin-top: 10px;
  font-size: 13.8px;
  line-height: 1.66;
  color: var(--muted);
}

/* ---------------------------- 图文分栏 ---------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}

.split__media img,
.split__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split__media--tall img,
.split__media--tall video {
  aspect-ratio: 3 / 4;
}

.split__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.split__badge b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}

.split__badge span {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
  display: block;
}

.split__body h2 {
  margin-top: 18px;
}

.split__body .lede {
  margin-top: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--mint-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fa98c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------------------------- 图集 / 工厂 ---------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.7s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(9, 26, 38, 0.82), transparent);
}

.gallery--tall img {
  aspect-ratio: 3 / 4;
}

/* ---------------------------- 评价 ---------------------------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-card__mark {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.6;
  color: var(--line-strong);
}

.quote-card p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink);
  flex: 1;
}

.quote-card__by {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.quote-card__by b {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.quote-card__by span {
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------------------------- 询价区 ---------------------------- */

.rfq {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.76);
  position: relative;
  overflow: hidden;
}

.rfq h2 {
  color: #fff;
  margin-top: 16px;
}

.rfq__promise {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.rfq__promise div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.rfq__promise svg {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--mint);
}

.form {
  display: grid;
  gap: 14px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.62;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201, 112, 31, 0.14);
}

.field--dark label {
  color: rgba(255, 255, 255, 0.62);
}

.field--dark input,
.field--dark select,
.field--dark textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.field--dark input::placeholder,
.field--dark textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.field--dark input:focus,
.field--dark select:focus,
.field--dark textarea:focus {
  border-color: #f0c795;
  box-shadow: 0 0 0 3px rgba(240, 199, 149, 0.18);
}

.form__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.form__msg {
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  display: none;
}

.form__msg.is-ok {
  display: block;
  background: rgba(47, 169, 140, 0.16);
  color: #b8f0e0;
}

.form__msg.is-err {
  display: block;
  background: rgba(220, 90, 70, 0.16);
  color: #ffc9bf;
}

/* 浅色表单（联系页） */

.form--light .field label {
  color: var(--muted);
  opacity: 1;
}

/* ---------------------------- 页脚 ---------------------------- */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  padding: clamp(54px, 6vw, 82px) 0 26px;
  font-size: 14px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .brand__name {
  color: #fff;
}

.footer__desc {
  margin-top: 18px;
  max-width: 34ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.9;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  display: grid;
  gap: 12px;
  line-height: 1.6;
}

.footer__contact b {
  color: #fff;
  font-weight: 500;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
}

/* ---------------------------- 页面头部（内页） ---------------------------- */

.page-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 56px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-top: 18px;
  max-width: 20ch;
}

.page-head__sub {
  margin-top: 18px;
  max-width: 60ch;
  font-size: 16.5px;
  color: var(--muted);
}

.crumbs {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
  align-items: center;
}

.crumbs a:hover {
  color: var(--amber);
}

.crumbs span {
  opacity: 0.5;
}

/* ---------------------------- 产品列表页 ---------------------------- */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.filter-tab {
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-body);
}

.filter-tab:hover {
  border-color: var(--navy);
}

.filter-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.search-box {
  position: relative;
  flex: 0 0 auto;
  min-width: 268px;
  margin-left: auto;
}

.search-box input {
  width: 100%;
  padding: 11px 16px 11px 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--amber);
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--muted-2);
}

.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

/* ---------------------------- 产品详情 ---------------------------- */

.pdp {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.pdp__gallery {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 12px;
}

.pdp__main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 1 / 1;
}

.pdp__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pdp__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--sand);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  padding: 0;
}

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__thumb.is-active {
  border-color: var(--amber);
}

.pdp__info h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-top: 14px;
}

.pdp__brief {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pdp__price b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
}

.pdp__price span {
  font-size: 13px;
  color: var(--muted-2);
}

.spec {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
}

.spec th,
.spec td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec th {
  width: 38%;
  font-weight: 400;
  color: var(--muted);
}

.spec td {
  color: var(--ink);
}

.pdp__actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ---------------------------- 认证卡片 ---------------------------- */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cert-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.cert-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.cert-card__mark {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.cert-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------------------------- 时间线 ---------------------------- */

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.timeline__item p {
  font-size: 15px;
  color: var(--body);
}

/* ---------------------------- 联系页 ---------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--amber);
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 40px);
}

/* ---------------------------- 动效 ---------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------------------------- 响应式 ---------------------------- */

@media (max-width: 1080px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid,
  .product-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .pdp {
    grid-template-columns: 1fr;
  }
  .pdp__gallery {
    position: static;
  }
}

/* ------------------------------------------------------------------
   移动端优化 —— 桌面样式保持不变，以下仅在窄屏生效
   ------------------------------------------------------------------ */

/* 平板 / 大屏手机 */
@media (max-width: 900px) {
  .oem-grid {
    grid-template-columns: 1fr !important;
  }

  .nav,
  .hdr__cta .btn--ghost,
  .hdr__cta .btn--light,
  .hdr__meta {
    display: none;
  }
  .burger {
    display: grid;
  }
  .hdr__cta {
    gap: 8px;
  }

  .section {
    padding: 54px 0;
  }
  .section--tight {
    padding: 38px 0;
  }
  .section-head {
    margin-bottom: 26px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .split__media img,
  .split__media video {
    aspect-ratio: 16 / 10;
  }
  .split__media--tall img,
  .split__media--tall video {
    aspect-ratio: 4 / 3;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }
  .process__item {
    padding: 20px 18px 22px;
  }
  .quote-grid,
  .contact-grid,
  .rfq {
    grid-template-columns: 1fr;
  }
  .rfq {
    padding: 28px 22px;
    border-radius: var(--radius);
    gap: 26px;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
  .stat {
    border-bottom: 1px solid var(--line);
    padding: 22px 16px 22px 0;
  }
  .stat:nth-child(2n) {
    border-right: 0;
    padding-left: 16px;
  }
  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .stat b {
    font-size: 2rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero {
    min-height: 86svh;
  }
  .hero__inner {
    padding-top: 102px;
    padding-bottom: 38px;
  }
  .hero h1 {
    max-width: 100%;
  }
  .hero__sub {
    margin-top: 18px;
    font-size: 15.5px;
  }
  .hero__actions {
    margin-top: 26px;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
  }
  .hero__facts {
    margin-top: 30px;
    padding-top: 20px;
    gap: 16px 0;
  }
  .hero__fact {
    padding-right: 22px;
    margin-right: 22px;
  }
  .hero__fact b {
    font-size: 19px;
  }

  .page-head {
    padding: 30px 0 26px;
  }
  .page-head h1 {
    margin-top: 12px;
  }
  .page-head__sub {
    margin-top: 12px;
    font-size: 15px;
  }

  /* 产品筛选：横向滑动，避免换行成三排 */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: 24px;
  }
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    flex: 0 0 auto;
  }
  .search-box {
    margin-left: 0;
    width: 100%;
    min-width: 0;
  }

  /* 产品详情 */
  .pdp {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pdp__gallery {
    position: static;
  }
  .pdp__price {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .pdp__actions .btn {
    flex: 1 1 auto;
  }

  .timeline__item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 16px 0;
  }
  .value-item {
    padding: 22px 0;
  }
  .quote-card {
    padding: 22px 20px;
  }
  .cert-card {
    padding: 18px 16px;
  }
  .footer {
    padding-top: 42px;
  }
  .footer__top {
    gap: 26px;
  }

  /* iOS：输入框 < 16px 会触发页面自动放大 */
  input,
  select,
  textarea,
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
  .search-box input {
    font-size: 16px;
    padding: 11px 16px 11px 38px;
  }

  [id] {
    scroll-margin-top: 84px;
  }
}

/* 手机 */
@media (max-width: 620px) {
  .container {
    padding: 0 18px;
  }

  h1 {
    font-size: clamp(2rem, 8.6vw, 2.5rem);
    letter-spacing: -0.03em;
  }
  h2 {
    font-size: clamp(1.55rem, 6.6vw, 1.95rem);
  }
  .lede {
    font-size: 15px;
    line-height: 1.65;
  }
  .eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.16em;
  }

  .hdr__inner {
    height: 62px;
    gap: 10px;
  }
  .hdr .brand__sub {
    display: none;
  }
  .footer .brand__sub {
    font-size: 10.5px;
  }
  .brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 17px;
  }
  .brand__name {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
  .hdr__cta .btn {
    padding: 9px 14px;
    font-size: 12.5px;
  }

  .hero {
    min-height: 82svh;
  }
  .hero__inner {
    padding-top: 90px;
  }
  .hero__sub {
    font-size: 14.5px;
  }
  .hero__facts {
    gap: 14px;
  }
  .hero__fact {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }
  .hero__fact b {
    font-size: 16.5px;
  }
  .hero__fact span {
    font-size: 10.5px;
    line-height: 1.4;
    display: block;
    margin-top: 3px;
  }

  .certbar {
    padding: 18px 0;
  }
  .certbar__inner {
    gap: 12px;
  }
  .certbar__label {
    border-right: 0;
    padding-right: 0;
    font-size: 10.5px;
  }
  .cert-chip {
    font-size: 11px;
    padding: 5px 9px;
  }

  /* 分类：两列，隐藏长简介 */
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cat-card__figure {
    aspect-ratio: 1 / 1;
  }
  .cat-card__body {
    padding: 11px 12px 13px;
  }
  .cat-card h3 {
    font-size: 13.5px;
    line-height: 1.3;
  }
  .cat-card__cn {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    margin-top: 3px;
  }
  .cat-card p {
    display: none;
  }
  .cat-card__count {
    top: 8px;
    right: 8px;
    font-size: 10.5px;
    padding: 3px 7px;
  }

  /* 产品卡：两列紧凑排布 */
  .product-grid,
  .product-grid--wide {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .pcard__body {
    padding: 11px 12px 13px;
    gap: 3px;
  }
  .pcard__cat {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pcard h3 {
    font-size: 13px;
    line-height: 1.35;
  }
  .pcard__brief {
    display: none;
  }
  .pcard__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding-top: 9px;
  }
  .pcard__price {
    font-size: 11.5px;
  }
  .pcard__moq {
    font-size: 10.5px;
  }
  .pcard__tag {
    top: 8px;
    left: 8px;
    font-size: 10.5px;
    padding: 3px 6px;
  }

  .process,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .value-item,
  .value-item:nth-child(even) {
    padding: 20px 0;
    border-right: 0;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cert-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .cert-card p {
    font-size: 12px;
  }
  .btn {
    padding: 12px 20px;
  }
  .spec th,
  .spec td {
    font-size: 12.5px;
  }
  .spec th {
    width: 42%;
  }
  .gallery figcaption {
    font-size: 10.5px;
    padding: 20px 10px 9px;
  }
  .pdp__thumbs {
    gap: 8px;
  }
  .pdp__info h1 {
    font-size: 1.75rem;
  }

  /* 移动端底部询价条（仅产品详情页） */
  .has-mobile-cta {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }
  .has-mobile-cta .mobile-cta {
    display: flex;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.95rem;
  }
  .hero__fact b {
    font-size: 16px;
  }
  .cat-card h3,
  .pcard h3 {
    font-size: 12.5px;
  }
  .btn {
    font-size: 13px;
  }
}

/* 移动端底部 CTA（默认隐藏） */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  align-items: center;
  gap: 12px;
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.mobile-cta__info {
  flex: 1;
  min-width: 0;
}

.mobile-cta__info b {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-cta__info span {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 2px;
}

.mobile-cta .btn {
  flex: 0 0 auto;
}
