/* ==========================================================================
   芯织科技 Xinzhi Technology — 酒店家纺供应商网站
   视觉：芯织蓝 #103068 · 芯织银 #787878 · 留白 #FFFFFF
   字体：系统无衬线栈；颜色仅蓝 / 银 / 白
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand: #103068;
  --brand-deep: #0B2350;
  --silver: #6E6862;
  --bg: #ffffff;

  /* 暖米白：用于交替区块，避免整站纯白显得冷硬。
     布草是温暖柔软的产品，底色要有纸感。 */
  --paper: #FBF8F3;
  --paper-deep: #F4EEE4;

  /* 对撞色：酒红胭脂 Merlot。
     品牌蓝 #103068 走的是色相 220° 的冷色，酒红约 345°，
     两者在色轮上接近互补，放在一起是「冲撞」而非「协调」——
     这是刻意选的：整站 90% 面积由蓝与米白压住，酒红只负责点一下。 */
  --accent: #A32B45;
  /* 小字号专用加深版。实测对比度：白底 7.03:1，米白底 6.63:1，
     都远超 WCAG AA 要求的 4.5:1，所以小字直接用也不会发糊。 */
  --accent-ink: #8A1F36;
  --accent-soft: rgba(163, 43, 69, 0.13);

  --on-dark: #ffffff;

  --ink: #103068;
  --muted: #6E6862;
  --line: rgba(16, 48, 104, 0.12);
  --line-strong: rgba(16, 48, 104, 0.22);
  --line-invert: rgba(255, 255, 255, 0.18);

  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Source Han Sans", system-ui, -apple-system, BlinkMacSystemFont, "Microsoft YaHei",
    "Helvetica Neue", sans-serif;

  /* 标题衬线：Georgia 覆盖 macOS / Windows，
     安卓回落到 Noto Serif，中文回落到宋体系 */
  --font-display: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC",
    "Source Han Serif SC", "Songti TC", serif;

  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 12px 40px rgba(16, 48, 104, 0.08);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* 大标题走衬线。Georgia 没有 500/600 字重，用合成粗体会发脏，
   所以统一用 400，靠字号和留白建立层级 —— 这也是杂志排版的常见做法。 */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.16;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2 {
  letter-spacing: 0.03em;
  font-weight: 500;
}

html[lang="zh-CN"] h3 {
  letter-spacing: 0.02em;
  font-weight: 500;
}

p {
  margin: 0;
}

figure,
blockquote,
figcaption {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--brand);
  color: var(--on-dark);
  font-size: 14px;
  transition: top 0.16s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

/* ---------- 3. 排版工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 600;
  line-height: 1.3;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  /* 窄屏时标签会折成两行，短横线要贴第一行的中线，
     否则会悬在两行正中间 */
  align-self: flex-start;
  margin-top: 0.58em;
}

.section--dark .eyebrow,
.cta-band .eyebrow,
.inquiry-wrap .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}
.section--dark .eyebrow::before,
.cta-band .eyebrow::before,
.inquiry-wrap .eyebrow::before {
  background: var(--on-dark);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.22;
  margin-top: 16px;
  max-width: 22ch;
}

.section-lead {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--silver);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.placeholder-note {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--silver);
  font-weight: 400;
  vertical-align: middle;
}

.section-note,
.catalog-note,
.form__demo,
.table-hint,
.contact-item .placeholder-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--silver);
  letter-spacing: 0;
}

.section-note {
  margin-top: 16px;
  max-width: 56ch;
}

.catalog-note {
  margin: 24px 0 0;
  max-width: 64ch;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.045em;
  border: 1px solid transparent;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease),
    color 0.16s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary,
.btn--dark {
  background: var(--brand);
  color: var(--on-dark);
  border-color: var(--brand);
}
/* 原来是悬停翻转成白底蓝字，动静太大；改成加深一档更稳 */
.btn--primary:hover,
.btn--dark:hover {
  background: var(--brand-deep);
  color: var(--on-dark);
  border-color: var(--brand-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.btn--ghost:hover {
  background: var(--brand);
  color: var(--on-dark);
}

/* 深色底上的按钮反白 */
.theme-dark .btn--primary,
.theme-dark .btn--dark,
.cta-band .btn--primary,
.inquiry-wrap .btn--primary {
  background: var(--on-dark);
  color: var(--brand);
  border-color: var(--on-dark);
}
.theme-dark .btn--primary:hover,
.theme-dark .btn--dark:hover,
.cta-band .btn--primary:hover,
.inquiry-wrap .btn--primary:hover {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--on-dark);
}

.theme-dark .btn--ghost,
.cta-band .btn--ghost,
.inquiry-wrap .btn--ghost,
.nav.is-open .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--on-dark);
}
.theme-dark .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.inquiry-wrap .btn--ghost:hover,
.nav.is-open .btn--ghost:hover {
  background: var(--on-dark);
  color: var(--brand);
  border-color: var(--on-dark);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.16s var(--ease);
}
.link-arrow:hover {
  border-color: var(--brand);
}
.link-arrow svg {
  transition: transform 0.16s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- 5. 顶部导航（白底标准 Logo） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled,
.site-header--solid {
  border-bottom-color: var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(16, 48, 104, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  width: 100%;
}

.header-actions {
  position: relative;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 95;
}

.brand__mark {
  display: none;
}

.brand__logo {
  display: block;
  /* 标志实际是 2.5:1 的横向图形，过去塞进 40×40 方框再 contain，
     只画出 40×16 有效画面。这里改按原始比例给宽、高度自适应。 */
  width: 52px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__logo--compact {
  width: 46px;
  height: auto;
}

.footer-brand .brand__logo {
  width: 64px;
  height: auto;
}

.brand__name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--brand);
}

.brand__sub {
  display: block;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--silver);
  margin-top: 3px;
}

.footer-brand .brand__name,
.footer-brand .brand__sub {
  color: var(--on-dark);
}
.footer-brand .brand__sub {
  color: rgba(255, 255, 255, 0.72);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
}

.nav__link {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--silver);
  position: relative;
  padding-block: 4px;
  transition: color 0.16s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.2s var(--ease);
}
.nav__link:hover {
  color: var(--brand);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}
.nav__link.is-active {
  color: var(--brand);
}

.nav__cta {
  display: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--silver);
  border: 1px solid var(--line-strong);
  padding: 2px 4px;
  min-height: 36px;
  transition: border-color 0.16s var(--ease);
}
.lang-switch:hover {
  border-color: var(--brand);
}
.lang-switch__opt {
  padding: 4px 8px;
  min-width: 28px;
  min-height: 28px;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.lang-switch__opt.is-on {
  color: var(--brand);
  font-weight: 600;
}
.lang-switch__sep {
  opacity: 0.35;
}

.header-cta {
  padding: 8px 18px;
  font-size: 13px;
  min-height: 36px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--brand);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--brand);
  position: relative;
  transition: background-color 0.16s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--brand);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- 6. 首屏：白底分栏，毛巾浴袍主视觉 ---------- */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
  padding-bottom: clamp(24px, 4vw, 40px);
}

.hero__copy {
  max-width: 560px;
  padding-block: 28px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  margin-top: 20px;
  /* 原来 60px 挤在 480px 的列里，一句话被切成四行且末行只剩三四个词。
     降到 48px 并把断行交给列宽决定，英文标题稳定落在三行。 */
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

html[lang="zh-CN"] .hero__title {
  letter-spacing: 0.03em;
  max-width: 14ch;
}

/* 标题重音：后半句用对撞色。
   只加颜色不改字重——酒后红配衬线，重量一变就会显得用力。 */
.hero__title .acc {
  color: var(--accent-ink);
}

.hero__sub {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--silver);
  max-width: 44ch;
}

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

.hero__media {
  position: relative;
  min-height: 520px;
  height: auto;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 28px var(--gutter) 28px 0;
  border-right: 1px solid var(--line);
}
.stat:first-child {
  padding-left: 0;
}
.stats .stat:last-child {
  border-right: 0;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.9vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--brand);
}
.stat__num sup {
  font-family: var(--font);
  font-size: 0.4em;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 0;
  color: var(--accent-ink);
  vertical-align: baseline;
  position: relative;
  top: -0.72em;
}

.stat__label {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ---------- 7. 通用区块 ---------- */
.section {
  padding-block: var(--section-y);
  background: var(--bg);
}

/* 交替的暖色区块，避免整页纯白造成的冷硬与单调 */
.section--paper {
  background: var(--paper);
}

.section--dark {
  background: var(--brand);
  color: var(--on-dark);
}
.section--dark .section-title,
.section--dark h3 {
  color: var(--on-dark);
}
.section--dark .section-lead,
.section--dark .section-note {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- 8. 品类卡 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cat-card {
  display: grid;
  grid-template-rows: minmax(180px, 1fr) auto;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  min-height: 0;
  transition: border-color 0.2s var(--ease);
}
.cat-card:hover {
  border-color: var(--brand);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.6s var(--ease);
}
.cat-card:hover img {
  transform: scale(1.03);
}

.cat-card__body {
  padding: 20px 22px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: baseline;
  border-top: 1px solid var(--line);
}

.cat-card__idx {
  grid-row: 1 / 3;
  align-self: start;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--silver);
  padding-top: 4px;
}

.cat-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  grid-column: 2;
}

.cat-card__en {
  display: none;
}

.cat-card__spec {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--silver);
}
.cat-card__spec span[aria-hidden] {
  color: var(--brand);
  transition: transform 0.16s var(--ease);
}
.cat-card:hover .cat-card__spec span[aria-hidden] {
  transform: translateX(4px);
}

/* ---------- 9. 能力 / 品控 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 80px);
  /* 原来是 center：文字列比图片列高，图片下方留出一大片空白。
     改成顶部对齐 + 右列 sticky，图片在滚动时跟随，空白自然消失。 */
  align-items: start;
}

.split__media {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(16, 48, 104, 0.06);
}

.split__caption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.steps {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.step__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--silver);
  padding-top: 3px;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver);
}

.certs {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.cert {
  padding: 24px 24px 0 0;
  border-right: 0;
}

.cert + .cert {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.cert__name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.cert__desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--silver);
}

/* ---------- 10. 客户背书 ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  /* 去掉整圈边框：原来是 4×2 的方格子，读起来像表格。
     只留横向细线，更像杂志里的客户名录。 */
}

.client {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--silver);
  border-bottom: 1px solid var(--line);
  text-align: center;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.client::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.client:hover {
  color: var(--brand);
  background: var(--bg);
}

.client:hover::after {
  transform: scaleX(1);
}

/* ---------- 11. 询盘 ---------- */
.inquiry-wrap {
  background: var(--brand);
  color: var(--on-dark);
  padding-block: var(--section-y);
}

.inquiry-wrap .section-title,
.inquiry-wrap h3 {
  color: var(--on-dark);
}
.inquiry-wrap .section-lead {
  color: rgba(255, 255, 255, 0.78);
}
/* 注意：.form__demo / .form__hint 位于白底表单卡片内部，
   不能跟随深色区块改成白色，否则就是白底白字看不见。
   之前误加在这条规则里，导致两行提示完全隐形。 */

.inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-invert);
  margin: 0;
}
.contact-item:last-child {
  border-bottom: 1px solid var(--line-invert);
}

.contact-item dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  padding-top: 2px;
}

.contact-item dd {
  margin: 0;
  font-size: 15px;
  color: var(--on-dark);
  line-height: 1.55;
}

.contact-item a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.16s var(--ease);
}
.contact-item a:hover {
  border-bottom-color: var(--on-dark);
}

.contact-alt {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 44ch;
}
.contact-alt a {
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  background: var(--bg);
  color: var(--ink);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.form__demo {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--silver);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--silver);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0;
  min-height: 44px;
  width: 100%;
  appearance: none;
  transition: border-color 0.16s var(--ease);
}
.field textarea {
  min-height: 120px;
  resize: none;
  line-height: 1.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brand);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.field [aria-invalid="true"] {
  border-bottom-color: var(--brand);
  box-shadow: 0 1px 0 var(--brand);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 4px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}
.check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 2px;
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 12px 12px;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.check:hover input {
  border-color: var(--brand);
}

.check input:checked {
  border-color: var(--brand);
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3.1 3.1L12.8 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form__hint {
  font-size: 12px;
  color: var(--silver);
  max-width: 40ch;
  line-height: 1.6;
}

.form__status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--brand);
  padding: 12px 0 0;
}

/* ---------- 11.5 WhatsApp 快捷咨询 ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 原来是一条常驻长条，正好盖住表单右侧的「房量」下拉。
     改成圆形按钮，号码文字只在悬停/聚焦时向左展开。 */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-dark);
  box-shadow: 0 10px 28px rgba(16, 48, 104, 0.24);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.wa-float:hover {
  transform: translateY(-2px);
  background: var(--brand-deep);
  color: var(--on-dark);
  outline: 0;
}
.wa-float svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.wa-float__label {
  position: absolute;
  right: calc(100% + 10px);
  padding: 8px 12px;
  background: var(--brand);
  color: var(--on-dark);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
  opacity: 1;
  transform: none;
}

@media (max-width: 620px) {
  /* 悬浮球会盖住页面底部内容，给 body 留出等高的安全区 */
  body {
    padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  }
  .wa-float {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    /* 首屏下方就是主按钮，悬浮球先藏起来，滚过一屏再出现 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s var(--ease), background-color 0.2s var(--ease);
  }
  body.is-scrolled .wa-float {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .wa-float__label {
    display: none;
  }
}

/* ---------- 12. 页脚（深蓝底 + 反白 Logo） ---------- */
.site-footer {
  /* 比询盘区再深一档，避免两块深蓝连成一片没有层次 */
  background: var(--brand-deep);
  color: var(--on-dark);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 360px;
}

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 32px 40px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}
.footer-col a[href^="https://wa.me"],
.footer-col a[href^="mailto:"] {
  word-break: break-word;
}
.footer-col a:hover {
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  border-top: 1px solid var(--line-invert);
  padding: 20px 0 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- 13. 内页：产品 ---------- */
.page-hero {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 0;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 淡白遮罩：左侧几乎不透明保证文字可读，右侧透出背景图 */
  background: linear-gradient(
    to right,
    rgba(251, 248, 243, 0.96) 0%,
    rgba(251, 248, 243, 0.9) 42%,
    rgba(251, 248, 243, 0.62) 100%
  );
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  /* 贴最左：不居中、左侧留白压到 16px（其余区块仍用统一 gutter） */
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.page-hero .breadcrumb a {
  color: var(--ink);
}
.page-hero .breadcrumb a:hover {
  color: var(--on-dark);
}

.page-hero .eyebrow {
  color: var(--accent-ink);
}
.page-hero .eyebrow::before {
  background: var(--accent);
}

.page-hero__title {
  margin-top: 14px;
  font-size: clamp(2.05rem, 4vw, 3.1rem);
  /* 与首页一致：衬线用常规字重，靠字号建立层级 */
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.14;
  max-width: min(18ch, 100%);
  color: var(--ink);
  text-wrap: balance;
}
html[lang="zh-CN"] .page-hero__title {
  letter-spacing: 0.04em;
  font-weight: 500;
}

.page-hero__sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: min(52ch, 100%);
}

.filters-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.filters-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
}

.filter {
  position: relative;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
  border-bottom: 2px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.filter:hover {
  color: var(--brand);
}
.filter.is-on {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.filters__count {
  font-size: 13px;
  color: var(--silver);
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 16px;
  padding-block: 36px 8px;
}

.product {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.product__media {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
}
.product__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product:hover .product__media img {
  transform: scale(1.03);
}

.product__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  background: var(--brand);
  color: var(--on-dark);
}

.product__name {
  margin-top: 16px;
  /* 6 列窄卡：缩小字号并允许换行，长标题不再被挤成碎片 */
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.spec-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.spec-list li {
  /* 6 列下每卡约 180px，两列网格会把值挤成碎片；改为标签在上、值在下 */
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  line-height: 1.4;
}
.spec-list li span {
  color: var(--silver);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.spec-list li b {
  font-weight: 500;
  color: var(--ink);
}

.product__foot {
  margin-top: 16px;
}

.table-hint {
  display: none;
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 16px 20px 16px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--silver);
  white-space: nowrap;
}
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.cta-band {
  background: var(--brand);
  color: var(--on-dark);
  padding-block: clamp(48px, 6vw, 80px);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 {
  color: var(--on-dark);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  max-width: 22ch;
}

/* ---------- 14. 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- 15. 响应式 ---------- */
/* 品类卡空间不够时提前减列，避免 4 列在临界宽度挤成一团（浏览器缩放也会命中这段） */
@media (max-width: 1180px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
  }
  .hero__media {
    height: min(58vw, 420px);
    min-height: 240px;
    order: -1;
  }
  .certs {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert + .cert {
    padding-left: 0;
    border-left: 0;
  }
  .cert:nth-child(odd) {
    padding-right: 24px;
  }
  .cert:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
  .cert:nth-child(n + 3) {
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
  }
  .inquiry {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split__media {
    position: static;
    top: auto;
  }
  .split__media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 860px) {
  .nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }

  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    background: var(--bg);
    padding: 88px var(--gutter) 40px;
    z-index: 90;
    color: var(--ink);
  }
  .nav.is-open .nav__link {
    font-family: var(--font);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--brand);
    padding-block: 10px;
  }
  .nav.is-open .nav__link::after {
    display: none;
  }
  .nav.is-open .nav__cta {
    display: inline-flex;
    margin-top: 20px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 20px 16px 20px 0;
  }
  .stats .stat:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }
  .stats .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .clients {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .form {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
  }

  .filters-bar__inner {
    gap: 12px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }
  .filter {
    flex-shrink: 0;
  }
}

@media (max-width: 620px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .certs {
    grid-template-columns: 1fr;
  }
  .cert,
  .cert:nth-child(odd),
  .cert:nth-child(even),
  .cert:nth-child(n + 3),
  .cert + .cert {
    padding: 20px 0 0;
    margin: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .brand__sub {
    display: none;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .hero__title {
    max-width: none;
  }
  .table-hint {
    display: block;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

/* ---------- 16. 无障碍：减弱动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .btn:active {
    transform: none;
  }
  .cat-card:hover img,
  .product:hover .product__media img {
    transform: none;
  }
}

/* ---------- 17. 打印 ---------- */
@media print {
  .site-header,
  .nav-toggle,
  .hero__actions,
  .form__foot .btn,
  .wa-float,
  .filters-bar {
    display: none !important;
  }
  body {
    background: #fff;
    color: #103068;
  }
  .hero,
  .page-hero,
  .section--dark,
  .inquiry-wrap,
  .site-footer,
  .cta-band {
    background: #fff;
    color: #103068;
  }
}
