/* MINGDAO portal — tokens from Figma 临沂昌禄.fig (前端用 / 01-首页2) */
:root {
  --md-cream: #faf4f0;
  --md-cream-2: #f9f4f0;
  --md-black: #000000;
  --md-ink: #222222;
  --md-muted: #666666;
  --md-muted-2: #9a9a9a;
  --md-orange: #e27b21;
  --md-orange-2: #d8721f;
  --md-orange-soft: #e27b21;
  --md-brown: #9e2f2c;
  --md-footer: #230100;
  --md-footer-bar: #3e0202;
  /* Why 六条目标题：稿 fill #3e0202 在 20px 屏上近似黑；抬到同色相可见深红棕 */
  --md-why-title: #6b1a1a;
  --md-white: #ffffff;
  --md-line: #e7e5e0;
  --md-container: 1860px;
  --md-gutter: 40px;
  --md-font-serif: "Bitter", Georgia, "Times New Roman", serif;
  --md-font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --md-font-inter: "Inter", "Helvetica Neue", Arial, sans-serif;
  --md-font-figtree: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --md-font-jakarta: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --md-header-h: 100px;
  --md-nav-h: 60px;
  --md-top-total: 160px;
  --md-hero-h: 800px;
  --md-btn-touch-w: 146px;
  --md-btn-touch-h: 42px;
  --md-nav-gap: 36px;
  --md-radius-pill: 100px;
  --md-radius-card: 20px;
  --md-shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* clip 禁止横滚且不把轴算成 scrollport，避免打断顶栏/侧栏 position:sticky */
  overflow-x: clip;
}

body.layout-portal {
  margin: 0;
  background: var(--md-cream);
  color: var(--md-ink);
  font-family: var(--md-font-sans);
  font-size: 15px;
  line-height: 1.6;
  /* 浅底深字：交给系统 ClearType/子像素抗锯齿（Windows 更平滑） */
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: clip;
  max-width: 100%;
}

/* 深底浅字：灰度抗锯齿更利落，避免 ClearType 彩边 */
.md-hero,
.md-certs,
.md-footer,
.md-subscribe,
.md-page-hero,
.md-float,
.md-popup-dialog {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.md-container {
  width: min(100% - (var(--md-gutter) * 2), var(--md-container));
  margin-inline: auto;
}

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

/* —— Buttons —— */
.md-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--md-radius-pill);
  background: var(--md-black);
  color: var(--md-white);
  font-family: var(--md-font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.md-btn:hover {
  background: #222;
  transform: translateY(-1px);
}

.md-btn:active {
  transform: translateY(0) scale(0.98);
}

.md-btn-orange {
  background: var(--md-orange);
  color: var(--md-white);
  min-width: var(--md-btn-touch-w);
  min-height: var(--md-btn-touch-h);
  padding: 0 24px;
  font-family: var(--md-font-sans);
  font-size: 14px; /* Instrument Sans Regular · FIG GET IN TOUCH */
  font-weight: 400;
  letter-spacing: -0.02em; /* FIG ls -2% */
  line-height: 1.2; /* FIG lh RAW 1.2 */
  text-transform: uppercase;
  border-radius: var(--md-radius-pill);
}

.md-btn-orange:hover {
  background: var(--md-orange-2);
}

.md-btn-orange:active {
  background: #c46818;
}

.md-btn-touch {
  min-width: var(--md-btn-touch-w);
  max-width: 260px;
  min-height: var(--md-btn-touch-h);
  height: var(--md-btn-touch-h);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-btn-white {
  background: var(--md-white);
  color: var(--md-black);
}

.md-btn-outline {
  background: transparent;
  color: var(--md-black);
  border: 1px solid var(--md-black);
}

.md-btn-sm {
  min-height: 38px;
  padding: 0 20px;
  font-size: 13px;
}

.md-news-head .md-btn,
.md-news-head .md-btn-sm {
  min-width: 151px;
  width: 151px;
  height: 50px;
  min-height: 50px;
  padding: 0 24px;
  font-size: 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 80px; /* design btn top y=93 − section pad 13 */
  background: var(--md-black);
  color: #fff;
  border: 0;
}

.md-products-more .md-btn {
  min-width: 217px;
  width: auto;
  height: 50px;
  min-height: 50px;
  padding: 0 28px;
  font-size: 14px;
  border-radius: 100px;
}

.md-btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--md-black);
  color: #fff;
}

.md-btn-icon:hover {
  background: #333;
  transform: translateY(-1px);
}

.md-btn-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.md-btn:focus-visible,
.md-icon-btn:focus-visible,
.md-lang:focus-visible,
.md-menu-toggle:focus-visible,
.md-filter-chip:focus-visible,
.md-nav-list a:focus-visible {
  outline: 2px solid var(--md-orange);
  outline-offset: 2px;
}

/* —— Header —— */
.md-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  /* 整段顶栏贴顶锁定时遮住下方滚动内容（顶栏黑 + 导航 cream） */
  background: var(--md-cream);
}

.md-topbar {
  background: var(--md-black);
  color: var(--md-white);
  min-height: var(--md-header-h);
  height: var(--md-header-h);
  display: flex;
  align-items: center;
}

.md-topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  /* Figma 顶栏内容约 143–1770（≈1630），与稿对齐；勿用 1760 撑得过宽 */
  width: min(100% - 80px, 1630px);
  margin-inline: auto;
  padding: 0;
  min-height: var(--md-header-h);
}

.md-topbar-left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
  min-width: 0;
}

.md-social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.md-social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.md-social-link:hover,
.md-social-link:focus-visible {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.md-social-link img {
  width: 14px;
  height: 14px;
  display: block;
}

.md-social-link.is-fb { background: #1877f2; }
.md-social-link.is-yt { background: #ff0000; }
/* Figma：X 无色底圆，仅白色字形 */
.md-social-link.is-x {
  background: transparent;
  border: 0;
  width: 30px;
  height: 30px;
}
.md-social-link.is-x img {
  width: 16px;
  height: 16px;
}
.md-social-link.is-ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}
.md-social-link.is-in { background: #0a66c2; }

.md-topbar-mail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  min-width: 0;
}

.md-mail-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.md-mail-badge img {
  width: 16px;
  height: 16px;
  display: block;
}

.md-mail-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  line-height: 1.15;
  min-width: 0;
}

.md-mail-label {
  font-family: var(--md-font-sans);
  font-size: 12px; /* FIG Instrument Sans Regular 12 / lh 15 */
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.9;
  line-height: 15px;
}

.md-mail-addr {
  font-family: var(--md-font-sans);
  font-size: 12px; /* FIG Instrument Sans Regular 12 / lh 15 */
  font-weight: 400;
  letter-spacing: 0;
  line-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.md-logo {
  display: grid;
  place-items: center;
  color: var(--md-white);
  line-height: 1;
  text-align: center;
}

.md-logo-text {
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.md-logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.md-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-width: 0;
}

.md-topbar-right .md-btn-touch {
  margin-inline-start: 12px; /* 与语言切换总间距约 32–50，贴近 Figma CTA 前留白 */
}

.md-icon-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.md-icon-btn img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

.md-icon-btn:hover,
.md-icon-btn:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.md-icon-btn:hover img,
.md-icon-btn:focus-visible img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(78%) saturate(1200%) hue-rotate(360deg) brightness(0.95);
}

.md-topbar-mail:hover,
.md-topbar-mail:focus-visible {
  color: var(--md-orange);
}

.md-topbar-mail:hover .md-mail-addr,
.md-topbar-mail:focus-visible .md-mail-addr {
  color: var(--md-orange);
}

.md-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 146px;
  height: 42px;
  color: #fff;
  font-family: var(--md-font-sans);
  font-size: 14px; /* FIG Instrument Sans Medium 14 / lh 20 */
  font-weight: 500;
  letter-spacing: 0;
  line-height: 20px;
  background: transparent;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  text-transform: uppercase;
  padding: 0 10px;
  margin: 0;
  flex-shrink: 0;
  vertical-align: middle;
  box-sizing: border-box;
}

.md-lang:hover,
.md-lang:focus-visible {
  color: var(--md-orange);
}

.md-lang img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.md-lang-caret {
  width: 10px !important;
  height: 6px !important;
  opacity: 0.9;
}

.md-lang-name {
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
}

.md-lang-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
}

.md-lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  max-width: min(80vw, 220px);
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  z-index: 40;
}

.md-lang-menu button,
.md-lang-menu a {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  text-align: start;
  cursor: pointer;
  color: #333;
  font-size: 13px;
  text-transform: none;
  text-decoration: none;
  box-sizing: border-box;
}

.md-lang-menu button.is-active,
.md-lang-menu button:hover,
.md-lang-menu a.is-active,
.md-lang-menu a:hover {
  background: #f5f6f8;
  color: var(--md-orange);
}

.md-nav {
  background: var(--md-cream);
  border-bottom: 0;
  min-height: var(--md-nav-h);
  height: var(--md-nav-h);
  display: flex;
  align-items: center;
}

.md-nav-inner {
  /* keep md-container width; ensure flex parent centers it */
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.md-nav-list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: var(--md-nav-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  flex-wrap: nowrap;
}

.md-nav-list > li {
  display: flex;
  align-items: stretch;
}

.md-nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-family: var(--md-font-sans); /* FIG Instrument Sans Medium */
  font-size: 16px;
  font-weight: 500;
  line-height: 24px; /* FIG lh 24 */
  letter-spacing: 0; /* FIG ls 0% — 禁止 0.02em 拉开字距 */
  text-transform: uppercase;
  color: var(--md-ink); /* #222 */
  white-space: nowrap;
}

.md-nav-list a.is-active,
.md-nav-list a:hover,
.md-nav-list a:focus-visible {
  color: var(--md-orange);
}

/* FIG：激活横线 = 文字等宽、高 3px、贴导航底（奶油条最后一行） */
.md-nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--md-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.md-nav-list a.is-active::after,
.md-nav-list a:hover::after,
.md-nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.md-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.md-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.md-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.md-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.md-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* —— Float dock (五个一键) —— */
/* —— 在线客服 · FIG 59×292 @ (1842,350) · 底条黑 19% · hover 44 橙圆 #e27b21 ——
 * 命中盒固定 44×44（按稿面图标中心对齐），hover 只改描边/底色，避免 tip 错位 */
.md-float {
  position: fixed;
  right: 19px; /* 1920 − 1842 − 59 */
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 59px;
  height: 292px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.19); /* Rectangle 6 */
  border-radius: 30px;
  box-shadow: none;
  overflow: visible;
}

.md-float a {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: transparent;
  border: 8px solid transparent;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* FIG 图标中心 → 44 盒 top：电话 7.5 / 邮 73.5 / 微 131.5 / WA 185 / 顶 236 */
.md-float a.is-phone {
  top: 8px;
  background: transparent;
}

.md-float a.is-mail {
  top: 74px;
}

.md-float a.is-wechat {
  top: 132px;
}

.md-float a.is-whatsapp {
  top: 185px;
}

.md-float a.is-top {
  top: 236px;
}

.md-float a img {
  display: block;
  object-fit: contain;
  filter: none;
  pointer-events: none;
  background: transparent;
}

/* 默认白图标尺寸；电话改纯听筒后与邮/微同级 */
.md-float a.is-phone img {
  width: 22px;
  height: 22px;
}

.md-float a.is-mail img {
  width: 27.79px;
  height: 22.23px;
}

.md-float a.is-wechat img {
  width: 28.58px;
  height: 23.28px;
}

.md-float a.is-whatsapp img {
  width: 23.36px;
  height: 23.33px;
}

.md-float a.is-top img {
  width: 18.81px;
  height: 20.48px;
}

/* 悬停：白底 + 外圈橙色；盒子尺寸不变，tip 不跳 */
.md-float a:hover,
.md-float a:focus-visible {
  background: #fff;
  border-color: #e27b21;
  outline: none;
}

.md-float a:hover img,
.md-float a:focus-visible img {
  width: 18px;
  height: 18px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: brightness(0) saturate(100%) invert(47%) sepia(74%) saturate(1206%) hue-rotate(360deg) brightness(95%) contrast(92%);
}

/* 悬停左侧信息条：交互参照侧栏弹出，视觉跟全站浮层（深褐半透明 + 白字 + 圆角） */
.md-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(10px, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 44px;
  max-width: min(320px, 42vw);
  padding: 0 18px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--md-font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: rgba(35, 1, 0, 0.88); /* 贴近 --md-footer #230100 */
  border: 1px solid rgba(226, 123, 33, 0.45); /* 品牌橙描边 */
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s;
}

.md-float a:hover .md-float-tip,
.md-float a:focus-visible .md-float-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

/* —— Hero —— */
.md-hero {
  position: relative;
  min-height: var(--md-hero-h);
  height: var(--md-hero-h);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #111;
}

.md-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.md-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.md-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/*
 * 压暗层必须叠在背景图之上、标题之下。
 * 首页轮播：.md-hero-slide 自带 stacking context（z-index:1），
 * 若遮罩挂在 .md-hero::before（z-index:2）会盖住整张 slide，
 * 把 #fff 大字压成灰白（对稿 01-banner / FIG #ffffff）。
 */
.md-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.05) 100%);
}

/* 有轮播时改用 slide 内遮罩，禁用外层以免盖字 */
.md-hero:has(.md-hero-slide)::before {
  display: none;
}

.md-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.md-hero.is-cms-slide::before {
  display: none;
}

.md-hero-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.md-hero-inner {
  position: relative;
  z-index: 2; /* 高于 .md-hero-slide::before(1)；内页无 slide 时仍高于 .md-hero::before 需见下 */
  padding: 80px 0;
  /* 勿 max-width+margin:auto：会把文案块甩到画面正中，叠在车上 */
  max-width: var(--md-container);
  margin-inline: auto;
  width: min(100% - (var(--md-gutter) * 2), var(--md-container));
  box-sizing: border-box;
  text-align: left;
}

/* 内页 banner：无 slide，文案须压过 .md-hero::before(z-index:2) */
.md-page-hero > .md-hero-inner {
  z-index: 3;
}

.md-hero-slide > .md-container.md-hero-inner {
  /* FIG 01-首页2：标题墨迹约 x=152（勿贴 40 gutter） */
  align-self: center;
  margin-left: max(152px, calc((100% - min(100% - (var(--md-gutter) * 2), var(--md-container))) / 2 + 112px));
  margin-right: auto;
  max-width: 746px;
  width: min(746px, calc(100% - 152px - var(--md-gutter)));
}

.md-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.md-hero-dots span,
.md-hero-dots button {
  display: block;
  width: 48px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.md-hero-dots span.is-active,
.md-hero-dots button.is-active {
  background: #fff;
}

.md-hero-title {
  margin: 0 0 22px;
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 600; /* Bitter SemiBold Italic · FIG 78 / lh 100% */
  font-size: 78px;
  line-height: 1; /* FIG lh PERCENT 100 → 78px */
  letter-spacing: 0;
  max-width: 746px; /* FIG title 框 746×188 */
  width: 100%;
  color: #ffffff; /* FIG #ffffff — 禁灰白 / 禁继承 ink */
  -webkit-text-fill-color: #ffffff;
  text-shadow: none;
}

.md-hero-lead {
  margin: 0 0 32px;
  font-family: var(--md-font-sans);
  font-size: 18px; /* Instrument Sans Regular */
  line-height: 26px; /* FIG lh 26 */
  letter-spacing: 0;
  color: #ffffff; /* FIG lead #ffffff */
  -webkit-text-fill-color: #ffffff;
  max-width: 645px; /* FIG lead 框 645×52 */
  font-weight: 400;
}

.md-hero-inner > .md-btn {
  font-size: 16px; /* FIG view more · Instrument Sans Medium 16/24 */
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
  text-transform: none; /* 稿 TITLE case，勿强制全大写挤压 */
  min-height: 50px;
  height: 50px;
  padding: 0 28px;
  background: #000000; /* FIG CTA 黑底白字 */
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  border: 0;
}

.md-page-hero {
  min-height: 500px; /* design inner heroes · 1920×500 under 160 chrome */
  height: 500px;
}

.md-page-hero .md-hero-inner {
  max-width: 720px;
}

/* Design inner pages: plain banner (no title overlay) · 1920×500 */
.md-page-hero.md-page-hero-plain {
  min-height: 500px;
  height: 500px;
}

.md-page-hero.md-page-hero-plain::before {
  opacity: 0.15; /* light vignette only — no title wash */
}

.md-page-hero.md-page-hero-plain .md-hero-inner {
  display: none;
}

/* Products list hero · FIG 10-产品列表：左上 Product Center + lead（无 PRODUCTS 水印） */
.md-page-hero.md-page-hero-products {
  min-height: 500px;
  height: 500px;
  align-items: flex-start;
}

.md-page-hero.md-page-hero-products::before {
  /* 仅左侧字区压暗；禁止整宽底缘灰条（反馈 #13） */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.16) 28%,
    rgba(0, 0, 0, 0.04) 48%,
    transparent 62%
  );
  opacity: 1;
  /* 底部淡出，避免路面上出现横向灰带 */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.md-page-hero.md-page-hero-products .md-hero-inner {
  display: block;
  max-width: 760px;
  margin: 0;
  margin-inline-start: 0;
  padding: 96px 0 0;
  padding-inline-start: 132px; /* FIG title ink ≈x132（container padding 已被本规则清零） */
  text-align: left;
}

.md-page-hero.md-page-hero-products .md-hero-title {
  margin: 0 0 14px;
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 600; /* Bitter SemiBold Italic · FIG product center 60 */
  font-size: 60px;
  line-height: 1; /* FIG lh 100% */
  letter-spacing: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: none; /* 禁双层字影（反馈 #14） */
  -webkit-text-stroke: 0;
  text-align: left;
  position: relative;
  z-index: 1;
}

.md-page-hero.md-page-hero-products .md-hero-title::before,
.md-page-hero.md-page-hero-products .md-hero-title::after {
  content: none !important;
}

.md-page-hero.md-page-hero-products .md-hero-lead {
  margin: 0;
  max-width: 645px;
  font-family: var(--md-font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #ffffff; /* FIG lead #ffffff */
  -webkit-text-fill-color: #ffffff;
  text-align: left;
}

/* Breadcrumb — FIG「home  >  …」Instrument Sans Medium 16/24 #000 · 屋标 + > */
.md-breadcrumb {
  background: var(--md-cream);
  /* FIG crumb 文字 @ y=682 → banner 下 22px */
  margin-top: 0;
  padding: 22px 0 0;
  min-height: 0;
}

.md-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* 屋标 / Home / > / 末级 同一垂直中线 */
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--md-font-sans);
  font-size: 16px; /* FIG 16 */
  font-weight: 500; /* Medium */
  line-height: 24px; /* FIG lh 24 */
  letter-spacing: 0;
  color: #000000;
  text-transform: none;
}

.md-breadcrumb-list > li {
  display: inline-flex;
  align-items: center;
  line-height: 24px;
}

.md-breadcrumb-list a {
  color: inherit;
  text-decoration: none;
}

.md-breadcrumb-list a:hover {
  color: var(--md-orange);
}

.md-breadcrumb-home {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* 稿：屋标墨水右缘 → Home 左缘 ≈10px */
  line-height: 24px;
}

.md-breadcrumb-icon {
  width: 20px; /* 稿墨水 20×20 @1920 · 1:1 像素格 */
  height: 20px;
  display: block;
  flex-shrink: 0;
  margin: 0;
  overflow: visible;
  color: #000000;
  shape-rendering: crispEdges;
}

a.md-breadcrumb-home:hover .md-breadcrumb-icon {
  color: var(--md-orange);
}

/* 稿分隔「  >  」；与文字同线高 */
.md-breadcrumb-sep {
  color: #000000;
  font-weight: 500;
  line-height: 24px;
  padding: 0 0.55em;
  user-select: none;
  display: inline-flex;
  align-items: center;
}

.md-breadcrumb-list [aria-current="page"] span {
  color: #000000;
}

/* —— Section commons —— */
.md-section {
  padding: 90px 0;
}

.md-section-tight {
  padding: 70px 0;
}

.md-section-title {
  margin: 0;
  font-family: var(--md-font-serif);
  font-weight: 500;
  font-size: clamp(32px, 3vw, 46px);
  color: var(--md-ink);
  line-height: 1.25;
}

.md-section-title .muted {
  color: #b7b2ad;
  font-style: italic;
  font-weight: 500;
}

.md-section-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.md-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--md-orange);
  flex: 0 0 auto;
}

.md-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.md-section-sub {
  margin: 14px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--md-muted);
  font-size: 14px;
  line-height: 1.7;
}

.md-center {
  text-align: center;
}

/* —— Products grid —— */
.md-products {
  background: var(--md-cream);
  margin-top: 118px; /* FIG gap hero→products：1078−960 */
  /* FIG 02-products：CTA 贴段底（y1712–1761 / 1762），底勿留 56 空白 */
  padding: 14px 0 0;
  min-height: 1762px;
  height: 1762px;
  box-sizing: border-box;
  /* 勿 hidden：View More All Products 落在段底，裁切后只剩顶弧 */
  overflow: visible;
}

/* FIG Group 1321319947 is full-bleed 1920 — three 640 cards, no side gutter */
.md-products > .md-container {
  width: 100%;
  max-width: 1920px;
  padding-inline: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.md-products .md-section-title-row {
  gap: 34px; /* orange right 89 → text black ≈123 */
  margin-bottom: 83px; /* pad 14 + title lh 84 → thumb @181 */
  align-items: flex-start; /* design orange top with title caps */
  padding-inline: 30px; /* design orange left @ x=30 */
}

.md-products .md-section-title-row .md-dot {
  margin-top: 7px; /* design orange @y21 vs title ink @y14 */
}

.md-products .md-section-title {
  font-family: var(--md-font-serif);
  font-size: 84px; /* FIG Bitter Medium Italic */
  font-weight: 500;
  font-style: italic;
  line-height: 1; /* design ink span ≈83 */
  color: #060606;
  letter-spacing: -0.01em;
}

.md-products .md-section-title .muted {
  font-style: italic;
  font-weight: 500;
  color: #b4bab4;
}

.md-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* DES：行距使第 2 行 View More 底≈1610，卡底→CTA(1712)≈102 */
  gap: 79px 0;
  align-items: stretch;
}

.md-product-card {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.md-product-card .md-thumb {
  position: relative;
  aspect-ratio: 640 / 468; /* FIG Rectangle 9985 */
  display: block;
  padding-top: 0;
  margin-bottom: 14px;
  background: #faf4f0; /* FIG fill */
  transition: transform 0.25s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.md-product-card:hover .md-thumb,
.md-product-card:focus-within .md-thumb {
  transform: translateY(-4px);
}

.md-product-card .md-thumb img {
  position: absolute;
  /* DES 首页棚拍内容框 ≈ left10.9% top3.85% w77.8% h91.5% */
  left: 10.94%;
  top: 3.85%;
  z-index: 1;
  width: 77.81%;
  height: 91.45%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* FIG image 28 lifestyle fills the 640×468 slot */
.md-product-card .md-thumb.is-life {
  padding-top: 0;
}

.md-product-card .md-thumb.is-life img:not(.md-thumb-hover) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.md-product-card .md-thumb img.md-thumb-hover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.md-product-card:hover .md-thumb img.md-thumb-hover,
.md-product-card:focus-within .md-thumb img.md-thumb-hover {
  visibility: visible;
}

.md-product-card:hover .md-thumb img.md-thumb-hover,
.md-product-card:focus-within .md-thumb img.md-thumb-hover {
  opacity: 1;
}

.md-product-card:hover .md-thumb.has-hover img:not(.md-thumb-hover),
.md-product-card:focus-within .md-thumb.has-hover img:not(.md-thumb-hover) {
  opacity: 0;
}

.md-product-card h3 a {
  transition: color 0.2s ease;
}

.md-product-card:hover h3 a,
.md-product-card:focus-within h3 a {
  color: var(--md-orange);
}

.md-badge {
  position: absolute;
  left: 50%;
  bottom: 4.27%; /* 20/468 from bottom of image area → FIG y=428 in 468 */
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 78px; /* FIG 约 78；略放宽防 “HOT SELLING” 折行被裁 */
  height: 20px;
  margin: 0;
  padding: 0 8px;
  background: #000;
  color: #fff;
  font-family: var(--md-font-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase; /* DES JPG：HOT SELLING */
  white-space: nowrap; /* 禁止折成 HOT/SELLING 两行导致顶字被裁 */
  border-radius: 0;
  overflow: hidden;
  pointer-events: none;
}

.md-product-card h3 {
  margin: 22px 0 8px; /* design h3 ≈671 after thumb 649 */
  font-family: var(--md-font-sans); /* design card titles Instrument Sans */
  font-size: 22px;
  font-weight: 600;
}

.md-product-card p {
  margin: 0 auto 10px;
  max-width: 260px;
  color: var(--md-muted);
  font-size: 12px;
  line-height: 1.4;
}

.md-swatches {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 72px; /* DES：色块底→View More 顶，使按钮顶≈816 */
  list-style: none;
  padding: 0;
  min-height: 16px; /* 无色块时仍占位，按钮齐平（反馈 #3） */
}

/* 无色块时保留与有色块相同的占位高度，保证按钮同一水平线 */
.md-product-card > .md-swatches-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 16px;
  margin-bottom: 72px;
}

.md-product-card > .md-swatches-slot .md-swatches {
  margin-bottom: 0;
}

.md-product-actions .md-btn-sm {
  min-width: 148px;
  width: auto;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 20px;
  border-radius: var(--md-radius-pill);
  box-sizing: border-box;
  line-height: 1;
}

.md-product-actions .md-btn-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-height: 40px;
  border-radius: 50%;
  box-sizing: border-box;
}

.md-swatches button,
.md-swatches span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0;
  cursor: pointer;
  background-clip: padding-box;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.md-swatches button:hover,
.md-swatches span:hover {
  transform: scale(1.12);
}

.md-swatches button.is-selected,
.md-swatches span.is-selected {
  box-shadow: 0 0 0 2px var(--md-cream), 0 0 0 3px currentColor;
}

.md-swatches .c-blue { background: #2f6bff; color: #2f6bff; }
.md-swatches .c-red { background: #e31b23; color: #e31b23; }
.md-swatches .c-black { background: #111; color: #111; }
.md-swatches .c-white { background: #fff; color: #999; }

.md-product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px; /* design pill↔bag nearly flush */
  margin-top: auto; /* 固定卡片底：所有按钮同一水平（反馈 #3/#4） */
  min-height: 40px;
}

.md-product-actions .md-btn-sm {
  min-width: 148px;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: var(--md-radius-pill);
}

.md-product-actions .md-btn.md-btn-icon,
.md-product-actions .md-btn-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 50%;
  padding: 0;
}

.md-products-more {
  /* FIG 02-products：CTA 贴段底（gap_bottom≈0）；卡底→CTA 稿≈102（靠卡高/行距，勿加大此处） */
  margin-top: auto;
  margin-bottom: 0;
  text-align: center;
}

/* —— Factory (01-首页2 · 1920×1490) —— */
.md-factory {
  position: relative;
  margin-top: 136px; /* FIG gap products→factory：2976−2840 */
  height: 1490px;
  max-height: none;
  min-height: 1490px;
  color: #fff;
  background: #1a2414;
  overflow: hidden;
}

.md-factory::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(12, 18, 8, 0.12);
  pointer-events: none;
}

/* FIG image 11：3368×1664 @ (-724,-90) in 1920×1490 */
.md-factory-bg {
  position: absolute;
  left: -37.71%;
  top: -6.04%;
  width: 175.42%;
  height: 111.68%;
  max-width: none;
  object-fit: fill;
  z-index: 0;
  pointer-events: none;
}

.md-factory-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  margin-inline: auto;
}

.md-factory-shot {
  position: absolute;
  margin: 0;
  border-radius: 20px; /* FIG Frame cornerRadius */
  overflow: hidden;
  box-shadow: none;
  background: #ffffff;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  will-change: transform, opacity;
}

.md-factory.is-inview .md-factory-shot {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.md-factory.is-inview .md-factory-shot.pos-a { transition-delay: 0.05s; }
.md-factory.is-inview .md-factory-shot.pos-b { transition-delay: 0.18s; }
.md-factory.is-inview .md-factory-shot.pos-c { transition-delay: 0.30s; }
.md-factory.is-inview .md-factory-shot.pos-d { transition-delay: 0.42s; }
.md-factory.is-inview .md-factory-shot.pos-e { transition-delay: 0.54s; }

.md-factory-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .md-factory-shot:hover {
    z-index: 6 !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(-6px) scale(1.03);
  }
  .md-factory-shot:hover img {
    transform: scale(1.06);
  }
}

/* FIG Frame 2147227789 五图槽位（白卡 Frame 坐标 / 1920×1490） */
.md-factory-shot.pos-a {
  /* Frame 2147227790 @ 97,66 · 548×646 */
  left: 5.052%;
  top: 4.43%;
  width: 28.542%;
  height: 43.356%;
  z-index: 2;
}

.md-factory-shot.pos-b {
  /* Frame 2147227791 @ 1347,71 · 420×495 */
  left: 70.156%;
  top: 4.765%;
  width: 21.875%;
  height: 33.221%;
  z-index: 2;
}

.md-factory-shot.pos-c {
  /* Frame 2147227792 @ 212,847 · 553×346 */
  left: 11.042%;
  top: 56.846%;
  width: 28.802%;
  height: 23.221%;
  z-index: 2;
}

.md-factory-shot.pos-d {
  /* Frame 2147227793 @ 1347,617 · 530×386 */
  left: 70.156%;
  top: 41.409%;
  width: 27.604%;
  height: 25.906%;
  z-index: 2;
}

.md-factory-shot.pos-e {
  /* Frame 2147227794 @ 960,1054 · 688×448 */
  left: 50%;
  top: 70.738%;
  width: 35.833%;
  height: 30.067%;
  z-index: 3;
}

/* 文案绝对定位对齐 FIG Frame 2147227789 */
.md-factory-copy {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.md-factory-title {
  margin: 0;
  padding: 0;
}

.md-factory-name {
  position: absolute;
  left: 37.656%; /* 723 */
  top: 7.315%; /* 109 */
  width: 29.271%; /* 562 */
  font-family: var(--md-font-sans);
  font-size: 98px; /* Instrument Sans SemiBold · FIG lh 100% → 98 */
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  color: #ffffff;
  text-decoration: none;
  /* copy 层 pointer-events:none，标题链接必须单独打开，否则点不到 /factory */
  pointer-events: auto;
  cursor: pointer;
  z-index: 6;
}

.md-factory-dash {
  position: absolute;
  left: 36.615%; /* 703 */
  top: 15.772%; /* 235 */
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 500; /* Bitter Medium Italic */
  font-size: 96px;
  line-height: 1; /* FIG lh 100% */
  color: #ffffff;
}

.md-factory-smart-word {
  position: absolute;
  left: 55.365%; /* 1063 */
  top: 15.772%; /* 235 */
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 96px;
  line-height: 1; /* FIG lh 100% */
  white-space: nowrap;
  color: #ffffff;
}

.md-factory-mfg {
  position: absolute;
  left: 32.656%; /* 627 */
  top: 23.49%; /* 350 */
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 96px;
  line-height: 1; /* FIG lh 100% */
  white-space: nowrap;
  color: #ffffff;
}

.md-factory-lead {
  position: absolute;
  left: 37.656%; /* 723 */
  top: 35.906%; /* 535 */
  width: 29.427%; /* 565 */
  height: 96px;
  margin: 0;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* 96/4 lines */
  color: #ffffff;
}

.md-factory-copy .md-btn,
.md-factory-cta {
  position: absolute;
  left: 37.656%; /* 723 */
  top: 46.443%; /* 692 */
  pointer-events: auto;
  margin: 0;
  min-width: 181px;
  width: 181px;
  height: 50px;
  padding: 0;
  font-family: var(--md-font-sans);
  font-size: 16px; /* Instrument Sans Medium · FIG GET IN TOUCH */
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
  text-transform: uppercase;
  border-radius: 100px !important;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000;
}

[dir="rtl"] .md-factory-name,
[dir="rtl"] .md-factory-lead,
[dir="rtl"] .md-factory-cta {
  left: auto;
  right: 37.66%;
  text-align: right;
}

/* —— Why choose（FIG Frame 2147228054 · 1784×841） —— */
.md-why {
  background: var(--md-cream);
  margin-top: 141px; /* FIG gap factory→why：4607−4466 */
  padding: 39px 0 40px;
  min-height: 841px;
  height: 841px;
  box-sizing: border-box;
  overflow-x: clip; /* 双弧可伸出中图，但不得撑宽整页 */
  overflow-y: visible;
}

.md-why > .md-container {
  width: min(100% - 60px, 1784px);
  max-width: 1784px;
  margin-inline: auto;
  padding-inline: 0;
}

.md-why .md-section-title {
  font-family: var(--md-font-serif);
  font-size: 60px; /* Bitter Medium · 603×70 */
  font-weight: 500;
  line-height: 70px;
  color: #000000;
  margin: -29px auto 0; /* DES 标题墨迹约 y4617（原 -39 偏上 ~10px） */
  text-align: center;
}

.md-why-brand {
  font-family: var(--md-font-serif);
  font-weight: 500;
  color: #000000;
}

.md-why .md-section-sub {
  margin: 22px auto 0; /* 14+8：DES 导语约 y4709 */
  max-width: 810px; /* 两行，断在 Standardized（对齐 DES） */
  color: #666666;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  text-transform: none;
}

.md-why-grid {
  /* FIG Group 1321319945 · 1784×650.625；百分比坐标随容器缩放 */
  position: relative;
  display: block;
  width: 100%;
  max-width: 1784px;
  aspect-ratio: 1784 / 650.625;
  height: auto;
  margin: 48px auto 0;
  z-index: 0;
}

.md-why-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.md-why-arc-fill {
  opacity: 0.14; /* FIG Subtract GRADIENT_LINEAR paint opacity · 近黑叠 cream ≈ 稿面暖灰弧 */
}

.md-why-col {
  position: static;
  display: contents; /* 条目直接挂到 stage，按 FIG 坐标摆 */
  z-index: 2;
}

.md-why-item {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.78%; /* ≈14/1784 可视；用固定 rem 更稳 */
  gap: 14px;
  box-sizing: border-box;
}

/* FIG 左列：x=52/0/27 · y=0/250/489 · 右对齐 · icon 靠右 */
.md-why-item-l1 { top: 0%; left: 2.915%; width: 21.413%; } /* 52, 382 */
.md-why-item-l2 { top: 38.425%; left: 0; width: 22.366%; } /* 250/650.625, 399 */
.md-why-item-l3 { top: 75.158%; left: 1.513%; width: 22.814%; } /* 489, 27, 407 */

.md-why-col.is-left .md-why-item,
.md-why-item-l1,
.md-why-item-l2,
.md-why-item-l3 {
  align-items: flex-end;
  text-align: right;
}

/* FIG 右列：x=1358/1402/1371 · y=3/250/489 · 左对齐 · icon 靠左 */
.md-why-item-r1 { top: 0.461%; left: 76.121%; width: 21.413%; } /* 3, 1358, 382 */
.md-why-item-r2 { top: 38.425%; left: 78.587%; width: 21.413%; } /* 250, 1402 */
.md-why-item-r3 { top: 75.158%; left: 76.850%; width: 21.413%; } /* 489, 1371 */

.md-why-col.is-right .md-why-item,
.md-why-item-r1,
.md-why-item-r2,
.md-why-item-r3 {
  align-items: flex-start;
  text-align: left;
}

.md-why-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin: 0; /* 对齐靠 .md-why-item 的 align-items（左列右齐 / 右列左齐） */
}

.md-why-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
  transform-origin: center;
  animation: md-why-icon-float 2.8s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

.md-why-item:nth-child(2) .md-why-icon img { animation-delay: 0.35s; }
.md-why-item:nth-child(3) .md-why-icon img { animation-delay: 0.7s; }

@keyframes md-why-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (hover: hover) {
  .md-why-item:hover .md-why-icon img {
    animation-play-state: paused;
    transform: translateY(-2px) scale(1.18) rotate(-6deg);
    filter: drop-shadow(0 4px 8px rgba(226, 123, 33, 0.35));
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-why-icon img {
    animation: none !important;
  }
}

.md-why-copy {
  width: 100%;
  max-width: 100%;
}

.md-why-item h3,
.md-why-item .md-why-copy h3,
.md-why .md-why-item h3 {
  margin: 0 0 10px; /* FIG title 30 + gap → desc y40 */
  color: var(--md-why-title) !important; /* 可见深红棕；禁 #000 / 禁近黑 #3e0202 */
  -webkit-text-fill-color: var(--md-why-title) !important;
  forced-color-adjust: none;
  font-family: var(--md-font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  transition: color 0.2s ease, -webkit-text-fill-color 0.2s ease;
}

.md-why-item:hover h3,
.md-why-item:hover .md-why-copy h3,
.md-why .md-why-item:hover h3 {
  color: var(--md-orange) !important;
  -webkit-text-fill-color: var(--md-orange) !important;
}

.md-why-item p {
  margin: 0;
  color: #666666;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  max-width: 100%;
}

.md-why-visual {
  position: absolute;
  /* FIG Group：image 28 x=538 y=16 · 733×549 / 1784×650.625 */
  top: 2.46%;
  left: 30.157%;
  width: 41.087%;
  height: 84.381%;
  margin: 0;
  z-index: 1;
}

.md-why-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* —— Stats band（FIG Frame 2147228067 · 1920×960 · 左图右橙 1:1） —— */
.md-stats-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 140px; /* FIG gap why→stats：5588−5447.6 */
  min-height: 960px;
  height: 960px;
  background: var(--md-cream);
  box-sizing: border-box;
  overflow: visible;
}

.md-stats-photo {
  position: relative;
  background: #333;
  min-height: 960px;
  height: 960px;
  overflow: hidden;
  z-index: 1;
}

.md-stats-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%; /* 稿面人物偏左构图，勿死板居中裁切 */
  min-height: 960px;
  display: block;
}

.md-stats-play {
  /* 定位相对 .md-stats-photo：稿面左栏正中；灰半透明 + 白三角 */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

button.md-stats-play:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) scale(1.06);
}

button.md-stats-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.md-stats-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 5px;
}

.md-stats-panel {
  position: relative;
  z-index: 2;
  background: #e27b21; /* FIG 橙 */
  color: #fff;
  /* 稿：内容柱 ≈774 居中；顶距 eyebrow≈178；底距垫至 btnY≈827 */
  padding: 178px calc((100% - 774px) / 2) 83px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  min-height: 960px;
  height: 960px;
}

.md-stats-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  font-family: var(--md-font-sans);
  font-size: 18px !important; /* FIG 18；勿被 .md-stats-panel > p 的 16 盖掉 */
  font-weight: 500 !important;
  line-height: 26px !important;
  letter-spacing: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-transform: none;
  opacity: 1;
  max-width: none;
}

.md-stats-eyebrow .md-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  flex: 0 0 auto;
  box-shadow: none;
}

.md-stats-panel h2 {
  margin: 0 0 36px;
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 500; /* Bitter Medium Italic · FIG 60 */
  font-size: 60px;
  line-height: 72px;
  letter-spacing: 0;
  text-align: center;
  max-width: 774px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.md-stats-panel > p:not(.md-stats-eyebrow) {
  margin: 0;
  max-width: 641px; /* FIG lead 框宽 */
  width: 100%;
  opacity: 1;
  font-family: var(--md-font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.md-stats-panel > p:not(.md-stats-eyebrow) + p:not(.md-stats-eyebrow) {
  margin-top: 28px;
}

.md-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  /* 稿面数字顶 ≈ y634；无上下横线；原 padding 28 并入 margin 以钉住数字 */
  margin: 127px 0 0;
  padding: 0;
  width: 100%;
  max-width: 760px;
  border: 0;
  box-sizing: border-box;
}

.md-stat {
  text-align: center;
  min-width: 0;
}

.md-stat strong {
  display: block;
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 46px;
  line-height: 55px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  overflow: hidden;
}

.md-stat strong .md-stat-num {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
}

.md-stats-band.is-inview .md-stat strong .md-stat-num {
  transform: translateY(0);
  opacity: 1;
}

.md-stats-band.is-inview .md-stat:nth-child(1) .md-stat-num { transition-delay: 0.05s; }
.md-stats-band.is-inview .md-stat:nth-child(2) .md-stat-num { transition-delay: 0.18s; }
.md-stats-band.is-inview .md-stat:nth-child(3) .md-stat-num { transition-delay: 0.30s; }
.md-stats-band.is-inview .md-stat:nth-child(4) .md-stat-num { transition-delay: 0.42s; }

.md-stat > span {
  display: block;
  margin-top: 6px;
  font-family: var(--md-font-sans);
  font-size: 16px; /* FIG label Medium 16 */
  font-weight: 500;
  line-height: 24px;
  opacity: 1;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  overflow-wrap: anywhere;
}

.md-btn-black {
  background: var(--md-black);
  color: #fff;
  align-self: flex-start;
}

.md-stats-panel .md-btn-black {
  align-self: center;
  min-width: 151px;
  width: auto;
  height: 50px;
  min-height: 50px;
  padding: 0 28px;
  margin-top: auto; /* 稿面按钮顶 ≈ y827；底 padding=83 */
  margin-bottom: 0;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  background: #000000;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

/* —— Testimonial（FIG Group 1321319933 · 1638×790 @ x=184） —— */
.md-testimonial {
  background: var(--md-cream);
  margin-top: 176px; /* FIG gap stats→testimonial：6724−6548 */
  padding: 0;
  min-height: 790px;
  height: 790px;
  overflow: hidden;
}

.md-testimonial-stage {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 790px;
  margin-inline: auto;
}

.md-testimonial-photo {
  position: absolute;
  left: 9.58%; /* 184/1920 */
  top: 0;
  width: 40.21%; /* 772 */
  height: 100%;
  overflow: hidden;
  background: #ddd;
  border-radius: 0;
}

.md-testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-testimonial-copy {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.md-testimonial-copy > * {
  pointer-events: auto;
}

.md-testimonial-copy h2 {
  position: absolute;
  left: 54.64%; /* 184+865 */
  top: 3.8%; /* 30/790 */
  width: 39.58%; /* 760 */
  margin: 0;
  font-family: var(--md-font-serif);
  font-style: italic;
  font-weight: 500; /* Bitter Medium Italic · FIG 76/96 #000 */
  /* 随视口缩放，避免 <1920 时主标题换行把 “Around The World” 压进正文 */
  font-size: min(76px, calc(100vw * 76 / 1920));
  line-height: min(96px, calc(100vw * 96 / 1920));
  letter-spacing: 0;
  color: #000000;
}

.md-testimonial-copy h2 .md-testi-line {
  display: block;
  white-space: nowrap; /* 设计稿两行：黑主标题整行 + 灰副标题 */
}

.md-testimonial-copy h2 .muted {
  display: block; /* design: line2 “Around The World” */
  color: #b4bab4; /* v105/v132 mean-abs best */
  font-style: italic;
  white-space: nowrap;
}

.md-quote-mark {
  position: absolute;
  left: 54.64%; /* 865+184 */
  top: 36.33%; /* 287 */
  width: 136px;
  height: 122px;
  margin: 0;
  object-fit: contain;
}

.md-testimonial-copy blockquote {
  position: absolute;
  left: 64.9%; /* 184+1062 */
  top: 36.33%;
  width: 30%; /* 576/1920 */
  max-width: 576px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #666666; /* FIG #666666 */
  font-family: var(--md-font-sans);
  font-size: 16px; /* FIG 16 */
  font-weight: 400;
  line-height: 24px; /* FIG lh 24 */
}

.md-author {
  position: absolute;
  left: 64.9%;
  top: 72.78%; /* 575/790 */
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.md-author-avatar[hidden],
.md-author img[hidden] {
  display: none !important;
}

.md-author-avatar,
.md-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #ccc;
  border: 1px solid #ff0209; /* 稿面约 1px 红描边；色 FIG #ff0209 */
  box-sizing: border-box;
}

.md-author strong {
  display: block;
  font-family: var(--md-font-sans);
  font-size: 20px; /* FIG 20 Medium */
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase; /* FIG case UPPER */
  color: #000000;
}

.md-author span {
  display: block;
  font-family: var(--md-font-sans);
  font-size: 16px; /* FIG 16 Medium */
  font-weight: 500;
  line-height: 20px;
  color: #666666;
  margin-top: 2px;
  text-transform: capitalize; /* FIG case TITLE */
}

.md-slider-nav {
  position: absolute;
  left: 64.9%;
  top: 91.39%; /* 722/790 */
  display: flex;
  gap: 18px;
  margin: 0;
  z-index: 6;
  pointer-events: auto;
}

.md-slider-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--md-line);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.md-slider-nav button:hover {
  border-color: var(--md-orange);
  color: var(--md-orange);
}

/* —— Certifications（FIG Frame 38 · 1920×960） —— */
/* design/07-certs.png 纵向有明显压暗（非 Subscribe 纯色），按采样渐变贴齐 */
.md-certs {
  position: relative;
  height: 960px;
  min-height: 960px;
  background: linear-gradient(
    180deg,
    #d7741e 0%,
    #c6691a 20%,
    #b56015 40%,
    #ac5a13 50%,
    #a45511 60%,
    #9a4f0e 70%,
    #914a0d 80%,
    #88450a 90%,
    #804008 100%
  );
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

/* 首页 testimonial→certs 间距；About 页 certs 紧贴视频，勿套用 */
main > .md-testimonial + .md-certs {
  margin-top: 176px; /* FIG gap：7690−7514 */
}

.md-certs::before {
  /* Ellipse 12 · #ff7700 @ (411,325) 1101×397 — soft orange bloom */
  content: "";
  position: absolute;
  left: 21.4%;
  top: 33.85%;
  width: 57.34%;
  height: 41.35%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 119, 0, 0.85) 0%,
    rgba(255, 119, 0, 0.4) 40%,
    rgba(226, 123, 33, 0.15) 65%,
    transparent 78%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(18px);
}

.md-certs-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  margin-inline: auto;
}

.md-certs-title {
  position: absolute;
  left: 50%;
  top: 113px; /* FIG 11.77% × 960 */
  transform: translateX(-50%);
  width: max-content;
  max-width: min(863px, 94vw);
  margin: 0;
  padding: 0;
  font-family: var(--md-font-serif); /* Bitter Medium */
  font-size: 60px;
  font-weight: 500;
  font-style: normal;
  color: #ffffff;
  line-height: 70px; /* FIG lh 70 · 单行 */
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap; /* 稿 863×70 单行，禁止 Can/Trust 折行 */
  pointer-events: none;
  z-index: 2;
}

.md-certs-lead {
  position: absolute;
  left: 50%;
  top: 225px; /* FIG 23.44% × 960 · 标题底 183 → 间距约 42 */
  transform: translateX(-50%);
  width: 978px; /* FIG 978×48 */
  max-width: min(978px, 92vw);
  margin: 0;
  padding: 0;
  font-family: var(--md-font-sans); /* Instrument Sans Regular */
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* FIG lh 24 → 两行 */
  color: #ffffff;
  text-align: center;
  text-transform: none; /* 文案入库已是 Title Case */
  pointer-events: none;
  z-index: 2;
}

.md-cert-fan {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  z-index: 3;
}

.md-cert-card {
  position: absolute;
  margin: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  overflow: visible;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0.7;
  outline: none;
  box-sizing: border-box;
  will-change: left, top, width, height, opacity;
}

/* 切换动效：位姿/尺寸/透明度插值（约 480ms，与 JS 步进同步） */
.md-cert-fan.is-animated .md-cert-card {
  transition:
    left 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    width 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    height 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.4s ease,
    box-shadow 0.4s ease;
}

/* 跨端换位：瞬移到另一侧，避免证书飞过整屏 */
.md-cert-card.is-teleport {
  transition: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.md-cert-fan.is-animating .md-cert-card {
  pointer-events: none;
}

.md-cert-card img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #fff;
  box-shadow: none;
}

.md-cert-fan.is-animated .md-cert-card img {
  transition:
    left 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    width 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    height 0.48s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.4s ease;
}

/* 高亮框常驻 DOM，侧位透明、中位淡入（避免 display:none 瞬切） */
.md-cert-card::before,
.md-cert-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.md-cert-card::before {
  left: 3.8835%;
  top: 2.6266%;
  width: 91.7476%;
  height: 94.7467%;
  background: linear-gradient(
    165deg,
    rgba(255, 231, 173, 0.22) 0%,
    rgba(255, 244, 220, 0.17) 48%,
    rgba(255, 255, 255, 0.08) 100%
  );
  z-index: 0;
}

.md-cert-card::after {
  inset: 0;
  border: 1px solid #ffe7ad;
  z-index: 3;
  background:
    linear-gradient(#ffe7ad, #ffe7ad) top left / 15px 1.5px no-repeat,
    linear-gradient(#ffe7ad, #ffe7ad) top left / 1.5px 15px no-repeat,
    linear-gradient(#ffe7ad, #ffe7ad) top right / 15px 1.5px no-repeat,
    linear-gradient(#ffe7ad, #ffe7ad) top right / 1.5px 15px no-repeat,
    linear-gradient(#ffe7ad, #ffe7ad) bottom left / 15px 1.5px no-repeat,
    linear-gradient(#ffe7ad, #ffe7ad) bottom left / 1.5px 15px no-repeat,
    linear-gradient(#ffe7ad, #ffe7ad) bottom right / 15px 1.5px no-repeat,
    linear-gradient(#ffe7ad, #ffe7ad) bottom right / 1.5px 15px no-repeat;
}

/* Left trio · Group 1321319935 @ (28,372) */
.md-cert-card.pos-1 {
  left: 1.46%;
  top: 38.75%;
  width: 8.8%;
  height: 24.27%;
  z-index: 1;
}
.md-cert-card.pos-2 {
  left: 11.67%;
  top: 38.75%;
  width: 10.89%;
  height: 30.1%;
  z-index: 2;
}
.md-cert-card.pos-3 {
  left: 23.96%;
  top: 38.75%;
  width: 13.91%;
  height: 38.44%;
  z-index: 3;
}

/*
 * Center · 点击轮入后高亮：Group 40246 412×533 + 暖金框（原 hover 态常驻于中间位）
 */
.md-cert-card.pos-4,
.md-cert-card.is-center {
  left: 39.2708%; /* 754/1920 · Group 40246 */
  top: 35.3125%; /* 339/960 */
  width: 21.4583%; /* 412/1920 */
  height: 55.5208%; /* 533/960 */
  z-index: 5;
  opacity: 1;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  outline: none;
  overflow: visible;
}

.md-cert-card.pos-4 img,
.md-cert-card.is-center img {
  left: 8.7379%; /* 36/412 */
  top: 6.1914%; /* 33/533 */
  width: 82.0388%; /* 338/412 */
  height: 87.4296%; /* 466/533 */
  z-index: 1;
  background: #fff;
  filter: none;
  box-shadow:
    0 0 0 1px rgba(255, 231, 173, 0.85),
    0 14px 32px rgba(0, 0, 0, 0.18);
}

/* 中位：暖金框淡入 */
.md-cert-card.pos-4::before,
.md-cert-card.is-center::before,
.md-cert-card.pos-4::after,
.md-cert-card.is-center::after {
  opacity: 1;
}

/* Side · FIG image opacity 0.7；顶对齐 */
.md-cert-card.pos-1,
.md-cert-card.pos-2,
.md-cert-card.pos-3,
.md-cert-card.pos-5,
.md-cert-card.pos-6,
.md-cert-card.pos-7 {
  opacity: 0.7;
}

/* Right trio · flipped Group 1321319937 */
.md-cert-card.pos-5 {
  left: 62.14%;
  top: 38.75%;
  width: 13.91%;
  height: 38.44%;
  z-index: 3;
}
.md-cert-card.pos-6 {
  left: 77.45%;
  top: 38.75%;
  width: 10.89%;
  height: 30.1%;
  z-index: 2;
}

.md-cert-card.pos-7 {
  left: 89.74%;
  top: 38.75%;
  width: 8.8%;
  height: 24.27%;
  z-index: 1;
}

/* 侧卡 hover：仅提亮，不改位（避免与点击轮转抢位置） */
.md-cert-card:not(.is-center):hover,
.md-cert-card:not(.is-center):focus-visible {
  opacity: 1;
  z-index: 6;
}

/* legacy aliases no longer used as flex row */
.md-cert-row,
.md-cert-track {
  display: contents;
}

/* —— News（FIG Frame 2147228041 · 1860×694 @ x=30） —— */
.md-news {
  background: var(--md-cream);
  margin-top: 163px; /* FIG gap certs→news：8813−8650 */
  padding: 0; /* design title ink @y≈13 */
  min-height: 694px;
  height: 694px;
  box-sizing: border-box;
  overflow: hidden;
}

.md-news > .md-container {
  width: min(100% - 60px, 1860px); /* 30px side gutters */
  max-width: 1860px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-inline: 0;
  margin-inline: auto;
}

.md-news-head {
  align-items: flex-start;
  /* title@13; keep cards top ≈215 → +13 after pad lift */
  margin-top: 0;
  margin-bottom: 72px;
  gap: 24px;
  flex: 0 0 auto;
}

.md-news .md-section-title {
  font-family: var(--md-font-serif);
  font-size: 60px; /* Bitter Medium · 911×70 */
  font-weight: 500;
  font-style: normal;
  line-height: 70px;
  letter-spacing: 0;
  color: #000000; /* FIG #000 — 「Latest News &」 */
  -webkit-text-fill-color: #000000;
  max-width: 911px;
  margin: 0;
  white-space: nowrap;
}

.md-news .md-section-title .muted {
  color: #b4bab4; /* 01-首页2：「Company Updates」浅灰 */
  -webkit-text-fill-color: #b4bab4;
  font-weight: 500;
  font-style: normal;
}

.md-news .md-section-title-row {
  margin-bottom: 0;
  gap: 0;
}

.md-news-lead {
  margin: 25px 0 0; /* FIG Frame 2147227803 stackSpacing 25 */
  max-width: 795px;
  color: var(--md-muted);
  font-size: 14px;
  line-height: 1.7;
  text-transform: none; /* Admin stores Title Case */
  font-weight: 400;
}

.md-news-card h3,
.md-news-card h3 a,
.md-news-card p,
.md-news-card time {
  text-transform: none;
}

.md-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px; /* (1860 − 602×3) / 2 */
}

/* Blog 列表 · DES 图底→下行图 ≈239 → 行距加到 65 */
.md-blog-page .md-news-grid {
  gap: 65px 27px;
}

.md-news-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.md-news-card .md-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 602 / 310;
  overflow: hidden;
  border-radius: 2px;
  background: #ddd;
  transition: box-shadow 0.2s ease, outline-color 0.2s ease;
  outline: 2px solid transparent;
  outline-offset: 0;
  margin: 0 0 40px; /* DES 60-Blog 图→日期 ≈40 */
}

.md-news-card .md-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-news-card time {
  display: block;
  color: #666;
  font-family: var(--md-font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  margin: 0 0 16px; /* FIG 2147227802 stackSpacing */
  transition: color 0.2s ease;
}

.md-news-card h3 {
  margin: 0 0 18px; /* FIG 2147227801 stackSpacing */
  font-family: var(--md-font-sans);
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  color: var(--md-ink);
  transition: color 0.2s ease;
}

.md-news-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* 悬停态 · 图框 + 日期 + 标题变橙（禁止 nth-child 写死） */
.md-news-card:hover time,
.md-news-card:focus-within time,
.md-news-card:hover h3,
.md-news-card:focus-within h3,
.md-news-card:hover h3 a,
.md-news-card:focus-within h3 a {
  color: var(--md-orange);
}

.md-news-card:hover .md-thumb,
.md-news-card:focus-within .md-thumb {
  outline-color: var(--md-orange);
}

.md-news-card p {
  margin: 0;
  color: #666;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

/* —— Subscribe CTA（FIG Group 1321319940 · 1920×456 · #E27B21） —— */
.md-subscribe {
  background: #e27b21;
  color: #ffffff;
  text-align: center;
  margin-top: 127px; /* FIG gap news→subscribe：9634−9507 */
  padding: 0;
  min-height: 456px;
  height: 456px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start; /* content frame y=82 */
  justify-content: center;
  overflow: hidden;
}

.md-subscribe .md-container {
  position: relative;
  width: min(100% - 48px, 810px);
  max-width: 810px;
  padding: 82px 0 0; /* Frame 2147227810 @ y=82 */
  box-sizing: border-box;
}

.md-subscribe h2 {
  margin: 0 auto 56px; /* stackSpacing 56 → form group y=196 */
  max-width: 810px;
  width: 100%;
  font-family: var(--md-font-serif);
  font-style: normal;
  font-size: 60px; /* Bitter Medium */
  font-weight: 500;
  line-height: calc(140 / 120); /* node 810×140 · 2 lines */
  letter-spacing: 0;
  color: #ffffff;
}

.md-subscribe-body {
  width: 581px; /* Frame 2147227809 */
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.md-subscribe-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 50px; /* Group 1321319939 */
  border-radius: 100px;
  overflow: hidden;
  background: #000000;
  box-shadow: none;
  position: relative;
}

.md-subscribe-form input {
  flex: 1 1 auto;
  width: 422px; /* white btn at x=422 */
  border: 0;
  background: #000000;
  color: #ffffff;
  padding: 0 26px; /* E-mail text x=26 */
  min-height: 50px;
  height: 50px;
  outline: none;
  font-family: var(--md-font-sans);
  font-size: 15px; /* Instrument Sans Medium */
  font-weight: 500;
  line-height: 24px;
}

.md-subscribe-form input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.md-subscribe-form button {
  border: 0;
  background: #ffffff;
  color: #000000;
  width: 159px; /* Rectangle 10059 */
  min-width: 159px;
  flex: 0 0 159px;
  padding: 0;
  font-family: var(--md-font-sans);
  font-weight: 500; /* Instrument Sans Medium */
  cursor: pointer;
  min-height: 50px;
  height: 50px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0;
  transition: opacity 0.2s ease;
}

.md-subscribe-form button:hover,
.md-subscribe-form button:focus-visible {
  background: #ffffff;
  opacity: 0.92;
  transform: none;
}

.md-subscribe-form button:active {
  opacity: 0.85;
}

.md-subscribe-form .md-form-msg {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 8px;
  width: max-content;
  max-width: 90vw;
}

.md-subscribe-note {
  margin: 29px 0 0; /* note y=79 within 97 frame → 79-50 */
  padding: 0;
  width: 100%;
  font-family: var(--md-font-sans);
  font-size: 15px; /* Instrument Sans Regular */
  font-weight: 400;
  line-height: 18px; /* node 581×18 */
  letter-spacing: 0;
  /* 稿面小字视觉为半透明白（JPG topMed≈#f2c9a6 ≈ white@0.60 on #e27b21） */
  color: rgba(255, 255, 255, 0.6);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
  text-align: center;
}

/* —— Footer（设计稿 1920×573 · #230100 · 四栏 1.4:1:1:1 · 底栏三行左对齐） —— */
.md-footer {
  --md-footer-text: #c9b8b6;
  --md-footer-social: #e27b21;
  position: relative;
  background: #230100;
  color: var(--md-footer-text);
  padding: 72px 0 40px;
  min-height: 573px; /* FIG footer 1920×573 */
  height: 573px;
  box-sizing: border-box;
  /* 无顶橙边：首页橙区由 .md-subscribe 承担；内页稿为奶油底直贴 footer */
  border-top: 0;
  overflow: hidden;
}

/* About facility→footer：FIG gap 100（4138−4038）；footer 在 </main> 外 */
main:has(> .md-about-facility:last-child) + .md-footer {
  margin-top: 100px;
}

/* 首页 subscribe 贴齐 footer（gap 0） */
main:has(> .md-subscribe:last-child) + .md-footer {
  margin-top: 0;
}

.md-footer-grid {
  display: grid;
  /* 设计列起止约 85 / 707 / 1098 / 1499（1920 稿）→ 宽约 622:391:401:390 */
  grid-template-columns: 1.72fr 1fr 1fr 1fr;
  column-gap: 0;
  row-gap: 40px;
  padding-bottom: 56px;
  align-items: start;
}

.md-footer-brand {
  padding-inline-end: 48px;
}

.md-footer-col:not(.md-footer-brand) {
  padding-inline-end: 24px;
}

.md-footer h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--md-font-sans);
  font-size: 22px; /* 稿 Instrument Sans Medium 22 */
  font-weight: 500;
  line-height: 1.1;
}

.md-footer h4 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.md-footer-about,
.md-footer-addr,
.md-footer-contact p,
.md-footer p {
  margin: 0 0 12px;
  font-size: 16px; /* 稿 16 / lh 24 */
  line-height: 1.5;
  color: var(--md-footer-text);
}

.md-footer-about {
  max-width: 445px; /* 稿正文框宽 */
}

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

.md-footer li {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.5;
}

.md-footer-col:nth-child(2) li:last-child,
.md-footer-col:nth-child(3) li:last-child {
  margin-bottom: 0;
}

.md-footer li a,
.md-footer-contact a {
  color: var(--md-footer-text);
}

.md-footer a:hover {
  color: #ffffff;
}

.md-footer-bottom {
  border-top: none;
  padding: 0;
  max-width: none;
}

.md-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--md-footer-social);
  text-transform: uppercase;
}

.md-footer-social a {
  color: var(--md-footer-social);
}

.md-footer-social a:hover {
  color: #ffffff;
}

.md-footer-copy-line {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--md-footer-text);
}

.md-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
  font-size: 12px;
  color: var(--md-footer-text);
}

.md-footer-meta .md-powered {
  color: var(--md-footer-text);
  text-decoration: none;
  white-space: nowrap;
}

.md-footer-meta .md-powered:hover {
  color: #ffffff;
}

.md-footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.md-footer-legal .md-legal-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  padding: 6px 14px;
  background: var(--md-orange);
  border-radius: 2px;
  color: #fff;
  font-family: var(--md-font-jakarta); /* FIG Plus Jakarta Sans Regular 14 */
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.md-footer-legal .md-legal-tag a {
  color: #fff;
}

.md-footer-legal .md-legal-tag a:hover {
  color: #fff;
  opacity: 0.9;
}

.md-footer-badge {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
}

.md-footer-stats {
  display: inline-block;
  height: auto;
  line-height: 0;
  vertical-align: middle;
}

.md-footer-stats img,
.md-footer-stats a img {
  height: 22px;
  width: auto;
  vertical-align: middle;
}

.md-legal-sep {
  display: inline;
  opacity: 0.85;
  color: #fff;
}

/* —— Inner content shells —— */
.md-page-body {
  padding: 64px 0 90px;
  /* clip：禁横溢且不创建 scrollport，保证产品侧栏/顶栏 sticky 相对视口生效 */
  overflow-x: clip;
  max-width: 100%;
}

.md-blog-article,
.md-case-page .md-container {
  max-width: 100%;
  overflow-x: hidden;
}

.md-page-body h2.md-section-title {
  margin-bottom: 36px;
}

/* Cases / Blog 页头 · 30/60 居中标题+导语（禁橙点） */
.md-page-intro {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 920px;
}

/* DES 60/30：titleMb≈16 · lead→grid≈49 · titleToGrid≈183 */
.md-cases-page .md-page-intro,
.md-blog-page .md-page-intro {
  margin: 0 auto 49px;
}

.md-page-intro-title {
  margin: 0 auto 28px;
  max-width: 911px; /* Blog 稿 911×70 单行；Cases 722 更窄也单行 */
  font-family: var(--md-font-serif);
  font-size: 60px;
  font-weight: 500; /* Bitter Medium · FIG #000 */
  line-height: 70px; /* 稿 lh 70 → 禁止被挤成两行 */
  letter-spacing: 0;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-cases-page .md-page-intro-title,
.md-blog-page .md-page-intro-title {
  max-width: 722px;
  margin: 0 auto 16px; /* DES title→lead ≈19 */
}

.md-blog-page .md-page-intro-title {
  max-width: 911px;
}

/* 详情长标题禁止 nowrap，否则 scrollWidth 撑出横向滚动条（列表页保持单行 70） */
.md-case-page .md-page-intro-title,
.md-blog-article .md-page-intro-title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: normal;
  margin: 0 auto 28px;
}

/* —— Blog 详情 · BLOG详情页.jpg 1:1 —— */
.md-blog-detail {
  /* crumb @682 → title @811 ≈129；底距 footer 约 100 */
  padding: 100px 0 100px;
}

.md-blog-page.md-blog-detail > .md-container {
  width: min(100% - 60px, 1365px); /* 稿正文柱 x256–1621；须压过列表 1860 */
  max-width: 1365px;
}

.md-blog-detail-article {
  margin: 0;
  padding: 0;
}

.md-blog-detail-head {
  margin: 0 0 0;
  padding: 0 0 28px;
  border-bottom: 1px solid #e7e2de; /* 稿分割线 ≈ rgb(231,226,222) */
}

.md-blog-detail-title {
  margin: 0 0 16px;
  font-family: var(--md-font-sans);
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 0;
  color: #000;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.md-blog-detail-date {
  display: block;
  margin: 0;
  font-family: var(--md-font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: #666666;
}

.md-blog-detail-body {
  margin: 36px 0 0;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #666666;
  overflow-x: hidden;
  max-width: 100%;
}

.md-blog-detail-body p {
  margin: 0 0 24px;
}

.md-blog-detail-body p:last-child {
  margin-bottom: 0;
}

.md-blog-detail-figure,
.md-blog-detail-body .md-blog-detail-figure,
.md-blog-detail-body figure {
  margin: 40px 0;
  padding: 0;
  width: 100%;
}

.md-blog-detail-figure img,
.md-blog-detail-body figure img,
.md-blog-detail-body > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.md-blog-detail-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 56px 0 40px;
}

.md-blog-detail-share-label {
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #666666;
  white-space: nowrap;
}

.md-blog-detail-share-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 邻篇条：双横线带宽 ≈62、圆 36、左右两端 */
.md-blog-detail-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
  min-height: 62px;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid #e7e2de;
  border-bottom: 1px solid #e7e2de;
}

.md-blog-detail-pager-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: calc(50% - 12px);
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #666666;
  text-decoration: none;
}

.md-blog-detail-pager-item.is-next {
  margin-inline-start: auto;
  text-align: end;
}

.md-blog-detail-pager-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.md-blog-detail-pager-btn {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  background: #ede8e4; /* 默认灰圆；仅 hover 变橙 */
  color: #666666;
  transition: background 0.15s ease, color 0.15s ease;
}

.md-blog-detail-pager-item.is-disabled {
  cursor: default;
  pointer-events: none;
}

.md-blog-detail-pager-item:not(.is-disabled):hover {
  color: var(--md-orange);
}

.md-blog-detail-pager-item:not(.is-disabled):hover .md-blog-detail-pager-btn,
.md-blog-detail-pager-item:not(.is-disabled):focus-visible .md-blog-detail-pager-btn {
  background: var(--md-orange);
  color: #fff;
}

@media (max-width: 900px) {
  .md-blog-detail {
    padding: 48px 0 64px;
  }

  .md-blog-page.md-blog-detail > .md-container {
    width: min(100% - 32px, 1365px);
  }

  .md-blog-detail-title {
    font-size: 22px;
    line-height: 30px;
  }

  .md-blog-detail-pager {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 16px 0;
  }

  .md-blog-detail-pager-item,
  .md-blog-detail-pager-item.is-next {
    max-width: 100%;
    margin-inline-start: 0;
    text-align: start;
  }

  .md-blog-detail-pager-item.is-next {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .md-blog-detail-pager-text {
    white-space: normal;
  }
}

.md-page-intro-lead {
  margin: 0 auto;
  max-width: 795px; /* 稿导语框宽 */
  color: #666;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.md-cases-page,
.md-blog-page,
.md-contact-page {
  background: var(--md-cream);
  /* FIG 正文 @ y=806；slim crumb≈46 → 余量 ≈100（806−706） */
  padding: 100px 0 100px; /* 底距 footer FIG 多为 100 */
}

/* DES 侧栏 30px → 内容柱 1860（分页横线满宽同 Group 74） */
.md-cases-page > .md-container,
.md-blog-page > .md-container,
.md-faq-page > .md-container,
.md-products-page > .md-container {
  width: min(100% - 60px, 1860px);
  max-width: 1860px;
}

/* Blog 详情正文柱更窄（BLOG详情页.jpg x256–1621） */
.md-blog-page.md-blog-detail > .md-container {
  width: min(100% - 60px, 1365px);
  max-width: 1365px;
}

.md-content-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--md-shadow-soft);
}

.md-rich {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  overflow-x: auto;
  max-width: 100%;
}

.md-rich img,
.md-rich video,
.md-rich iframe,
.md-rich table {
  max-width: 100%;
  height: auto;
}

.md-rich .swiper,
.md-rich .swiper-wrapper,
.md-rich .swiper-slide,
.md-rich .cover-item,
.md-rich .comments-item,
.md-rich .w104-section,
.md-rich .w104-wrapper,
.md-rich .w104-meta,
.md-rich .meta-wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.md-rich .swiper-slide {
  height: auto !important;
}

.md-content-card {
  overflow: hidden;
  max-width: 100%;
}

/* Mode B 分页 · 10/30/50/60 量像素：带宽 80、线 #e1e1e1、圆 36、gap 16、底 #ede8e4、当前黑 */
.md-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end; /* 产品/案例/Blog 靠右；FAQ 另覆 center */
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  margin-top: 80px; /* 列表底 → 顶横线 ≈80 */
  margin-bottom: 0;
  padding: 0;
  gap: 16px;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  max-width: 100%;
  overflow: visible;
}

.md-pagination a,
.md-pagination span {
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: #ede8e4; /* 稿 inactive 圆填充 */
  color: #000;
  font-family: var(--md-font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  flex: 0 0 auto;
}

.md-pagination .is-current {
  background: #000;
  color: #fff;
}

.md-pagination .md-page-prev,
.md-pagination .md-page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ede8e4;
  color: #000;
  font-size: 0; /* 箭头用 SVG，禁字体基线偏移 */
  font-weight: 400;
  line-height: 0;
}

/* 分页箭头：几何居中 · DES ≈6×12 @36 圆 */
.md-pagination .md-page-chevron {
  display: block;
  width: 7px;
  height: 12px;
  flex: 0 0 auto;
  margin: 0;
}

.md-pagination .md-page-chevron path {
  stroke: #111;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.md-pagination .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.md-pagination .md-page-gap {
  background: transparent;
  min-width: 24px;
  width: auto;
  color: #000;
}

.md-rich h2,
.md-rich h3 {
  font-family: var(--md-font-serif);
}

.md-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}

.md-contact-k {
  display: inline-block;
  min-width: 72px;
  margin-inline-end: 8px;
  color: var(--md-muted);
  font-weight: 600;
}

.md-contact-info .md-section-title,
.md-contact-form-card .md-section-title {
  font-size: 28px;
}

/* Contact · 70-联系我们.jpg 左图右表单 */
.md-contact-page > .md-container.md-contact-split {
  /* DES 左右留白 ≈179 → 内容柱 ≈1562（仅宽屏） */
  width: min(100% - 358px, 1562px);
  max-width: 1562px;
}

.md-contact-split {
  display: grid;
  /* DES：图≈700、缝≈97、表单≈765 */
  grid-template-columns: 700fr 765fr;
  gap: 40px 97px;
  align-items: start;
}

.md-contact-visual {
  overflow: hidden;
  background: #e8e4de;
  aspect-ratio: 700 / 819; /* DES 实测左图 */
}

.md-contact-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-contact-project-title {
  margin: 0 0 24px;
  max-width: 660px; /* 实测 “Let's Start Your Electric”≈650 → 两行断在 Mobility */
  font-family: var(--md-font-serif);
  font-size: 60px; /* Bitter Medium · FIG 60/70 #171d22 */
  font-weight: 500;
  line-height: 70px;
  letter-spacing: 0;
  color: #171d22;
}

/* 标题 → Send Us：通栏浅灰横线（稿面 / 对照截图 · #e5e5e5 · 满右栏宽，非短截） */
.md-contact-rule {
  display: block;
  width: 100%;
  max-width: none;
  height: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
  background: transparent;
}

.md-contact-form-title {
  margin: 0 0 32px;
  font-family: var(--md-font-sans);
  font-size: 24px; /* Instrument Sans Medium · FIG 24/32 #0a0a0a */
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0;
  color: #0a0a0a;
}

.md-contact-form {
  display: grid;
  gap: 22px; /* DES 表单行距更疏 */
}

.md-contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.md-contact-form label,
.md-contact-form-full {
  display: grid;
  gap: 10px; /* DES 标签→输入间距 */
}

.md-contact-form label span,
.md-contact-form-full span {
  font-family: var(--md-font-figtree);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0a0a0a;
}

.md-contact-form label span i,
.md-contact-form-full span i {
  color: #e25b3a;
  font-style: normal;
}

.md-contact-form input,
.md-contact-form textarea {
  width: 100%;
  border: 1px solid #ded9d6; /* DES 描边 ≈#ded9d6，非高对比 */
  border-radius: 24px; /* DES 大圆角 pill */
  padding: 14px 18px;
  /* DES 填充与页奶油同色（禁 #fff 白泡） */
  background: var(--md-cream);
  font-family: var(--md-font-sans);
  font-size: 15px;
  color: var(--md-ink);
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
}

.md-contact-form textarea {
  border-radius: 20px;
  min-height: 130px;
  resize: vertical;
  padding: 14px 18px;
}

.md-contact-form input:focus,
.md-contact-form textarea:focus {
  border-color: #c8c2bc;
  background: var(--md-cream);
}

.md-contact-form-tools {
  display: flex;
  justify-content: flex-end;
}

.md-contact-upload {
  cursor: pointer;
  font-family: var(--md-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-transform: none; /* DES “Uploading +” 非全大写 */
}

.md-contact-upload span {
  text-transform: none !important;
  font-size: 14px !important;
  letter-spacing: 0 !important;
  color: #666;
}

.md-contact-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  height: 40px; /* DES Send ≈40 */
  padding: 0 24px;
  background: #111;
  color: #fff;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 40px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.md-contact-submit:hover {
  background: #000;
}

.md-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.md-form {
  display: grid;
  gap: 16px;
}

.md-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.md-form input,
.md-form textarea,
.md-form select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.md-form textarea {
  min-height: 140px;
  resize: vertical;
}

.md-form-msg {
  font-size: 14px;
}

.md-form-msg.is-ok {
  color: #1b7a3d;
}

.md-form-msg.is-err {
  color: #b42318;
}

.md-faq-list {
  display: grid;
  gap: 0;
  max-width: 973px;
  margin-inline: auto;
  width: 100%;
}

.md-faq-item {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 0;
}

.md-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-family: var(--md-font-sans);
  font-size: 20px; /* FIG Instrument Sans Medium */
  font-weight: 500;
  line-height: 1.4;
  color: var(--md-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
}

.md-faq-item summary::-webkit-details-marker {
  display: none;
}

.md-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #1a1a1a; /* 50-FAQ：开合符须清晰可见 */
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  width: 20px;
  text-align: center;
}

.md-faq-item[open] summary::after {
  content: "×";
  font-size: 24px;
  font-weight: 500;
  color: #111;
}

.md-faq-item .md-faq-body {
  padding: 0 36px 22px 0;
  color: #666666; /* DES 答文 ≈#666，勿过浅 */
  font-family: var(--md-font-figtree);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

/* FAQ page shell · 50-FAQ.jpg */
.md-faq-page {
  /* FIG FAQ 正文 @ y=760；slim crumb≈706 → pt 54；底距 footer 100 */
  padding: 54px 0 100px;
  background: var(--md-cream);
}

.md-faq-heading {
  margin: 0 auto 56px;
  max-width: 903px;
  width: 100%;
  font-family: var(--md-font-serif);
  font-size: 60px; /* Bitter Medium · 903×140 → 2 lines */
  font-weight: 500;
  line-height: 70px; /* 稿 lh 70 */
  letter-spacing: 0;
  color: #000000; /* FIG #000 */
  text-align: center;
}

/* FAQ · 50-FAQ：同圆/同线/同带宽，整组水平居中；列表→顶线 ≈100 */
.md-faq-pagination {
  justify-content: center;
  margin-top: 100px;
}

.md-cases-grid,
.md-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Cases · 30-案例.jpg：平铺无白卡片；行距 DES 图底→下行图 ≈148 → mb36+h348+gap64 */
.md-cases-page .md-cases-grid {
  gap: 64px 28px;
}

.md-cases-page .md-case-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: none;
}

.md-cases-page .md-case-card:hover,
.md-cases-page .md-case-card:focus-within {
  transform: none;
  box-shadow: none;
}

.md-cases-page .md-case-card .md-thumb {
  display: block;
  aspect-ratio: 602 / 310; /* 与 DES 实测拇指高 310 对齐 */
  background: #ddd;
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 36px; /* DES 图→标题 ≈35 */
  outline: 2px solid transparent;
  outline-offset: 0;
  transition: outline-color 0.2s ease;
}

.md-cases-page .md-case-card .md-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-cases-page .md-case-card h3 {
  margin: 0;
  max-width: 396px; /* 稿最长标题框 396×48 */
  font-family: var(--md-font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  color: var(--md-ink);
  transition: color 0.2s ease;
}

.md-cases-page .md-case-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.md-cases-page .md-case-card:hover h3,
.md-cases-page .md-case-card:focus-within h3,
.md-cases-page .md-case-card:hover h3 a,
.md-cases-page .md-case-card:focus-within h3 a {
  color: var(--md-orange);
}

.md-cases-page .md-case-card:hover .md-thumb,
.md-cases-page .md-case-card:focus-within .md-thumb {
  outline-color: var(--md-orange);
}

.md-case-card,
.md-service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--md-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.md-case-card:hover,
.md-service-card:hover,
.md-case-card:focus-within,
.md-service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.md-case-card .md-thumb,
.md-service-card .md-thumb {
  aspect-ratio: 16 / 11;
  background: #ddd;
  transition: outline-color 0.2s ease;
  outline: 2px solid transparent;
}

.md-case-card:hover .md-thumb,
.md-service-card:hover .md-thumb,
.md-case-card:focus-within .md-thumb,
.md-service-card:focus-within .md-thumb {
  outline-color: var(--md-orange);
}

.md-case-card .md-thumb img,
.md-service-card .md-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service 页 · Mode B 40-服务.jpg 图文交替 · 50/50 无缝紧贴 */
.md-service-page {
  background: var(--md-cream);
  padding: 100px 0 100px;
}

/* DES 侧栏 30px → 内容柱 1860 */
.md-service-page > .md-container {
  width: min(100% - 60px, 1860px);
  max-width: 1860px;
}

.md-service-page .md-service-rows {
  display: flex;
  flex-direction: column;
  gap: 0; /* DES 行间图文无缝紧贴 */
  padding: 0; /* 底距分页顶线由 .md-pagination margin-top:80 承担 */
}

.md-service-row {
  display: grid;
  /* DES：中线 x=960 对半分，列缝 0 */
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start; /* DES 文案顶对齐，非垂直居中 */
}

.md-service-row.is-reverse {
  grid-template-columns: 1fr 1fr;
}

.md-service-row.is-reverse .md-service-row-media {
  order: 2;
}

.md-service-row.is-reverse .md-service-row-body {
  order: 1;
}

.md-service-row-media {
  overflow: hidden;
  border-radius: 0;
  background: #e8e4de;
  aspect-ratio: 930 / 549; /* DES 半宽≈930 · 高≈549 */
}

.md-service-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.md-service-row-body {
  /* DES：文框 y − 图顶 = 162；右栏文框 795 → 左垫 81 / 右垫 54 */
  padding: 162px 54px 0 81px;
  box-sizing: border-box;
}

.md-service-row.is-reverse .md-service-row-body {
  /* DES 左栏文框：左垫 56 / 右垫 79 */
  padding: 162px 79px 0 56px;
}

.md-service-row-body h2 {
  margin: 0 0 55px; /* DES 框高：h2 50 + 间隙 55 + 正文 */
  color: #000000; /* FIG SemiBold · #000 */
  font-family: var(--md-font-sans);
  font-size: 40px;
  font-weight: 600;
  line-height: 50px;
  letter-spacing: 0;
  max-width: 795px; /* FIG 标题框宽 795 · 单行（短题可两行） */
}

.md-service-row-body p {
  margin: 0;
  max-width: 795px; /* FIG 正文框宽 795（禁 670 挤窄换行） */
  color: #666666;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* FIG lh 24 */
}

.md-case-card .md-body,
.md-service-card .md-body {
  padding: 18px 18px 22px;
}

.md-case-card h3,
.md-service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  transition: color 0.2s ease;
}

.md-case-card:hover h3,
.md-service-card:hover h3,
.md-case-card:focus-within h3,
.md-service-card:focus-within h3,
.md-case-card:hover h3 a,
.md-service-card:hover h3 a,
.md-case-card:focus-within h3 a,
.md-service-card:focus-within h3 a {
  color: var(--md-orange);
}

.md-case-card p,
.md-service-card p {
  margin: 0;
  color: var(--md-muted);
  font-size: 13px;
}

/* —— Product detail · 11-产品详情 —— */
/* 左栏横线/竖线与列表共用 .md-cat-* / .md-products-layout（FIG Group 同构） */
.md-pdp-layout {
  align-items: start;
}

.md-pdp-top {
  display: grid;
  /* FIG：主图 526 + 右栏文案列；头栏底线→内容顶 788−(660+69)=59 */
  grid-template-columns: 526px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 59px;
  margin-bottom: 28px;
}

.md-pdp-gallery {
  background: transparent;
  border: 0;
  padding: 0;
  width: 526px; /* FIG image 27 · 526×394 */
  max-width: 100%;
}

.md-pdp-main-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 526 / 394; /* FIG 主图节点，禁用错误的 538/495 */
  min-height: 0;
  background: #f9f4f0;
  border: 1px solid #e1dcd8;
  box-sizing: border-box;
  padding: 0; /* 主图铺满框，与稿面一致 */
  overflow: hidden;
}

.md-pdp-main {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.md-pdp-play {
  position: absolute;
  left: 36px; /* DES：圆左缘距框 ≈36 */
  bottom: 32px; /* DES：圆底距框 ≈32 */
  width: 50px; /* DES 播放圆 ≈50 */
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e27b21;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.md-pdp-play:hover {
  background: var(--md-orange-2);
  transform: scale(1.06);
}

.md-pdp-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.md-pdp-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

/* 缩略条：稿面视口固定 4 枚；>4 张时左右切换，不丢后台图 */
.md-pdp-thumbs-wrap {
  --md-pdp-thumb-w: 106px;
  --md-pdp-thumb-gap: 12px;
  --md-pdp-thumbs-per: 4;
  position: relative;
  margin-top: 14px; /* JPG 主图底→缩略顶 ≈14 */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.md-pdp-thumbs-viewport {
  /* 4×106 + 3×12 = 460，与稿视口一致 */
  width: calc(
    var(--md-pdp-thumbs-per) * var(--md-pdp-thumb-w) +
      (var(--md-pdp-thumbs-per) - 1) * var(--md-pdp-thumb-gap)
  );
  max-width: 100%;
  overflow: hidden;
}

.md-pdp-thumbs-wrap.is-scrollable .md-pdp-thumbs-viewport {
  /* 526 廊内居中，两侧余白放箭头，不挤缩略宽 */
  margin-inline: auto;
}

.md-pdp-thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--md-pdp-thumb-gap);
  margin: 0;
  width: max-content;
  transform: translateX(0);
  transition: transform 0.28s ease;
  will-change: transform;
}

/* 与分页/包装轮播同语：奶油圆 + 细线 chevron，悬停品牌橙 */
.md-pdp-thumbs-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  padding: 0;
  border: 1px solid #e1dcd8;
  border-radius: 50%;
  background: #fff;
  color: #1c161b;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: none;
  place-items: center;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 2px 8px rgba(28, 22, 27, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.md-pdp-thumbs-wrap.is-scrollable .md-pdp-thumbs-btn {
  display: grid;
}

.md-pdp-thumbs-btn[data-pdp-thumbs-prev] {
  left: 0;
}

.md-pdp-thumbs-btn[data-pdp-thumbs-next] {
  right: 0;
}

.md-pdp-thumbs-chevron {
  display: block;
  width: 7px;
  height: 12px;
  flex: 0 0 auto;
}

.md-pdp-thumbs-chevron path {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.md-pdp-thumbs-btn:hover:not(:disabled) {
  background: var(--md-orange);
  border-color: var(--md-orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(226, 123, 33, 0.28);
}

.md-pdp-thumbs-btn:focus-visible {
  outline: 2px solid var(--md-orange);
  outline-offset: 2px;
}

.md-pdp-thumbs-btn:disabled {
  opacity: 0.32;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.md-pdp-thumb {
  display: block;
  flex: 0 0 var(--md-pdp-thumb-w); /* FIG 缩略 106×79 · 视口四枚 */
  width: var(--md-pdp-thumb-w);
  margin: 0;
  padding: 4px;
  border: 1px solid #e1dcd8;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  aspect-ratio: 106 / 79;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
}

.md-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 产品缩略居中留白，禁 cover 裁切贴边 */
  display: block;
  outline: none;
  border: 0;
  border-radius: 0;
  opacity: 1;
  transform: none;
  background: #fff;
}

.md-pdp-thumb.is-selected,
.md-pdp-thumb:hover {
  border-color: #e27b21; /* 选中/悬停橙描边 */
  border-width: 1px;
}

.md-pdp-thumb:hover img,
.md-pdp-thumb.is-selected img {
  outline: none;
  transform: none;
}

.md-pdp-info {
  max-width: 585px; /* FIG 标题/正文墨水宽 585 */
  min-width: 0;
}

.md-pdp-title {
  margin: 0 0 18px;
  font-family: var(--md-font-serif);
  font-size: 40px;
  font-weight: 500; /* Bitter Medium · FIG */
  line-height: 50px; /* FIG lh 50 */
  text-transform: uppercase;
  color: #000;
}

.md-pdp-features-label {
  margin: 0 0 10px;
  font-family: var(--md-font-sans);
  font-size: 20px;
  font-weight: 600; /* Instrument SemiBold · FIG */
  line-height: 28px;
  color: #000;
}

.md-pdp-info .md-summary {
  color: #666666; /* FIG */
  margin: 0 0 22px;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* FIG lh 24 */
}

.md-pdp-label {
  display: block;
  margin: 0 0 12px;
  font-family: var(--md-font-sans);
  font-size: 20px;
  font-weight: 500; /* Medium · FIG color */
  line-height: 24px;
  color: #666766;
  text-transform: capitalize; /* FIG case TITLE → Color */
  letter-spacing: 0;
}

.md-pdp-swatches {
  margin: 0 0 20px;
}

/* PDP Color：稿面左对齐大圆点（≠列表卡居中 16px） */
.md-pdp-swatches .md-swatches {
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}

.md-pdp-swatches .md-swatches button,
.md-pdp-swatches .md-swatches span {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.md-pdp-swatches .md-swatches button:hover,
.md-pdp-swatches .md-swatches span:hover {
  transform: none;
}

.md-pdp-swatches .md-swatches button.is-selected,
.md-pdp-swatches .md-swatches span.is-selected {
  box-shadow: 0 0 0 2px #faf4f0, 0 0 0 3px currentColor;
}

.md-pdp-meta {
  margin: 0 0 22px;
}

.md-pdp-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.md-star {
  color: #ddd;
  font-size: 18px;
  line-height: 1;
}

.md-star.is-on {
  color: #e27c23;
}

.md-pdp-reviews-link {
  margin-left: 8px;
  color: #000; /* FIG Reviews 16/#000 */
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.md-pdp-reviews-link:hover {
  color: #e27c23;
}

.md-pdp-share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 16px;
  color: #666;
}

.md-pdp-share-label {
  color: #666666; /* FIG share to : */
  font-size: 16px;
  line-height: 26px;
  white-space: nowrap;
}

/* FIG「分享」Group 248：5×26 圆角方，间距 5（0/31/62/94/127） */
.md-pdp-share-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.md-pdp-share-icons a {
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  border-radius: 4px; /* FIG Rectangle 89 cornerRadius 4 */
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  overflow: visible; /* 悬停橙环不可裁切 */
  transition: background 0.15s ease, box-shadow 0.15s ease, border-radius 0.15s ease;
}

.md-pdp-share-icons a img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  pointer-events: none;
}

.md-pdp-share-icons a.is-fb { background: #1877F2; }
.md-pdp-share-icons a.is-tw { background: #1DA1F2; }
.md-pdp-share-icons a.is-in { background: #0A66C2; }
.md-pdp-share-icons a.is-wa { background: #25D366; }
.md-pdp-share-icons a.is-more { background: #1877F2; }

/* 悬停：白底 + 外圈橙色（覆盖品牌色） */
.md-pdp-share-icons a.is-fb:hover,
.md-pdp-share-icons a.is-tw:hover,
.md-pdp-share-icons a.is-in:hover,
.md-pdp-share-icons a.is-wa:hover,
.md-pdp-share-icons a.is-more:hover,
.md-pdp-share-icons a.is-fb:focus-visible,
.md-pdp-share-icons a.is-tw:focus-visible,
.md-pdp-share-icons a.is-in:focus-visible,
.md-pdp-share-icons a.is-wa:focus-visible,
.md-pdp-share-icons a.is-more:focus-visible {
  background: #fff !important;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #e27b21;
  outline: none;
}

.md-pdp-share-icons a:hover img,
.md-pdp-share-icons a:focus-visible img {
  filter: brightness(0) saturate(100%) invert(47%) sepia(74%) saturate(1206%) hue-rotate(360deg) brightness(95%) contrast(92%);
}

.md-pdp-download {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000; /* FIG download Medium 16 */
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.md-pdp-download-icon {
  display: block;
  flex: 0 0 auto;
}

.md-pdp-download:hover,
.md-pdp-download:focus-visible {
  color: #e27c23;
}

.md-pdp-actions {
  display: flex;
  gap: 0; /* DES：Contact Us Now 与购物袋圆贴合，无缝 */
  flex-wrap: nowrap;
  align-items: center;
}

.md-pdp-cta {
  min-width: 174px; /* FIG pill ≈174–192 */
  width: auto;
  height: 40px; /* FIG ≈39–40 */
  min-height: 40px; /* 覆盖 .md-btn min-height:44 */
  max-height: 40px;
  margin: 0;
  padding: 0 28px;
  border-radius: 100px; /* FIG pill；与圆钮 gap:0 贴齐 */
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--md-font-sans);
  font-size: 15px; /* FIG Contact Us Now Medium 15 / lh 22 */
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  box-sizing: border-box;
  transform: none;
}

.md-pdp-cta:hover {
  background: #e27c23;
  color: #fff;
  transform: none;
}

/* FIG 购物袋圆与 CTA 同高贴合 */
.md-pdp-actions .md-pdp-bag.md-btn-icon,
.md-pdp-actions .md-btn-icon.md-pdp-bag {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: #111;
  display: inline-grid;
  place-items: center;
  transform: none;
}

.md-pdp-actions .md-pdp-bag.md-btn-icon:hover,
.md-pdp-actions .md-btn-icon.md-pdp-bag:hover {
  background: #e27c23;
  transform: none;
}

.md-pdp-actions .md-pdp-bag img {
  width: 18px;
  height: 18px;
}

.md-pdp-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  border-bottom: 1px solid #e5e5e5;
  margin: 8px 0 28px;
}

.md-pdp-tab {
  position: relative;
  padding: 14px 0;
  color: #333;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.md-pdp-tab.is-active,
.md-pdp-tab:hover {
  color: #c7371f;
}

.md-pdp-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #c7371f;
}

.md-pdp-block {
  margin: 0 0 40px;
  scroll-margin-top: 100px;
}

.md-pdp-block h2 {
  margin: 0 0 20px;
  font-family: var(--md-font-sans);
  font-size: 30px; /* Instrument Sans Medium · FIG */
  font-weight: 500;
  color: #222222;
  line-height: 40px; /* FIG lh 40 */
}

.md-pdp-params-box {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 4px;
  padding: 24px;
  min-height: 160px;
}

.md-pdp-params-fig {
  margin: 0;
}

.md-pdp-params-fig img {
  display: block;
  max-width: 100%;
  height: auto;
}

.md-pdp-params-empty {
  margin: 48px 0;
  text-align: center;
  color: #999;
  font-size: 16px;
}

.md-pdp-params-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.md-pdp-params-table th,
.md-pdp-params-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  text-align: start;
  vertical-align: top;
}

.md-pdp-params-table th {
  width: 220px;
  color: #666;
  font-weight: 500;
}

.md-pdp-pack {
  position: relative;
}

.md-pdp-pack-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px; /* DES 包装图间距 ≈23 */
  overflow: hidden;
}

.md-pdp-pack-item {
  margin: 0;
  background: #f0ebe6;
  border: 0;
  overflow: hidden;
  aspect-ratio: 345 / 362; /* DES 包装图 345×362 */
}

.md-pdp-pack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.md-pdp-pack-nav {
  display: flex;
  justify-content: center; /* DES 圆心 ≈相对内容区中线 */
  gap: 24px; /* DES 圆心距 64 − 圆径 40 */
  margin-top: 48px; /* DES 图底→箭头 ≈49 */
  padding-right: 0;
}

.md-pdp-pack-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e4e4e4; /* DES 浅灰圆 */
  color: #555;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  appearance: none;
  -webkit-appearance: none;
}

.md-pdp-pack-btn:hover {
  background: var(--md-orange);
  color: #fff;
}

.md-pdp-inquire-bar {
  background: var(--md-orange);
  color: #fff;
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 20px;
  margin: 0 0 20px;
  border-radius: 2px;
}

.md-pdp-inquire-form,
.md-pdp-review-form {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* FIG Reviews 表单底 #f4e9e5，白底字段直角 */
.md-pdp-review-form {
  background: #f4e9e5;
  padding: 24px 28px 28px;
  box-sizing: border-box;
}

.md-pdp-inquire-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* FIG Nickname:Email ≈681:425 */
.md-pdp-review-form .md-pdp-inquire-row {
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.md-pdp-inquire-form input,
.md-pdp-inquire-form textarea,
.md-pdp-review-form input,
.md-pdp-review-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 12px 16px;
  font-size: 16px; /* FIG Nickname/E-mail/Comment 16/#3b3b3b */
  font-weight: 400;
  line-height: 23px;
  color: #3b3b3b;
  font-family: inherit;
}

.md-pdp-inquire-form input,
.md-pdp-review-form input {
  height: 45px; /* FIG 输入框高 ≈45 */
}

.md-pdp-inquire-form textarea,
.md-pdp-review-form textarea {
  min-height: 124px;
  resize: vertical;
}

.md-pdp-inquire-form input::placeholder,
.md-pdp-inquire-form textarea::placeholder,
.md-pdp-review-form input::placeholder,
.md-pdp-review-form textarea::placeholder {
  color: #3b3b3b;
  opacity: 1;
}

.md-pdp-inquire-form .md-popup-submit,
.md-pdp-review-form .md-popup-submit {
  height: 40px;
  min-width: 120px;
  font-size: 15px;
  font-weight: 500; /* FIG send Medium 15 */
  border-radius: 100px;
}

/* FIG：Send 贴表单右缘 */
.md-pdp-review-form .md-popup-submit {
  align-self: flex-end;
}

body.is-rtl .md-pdp-review-form .md-popup-submit {
  align-self: flex-start;
}

.md-pdp-review-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* FIG 双列等宽，与表单同宽 */
  gap: 24px;
  margin-top: 28px;
  width: 100%;
  box-sizing: border-box;
}

.md-pdp-review-card {
  background: #f4e9e5; /* FIG 评论卡底 */
  border-radius: 0;
  padding: 22px 24px 24px;
  box-shadow: none;
  min-width: 0; /* 防止 grid 子项撑破双列 */
  box-sizing: border-box;
}

.md-pdp-review-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7ddd8;
  width: 100%;
}

.md-pdp-review-name {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 20px;
  font-weight: 500; /* FIG Medium 20/#222 */
  color: #222222;
  line-height: 37px;
}

.md-pdp-review-head .md-pdp-stars-review {
  flex: 0 0 auto;
}

.md-pdp-review-date {
  margin-left: auto;
  flex: 0 0 auto;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px; /* FIG 14/#666 */
  line-height: 24px;
  color: #666666;
  white-space: nowrap;
}

.md-pdp-review-date-icon {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.md-pdp-stars-sm {
  font-size: 14px;
}

/* FIG 评论星红色（≠顶部产品橙星） */
.md-pdp-stars-review {
  margin-bottom: 0;
  gap: 2px;
}

.md-pdp-stars-review .md-star.is-on {
  color: #e60012;
}

.md-pdp-review-body {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px; /* FIG lh 24 */
  color: #666666;
}

.md-pdp-review-note {
  margin-top: 12px;
  font-size: 13px;
}

.md-product-card {
  text-align: center;
}

.md-product-card .md-product-actions {
  justify-content: center;
}

.md-specs {
  margin: 24px 0 8px;
}

.md-specs-table {
  margin: 0;
  border-top: 1px solid var(--md-line);
}

.md-specs-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--md-line);
  font-size: 14px;
}

.md-specs-row dt {
  margin: 0;
  color: var(--md-muted);
  font-weight: 500;
}

.md-specs-row dd {
  margin: 0;
  color: var(--md-ink);
}

.md-specs-empty {
  display: none;
}

@media (max-width: 1100px) {
  .md-pdp-top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
  }

  .md-pdp-gallery {
    width: 100%;
    max-width: 526px;
  }

  .md-pdp-info {
    max-width: none;
  }

  .md-pdp-pack-track {
    grid-template-columns: 1fr 1fr;
  }

  /* ≤1100 才单列；桌面必须保持 1fr 1fr（此前媒体查询提前闭合导致全局单列） */
  .md-pdp-review-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .md-pdp-inquire-row {
    grid-template-columns: 1fr;
  }

  .md-pdp-pack-track {
    grid-template-columns: 1fr;
  }

  .md-pdp-title {
    font-size: 28px;
  }
}

/* Inquiry basket */
.md-bag-btn {
  position: relative;
}

.md-bag-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--md-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.md-basket[hidden] {
  display: none !important;
}

.md-basket {
  position: fixed;
  inset: 0;
  z-index: 180;
}

.md-basket-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.md-basket-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

html[dir="rtl"] .md-basket-panel,
body.is-rtl .md-basket-panel {
  right: auto;
  left: 0;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.18);
}

.md-basket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.md-basket-head h2 {
  margin: 0;
  font-size: 20px;
  font-family: var(--md-font-serif);
}

.md-basket-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--md-ink);
}

.md-basket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow: auto;
}

.md-basket-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--md-line);
}

.md-basket-list img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--md-cream);
}

.md-basket-list .md-basket-meta {
  flex: 1;
  min-width: 0;
}

.md-basket-list .md-basket-meta strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.md-basket-list .md-basket-remove {
  border: 0;
  background: transparent;
  color: var(--md-muted);
  cursor: pointer;
  font-size: 18px;
}

.md-basket-empty {
  margin: 24px 0;
  color: var(--md-muted);
  font-size: 14px;
}

.md-basket-empty[hidden],
.md-basket-list:not(:empty) + .md-basket-empty {
  display: none;
}

.md-basket-foot {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--md-line);
}

.md-btn.md-btn-icon {
  cursor: pointer;
}

/* —— Welcome popup · Mode B 02-弹窗.jpg（左图+右表单） —— */
.md-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.md-popup.is-open {
  display: flex;
}

.md-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62); /* DES 02 遮罩更深 */
}

.md-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 923px); /* DES 弹层宽 ≈923 */
  min-height: 0;
  height: auto;
  background: #f7f8fa;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  align-items: stretch;
  gap: 0;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  padding: 14px 16px 14px 14px; /* DES 更贴边 */
  box-sizing: border-box;
}

.md-popup-media {
  min-height: 0;
  height: auto;
  align-self: stretch;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eaee;
  aspect-ratio: 320 / 420;
}

.md-popup-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.md-popup-body {
  padding: 2px 4px 0 22px; /* DES 标题更贴顶、图文间距更近 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.md-popup-title,
.md-popup-body h2 {
  margin: 0 0 14px;
  font-family: var(--md-font-sans, inherit);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: #e27c23;
  letter-spacing: -0.02em;
}

.md-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.md-popup-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.md-popup-form input,
.md-popup-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 30, 50, 0.08);
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  outline: none;
  font-family: inherit;
}

.md-popup-form input::placeholder,
.md-popup-form textarea::placeholder {
  color: #6b7280; /* DES 占位更深 */
}

.md-popup-form input:focus,
.md-popup-form textarea:focus {
  box-shadow: 0 2px 10px rgba(226, 124, 35, 0.22);
}

.md-popup-form textarea {
  min-height: 72px;
  resize: vertical;
  line-height: 1.5;
}

.md-popup-submit {
  align-self: flex-start;
  margin-top: 6px;
  min-width: 120px;
  height: 44px;
  padding: 0 36px;
  border: 0;
  border-radius: 100px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.md-popup-submit:hover,
.md-popup-submit:focus-visible {
  background: #e27c23;
  transform: translateY(-1px);
}

.md-popup-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.md-popup-form .md-form-msg {
  margin: 4px 0 0;
  font-size: 13px;
}

.md-popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 1.5px solid #222;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.md-popup-close:hover,
.md-popup-close:focus-visible {
  color: #e27c23;
  border-color: #e27c23;
  transform: scale(1.06);
}

body.is-popup-open {
  overflow: hidden;
}

body.is-rtl .md-popup-dialog {
  direction: rtl;
}

body.is-rtl .md-popup-body {
  padding: 8px 36px 4px 8px;
}

body.is-rtl .md-popup-close {
  right: auto;
  left: 16px;
}

body.is-rtl .md-popup-submit {
  align-self: flex-end;
}

/* —— Responsive ——
   桌面（≥1440）保留 FIG 1:1 固定高度/大间距；
   以下断点必须取消写死高度，并压缩区块间距，否则会出现「标题前大片空白」。 */
@media (max-width: 1439px) {
  .md-products,
  .md-factory,
  .md-why,
  .md-stats-band,
  .md-stats-photo,
  .md-testimonial,
  .md-testimonial-stage,
  .md-certs,
  .md-certs-stage,
  .md-news,
  .md-subscribe,
  .md-about-explore,
  .md-about-video-block,
  .md-about-video-frame,
  .md-about-facility {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  /* 可自然增高的区块；工厂/证书背景与绝对定位卡必须裁切，否则横向滚动条 */
  .md-products,
  .md-why,
  .md-stats-band,
  .md-testimonial,
  .md-news,
  .md-subscribe,
  .md-about-explore,
  .md-about-facility {
    overflow: visible !important;
  }

  .md-factory,
  .md-certs {
    overflow: hidden !important;
  }

  .md-stats-photo img {
    min-height: 0 !important;
    height: auto;
  }

  .md-section {
    padding: 48px 0;
  }

  .md-section.md-products,
  .md-products {
    margin-top: 48px;
    padding: 28px 0 40px;
  }

  .md-factory {
    margin-top: 48px;
    padding: 40px 0 48px;
  }

  .md-section.md-why,
  .md-why {
    margin-top: 48px;
    padding: 32px 0 40px;
  }

  .md-stats-band {
    margin-top: 48px;
  }

  .md-testimonial {
    margin-top: 48px;
    padding: 40px 0 48px;
  }

  /* ≤1439 退出 FIG 绝对坐标，避免副标题与正文叠层 */
  .md-testimonial-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: min(100% - 48px, 960px);
    margin-inline: auto;
  }

  .md-testimonial-photo {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 772 / 790;
  }

  .md-testimonial-copy {
    position: relative;
    inset: auto;
  }

  .md-testimonial-copy h2,
  .md-quote-mark,
  .md-testimonial-copy blockquote,
  .md-author,
  .md-slider-nav {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    margin: 0 0 16px;
  }

  .md-testimonial-copy h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.2;
  }

  .md-testimonial-copy h2 .md-testi-line,
  .md-testimonial-copy h2 .muted {
    white-space: normal;
  }

  .md-quote-mark {
    width: 96px;
    height: auto;
  }

  main > .md-testimonial + .md-certs {
    margin-top: 48px;
  }

  .md-news {
    margin-top: 48px;
    padding: 32px 0 40px;
  }

  .md-subscribe {
    margin-top: 48px;
  }

  .md-products .md-section-title-row {
    margin-bottom: 28px;
    gap: 16px;
    padding-inline: 16px;
    align-items: center;
  }

  .md-products .md-section-title-row .md-dot {
    margin-top: 0;
  }

  .md-dot {
    width: 36px;
    height: 36px;
  }

  .md-products .md-section-title {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
  }

  .md-products-more {
    margin-top: 36px;
  }

  .md-product-grid {
    gap: 40px 16px;
  }

  .md-news-head {
    margin-bottom: 28px;
  }

  .md-why-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .md-why .md-section-title {
    margin-top: 0;
  }

  .md-why .md-section-sub {
    margin-top: 20px;
  }

  .md-why-grid {
    margin-top: 28px;
  }

  .md-about-explore {
    margin-top: 40px;
  }

  .md-about-video-block {
    margin-top: 32px;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
  }

  .md-about-video-frame {
    width: 100%;
    max-width: none;
    height: 100%;
    aspect-ratio: 16 / 9;
  }

  .md-about-video-play {
    width: 72px;
    height: 72px;
  }

  .md-about-video-play-icon {
    border-width: 11px 0 11px 18px;
  }

  .md-about-facility {
    margin-top: 48px;
    padding-bottom: 40px;
  }

  .md-about-facility-title {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 28px;
  }
}

@media (max-width: 1200px) {
  .md-product-grid,
  .md-news-grid,
  .md-cases-grid,
  .md-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 服务行保持 DES 列缝 0；勿加 gap 拉开图文 */

  /* Contact：≤1200 取消 179×2 硬边距，避免内容柱被压扁 */
  .md-contact-page > .md-container.md-contact-split {
    width: min(100% - 48px, 1562px);
  }

  .md-contact-split {
    gap: 36px 48px;
  }

  .md-blog-page .md-news-grid {
    gap: 36px 24px;
  }

  .md-products {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 28px 0 40px;
    margin-top: 40px;
  }

  .md-products .md-section-title {
    font-size: clamp(36px, 6vw, 64px);
  }

  .md-why-grid {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    height: auto;
    gap: 28px;
  }

  .md-why {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 32px 0 40px;
    margin-top: 40px;
  }

  .md-why .md-section-title {
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.15;
  }

  .md-why-arcs {
    display: none;
  }

  .md-why-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
  }

  .md-why-item,
  .md-why-item-l1,
  .md-why-item-l2,
  .md-why-item-l3,
  .md-why-item-r1,
  .md-why-item-r2,
  .md-why-item-r3 {
    position: relative;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
  }

  .md-why-col.is-left .md-why-item,
  .md-why-item-l1,
  .md-why-item-l2,
  .md-why-item-l3 {
    align-items: flex-start;
    text-align: left;
  }

  .md-why-visual {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 280px;
    aspect-ratio: 733 / 549;
  }

  .md-why-item p {
    font-size: 15px;
    line-height: 22px;
  }

  .md-factory {
    height: auto;
    min-height: 0;
    padding: 40px 0 48px;
    margin-top: 40px;
  }

  .md-factory-stage {
    width: min(100% - 32px, 720px);
    min-height: 420px;
  }

  .md-factory-shot.pos-a {
    width: min(34vw, 180px);
    top: 4%;
    inset-inline-start: 0;
  }

  .md-factory-shot.pos-b {
    width: min(36vw, 190px);
    top: 2%;
    inset-inline-end: 0;
  }

  .md-factory-shot.pos-c {
    width: min(40vw, 210px);
    bottom: 4%;
    inset-inline-start: 2%;
  }

  .md-factory-shot.pos-d {
    width: min(38vw, 200px);
    bottom: 5%;
    inset-inline-end: 2%;
  }

  .md-factory-shot.pos-e {
    display: none;
  }

  .md-factory-copy {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(360px, 70%);
    margin: 24px auto 0;
    z-index: 5;
    pointer-events: none;
  }

  .md-factory-name,
  .md-factory-dash,
  .md-factory-smart-word,
  .md-factory-mfg,
  .md-factory-lead,
  .md-factory-cta {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    white-space: normal !important;
  }

  .md-factory-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .md-factory-dash {
    display: none;
  }

  .md-factory-smart-word::before {
    content: "- ";
  }

  .md-factory-name,
  .md-factory-cta {
    pointer-events: auto;
  }

  .md-factory-cta {
    margin-top: 20px;
  }

  .md-footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .md-footer-brand,
  .md-footer-col:not(.md-footer-brand) {
    padding-inline-end: 0;
  }

  .md-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  /* 窄屏再压区块缝，避免 hero 下 / 区块间大片奶油空白 */
  .md-section.md-products,
  .md-products,
  .md-factory,
  .md-section.md-why,
  .md-why,
  .md-stats-band,
  .md-testimonial,
  main > .md-testimonial + .md-certs,
  .md-news,
  .md-subscribe,
  .md-about-explore,
  .md-about-facility {
    margin-top: 28px;
  }

  .md-section {
    padding: 36px 0;
  }

  .md-section.md-products,
  .md-products {
    padding: 20px 0 32px;
  }

  .md-products .md-section-title-row {
    margin-bottom: 20px;
    gap: 12px;
    padding-inline: 12px;
  }

  .md-dot {
    width: 28px;
    height: 28px;
  }

  .md-products-more {
    margin-top: 28px;
  }

  .md-news-head {
    margin-bottom: 20px;
  }

  .md-about-explore {
    padding: 24px 0 16px;
  }

  .md-about-video-block {
    margin-top: 24px;
    padding-bottom: 0;
  }

  .md-about-facility {
    margin-top: 28px;
    padding: 0 0 32px;
  }

  .md-topbar {
    min-height: 72px;
    height: 72px;
  }

  .md-topbar-inner {
    grid-template-columns: 1fr auto;
    width: min(100% - 24px, 1760px);
    gap: 10px;
    padding: 0;
    min-height: 72px;
  }

  .md-topbar-left {
    display: none;
  }

  .md-topbar-mail,
  .md-social {
    display: none;
  }

  .md-logo {
    justify-self: start;
    font-size: 22px;
    max-width: min(42vw, 160px);
  }

  .md-logo img {
    max-height: 36px;
    width: auto;
    filter: none;
  }

  .md-topbar-right {
    gap: 8px;
    min-width: 0;
  }

  .md-topbar-right .md-icon-btn img,
  .md-topbar-right .md-lang img,
  .md-menu-toggle span {
    filter: none;
  }

  .md-topbar-right .md-icon-btn img,
  .md-topbar-right .md-lang img {
    filter: brightness(0) invert(1);
  }

  .md-topbar-right .md-btn-orange {
    display: none;
  }

  .md-menu-toggle {
    display: block;
  }

  .md-nav {
    display: none;
    height: auto;
    min-height: 0;
  }

  .md-nav.is-open {
    display: block;
    height: auto;
    min-height: 0;
    background: var(--md-cream);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 20;
  }

  .md-nav-list {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 0;
    padding: 8px 0 16px;
    overflow: visible;
  }

  .md-nav-list > li {
    display: flex;
    justify-content: center;
  }

  .md-nav-list a {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: none;
    text-align: center;
    padding: 14px 0;
    color: var(--md-ink);
    background: transparent;
  }

  .md-why-grid {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    height: auto;
  }

  .md-why-col.is-left .md-why-item,
  .md-why-item-l1,
  .md-why-item-l2,
  .md-why-item-l3 {
    align-items: flex-start;
    text-align: left;
  }

  .md-why-visual {
    order: -1;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 280px;
  }

  .md-hero {
    min-height: 560px;
    height: auto;
  }

  .md-hero-inner {
    padding: 64px 0 80px;
    max-width: min(100%, 560px);
  }

  .md-hero-title {
    font-size: clamp(36px, 7vw, 56px);
  }

  .md-hero-lead {
    font-size: 16px;
  }

  .md-page-hero {
    min-height: 360px;
    height: auto;
  }

  .md-page-hero .md-hero-title {
    font-size: clamp(32px, 6vw, 52px);
  }

  .md-factory {
    min-height: 520px;
    height: auto;
    padding: 40px 0 48px;
  }

  .md-factory-stage {
    min-height: 480px;
  }

  .md-factory-shot.pos-a,
  .md-factory-shot.pos-b {
    width: min(42vw, 150px);
  }

  .md-factory-shot.pos-c,
  .md-factory-shot.pos-d {
    width: min(46vw, 168px);
  }

  .md-factory-copy {
    width: min(300px, 78%);
  }

  .md-factory-name {
    font-size: clamp(28px, 8vw, 40px) !important;
  }

  .md-factory-smart-word,
  .md-factory-mfg {
    font-size: clamp(22px, 6.5vw, 32px) !important;
  }

  .md-stats-band,
  .md-partner-strip,
  .md-testimonial-grid,
  .md-contact-grid,
  .md-contact-split,
  .md-pdp {
    grid-template-columns: 1fr;
  }

  .md-contact-page > .md-container.md-contact-split {
    width: min(100% - 32px, 100%);
    max-width: none;
  }

  .md-contact-split {
    gap: 28px;
  }

  .md-contact-row-body,
  .md-contact-panel {
    padding-inline: 0;
  }

  .md-contact-project-title {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.15;
    max-width: 100%;
  }

  .md-contact-visual {
    aspect-ratio: 16 / 11;
    max-height: 420px;
  }

  .md-blog-page .md-news-grid {
    gap: 28px;
  }

  .md-popup-dialog {
    grid-template-columns: 1fr;
    width: min(100%, 560px);
    min-height: 0;
    padding: 22px 20px 24px;
  }

  .md-popup-media {
    aspect-ratio: 4 / 3;
    max-height: 240px;
  }

  .md-popup-body {
    padding: 18px 4px 0;
  }

  .md-popup-title,
  .md-popup-body h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .md-popup-form-row {
    grid-template-columns: 1fr;
  }

  .md-contact-form-row {
    grid-template-columns: 1fr;
  }

  .md-contact-visual {
    aspect-ratio: 16 / 11;
    max-height: 420px;
  }

  .md-page-intro-title {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.2;
    white-space: normal;
  }

  .md-contact-project-title {
    font-size: clamp(28px, 7vw, 36px);
  }

  .md-stats-band,
  .md-stats-photo,
  .md-stats-photo img {
    height: auto;
    min-height: 0;
  }

  .md-stats-photo {
    aspect-ratio: 1 / 1;
  }

  .md-stats-play {
    left: 50%;
    top: 50%;
  }

  .md-news {
    height: auto;
    min-height: 0;
    padding: 40px 0 48px;
    overflow: visible;
  }

  .md-news .md-section-title {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.15;
    max-width: none;
  }

  .md-subscribe {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 48px;
  }

  .md-subscribe .md-container {
    padding-top: 48px;
  }

  .md-subscribe h2 {
    width: auto;
    max-width: 810px;
    margin-bottom: 32px;
    font-size: clamp(28px, 7vw, 48px);
    line-height: 1.2;
  }

  .md-subscribe-body {
    width: min(581px, 100%);
  }

  .md-subscribe-form button {
    width: 120px;
    min-width: 120px;
    flex-basis: 120px;
    font-size: 14px;
  }

  .md-subscribe-note {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.35;
  }

  /* testimonial 叠层退出已在 ≤1439；此处仅收窄 */
  .md-testimonial {
    padding: 48px 0 56px;
  }

  .md-testimonial-stage {
    width: min(100% - 32px, 720px);
  }

  .md-quote-mark {
    width: 72px;
  }

  .md-stats-panel {
    padding: 48px 28px;
  }

  .md-float {
    right: 10px;
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .md-hero-inner {
    max-width: 100%;
  }

  .md-product-actions {
    flex-wrap: wrap;
  }

  .md-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .md-service-row,
  .md-service-row.is-reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .md-service-row.is-reverse .md-service-row-media,
  .md-service-row.is-reverse .md-service-row-body {
    order: initial;
  }

  .md-service-row-body,
  .md-service-row.is-reverse .md-service-row-body {
    padding: 28px 20px 8px;
  }

  .md-service-row-body h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.25;
  }

  .md-service-page .md-service-rows {
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .md-product-grid,
  .md-news-grid,
  .md-cases-grid,
  .md-service-grid,
  .md-footer-grid {
    grid-template-columns: 1fr;
  }

  .md-topbar-right .md-lang span {
    display: none;
  }

  .md-topbar-right .md-icon-btn {
    width: 36px;
    height: 36px;
  }

  .md-section {
    padding: 56px 0;
  }

  .md-certs {
    height: auto;
    min-height: 0;
    padding: 64px 0 72px;
  }

  .md-certs::before {
    display: none;
  }

  .md-certs-stage {
    height: auto;
    padding: 0 16px;
  }

  .md-certs-title,
  .md-certs-lead {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }

  .md-certs-title {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.2;
    white-space: normal; /* 窄屏允许折行 */
    margin-bottom: 16px;
  }

  .md-certs-lead {
    margin-top: 0;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.5;
    width: auto;
  }

  .md-cert-fan {
    position: relative;
    inset: auto;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: flex-start; /* 顶对齐 */
    overflow-x: auto;
    padding: 8px 4px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .md-cert-card,
  .md-cert-card.pos-1,
  .md-cert-card.pos-2,
  .md-cert-card.pos-3,
  .md-cert-card.pos-4,
  .md-cert-card.pos-5,
  .md-cert-card.pos-6,
  .md-cert-card.pos-7,
  .md-cert-card.is-center {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 132px !important;
    height: 180px !important;
    flex: 0 0 auto;
    opacity: 0.7;
    margin: 0 !important;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  }

  .md-cert-card.is-center,
  .md-cert-card.pos-4 {
    width: 156px !important;
    height: 212px !important;
    opacity: 1 !important;
    z-index: 2;
  }

  .md-cert-card:hover,
  .md-cert-card:focus-visible {
    opacity: 1 !important;
  }

  .md-cert-card img,
  .md-cert-card.pos-4 img,
  .md-cert-card.is-center img {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 100% !important;
    box-shadow: none !important;
  }

  .md-cert-card::before,
  .md-cert-card::after,
  .md-cert-card.pos-4::before,
  .md-cert-card.pos-4::after,
  .md-cert-card.is-center::before,
  .md-cert-card.is-center::after,
  .md-cert-card:hover::before,
  .md-cert-card:hover::after,
  .md-cert-card:focus-visible::before,
  .md-cert-card:focus-visible::after {
    content: none !important;
    display: none !important;
  }

  .md-cert-track {
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 16px;
  }

  .md-float {
    right: 8px;
  }

  .md-why-item-flat {
    flex-direction: column;
  }
}

/* —— Products page · 10-产品列表 sidebar accordion —— */
.md-products-page {
  background: #faf4f0;
  /* FIG 10-列表：intro @ y=761 → banner 下 101px；底距 footer 与 Group74 下 100 对齐 */
  padding-top: 101px;
  padding-bottom: 100px;
}

/* FIG 11-详情：无 Explore 引言，分类 Group @660 紧接 banner，勿套用列表 101 */
.md-products-page.md-pdp-page {
  padding-top: 0;
}

.md-products-intro {
  /* FIG Frame 16：931×196 · 左对齐（JPG x≈33）· 下距通栏线 ≈30 */
  max-width: 931px;
  margin: 0 0 30px;
  min-height: 196px;
  text-align: left;
}

.md-products-intro-title {
  margin: 0 0 16px;
  font-family: var(--md-font-serif);
  font-size: 56px; /* Bitter Medium · FIG 56/66 #171d22 */
  font-weight: 500;
  line-height: 66px;
  letter-spacing: 0;
  color: #171d22;
}

.md-products-intro-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

/* Mode B · 10/11 左栏分类：DES 宽≈355 · 通栏顶线 + 右侧竖线 #e1e1e1 · 黑/橙实心圆 +/- */
.md-products-layout {
  --md-cat-col: 355px;
  /* 顶 pad27 + 标题行22 + 底 pad20 = 69；与面包屑 27+24+18 对齐 */
  --md-cat-head-h: 69px;
  position: relative;
  display: grid;
  grid-template-columns: var(--md-cat-col) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border-top: 1px solid #e1e1e1;
  padding-top: 0;
}

/* 竖线：上叠 1px 咬住顶横线，避免 padding-edge 与 border-top 之间空 1px */
.md-products-layout::before {
  content: "";
  position: absolute;
  left: calc(var(--md-cat-col) - 1px);
  top: -1px;
  bottom: 0;
  width: 1px;
  background: #e1e1e1;
  pointer-events: none;
  z-index: 4;
}

/* 标题/面包屑底通栏横线：整宽一根，压过产品卡顶边，左右贴竖线无缺口 */
.md-products-layout::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--md-cat-head-h);
  height: 1px;
  background: #e1e1e1;
  pointer-events: none;
  z-index: 5;
}

.md-cat-sidebar {
  /* 对照 jcyforklift：滚到分类区后左侧锁定，仅右侧产品滚动；顶距=整段 sticky 顶栏 */
  position: -webkit-sticky;
  position: sticky;
  top: var(--md-top-total);
  align-self: start; /* grid stretch 会把侧栏拉满高，sticky 失效 */
  z-index: 3;
  max-height: calc(100vh - var(--md-top-total));
  overflow-x: hidden;
  overflow-y: auto;
  background: #faf4f0; /* 与 .md-products-page 同底，避免产品卡从侧栏下透出 */
  border: none;
  border-right: none; /* 竖线改由 layout::before 贯通 */
  border-radius: 0;
  padding: 0;
  width: 100%;
  max-width: var(--md-cat-col);
  box-sizing: border-box;
}

.md-products-main {
  /* 竖线 → 面包屑文案 ≈65（JPG 450−385）；底通栏线用负 margin 贴回竖线 */
  --md-main-inset: 65px;
  padding-left: var(--md-main-inset);
  min-width: 0;
  box-sizing: border-box;
}

.md-cat-sidebar-title {
  margin: 0;
  /* 顶距通栏线 27；底通栏线改由 layout::after，此处不再描边以免被盖住出缺口 */
  display: flex;
  align-items: center;
  min-height: 22px;
  height: var(--md-cat-head-h);
  padding: 27px 0 20px;
  border-bottom: none;
  box-sizing: border-box;
  width: 100%;
  font-family: var(--md-font-sans); /* Instrument Sans Medium · FIG 22 #000 */
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: #000000;
}

.md-cat-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
}

.md-cat-item {
  border-bottom: none; /* 线画在 row / children，展开时父行下也有线 */
}

.md-cat-accordion .md-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px; /* DES 折叠行分割线间距 ≈58 */
  width: 100%;
  grid-template-columns: none;
  border-bottom: 0;
  /* DES：+/- 圆右缘 → 竖线 ≈16；底线用阴影贴满宽，不随 padding 缩短 */
  padding-right: 16px;
  box-sizing: border-box;
  box-shadow: inset 0 -1px 0 #e1e1e1;
}

.md-cat-link {
  flex: 1;
  min-width: 0;
  font-family: var(--md-font-sans); /* Instrument Sans Medium · FIG 18 */
  color: #1c161b;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  line-height: 24px;
}

/* 展开或当前根分类：标题橙 */
.md-cat-item.is-open > .md-cat-row .md-cat-link,
.md-cat-item.is-active > .md-cat-row .md-cat-link,
.md-cat-link.is-current {
  color: #e27b21;
}

.md-cat-toggle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #1c161b; /* DES 折叠：黑圆白 + */
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.md-cat-item.is-open > .md-cat-row .md-cat-toggle {
  background: #e27b21; /* DES 展开：橙圆白 − */
  color: #ffffff;
}

.md-cat-toggle.is-static {
  cursor: default;
  pointer-events: none;
}

/* +/- 几何绘制 · DES 圆 22、笔画 ≈2、臂长 ≈11，绝对居中无字体基线 */
.md-cat-toggle-icon {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  font-size: 0;
  line-height: 0;
  color: #fff;
}

.md-cat-toggle-icon::before,
.md-cat-toggle-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 0;
}

/* 横杠：+/- 共用，几何垂直居中 */
.md-cat-toggle-icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
}

/* 竖杠：仅 plus */
.md-cat-toggle-icon[data-icon="plus"]::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
}

.md-cat-toggle-icon[data-icon="minus"]::after,
.md-cat-item.is-open .md-cat-toggle-icon::after {
  content: none;
  display: none;
}

.md-cat-children {
  list-style: none;
  margin: 0;
  /* JPG 展开块高 ≈127：3×32 + padTop≈10 + padBottom≈19 */
  padding: 10px 0 19px 16px;
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 #e1e1e1;
}

.md-cat-children li {
  margin: 0;
}

.md-cat-child {
  display: block;
  padding: 0 0 0 8px;
  color: #666666; /* Inter Regular 16 / lh 32 */
  font-family: var(--md-font-inter);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  text-decoration: none;
  position: relative;
}

.md-cat-child.is-current {
  color: #e27b21;
  font-weight: 400;
  padding-left: 22px;
}

.md-cat-child.is-current::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 6px; /* DES 橙色圆点 */
  height: 6px;
  border-radius: 50%;
  background: #e27b21;
  transform: translateY(-50%);
}

/* DES：与左侧同高 69；底通栏线由 layout::after 绘制，文案缩进 65 */
.md-breadcrumb-inline {
  background: transparent;
  display: flex;
  align-items: center;
  height: var(--md-cat-head-h);
  margin: 0;
  padding: 0 0 0 var(--md-main-inset, 0px);
  border-bottom: none;
  box-sizing: border-box;
  width: 100%;
}

.md-breadcrumb-inline .md-breadcrumb-list {
  margin: 0;
}

.md-product-grid-sidebar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  /* FIG：头栏底线 ≈1057（988+69）→ 产品卡顶 1116 ⇒ 间距 59 */
  margin-top: 59px;
}

@media (max-width: 1100px) {
  .md-products-layout {
    grid-template-columns: 1fr;
  }

  .md-products-layout::before,
  .md-products-layout::after {
    content: none;
    display: none;
  }

  .md-cat-sidebar {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    max-width: 420px;
    border-right: none;
  }

  .md-cat-sidebar-title,
  .md-breadcrumb-inline {
    height: auto;
    border-bottom: 1px solid #e1e1e1;
  }

  .md-cat-sidebar-title {
    padding: 0 0 20px;
  }

  .md-breadcrumb-inline {
    padding: 16px 0;
  }

  .md-products-main {
    --md-main-inset: 0px;
    padding-left: 0;
  }

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

  .md-products-intro-title {
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.2;
  }

  .md-page-hero.md-page-hero-products .md-hero-title {
    font-size: clamp(36px, 7vw, 52px);
  }
}

@media (max-width: 700px) {
  .md-product-grid-sidebar {
    grid-template-columns: 1fr;
  }

  .md-page-hero.md-page-hero-products {
    height: auto;
    min-height: 320px;
  }

  .md-page-hero.md-page-hero-products .md-hero-inner {
    padding-top: 64px;
    padding-bottom: 40px;
  }

  .md-page-hero.md-page-hero-products .md-hero-lead {
    font-size: 15px;
    line-height: 1.55;
  }
}

/* legacy chips kept for other pages if any */
.md-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.md-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.md-filter-chip.is-active {
  background: var(--md-orange);
  color: #fff;
  border-color: var(--md-orange);
}

.md-filter-chip:hover:not(.is-active),
.md-filter-chip:focus-visible:not(.is-active) {
  background: var(--md-orange);
  color: #fff;
  border-color: var(--md-orange);
}

.md-search-hint {
  margin: 0 0 20px;
  font-size: 14px;
  color: #666;
}

/* —— Search overlay · 稿 Enter Search… 302×42 升为层；黑遮罩 + 奶油面板 + 橙 CTA —— */
.md-search {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 24px 40px;
  box-sizing: border-box;
}

.md-search.is-open,
.md-search:not([hidden]) {
  display: flex;
}

.md-search[hidden] {
  display: none !important;
}

.md-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 10, 8, 0.72);
  backdrop-filter: blur(6px);
}

.md-search-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  background: var(--md-cream);
  border-radius: 4px;
  padding: 48px 48px 56px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  -webkit-font-smoothing: antialiased;
}

.md-search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}

.md-search-close:hover,
.md-search-close:focus-visible {
  color: var(--md-orange);
  outline: none;
}

.md-search-eyebrow {
  margin: 0 0 10px;
  font-family: var(--md-font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--md-orange);
}

.md-search-title {
  margin: 0 0 12px;
  font-family: var(--md-font-serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  color: #171d22;
}

.md-search-lead {
  margin: 0 0 28px;
  font-family: var(--md-font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.md-search-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 52px;
  background: #fff;
  border: 1px solid #e7e5e0;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.md-search-field-icon {
  width: 20px;
  height: 20px;
  margin: auto 0 auto 18px;
  flex-shrink: 0;
  opacity: 0.7;
  /* search.svg 为白描边；奶油底上需反成深色 */
  filter: brightness(0) opacity(0.55);
}

.md-search-field input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 0 14px;
  font-family: var(--md-font-sans);
  font-size: 15px;
  font-weight: 400;
  color: #222;
  outline: none;
  min-width: 0;
}

.md-search-field input::placeholder {
  color: #9a9a9a;
}

.md-search-submit {
  flex: 0 0 auto;
  border: 0;
  background: var(--md-orange);
  color: #fff;
  padding: 0 28px;
  font-family: var(--md-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.md-search-submit:hover,
.md-search-submit:focus-visible {
  background: var(--md-orange-2);
  outline: none;
}

body.is-search-open {
  overflow: hidden;
}

/* —— Search results page —— */
.md-search-page {
  background: var(--md-cream);
  padding: 72px 0 100px;
}

.md-search-page-head {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}

.md-search-page-title {
  margin: 0 0 28px;
  font-family: var(--md-font-serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  color: #171d22;
}

.md-search-page-form {
  max-width: 640px;
  margin: 0 auto 16px;
}

.md-search-page-meta {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.md-search-page-meta a {
  color: var(--md-orange);
  text-decoration: none;
}

.md-search-page-meta a:hover {
  text-decoration: underline;
}

.md-search-empty {
  text-align: center;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.md-search-empty-card {
  background: #fff;
  border: 1px solid var(--md-line);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.md-search-section {
  margin-bottom: 56px;
}

.md-search-section-title {
  margin: 0 0 24px;
  font-family: var(--md-font-serif);
  font-size: 28px;
  font-weight: 500;
  color: #171d22;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--md-line);
}

.md-search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.md-search-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.md-search-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.md-search-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.md-search-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-search-card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.md-search-card-type {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--md-orange);
}

.md-search-card-body h3 {
  margin: 0;
  font-family: var(--md-font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.md-search-card-body h3 a {
  color: #171d22;
  text-decoration: none;
}

.md-search-card-body h3 a:hover {
  color: var(--md-orange);
}

.md-search-card-body > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  flex: 1;
}

.md-search-card-more {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--md-orange);
  text-decoration: none;
}

.md-search-card-more:hover {
  text-decoration: underline;
}

html[dir="rtl"] .md-search-close,
body.is-rtl .md-search-close {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .md-search-field-icon,
body.is-rtl .md-search-field-icon {
  margin: auto 18px auto 0;
}

@media (max-width: 1100px) {
  .md-search-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .md-search-panel {
    padding: 36px 22px 40px;
  }

  .md-search-title,
  .md-search-page-title {
    font-size: 28px;
  }

  .md-search-field {
    flex-wrap: wrap;
    border-radius: 16px;
    min-height: 0;
  }

  .md-search-field-icon {
    margin: 14px 0 0 14px;
  }

  .md-search-field input {
    width: calc(100% - 48px);
    padding: 12px 14px 12px 8px;
  }

  .md-search-submit {
    width: 100%;
    min-height: 44px;
    border-radius: 0 0 16px 16px;
  }

  .md-search-grid {
    grid-template-columns: 1fr;
  }
}

.md-cat-chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.md-cat-chip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--md-shadow-soft);
  color: #222;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.md-cat-chip:hover,
.md-cat-chip:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  color: var(--md-orange);
}

.md-cat-chip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.md-cat-chip span {
  padding: 0 14px 14px;
  font-weight: 600;
  font-size: 14px;
}

.md-why-grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  text-align: left;
  margin-top: 40px;
}

.md-why-item-flat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--md-shadow-soft);
}

.md-why-item-flat .md-why-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--md-cream);
  border-radius: 50%;
  overflow: hidden;
}

.md-why-item-flat .md-why-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: none;
}

.md-about-media {
  margin: 32px 0;
}

.md-about-media img,
.md-about-media video {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

.md-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.md-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
}

.md-gallery img:hover,
.md-gallery img:focus-visible,
.md-gallery img.is-selected {
  outline-color: var(--md-orange);
  transform: translateY(-2px);
  opacity: 1;
}

.md-faq-cms .w104-faq-list-content ul,
.md-faq-cms ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.md-faq-cms .w104-faq-list-content li,
.md-faq-cms li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.md-faq-cms h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .md-faq-heading {
    font-size: clamp(32px, 7vw, 48px);
    margin-bottom: 36px;
  }

  .md-faq-item summary {
    font-size: 17px;
    padding: 18px 28px 18px 0;
  }

  .md-faq-item .md-faq-body {
    font-size: 15px;
  }
}

.md-sales-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.md-sales-list li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.md-related {
  margin-top: 40px;
}

.md-related h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.md-form-msg {
  margin-top: 12px;
  font-size: 14px;
}

.md-form-msg.is-ok {
  color: #1a7f37;
}

.md-form-msg.is-err {
  color: #c62828;
}

/* —— About stats (portal-native) —— */
.md-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0 0 56px;
  padding: 36px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--md-shadow-soft);
}

.md-about-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.md-about-stat img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 4px;
}

.md-about-stat strong {
  font-family: var(--md-font-serif);
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: var(--md-ink);
  line-height: 1.1;
}

.md-about-stat span {
  font-size: 14px;
  color: var(--md-muted);
}

.md-about-intro {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--md-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* About · Mode B 20-关于我们 */
.md-about-explore {
  /* FIG Frame 16 @ y=806 h=336；crumb 约止于 706 → mt 100 */
  margin-top: 100px;
  padding: 0 0 0;
  min-height: 336px;
  box-sizing: border-box;
  background: var(--md-cream);
  text-align: center;
}

.md-about-explore-title {
  margin: 0 auto 28px;
  max-width: 920px;
  font-family: var(--md-font-serif);
  font-size: 56px; /* Bitter Medium · FIG 56/66 #171d22 */
  font-weight: 500;
  color: #171d22;
  line-height: 66px;
  letter-spacing: 0;
}

.md-about-explore-copy {
  max-width: 1584px; /* FIG Frame 16 宽 1584 */
  margin: 0 auto;
  padding-inline: 48px;
  box-sizing: border-box;
}

.md-about-explore-copy p {
  margin: 0 0 22px;
  color: #666666; /* FIG Instrument Sans Regular 16 #666 */
  font-family: var(--md-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.md-about-explore-copy p:last-child {
  margin-bottom: 0;
}

.md-about-video-block {
  /* FIG Frame 2147228102 @ y=1196 h=800；左右撑满视口（各断点） */
  margin-top: 54px;
  margin-inline: 0;
  width: 100%;
  max-width: none;
  background: #111;
  padding: 0;
  height: 800px;
  min-height: 800px;
  box-sizing: border-box;
  overflow: hidden;
}

.md-about-video-frame {
  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  height: 800px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #111;
  aspect-ratio: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

button.md-about-video-frame:focus-visible {
  outline: 2px solid var(--md-orange);
  outline-offset: -2px;
}

.md-about-video-frame img,
.md-about-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* 稿面居中半透明播放钮（对照 about JPG / Frame 2147228102） */
.md-about-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.md-about-video-frame:hover .md-about-video-play {
  background: rgba(0, 0, 0, 0.4);
}

.md-about-video-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 6px;
}

/* —— Image lightbox（证书放大） —— */
.md-img-lite {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.md-img-lite[hidden] {
  display: none !important;
}

.md-img-lite-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}

.md-img-lite-dialog {
  position: relative;
  z-index: 1;
  max-width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  margin: 0;
  padding: 0;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.md-img-lite-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #230100;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  appearance: none;
  -webkit-appearance: none;
}

.md-img-lite-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  object-fit: contain;
  background: #fff;
}

body.is-img-lite-open {
  overflow: hidden;
}

/* —— Video lightbox（本页播放，不跳新页） —— */
.md-video-lite {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.md-video-lite[hidden] {
  display: none !important;
}

.md-video-lite-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}

.md-video-lite-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.md-video-lite-player {
  display: block;
  width: 100%;
  max-height: min(80vh, 720px);
  aspect-ratio: 16 / 9;
  background: #000;
  vertical-align: top;
}

.md-video-lite-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  transition: background 0.15s ease, transform 0.15s ease;
}

.md-video-lite-close:hover {
  background: #fff;
  transform: scale(1.06);
}

.md-video-lite-close:focus-visible {
  outline: 2px solid var(--md-orange);
  outline-offset: 2px;
}

body.is-video-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .md-video-lite {
    padding: 12px;
  }

  .md-video-lite-dialog {
    width: calc(100vw - 24px);
    border-radius: 8px;
  }

  .md-video-lite-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

.md-about-facility {
  /* FIG Facility @ y=3096；certs 止于 2956 → mt 140；框高 942 */
  margin-top: 140px;
  background: var(--md-cream);
  padding: 0 0 48px;
  min-height: 942px;
  box-sizing: border-box;
  text-align: center;
}

/* DES 工厂图全宽：左右各 30，三列 602 + gap 27 → 1920 */
.md-about-facility > .md-container {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}

.md-about-facility-title {
  margin: 0 auto 40px; /* DES 标题底≈3191 → 网格顶≈3230 ≈39 */
  max-width: 1860px;
  padding-top: 0;
  font-family: var(--md-font-serif);
  font-size: 60px; /* Bitter Medium · FIG 60/70；稿面截图为深色字（非白） */
  font-weight: 500;
  color: #000000;
  line-height: 70px;
  letter-spacing: 0;
}

.md-about-facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px; /* DES 列缝 ≈27 */
  width: calc(100% - 60px); /* 左右各 30 → 与稿 x=30..1890 */
  max-width: none;
  margin: 0 auto;
  align-content: start;
}

.md-about-facility-card {
  margin: 0;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 601 / 376; /* DES 20-关于我们 工厂图 */
}

.md-about-facility-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .md-about-facility-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .md-about-facility-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Legacy CMS (w104) content compatibility —— */
.md-cms {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.md-cms .w104-section {
  margin: 0 0 48px;
}

.md-cms .w104-wrapper,
.md-cms .about-wrap,
.md-cms .group-wrap,
.md-cms .meta-wrap,
.md-cms .w104-cert-wrap,
.md-cms .comments-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto;
  padding-inline: 0;
}

/* Hide duplicate stats block when portal stats already rendered */
.md-page-body.has-portal-stats .md-cms .w104-meta {
  display: none !important;
}

.md-cms .w104-meta ul,
.md-cms .meta-wrap ul {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 36px 24px;
  box-shadow: var(--md-shadow-soft);
}

.md-cms .w104-meta li,
.md-cms .meta-wrap li {
  list-style: none !important;
  margin: 0;
  padding: 0;
  text-align: center;
}

.md-cms .w104-meta li::marker,
.md-cms .meta-wrap li::marker {
  content: none;
}

.md-cms .w104-meta .wrap,
.md-cms .meta-wrap .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.md-cms .w104-meta img,
.md-cms .meta-wrap img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto;
}

.md-cms .w104-meta h4,
.md-cms .meta-wrap h4 {
  margin: 0;
  font-family: var(--md-font-serif);
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: var(--md-ink);
}

.md-cms .w104-meta p,
.md-cms .meta-wrap p {
  margin: 0;
  font-size: 14px;
  color: var(--md-muted);
}

.md-cms .w104-about,
.md-cms .about-intro,
.md-cms .intro,
.md-cms .text {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.md-cms .w104-about p,
.md-cms .about-intro p,
.md-cms .intro p,
.md-cms .text p {
  color: var(--md-muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.md-cms .w104-video,
.md-cms .about-cover,
.md-cms .media,
.md-cms .group-cover {
  margin: 32px 0;
}

.md-cms .w104-video img,
.md-cms .about-cover img,
.md-cms .media img,
.md-cms .group-cover img,
.md-cms .cover-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.md-cms .w104-about-swiper,
.md-cms .w104-cert-swiper,
.md-cms .w104-comments-swiper,
.md-cms .swiper-container {
  width: 100% !important;
  overflow: hidden;
}

.md-cms .swiper-wrapper {
  display: flex;
}

.md-cms .swiper-slide {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100% !important;
}

.md-cms .w104-cert-content,
.md-cms .w104-cert-wrap ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.md-cms .w104-cert-item,
.md-cms .w104-cert-wrap li {
  list-style: none;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--md-shadow-soft);
}

.md-cms .w104-comments .comments-item {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  max-width: 100%;
  box-shadow: var(--md-shadow-soft);
}

.md-cms .swiper-button-next,
.md-cms .swiper-button-prev,
.md-cms .swiper-pagination,
.md-cms .swiper-notification,
.md-cms .w104-iconfont {
  display: none !important;
}

@media (max-width: 900px) {
  .md-about-stats,
  .md-cms .w104-meta ul,
  .md-cms .meta-wrap ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .md-about-stats,
  .md-cms .w104-meta ul,
  .md-cms .meta-wrap ul {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 14px;
  }

  .md-about-stat img,
  .md-cms .w104-meta img {
    width: 44px;
    height: 44px;
  }
}



/* —— Multilang / RTL: shell layout matches default (EN) —— */
html[dir="rtl"] .md-header,
html[dir="rtl"] .md-topbar,
html[dir="rtl"] .md-topbar-inner,
html[dir="rtl"] .md-topbar-left,
html[dir="rtl"] .md-topbar-right,
html[dir="rtl"] .md-nav,
html[dir="rtl"] .md-nav-inner,
html[dir="rtl"] .md-nav-list,
html[dir="rtl"] .md-subscribe,
html[dir="rtl"] .md-subscribe .md-container,
html[dir="rtl"] .md-subscribe-form,
html[dir="rtl"] .md-footer,
html[dir="rtl"] .md-footer-grid,
html[dir="rtl"] .md-footer-bottom,
html[dir="rtl"] .md-footer-meta,
html[dir="rtl"] .md-footer-social,
html[dir="rtl"] .md-footer-copy,
html[dir="rtl"] .md-footer-legal,
html[dir="rtl"] .md-float,
body.is-rtl .md-header,
body.is-rtl .md-topbar,
body.is-rtl .md-topbar-inner,
body.is-rtl .md-topbar-left,
body.is-rtl .md-topbar-right,
body.is-rtl .md-nav,
body.is-rtl .md-nav-inner,
body.is-rtl .md-nav-list,
body.is-rtl .md-subscribe,
body.is-rtl .md-subscribe-form,
body.is-rtl .md-footer,
body.is-rtl .md-footer-grid,
body.is-rtl .md-footer-bottom,
body.is-rtl .md-footer-meta,
body.is-rtl .md-footer-social,
body.is-rtl .md-footer-legal,
body.is-rtl .md-float {
  direction: ltr !important;
}

html[dir="rtl"] .md-footer-col,
html[dir="rtl"] .md-footer h3,
html[dir="rtl"] .md-footer h4,
html[dir="rtl"] .md-footer p,
html[dir="rtl"] .md-footer li,
html[dir="rtl"] .md-mail-text,
body.is-rtl .md-footer-col,
body.is-rtl .md-footer h3,
body.is-rtl .md-footer h4,
body.is-rtl .md-footer p,
body.is-rtl .md-footer li,
body.is-rtl .md-mail-text {
  text-align: left;
}

/* Content regions keep RTL reading */
html[dir="rtl"] .md-main,
html[dir="rtl"] .md-page-body,
html[dir="rtl"] .md-rich,
html[dir="rtl"] .md-hero-copy,
html[dir="rtl"] .md-hero-inner,
body.is-rtl .md-main,
body.is-rtl .md-page-body,
body.is-rtl .md-rich,
body.is-rtl .md-hero-inner {
  direction: rtl;
  text-align: start;
}

.md-nav-list {
  overflow-x: auto;
  scrollbar-width: none;
}
.md-nav-list::-webkit-scrollbar { display: none; }

.md-nav-list a {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-lang-menu {
  direction: ltr !important;
  text-align: left;
}

html[dir="rtl"] .md-float,
body.is-rtl .md-float {
  right: 24px !important;
  left: auto !important;
}

@media (max-width: 900px) {
  html[dir="rtl"] .md-float,
  body.is-rtl .md-float {
    right: 10px !important;
    left: auto !important;
  }
}

html[dir="rtl"] .md-why-grid,
html[dir="rtl"] .md-why-col,
html[dir="rtl"] .md-product-grid,
html[dir="rtl"] .md-product-card,
body.is-rtl .md-why-grid,
body.is-rtl .md-why-col,
body.is-rtl .md-product-grid,
body.is-rtl .md-product-card {
  direction: ltr !important;
}

/* Legal pill stays compact like Figma */
.md-footer-legal {
  max-width: none;
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 6px;
}

.md-footer-meta {
  align-items: center;
}

/* Subscribe button: beat any global button resets */
.md-subscribe-form button[type="submit"],
.md-subscribe-form button {
  background: #ffffff !important;
  color: #000000 !important;
}

/* ========== Mobile / 375 可用（Mode B 桌面稿自适应，禁横滑、禁浮条挡字） ========== */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .md-container {
    width: min(100% - 32px, 1760px);
  }

  /* 窄屏：取消 FIG 绝对舞台，改纵向堆叠 */
  .md-why-grid {
    display: flex !important;
    flex-direction: column;
    aspect-ratio: auto !important;
    height: auto !important;
    width: 100%;
    max-width: 100%;
    gap: 28px;
    margin-top: 20px;
  }

  .md-why-arcs {
    display: none !important;
  }

  .md-why-col {
    display: flex !important;
    flex-direction: column;
    gap: 28px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .md-why-item,
  .md-why-item-l1,
  .md-why-item-l2,
  .md-why-item-l3,
  .md-why-item-r1,
  .md-why-item-r2,
  .md-why-item-r3,
  .md-why-visual {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .md-why-visual {
    height: auto !important;
    aspect-ratio: 733 / 549;
    order: -1;
  }

  .md-why-col.is-left .md-why-item,
  .md-why-col.is-right .md-why-item,
  .md-why-item-l1,
  .md-why-item-l2,
  .md-why-item-l3,
  .md-why-item-r1,
  .md-why-item-r2,
  .md-why-item-r3 {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .md-factory,
  .md-factory-stage,
  .md-stats-band,
  .md-stats-photo,
  .md-hero,
  .md-page-hero,
  .md-section {
    max-width: 100%;
    overflow-x: hidden;
  }

  .md-factory-bg {
    left: 50%;
    transform: translateX(-50%);
    width: 220%;
    max-width: none;
  }

  /* 桌面 nowrap 标题到窄屏必须可折 */
  .md-page-intro-title,
  .md-cases-page .md-page-intro-title,
  .md-news .md-section-title,
  .md-faq-heading,
  .md-section-title,
  .md-products .md-section-title,
  .md-contact-project-title {
    white-space: normal !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
    font-size: clamp(28px, 8.2vw, 40px) !important;
  }

  .md-faq-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .md-page-intro {
    margin-bottom: 32px;
    padding-inline: 0;
    max-width: 100%;
  }

  .md-page-intro-lead {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
  }

  .md-page-body,
  .md-faq-page,
  .md-cases-page,
  .md-blog-page,
  .md-contact-page,
  .md-service-page {
    padding: 40px 0 112px; /* 底栏浮条 ≈56 + 安全距 */
  }

  .md-products-layout {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .md-products-layout::before,
  .md-products-layout::after {
    content: none !important;
    display: none !important;
  }

  .md-cat-sidebar {
    width: 100%;
    max-width: 100%;
    position: static;
    border-right: none;
  }

  .md-products-main {
    --md-main-inset: 0px;
    padding-left: 0;
  }

  .md-cat-accordion .md-cat-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    grid-template-columns: none !important;
  }

  .md-faq-list {
    max-width: 100%;
  }

  .md-faq-item summary {
    font-size: 16px;
    padding-inline-end: 36px;
    line-height: 1.4;
  }

  .md-cases-page .md-case-card h3 {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.35;
  }

  .md-cases-grid,
  .md-news-grid,
  .md-product-grid {
    gap: 20px;
  }

  /* 悬浮条：竖排挡内容 → 底栏横排缩小；仍用整条底 + 橙圆 hover */
  .md-float {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    top: auto !important;
    bottom: 10px !important;
    right: 50% !important;
    left: auto !important;
    transform: translateX(50%) !important;
    gap: 8px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    z-index: 80;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.19);
  }

  .md-float a {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
  }

  /* 移动底栏：默认白图标；hover 橙底 + 白图标 */
  .md-float a:hover,
  .md-float a:focus-visible {
    background: #e27b21 !important;
    border: 0 !important;
  }

  .md-float a:hover img,
  .md-float a:focus-visible img {
    filter: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    max-width: 22px !important;
    max-height: 22px !important;
    width: auto !important;
    height: auto !important;
  }

  .md-float a img {
    width: auto !important;
    height: auto !important;
    max-width: 22px;
    max-height: 22px;
  }

  /* 底栏横排：悬停条改到图标上方，避免贴边裁切 */
  .md-float-tip {
    right: 50% !important;
    top: auto !important;
    bottom: calc(100% + 10px) !important;
    left: auto !important;
    transform: translate(50%, 6px) !important;
    height: 36px !important;
    max-width: min(280px, 80vw) !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    border-radius: 18px !important;
  }

  .md-float a:hover .md-float-tip,
  .md-float a:focus-visible .md-float-tip {
    transform: translate(50%, 0) !important;
  }

  .md-footer {
    padding: 48px 0 96px; /* 底栏浮条留空 */
    border-top: 0;
    min-height: 0;
    height: auto;
  }

  .md-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding-bottom: 32px;
  }

  .md-footer-brand,
  .md-footer-col {
    padding-inline-end: 0 !important;
  }

  .md-footer-about {
    max-width: 100%;
  }

  .md-footer-social {
    gap: 16px;
    font-size: 12px;
  }

  .md-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .md-footer-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .md-page-hero {
    min-height: 220px !important;
  }

  .md-page-hero-plain {
    min-height: 200px !important;
  }

  .md-hero {
    min-height: 480px !important;
  }

  .md-hero-inner {
    padding: 48px 0 56px !important;
  }

  .md-hero-title {
    font-size: clamp(32px, 9vw, 44px) !important;
    line-height: 1.15 !important;
  }

  .md-hero-lead {
    font-size: 14px !important;
    max-width: 100%;
  }

  .md-breadcrumb {
    padding-inline: 0;
  }

  .md-pagination,
  .md-faq-pagination {
    justify-content: center;
    height: 72px;
    margin-top: 48px;
    gap: 12px;
  }

  .md-pagination a,
  .md-pagination span {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 13px;
  }

  .md-subscribe .md-container,
  .md-subscribe-form {
    max-width: 100%;
  }

  .md-subscribe-title {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
}

@media (max-width: 640px) {
  .md-topbar-inner {
    width: min(100% - 20px, 1760px);
  }

  .md-logo {
    font-size: 20px !important;
    max-width: min(48vw, 150px);
  }

  /* 语言控件只留地球，避免顶栏挤爆 */
  .md-topbar-right .md-lang {
    width: 36px;
    min-width: 36px;
    padding-inline: 0;
    justify-content: center;
  }

  .md-products .md-section-title-row {
    flex-wrap: wrap;
  }

  .md-products .md-section-title {
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  .md-hot-badge,
  .md-product-card .md-hot {
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  html[dir="rtl"] .md-float,
  body.is-rtl .md-float {
    right: 50% !important;
    left: auto !important;
    transform: translateX(50%) !important;
  }
}
