/* ==========================================================================
   JINYE — Coil Processing Equipment
   Homepage styles
   1. Design tokens
   2. Base
   3. Layout helpers & shared components
   4. Header & navigation
   5. Hero
   6. Section headers
   7. Core products
   8. Why choose JINYE
   9. Solutions
   10. Machine capabilities
   11. Manufacturing
   12. Global reach
   13. Projects
   14. Resources
   15. Final CTA
   16. Inquiry form
   17. Footer
   18. Motion & responsive
   19. Inner pages — breadcrumb, page hero, product catalogue
   20. Product detail — hero, gallery, specification body
   21. Contact page — channels, process steps, plant image
   22. About page — profile, product lines, workshop, markets, deliveries
   23. News list — feature card, grid, pagination
   24. Article page — hero with cover, reading column
   25. 404 — not found hero, close-match list, path cards
   26. Solutions page — task cards, gauge bands, shear cards, custom inputs
   27. Manufacturing page — capacity split, build sequence, test run, build board
   28. Floating WhatsApp button
   ========================================================================== */

/* Self-hosted Inter (variable). One file covers weight 100–900, so the site
   makes no third-party font request and cannot be broken by a CDN outage. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* 1. Design tokens
   ========================================================================== */
:root {
  /* Brand palette */
  --navy: #14283f;
  --navy-deep: #0f2033;
  --navy-ink: #0b1826;
  --blue: #2878b8;
  --blue-dark: #1f6099;
  --blue-soft: #eaf2f9;
  --steel: #e9edf1;
  --light: #f5f7f9;
  --white: #ffffff;

  /* Text */
  --text: #25313d;
  --text-muted: #5f6d7a;
  --text-invert: #ffffff;
  --text-invert-muted: rgba(255, 255, 255, 0.72);

  /* Lines */
  --border: #dce3e9;
  --border-strong: #c9d4dd;
  --border-invert: rgba(255, 255, 255, 0.16);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.72rem;

  /* Spacing & shape */
  --container: 1320px;
  --gutter: clamp(18px, 3vw, 32px);
  --section-y: clamp(64px, 7vw, 104px);
  --radius: 3px;
  --radius-lg: 4px;

  /* Elevation */
  --shadow-card: 0 22px 48px -30px rgba(20, 40, 63, 0.45);
  --shadow-nav: 0 10px 30px -18px rgba(11, 24, 38, 0.35);

  /* Header metrics */
  --header-h: 116px;
  --header-h-compact: 62px;

  /* Easing */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* The sticky header changes height on scroll. Chrome's scroll anchoring would
     try to compensate for that layout shift by rewriting the scroll offset,
     which feeds straight back into the header state and makes it vibrate.
     The header height is the only animated layout change on the page, so the
     document-level anchor is not needed. */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--blue-dark);
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.container-jy {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* 仅供屏幕阅读器：给「Read More」这类重复链接补足区分用的文字 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 3. Shared components
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-dark);
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--light {
  color: #82b6df;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary-jy {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn-primary-jy:hover,
.btn-primary-jy:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}

.btn-ghost-jy {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-ghost-jy:hover,
.btn-ghost-jy:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline-jy {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--navy);
}

.btn-outline-jy:hover,
.btn-outline-jy:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow i {
  font-size: 0.95em;
  transition: transform 0.25s var(--ease);
}

.link-arrow--light,
.link-arrow--light:hover {
  color: #fff;
}

a:hover .link-arrow,
.link-arrow:hover,
a:focus-visible .link-arrow {
  color: var(--blue);
}

a:hover .link-arrow i {
  transform: translateX(4px);
}

a:hover .link-arrow--light {
  color: #fff;
}

.section {
  padding-block: var(--section-y);
}

.section--white {
  background: var(--white);
}

.section--light {
  background: var(--light);
}

.section--navy {
  background: var(--navy);
  color: var(--text-invert);
}

/* 4. Header & navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-nav);
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.66);
  overflow: hidden;
  max-height: 38px;
  transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease);
}

.site-header.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.topbar__note {
  color: rgba(255, 255, 255, 0.62);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.topbar__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.navbar-jy__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  transition: min-height 0.25s var(--ease);
}

.site-header.is-scrolled .navbar-jy__inner {
  min-height: 66px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: none;
  color: var(--navy);
}

.brand:hover {
  color: var(--navy);
}

.brand__name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
}

.brand__sub {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-primary {
  margin-left: auto;
}

.nav-primary__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-primary__item {
  position: relative;
}

.nav-primary__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  background: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-primary__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-primary__link:hover,
.nav-primary__link:focus-visible {
  color: var(--blue);
}

.nav-primary__link:hover::after {
  transform: scaleX(0.45);
}

.nav-primary__link.is-active {
  color: var(--navy);
  font-weight: 600;
}

.nav-primary__link.is-active::after {
  transform: scaleX(1);
}

/* 内联 SVG 图标（替代 Bootstrap Icons 字体）。
   尺寸用 em 才能像原字体图标那样跟随字号缩放；
   vertical-align 的 -0.125em 也是字体图标原本的基线偏移，保持一致以免行高抖动。 */
.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex: none;
}

.nav-primary__link .bi {
  font-size: 0.7rem;
  transition: transform 0.25s var(--ease);
  color: var(--text-muted);
}

.nav-primary__item--menu.is-open > .nav-primary__link {
  color: var(--blue);
}

.nav-primary__item--menu.is-open .bi-chevron-down {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 320px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 26px 50px -30px rgba(20, 40, 63, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 20;
}

.nav-primary__item--menu.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel__link {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--text);
  transition: background-color 0.2s var(--ease);
}

.dropdown-panel__link:hover,
.dropdown-panel__link:focus-visible {
  background: var(--light);
  color: var(--navy);
}

.dropdown-panel__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.dropdown-panel__text {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* “All products” footer row inside the Products dropdown */
.dropdown-panel__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
}

.dropdown-panel__all:hover,
.dropdown-panel__all:focus-visible {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.dropdown-panel__all i {
  font-size: 0.9em;
  transition: transform 0.25s var(--ease);
}

.dropdown-panel__all:hover i {
  transform: translateX(3px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.btn-quote {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle__bars span:nth-child(1) {
  top: 0;
}

.menu-toggle__bars span:nth-child(2) {
  top: 6px;
}

.menu-toggle__bars span:nth-child(3) {
  top: 12px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  width: min(380px, 88vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s;
  box-shadow: -30px 0 60px -40px rgba(11, 24, 38, 0.6);
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mobile-nav__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.mobile-nav__nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 22px 24px;
}

.mobile-nav__list > li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav__list > li > a {
  display: block;
  padding: 15px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.mobile-nav__sub {
  padding: 0 0 12px 14px;
  border-left: 1px solid var(--border);
  margin-left: 2px;
}

.mobile-nav__sub a {
  display: block;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.mobile-nav__foot {
  padding: 20px 22px 26px;
  border-top: 1px solid var(--border);
  background: var(--light);
}

.mobile-nav__contact {
  margin-top: 14px;
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.mobile-nav__contact a {
  color: var(--navy);
  text-decoration: none;
}

.mobile-nav__contact a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(11, 24, 38, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.mobile-nav__backdrop.is-visible {
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

/* 5. Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 820px);
  background: var(--navy-ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(8, 19, 31, 0.94) 0%, rgba(8, 19, 31, 0.86) 30%, rgba(8, 19, 31, 0.54) 55%, rgba(8, 19, 31, 0.2) 79%, rgba(8, 19, 31, 0.08) 100%),
    linear-gradient(to top, rgba(8, 19, 31, 0.88) 0%, rgba(8, 19, 31, 0) 42%);
}

.hero__inner {
  position: relative;
  width: 100%;
  padding-block: clamp(64px, 9vw, 108px) 0;
}

.hero__content {
  max-width: 680px;
}

.hero__title {
  font-size: clamp(2.05rem, 4.1vw, 3.95rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: #fff;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero__text {
  max-width: 54ch;
  margin-top: clamp(18px, 2vw, 26px);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 38px);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 4vw, 56px);
  margin-top: clamp(46px, 6vw, 74px);
  padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
}

.hero-stat__value {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}

.hero-stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* 6. Section headers
   ========================================================================== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.section-head__main {
  max-width: 720px;
}

.section-head__title {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.024em;
  color: var(--navy);
  text-wrap: balance;
}

.section-head__text {
  margin-top: 14px;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
}

.section-head__aside {
  flex: none;
  padding-bottom: 6px;
}

.section-head--center {
  justify-content: center;
  text-align: center;
}

.section-head--center .section-head__main {
  max-width: 760px;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-head--center .section-head__text {
  margin-inline: auto;
}

/* 7. Core products
   ========================================================================== */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  color: var(--text);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__index {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: clamp(22px, 2.4vw, 32px);
}

.product-card__kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.product-card__title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--navy);
}

.product-card__text {
  margin: 12px 0 22px;
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 46ch;
}

.product-card__body .link-arrow {
  margin-top: auto;
}

/* 8. Why choose JINYE
   ========================================================================== */
.advantage-grid {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.advantage {
  position: relative;
  height: 100%;
  padding: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 32px);
  transition: background-color 0.3s var(--ease);
}

.advantage::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.35s var(--ease);
}

.advantage:hover {
  background: #fff;
}

.advantage:hover::before {
  width: 100%;
}

.advantage__icon {
  display: block;
  margin-bottom: 20px;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--blue);
}

.advantage__title {
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 9px;
}

.advantage__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (min-width: 992px) {
  .advantage-grid > [class*="col-"] + [class*="col-"] .advantage {
    border-left: 1px solid var(--border);
  }
}

/* 9. Solutions
   ========================================================================== */
.solution-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  aspect-ratio: 16 / 12;
  overflow: hidden;
  background: var(--navy-ink);
  color: #fff;
}

.solution-feature:hover {
  color: #fff;
}

.solution-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.solution-feature:hover img {
  transform: scale(1.035);
}

.solution-feature__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 20, 33, 0.94) 0%, rgba(9, 20, 33, 0.55) 42%, rgba(9, 20, 33, 0.06) 78%);
}

.solution-feature__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(24px, 3vw, 42px);
  width: 100%;
}

.solution-feature__kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8dc0e6;
}

.solution-feature__title {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.solution-feature__text {
  font-size: 0.93rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
}

.solution-feature .link-arrow {
  margin-top: 6px;
}

.solution-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

@media (max-width: 1199.98px) {
  .solution-feature {
    aspect-ratio: 16 / 7;
  }

  .solution-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.solution-item {
  display: grid;
  grid-template-columns: 168px 1fr;
  align-items: center;
  gap: 22px;
  flex: 1;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.solution-item:hover,
.solution-item:focus-visible {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  color: var(--text);
}

.solution-item__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel);
}

.solution-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.solution-item:hover .solution-item__media img {
  transform: scale(1.04);
}

.solution-item__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 10px;
}

.solution-item__kicker {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}

.solution-item__title {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.solution-item__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.solution-item .link-arrow {
  margin-top: 4px;
  font-size: 0.8rem;
}

/* 10. Machine capabilities
   ========================================================================== */
.capability-media {
  background: #fff;
  border: 1px solid var(--border);
}

.capability-media img {
  width: 100%;
  height: auto;
  background: var(--steel);
}

.capability-media figcaption {
  padding: 12px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.module-list {
  border-bottom: 1px solid var(--border);
}

.module {
  display: flex;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
}

.module__num {
  flex: none;
  min-width: 22px;
  padding-top: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.module__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.module__title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.module__text {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.module-note {
  display: flex;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.module-note .bi {
  flex: none;
  color: var(--blue);
  font-size: 0.95rem;
  margin-top: 1px;
}

/* 11. Manufacturing
   ========================================================================== */
.mfg-card {
  height: 100%;
}

.mfg-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel);
}

.mfg-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.mfg-card:hover .mfg-card__media img {
  transform: scale(1.03);
}

.mfg-card figcaption {
  padding-top: 20px;
}

.mfg-card__num {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 8px;
}

.mfg-card__title {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
}

.mfg-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* 12. Global reach
   ========================================================================== */
.global {
  position: relative;
  overflow: hidden;
}

.global::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0) 30%, #000 100%);
  mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0) 30%, #000 100%);
  opacity: 0.5;
  pointer-events: none;
}

.global .container-jy {
  position: relative;
}

.global__title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 18ch;
  text-wrap: balance;
}

.global__text {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
}

.global__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.global-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--navy);
}

.global-stat__value {
  font-size: clamp(2.6rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.global-stat__label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.region-list span {
  position: relative;
  padding-right: 26px;
  margin-right: 26px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.region-list span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-50%);
}

/* 13. Projects
   ========================================================================== */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.project-card:hover,
.project-card:focus-visible {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
  color: var(--text);
}

.project-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-card:hover .project-card__media img {
  transform: scale(1.04);
}

.project-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 2.2vw, 28px);
}

.project-card__kicker {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.project-card__title {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--navy);
}

.project-card__text {
  margin: 9px 0 18px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.project-card__body .link-arrow {
  margin-top: auto;
  font-size: 0.82rem;
}

/* 视频卡：封面图 + 播放键，点击后由 main.js 注入 YouTube iframe。
   iframe 绝对定位铺满 4:3 的 media，多出来的由 YouTube 自己 letterbox，
   卡片高度不变，播放时不会把下面内容顶开。 */
.project-card--video {
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.project-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 32, 51, 0.32);
  transition: background 0.3s var(--ease);
}

.project-card__play i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 1.75rem;
  box-shadow: 0 10px 26px rgba(9, 20, 33, 0.3);
  transition: transform 0.3s var(--ease);
}

.project-card--video:hover .project-card__play {
  background: rgba(15, 32, 51, 0.18);
}

.project-card--video:hover .project-card__play i {
  transform: scale(1.07);
}

/* 视频弹层：点击卡片后在这里以 16:9 放大播放。
   宽度受三层约束——最大 1180px、不超过视口、也不让高度顶到上下留白，
   矮屏（笔记本 768 高）会自动按高度反推宽度，关闭键不会被挤出屏幕。 */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox.is-visible {
  opacity: 1;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 33, 0.93);
}

.video-lightbox__inner {
  position: relative;
  width: min(1180px, 100%, calc((100vh - 170px) * 16 / 9));
  aspect-ratio: 16 / 9;
}

.video-lightbox__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.video-lightbox__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.video-lightbox__close:hover,
.video-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.video-lightbox__link {
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

.video-lightbox__link:hover,
.video-lightbox__link:focus-visible {
  color: #fff;
}

/* 手机上 16:9 太扁，关闭键也会顶到屏幕外：改成叠在画面右上角 */
@media (max-width: 767.98px) {
  .video-lightbox {
    padding: 16px;
  }

  .video-lightbox__inner {
    width: 100%;
  }

  .video-lightbox__close {
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 38px;
    height: 38px;
    background: rgba(9, 20, 33, 0.72);
  }

  .video-lightbox__link {
    top: auto;
    bottom: -30px;
  }
}

body.video-open {
  overflow: hidden;
}

/* 14. Resources
   ========================================================================== */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--steel);
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__body {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.article-card__kicker {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.article-card__title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--navy);
}

.article-card__title a {
  color: inherit;
}

.article-card__title a:hover {
  color: var(--blue);
}

.article-card__text {
  margin: 9px 0 16px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.article-card__body .link-arrow {
  margin-top: auto;
  font-size: 0.82rem;
}

/* 15. Final CTA
   ========================================================================== */
.cta-section {
  padding-top: 0;
}

/* 列宽用 minmax(0, …)：1fr 的自动最小值是 min-content，正文与按钮在
   320px 下会把单列撑到 480px，被 overflow:hidden 裁掉右半边 */
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.cta-panel__body {
  padding: clamp(34px, 4.6vw, 62px);
  align-self: center;
}

.cta-panel__title {
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 20ch;
  text-wrap: balance;
}

.cta-panel__text {
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.76);
  max-width: 48ch;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.cta-panel__media {
  position: relative;
  min-height: 320px;
}

.cta-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 16. Inquiry form
   ========================================================================== */
.inquiry__title {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.024em;
  color: var(--navy);
}

.inquiry__text {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 46ch;
}

.inquiry__list {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.inquiry__list li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}

.inquiry__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--blue);
}

.inquiry__contact {
  margin-top: 26px;
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.inquiry__contact p:first-child {
  font-weight: 600;
  color: var(--navy);
}

.inquiry__contact a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.inquiry__contact a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.inquiry-form {
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(22px, 3vw, 38px);
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.req {
  color: #b03a2e;
  font-weight: 600;
}

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-input::placeholder {
  color: #9aa7b3;
}

.form-input:hover {
  border-color: #b7c5d1;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 120, 184, 0.15);
}

textarea.form-input {
  min-height: 118px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23667482' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-input.is-invalid {
  border-color: #b03a2e;
  box-shadow: 0 0 0 3px rgba(176, 58, 46, 0.1);
}

.form-error {
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #9c3227;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-status {
  margin-top: 18px;
  padding: 12px 15px;
  border: 1px solid #cfe0ee;
  border-left: 3px solid var(--blue);
  background: #f3f8fc;
  border-radius: 2px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #1d4a6d;
}

/* 提交结果：成功 / 失败 / 发送中 */
.form-status.is-success {
  border-color: #c9e2d3;
  border-left-color: #2f8f5b;
  background: #f2f9f5;
  color: #1f5c3b;
}

.form-status.is-error {
  border-color: #f0d3d3;
  border-left-color: #c0392b;
  background: #fdf4f3;
  color: #8c2b20;
}

/* 蜜罐字段：对访客不可见，但保留在表单里供机器人填写 */
.inquiry-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* 17. Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand__text {
  margin-top: 0;
  max-width: 34ch;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

/* 页脚社媒图标：只输出后台已填写的渠道（footer.php + muban_social_links()）。
   图标是内联 SVG，颜色走 currentColor，hover 只改颜色与描边，不加载任何图片。 */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.footer-social__link .bi {
  width: 20px;
  height: 20px;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.footer-col__title {
  margin-bottom: 16px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.footer-list li {
  line-height: 2.15;
}

.footer-list a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.66);
}

.footer-list a:hover {
  color: #fff;
}

.footer-list--contact li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.footer-list--contact .footer-address {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
  text-wrap: pretty;
}

.footer-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.footer-quote:hover {
  color: #9cc6e6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(38px, 5vw, 58px);
  padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-legal {
  display: flex;
  gap: 26px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a:hover {
  color: #fff;
}

/* Feedback toast for prototype-only links */
.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1200;
  transform: translate(-50%, 12px);
  max-width: min(460px, calc(100vw - 32px));
  padding: 12px 18px;
  background: rgba(15, 32, 51, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}

.demo-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 18. Motion & responsive
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1199.98px) {
  .nav-primary__list {
    gap: 0;
  }

  .nav-primary__link {
    padding-inline: 9px;
    font-size: 0.84rem;
  }

  .nav-primary__link::after {
    left: 9px;
    right: 9px;
  }

  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: flex-end;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 78px;
  }

  .topbar {
    display: none;
  }

  .nav-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .navbar-jy__inner {
    min-height: 76px;
    gap: 16px;
  }

  .site-header.is-scrolled .navbar-jy__inner {
    min-height: 64px;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: clamp(500px, 68vh, 620px);
  }

  .hero__scrim {
    background:
      linear-gradient(94deg, rgba(8, 19, 31, 0.95) 0%, rgba(8, 19, 31, 0.86) 46%, rgba(8, 19, 31, 0.5) 100%),
      linear-gradient(to top, rgba(8, 19, 31, 0.88) 0%, rgba(8, 19, 31, 0.08) 58%);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-head__aside {
    padding-bottom: 0;
  }

  .solution-feature {
    aspect-ratio: 16 / 11;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 单列时用固定高度：aspect-ratio + min-height 会让盒子按比例反推出 480px 宽，
     在 320/390 下溢出后被 overflow:hidden 裁掉一截 */
  .cta-panel__media {
    order: -1;
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(190px, 32vw, 240px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-y: clamp(52px, 9vw, 68px);
  }

  .btn-quote {
    display: none;
  }

  .hero__inner {
    padding-block: 56px 0;
  }

  .hero__stats {
    gap: 22px 32px;
    margin-top: 40px;
    padding-block: 18px 22px;
  }

  .hero-stat {
    min-width: 0;
    flex: 1 1 30%;
  }

  .hero-stat__value {
    font-size: 1.22rem;
  }

  .hero-stat__label {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .solution-stack {
    grid-template-columns: 1fr;
  }

  .solution-item {
    grid-template-columns: 128px 1fr;
    gap: 16px;
    padding: 14px;
  }

  .mfg-card__media,
  .project-card__media {
    aspect-ratio: 16 / 11;
  }

  .global-stat {
    padding: 22px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 0;
    align-items: stretch;
  }

  .hero__img {
    object-position: 58% 60%;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8.4vw, 2.4rem);
  }

  .hero__text {
    font-size: 0.95rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 0;
    border-top: 0;
    margin-top: 34px;
    padding: 0;
  }

  .hero-stat {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stat__value {
    font-size: 1.15rem;
  }

  .hero-stat__label {
    text-align: right;
    font-size: 0.7rem;
  }

  .section-head__title {
    font-size: clamp(1.5rem, 6.4vw, 1.95rem);
  }

  .solution-item {
    grid-template-columns: 104px 1fr;
  }

  .solution-item__title {
    font-size: 0.98rem;
  }

  .region-list span {
    padding-right: 18px;
    margin-right: 18px;
    font-size: 0.72rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    padding: 20px 18px;
  }
}

/* 19. Inner pages — breadcrumb, page hero, product catalogue
   ========================================================================== */

/* Brand lockup: old-site logo mark + wordmark. The mark is a transparent WebP,
   height-driven so the 83×60 ratio is preserved at every breakpoint. */
.brand {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: auto;
  height: 46px;
  flex: none;
  transition: height 0.25s var(--ease);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header.is-scrolled .brand__mark {
  height: 38px;
}

/* 页脚品牌区：图标垫一层白底，蓝 J 才能在 --navy-deep 上看清；
   右侧公司全称是真实文字（可选中、可被搜索引擎与读屏读取），不再烧进图片。
   min-width:0 必写：grid/flex 子项默认 min-width:auto，长公司名会把整列撑宽，
   窄屏上会连带把页面撑出横向滚动。 */
.footer-brand {
  min-width: 0;
}

.footer-brand__lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 18px;
}

.footer-brand__mark {
  flex: none;
  width: auto;
  height: 52px;
  padding: 5px;
  border-radius: 8px;
}

.footer-brand__name {
  min-width: 0;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #fff;
  overflow-wrap: break-word;
}

@media (max-width: 575.98px) {
  .footer-brand__mark {
    height: 44px;
  }

  .footer-brand__name {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }
}

/* Page hero (inner pages) */
.page-hero {
  padding-block: clamp(34px, 4vw, 58px) clamp(30px, 3.4vw, 48px);
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--blue);
}

.breadcrumb__sep {
  color: var(--border-strong);
}

.breadcrumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
}

.page-hero__title {
  max-width: 26ch;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.page-hero__text {
  max-width: 66ch;
  margin-top: 16px;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-muted);
}

/* Category filter bar */
.catalog-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-bottom: 24px;
  margin-bottom: clamp(26px, 3vw, 38px);
  border-bottom: 1px solid var(--border);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chip:hover,
.chip:focus-visible {
  border-color: var(--navy);
  background: var(--light);
  color: var(--navy);
}

.chip.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.chip__count {
  font-size: 0.76rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
}

.chip.is-active .chip__count {
  opacity: 0.72;
}

.catalog-bar__hint {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Catalogue grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.1vw, 28px);
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.catalog-card:hover,
.catalog-card:focus-within {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.catalog-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel);
}

.catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.catalog-card:hover .catalog-card__media img {
  transform: scale(1.04);
}

.catalog-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.catalog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 1.7vw, 24px);
}

.catalog-card__title {
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.catalog-card__title a {
  color: var(--navy);
}

/* Stretched link: the whole card is one click target, still a single tab stop. */
.catalog-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.catalog-card:hover .catalog-card__title a {
  color: var(--blue);
}

.spec-pill {
  align-self: flex-start;
  margin-top: 12px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  background: var(--light);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.catalog-card__foot {
  margin-top: auto;
  padding-top: 18px;
}

.catalog-empty {
  padding: clamp(40px, 6vw, 72px) 0;
  text-align: center;
  color: var(--text-muted);
}

.catalog-cta {
  padding-top: 0;
}

@media (max-width: 1199.98px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 桌面导航在 992–1199 之间已经很满，品牌副标题让位给菜单，
   否则导航右侧的报价按钮会被挤出视口（1024 下实测溢出 8px）。 */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .brand__sub {
    display: none;
  }

  .brand__mark {
    height: 42px;
  }
}

@media (max-width: 767.98px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .page-hero__title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .catalog-bar {
    align-items: flex-start;
  }

  .catalog-bar__hint {
    display: none;
  }
}

@media (max-width: 400px) {
  .chip {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  /* 320px 下品牌锁排 + 汉堡按钮会顶出 3px，收紧字号与字距让出空间 */
  .brand__mark {
    height: 40px;
  }

  .brand {
    gap: 9px;
  }

  .brand__name {
    font-size: 1.34rem;
    letter-spacing: 0.14em;
  }

  .brand__sub {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }
}

/* 20. Product detail — hero, gallery, specification body
   ========================================================================== */

.product-hero {
  padding-block: clamp(22px, 2.6vw, 34px) clamp(38px, 4.6vw, 66px);
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.product-hero .breadcrumb {
  margin-bottom: clamp(20px, 2.4vw, 30px);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 56px);
  align-items: start;
}

/* Gallery */
.product-gallery__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

/* contain, not cover: a slitting line is 30 m long — cropping it to fill a
   4:3 box loses exactly the part people want to look at. */
.product-gallery__stage img {
  width: 100%;
  height: 100%;
  padding: clamp(8px, 1.4vw, 18px);
  object-fit: contain;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 12px;
  list-style: none;
}

.product-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumb:hover,
.product-gallery__thumb:focus-visible {
  border-color: var(--border-strong);
}

.product-gallery__thumb.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

/* Intro panel */
.product-intro__cat {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* 与 .eyebrow 同处理：#2878b8 在浅灰底上只有 4.37:1，11.5px 小字过不了 AA。 */
  color: var(--blue-dark);
}

.product-intro__title {
  margin-top: 12px;
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.product-intro__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.product-intro__meta .spec-pill {
  margin-top: 0;
}

.product-intro__build {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-intro__note {
  max-width: 52ch;
  margin-top: 20px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.product-facts {
  margin-top: 26px;
  border-top: 1px solid var(--border);
}

.product-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.product-facts dt {
  flex: none;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-facts dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.product-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-intro__contact {
  margin-top: 16px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.product-intro__contact a {
  color: var(--navy);
  font-weight: 500;
}

.product-intro__contact a:hover,
.product-intro__contact a:focus-visible {
  color: var(--blue);
}

.product-intro__contact span {
  margin: 0 6px;
  color: var(--border-strong);
}

/* Specification body (rendered from the normalised old-site content) */
.product-body {
  padding-top: clamp(44px, 5vw, 78px);
}

.product-content {
  max-width: 860px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text);
}

.product-content > * + * {
  margin-top: 16px;
}

.product-content h2,
.product-content .product-h2 {
  margin-top: clamp(34px, 3.6vw, 50px);
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.product-content > h2:first-child,
.product-content > .product-h2:first-child {
  margin-top: 0;
}

.product-content h3 {
  margin-top: 28px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.product-content strong,
.product-content b {
  color: var(--navy);
  font-weight: 600;
}

.product-content ul,
.product-content ol {
  padding-left: 1.3rem;
}

.product-content ul {
  list-style: disc;
}

.product-content ol {
  list-style: decimal;
}

.product-content li {
  margin-top: 8px;
  padding-left: 2px;
}

.product-content li::marker {
  color: var(--blue);
}

/* 旧站的功能清单是 "1.Very strong decoiler…" 这样一段一条，没有 ol；
   正文整理时给这类段落加了 .product-step，这里只做悬挂缩进，让换行对齐编号。 */
.product-content .product-step {
  padding-left: 1.9em;
  text-indent: -1.9em;
}

.product-content .product-step + .product-step {
  margin-top: 10px;
}

.product-content .product-step__num {
  display: inline-block;
  min-width: 1.5em;
  color: var(--blue);
  font-weight: 600;
}

.product-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-content a:hover,
.product-content a:focus-visible {
  color: var(--blue-dark);
}

/* Parameter tables: old markup carried border/cellpadding/width attributes,
   the normaliser strips them and wraps each table in a scroll container. */
.spec-table {
  margin-top: 24px;
  border: 1px solid var(--border);
  background: #fff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.6;
}

.spec-table__table th,
.spec-table__table td {
  padding: 11px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.spec-table__table tr > *:last-child {
  border-right: 0;
}

.spec-table__table tr:last-child > * {
  border-bottom: 0;
}

.spec-table__table tr:first-child > td {
  background: var(--light);
  color: var(--navy);
  font-weight: 600;
}

.spec-table__table p {
  margin: 0;
}

.spec-table__table p + p {
  margin-top: 6px;
}

/* Inline media */
.product-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: #fff;
}

.product-content .product-figure {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 2.6vw, 32px);
}

.product-content .wp-caption {
  width: auto !important;
  max-width: 100%;
  margin-top: clamp(22px, 2.6vw, 32px);
}

.product-content .wp-caption img {
  width: 100%;
}

.product-content .wp-caption-text,
.product-content .wp-caption figcaption {
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.product-content video,
.product-content iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  background: #000;
}

/* Related models */
.product-related {
  padding-top: clamp(48px, 5.4vw, 84px);
}

/* Product context line inside the shared inquiry form */
.inquiry-form__context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 20px;
  padding: 12px 16px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.inquiry-form__context strong {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .product-hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .product-intro__note {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .product-intro__title {
    font-size: clamp(1.5rem, 6.4vw, 1.95rem);
  }

  .product-content {
    font-size: 0.97rem;
  }

  /* 390px 下 5 张缩略图正好排成一行，不用掉一张到第二行 */
  .product-gallery__thumbs {
    grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
    gap: 8px;
  }

  .spec-table__table {
    min-width: 460px;
  }
}

@media (max-width: 400px) {
  .product-intro__actions .btn {
    flex: 1 1 100%;
  }

  .product-facts > div {
    flex-direction: column;
    gap: 2px;
  }

  .product-facts dd {
    text-align: left;
  }
}

/* 21. Contact page — channels, process steps, plant image
   ========================================================================== */

/* 页头与卡片之间收紧一档：两段默认 section padding 叠起来会空出一大块 */
.contact-channels-section {
  padding-block: clamp(28px, 3.4vw, 44px) clamp(40px, 5vw, 68px);
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.3vw, 32px);
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-channel:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.contact-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.1rem;
  border-radius: var(--radius);
}

.contact-channel__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text-muted);
}

/* 邮箱地址在窄屏可能顶到卡片边缘，允许在任意位置换行，不外溢 */
.contact-channel__value {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy);
  overflow-wrap: anywhere;
}

a.contact-channel__value:hover,
a.contact-channel__value:focus-visible {
  color: var(--blue);
}

/* 地址是整串给客户抄的，降一档字重与字号，读起来更像资料而不是标题 */
.contact-channel__value--text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
}

.contact-channel__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--blue);
}

.contact-channel__link i {
  font-size: 0.95em;
}

.contact-channel__link:hover {
  color: var(--blue-dark);
}

/* 说明行贴卡片底部，并加一条细分割线：三张卡内容长短不一，
   底部对齐后上面会空出一截，有线分隔才读得出是「脚注区」而不是漏排 */
.contact-channel__note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 并排时把脚注撑到两行，三张卡的分割线才落在同一水平线上
   （box-sizing 是 border-box，要把 14px 上内边距一起算进去） */
@media (min-width: 992px) {
  .contact-channel__note {
    min-height: calc(3.2em + 14px);
  }
}

/* 流程区：与上一块同为白底，用一条细分割线代替大段留白 */
.contact-next {
  padding-block: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--border);
}

.contact-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  /* 步骤比图片高，图片居中放：顶部对齐会在右下角留一大块空白 */
  align-items: center;
}

.contact-next__body .section-head__text {
  margin-top: 14px;
}

.contact-steps {
  margin-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--border);
}

.contact-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.contact-step__num {
  padding-top: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.contact-step__title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.contact-step__text {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.contact-next__link {
  margin-top: 26px;
}

.contact-next__media {
  margin: 0;
}

.contact-next__media img {
  width: 100%;
  height: auto;
}

.contact-next__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 14px 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-next__caption strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}

@media (max-width: 991.98px) {
  .contact-channels {
    grid-template-columns: 1fr;
  }

  .contact-next__grid {
    grid-template-columns: 1fr;
  }

  /* 单栏时图片仍排在步骤之后：顺序反过来会先看到一张带图注的照片，
     再看到「What happens next」标题，读起来是断的 */
  .contact-next__media {
    margin-top: 8px;
  }
}

@media (max-width: 575.98px) {
  .contact-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 6px;
    padding: 18px 0;
  }

  .contact-channel__value {
    font-size: 1rem;
  }
}

/* 22. About page — profile, product lines, workshop, markets, deliveries
   ========================================================================== */

/* 页头自带上下留白，简介这一段收一档，避免两段 padding 叠出一大块空白 */
.about-profile {
  padding-block: clamp(28px, 3.4vw, 44px) clamp(48px, 6vw, 76px);
}

.about-profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4.6vw, 66px);
  /* 图列跟着文案拉满高度：文案比 4:3 的图长，顶部对齐会在右下角空一大块 */
  align-items: stretch;
}

.about-profile__text {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 58ch;
}

/* 图注用一条左侧短线挂住图片，不加边框，读起来是注释而不是新段落 */
.about-profile__media {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.about-profile__media img {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 42%;
}

.about-profile__media figcaption {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--blue);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 三条事实：dt 在前 dd 在后（标签 → 数字），视觉上要数字在上，
   所以整块用 column-reverse 翻转，DOM 顺序对读屏仍然合理 */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(32px, 4vw, 50px) 0 0;
  border-top: 1px solid var(--border);
}

.about-fact {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: clamp(20px, 2.4vw, 28px) clamp(16px, 2vw, 26px) 0 0;
}

.about-fact + .about-fact {
  padding-left: clamp(16px, 2vw, 26px);
  border-left: 1px solid var(--border);
}

.about-fact__value {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}

.about-fact__label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 两条产品线 */
.about-lines__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.about-line {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.about-line:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.about-line__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-line__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.6vw, 34px);
}

.about-line__title {
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-line__text {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-muted);
}

/* 机组构成用分隔点连成一行，比项目符号更像图纸上的说明 */
.about-line__units {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-line__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 18px;
}

.about-line__count {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

/* 四步工序 */
.about-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-step {
  padding-top: 18px;
  border-top: 2px solid var(--navy);
}

.about-step__num {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.about-step__title {
  margin-top: 10px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.about-step__text {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 加工能力：左侧蓝线 + 浅底，和上下的白底区分开，但不像卡片那样断开 */
.about-capacity {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(30px, 3.6vw, 46px);
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  background: var(--light);
  border-left: 3px solid var(--blue);
}

.about-capacity__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 两项之间加竖线：只靠 32px 间距，浅底上两块会像各自独立的两段 */
.about-capacity__item + .about-capacity__item {
  padding-left: clamp(22px, 2.6vw, 34px);
  border-left: 1px solid var(--border);
}

.about-capacity__value {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.about-capacity__label {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 车间两图等宽等高，图注才会落在同一水平线上 */
.about-workshop__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(28px, 3.4vw, 44px);
}

.about-shot {
  margin: 0;
}

.about-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-shot figcaption {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 设计取舍 */
.about-notes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 4.6vw, 66px);
  align-items: start;
}

.about-note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-strong);
}

/* 左列比右列矮一截，链接压在下面把那一块接住，也顺带给分类页一个入口 */
.about-notes__link {
  margin-top: 26px;
}

.about-notes__contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.about-notes__contact a {
  font-weight: 600;
  color: var(--blue);
  overflow-wrap: anywhere;
}

.about-notes__contact a:hover {
  color: var(--blue-dark);
}

/* 左列比右侧列表短，滚动时让它跟着走，右列读到底不会只剩半边空白 */
.about-notes__head,
.about-deliveries__head {
  position: sticky;
  top: 104px;
  align-self: start;
}

.about-note {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.about-note__num {
  padding-top: 3px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.about-note__title {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.about-note__text {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 出口市场（深色） */
.about-markets__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding-bottom: clamp(26px, 3.2vw, 40px);
  border-bottom: 1px solid var(--border-invert);
}

.about-markets__title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 24ch;
  text-wrap: balance;
}

.about-markets__text {
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--text-invert-muted);
  max-width: 56ch;
}

.about-markets__stats {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
}

.about-market-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-market-stat__value {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.about-market-stat__label {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-invert-muted);
}

.about-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px) clamp(20px, 3vw, 42px);
  margin-top: clamp(28px, 3.4vw, 44px);
}

.about-market__region {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #82b6df;
}

/* 国家名连成一句逗号列表，比一串芯片安静得多 */
.about-market__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.about-market__list li {
  display: inline;
}

.about-market__list li:not(:last-child)::after {
  content: ", ";
  color: rgba(255, 255, 255, 0.5);
}

/* 近期交付 */
.about-deliveries__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 4.6vw, 66px);
  align-items: start;
}

.about-deliveries__link {
  margin-top: 24px;
}

.delivery-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-strong);
}

/* 用 flex 换行而不是固定网格：窄屏下机型名先折行，日期与目的地跟着走，
   不会把一列挤成两三行的高度 */
.delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.delivery__when {
  flex: 0 0 84px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  white-space: nowrap;
}

.delivery__line {
  flex: 1 1 260px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text);
}

/* 能连到文章的机型名：下划线用淡蓝，hover 才转实色，
   既看得出可点，又不会让整列变成一片链接蓝 */
.delivery__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(40, 120, 184, 0.4);
  text-underline-offset: 3px;
}

.delivery__link:hover,
.delivery__link:focus-visible {
  color: var(--blue-dark);
  text-decoration-color: var(--blue);
}

.delivery__where {
  flex: 0 1 auto;
  margin-left: auto;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .about-markets__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-markets__stats {
    margin-top: 4px;
  }
}

@media (max-width: 991.98px) {
  .about-profile__grid,
  .about-notes__grid,
  .about-deliveries__grid {
    grid-template-columns: 1fr;
  }

  /* 单栏时不再靠拉伸对齐，图片回到固定比例。4:3 在 768 下会占去 540px 高，
     换成 16:10 并限高，一屏里还看得见下面的内容 */
  .about-profile__media img {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-height: 460px;
    object-position: center;
  }

  /* 单栏时左列在上面，sticky 只会让它压住内容 */
  .about-notes__head,
  .about-deliveries__head {
    position: static;
  }

  .about-lines__grid {
    grid-template-columns: 1fr;
  }

  /* 四步工序在平板折成 2×2：一行塞四个会把每列压到 160px 以内 */
  .about-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px clamp(18px, 2.4vw, 28px);
  }

  .about-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  /* 两图并排到 576 以下才拆：768 时各 340px 仍能看清设备，
     拆成一列会连着出现两张 500px 高的图 */
  .about-workshop__media {
    grid-template-columns: 1fr;
  }
  .about-capacity {
    grid-template-columns: 1fr;
  }

  /* 单列时竖线变成横线，落在两项之间 */
  .about-capacity__item + .about-capacity__item {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .about-market-grid {
    grid-template-columns: 1fr;
  }

  /* 三列在手机上每列不足 100px，改成一行一条：数字在左，标签紧跟其后。
     不能做成两端对齐 —— 容器一宽，标签就被推到屏幕另一头 */
  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-fact {
    flex-direction: row-reverse;
    align-items: baseline;
    justify-content: flex-end;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
  }

  .about-fact + .about-fact {
    padding-left: 0;
    border-left: 0;
  }

  .about-fact__value {
    font-size: 1.5rem;
  }

  .about-fact__label {
    letter-spacing: 0.05em;
  }

  /* 四步在手机上折成单列：两列时每列只有 150px，说明文字被切成
     五六行短句，读起来比多滚一屏更累 */
  .about-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-step__title,
  .about-note__title {
    font-size: 1rem;
  }

  .about-note {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 8px;
    padding: 18px 0;
  }

  /* 手机上两个按钮各自等宽撑满，宽度参差会像没对齐 */
  .cta-panel__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  /* 日期独占一行，机型和目的地各占一行，手机上不加缩进才读得顺 */
  .delivery {
    gap: 4px 10px;
    padding: 14px 0;
  }

  .delivery__when {
    flex: 1 0 100%;
  }

  .delivery__line {
    flex: 1 1 100%;
  }

  .delivery__where {
    flex: 1 0 100%;
    margin-left: 0;
  }
}

/* 23. News list
   ========================================================================== */

/* 特写：第 1 页最新一篇，图左文右，和下面的卡片网格用一条细线分开 */
.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
  padding-bottom: clamp(28px, 3.4vw, 44px);
  margin-bottom: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--border);
}

.news-feature__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--steel);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.news-feature:hover .news-feature__media img {
  transform: scale(1.03);
}

.news-feature__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.news-feature__cat {
  color: var(--blue);
}

.news-feature__cat:hover {
  color: var(--blue-dark);
}

.news-feature__title {
  margin-top: 14px;
  font-size: clamp(1.28rem, 2vw, 1.82rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.news-feature__title a {
  color: inherit;
}

.news-feature__title a:hover {
  color: var(--blue);
}

.news-feature__text {
  margin: 14px 0 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 48ch;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px) clamp(16px, 2.1vw, 28px);
}

/* 卡片里的日期跟在分类后面，别跟着分类一起被抬成大写小字 */
.news-grid .article-card__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* 分页：paginate_links(type=list) 输出的 .page-numbers */
.news-pagination {
  margin-top: clamp(32px, 4vw, 54px);
}

.news-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-pagination .page-numbers li {
  display: block;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span.page-numbers,
.news-pagination .page-numbers span.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
}

.news-pagination .page-numbers a:hover,
.news-pagination .page-numbers a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.news-pagination .page-numbers span.current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.news-pagination .page-numbers span.dots {
  border-color: transparent;
  background: transparent;
  padding: 0 6px;
  color: var(--text-muted);
}

/* 24. Article page
   ========================================================================== */

/* 标题与封面并排：标题普遍偏长，右边配一张图能把整块压住，
   也不会像整屏大图那样把正文推到两屏之外 */
.post-hero {
  padding-block: clamp(26px, 3.2vw, 44px) clamp(32px, 3.8vw, 56px);
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.post-hero .breadcrumb {
  margin-bottom: clamp(20px, 2.6vw, 34px);
}

.post-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 56px);
  align-items: center;
}

/* 没有特色图的文章：单栏，标题自己限宽 */
.post-hero__grid--solo {
  grid-template-columns: minmax(0, 1fr);
}

.post-hero__grid--solo .post-hero__main {
  max-width: 900px;
}

.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-hero__cat {
  color: var(--blue);
}

.post-hero__cat:hover {
  color: var(--blue-dark);
}

.post-hero__title {
  margin-top: 16px;
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.022em;
  color: var(--navy);
}

.post-hero__media {
  margin: 0;
}

.post-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--steel);
}

/* 正文：单栏阅读宽度，行高放宽一档 */
.post-content {
  max-width: 700px;
  margin-inline: auto;
  font-size: 1.05rem;
  color: var(--text);
}

.post-content > *:first-child {
  margin-top: 0;
}

.post-content p {
  margin: 20px 0 0;
  font-size: 1.05rem;
  line-height: 1.78;
}

.post-content h2 {
  margin: 40px 0 0;
  font-size: clamp(1.24rem, 1.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.post-content h3 {
  margin: 32px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.post-content a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: var(--blue);
}

.post-content strong {
  font-weight: 650;
  color: var(--navy);
}

.post-content .post-list {
  margin: 20px 0 0;
  padding-left: 1.25em;
  list-style: disc;
}

.post-content .post-list--ordered {
  list-style: decimal;
}

.post-content .post-list li {
  margin-top: 10px;
  padding-left: 2px;
  line-height: 1.72;
}

.post-content .post-list--ordered li::marker {
  color: var(--blue);
  font-weight: 600;
}

/* 正文配图：宽度吃掉整个阅读栏，缩放交给浏览器，
   尺寸属性在模板里已经补好，不会跳版 */
.post-content .post-figure {
  margin: 32px 0 0;
}

.post-content .post-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--steel);
}

.post-content figcaption {
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.post-back {
  max-width: 700px;
  margin: clamp(30px, 3.6vw, 46px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

@media (max-width: 991.98px) {
  .news-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* 单列时 16:10 的比例会把特写图拉到 440px 高，一屏全是图。
     这里改用固定高度 + 裁切：max-height 配合 aspect-ratio 会把宽度也压窄，
     右边留出空白，所以直接给高度、宽度交给栅格撑满 */
  .news-feature__media {
    aspect-ratio: auto;
    height: clamp(200px, 42vw, 320px);
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  /* 文章标题普遍很长，面包屑末段在窄屏换行会留下一个孤零零的 "/"，
     而紧接着的 H1 已经把标题说清楚了，这里直接收掉末段 */
  .page-post .breadcrumb__sep--trail,
  .page-post .breadcrumb__trail {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-feature__text,
  .post-content p {
    font-size: 1rem;
  }

  .post-hero__media img {
    aspect-ratio: 16 / 10;
  }
}

/* 25. 404 — not found hero, close-match list, path cards
   ========================================================================== */

.nf-hero {
  padding-block: clamp(32px, 3.8vw, 54px) clamp(40px, 4.6vw, 68px);
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.nf-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(26px, 3.6vw, 54px);
}

.nf-hero__title {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}

.nf-hero__text {
  max-width: 60ch;
  margin-top: 16px;
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.nf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 2.6vw, 32px);
}

/* 深色数字块：细网格参照机械图纸，比塞一张无关的照片更克制 */
.nf-hero__code {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: clamp(190px, 22vw, 268px);
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.nf-hero__code::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.nf-hero__digits {
  position: relative;
  font-size: clamp(3.8rem, 8.6vw, 7.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.nf-hero__note {
  position: relative;
  padding-top: 14px;
  border-top: 1px solid var(--border-invert);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* 关键词命中的近似页面 */
.nf-guess {
  padding-bottom: clamp(24px, 3vw, 36px);
  margin-bottom: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--border);
}

.nf-guess__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 16px;
}

.nf-guess__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.nf-guess__path {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.nf-guess__path span {
  color: var(--navy);
  word-break: break-all;
}

.nf-guess__list {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.nf-guess__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.nf-guess__item:hover,
.nf-guess__item:focus-visible {
  border-color: var(--navy);
  background: var(--light);
  color: var(--navy);
}

.nf-guess__type {
  flex: none;
  padding: 3px 8px;
  border: 1px solid var(--border-strong);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nf-guess__name {
  flex: 1;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.nf-guess__item i {
  flex: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.22s var(--ease);
}

.nf-guess__item:hover i {
  color: var(--blue);
  transform: translateX(3px);
}

/* 常用入口四张卡 */
.nf-paths {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.nf-path {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

/* hover 时从左压入的顶边：和产品卡片的位移呼应，但形态不重复 */
.nf-path::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.nf-path:hover,
.nf-path:focus-within {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.nf-path:hover::before,
.nf-path:focus-within::before {
  transform: scaleX(1);
}

.nf-path__index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.nf-path__title {
  margin-top: 14px;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.nf-path__title a {
  color: var(--navy);
}

/* 整卡一个点击目标，仍然只有一个 tab stop */
.nf-path__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.nf-path:hover .nf-path__title a {
  color: var(--blue);
}

.nf-path__text {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--text-muted);
}

.nf-path__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.nf-path__count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.nf-path .link-arrow {
  font-size: 0.82rem;
}

@media (max-width: 1199.98px) {
  .nf-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .nf-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  /* 单列后数字块横过来，高度收一档，别把首屏占满 */
  .nf-hero__code {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    min-height: 0;
  }

  .nf-hero__note {
    padding-top: 0;
    padding-bottom: 6px;
    border-top: 0;
  }
}

@media (max-width: 575.98px) {
  .nf-paths {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 两个出口按钮换行后宽度参差像没对齐，各自撑满一行 */
  .nf-hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* 26. Solutions page — task cards, gauge bands, shear cards, custom inputs
   ========================================================================== */

.sol-tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

/* 沿用首页的 .solution-feature，但不用固定比例：
   这两张卡字比首页多，16:12 / 4:3 在 1024 和 390 上会把正文顶出卡片顶部
   （align-items: flex-end + overflow: hidden 会直接裁掉标题）。
   改成 min-height 托底，内容多就长高，图片绝对定位铺满，任何宽度都不裁字。 */
.sol-task {
  aspect-ratio: auto;
  min-height: clamp(300px, 30vw, 420px);
}

/* 这两张卡比首页那张字多，压深遮罩，避免正文压在亮处看不清 */
.sol-task .solution-feature__scrim {
  background: linear-gradient(
    to top,
    rgba(9, 20, 33, 0.96) 0%,
    rgba(9, 20, 33, 0.84) 38%,
    rgba(9, 20, 33, 0.42) 72%,
    rgba(9, 20, 33, 0.12) 100%
  );
}

.sol-task__meta {
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
}

/* 厚度分档：一行一档，左边档位、右边两条产品线 */
.sol-bands {
  border-top: 1px solid var(--border-strong);
}

.sol-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr) minmax(0, 1.55fr);
  gap: 16px clamp(16px, 2.4vw, 34px);
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--border);
}

.sol-band__range {
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.sol-band__note {
  margin-top: 5px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.sol-band__count {
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.sol-band__label {
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sol-band__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sol-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: 0.81rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.sol-chip:hover,
.sol-chip:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.sol-chip__tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

.sol-chip:hover .sol-chip__tag,
.sol-chip:focus-visible .sol-chip__tag {
  color: rgba(255, 255, 255, 0.68);
}

.sol-band__empty {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.sol-bands__foot {
  margin-top: 20px;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.sol-bands__foot a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sol-bands__foot a:hover {
  color: var(--blue);
}

/* 剪切方式 */
.sol-shears {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.sol-shear {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--border);
  background: #fff;
}

.sol-shear__index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.sol-shear__title {
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.sol-shear__text {
  margin-top: 10px;
  font-size: 0.89rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.sol-shear__models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.sol-shear__models-label {
  flex: 0 0 100%;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sol-shear__model {
  padding: 4px 9px;
  border: 1px solid var(--border-strong);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.sol-shear__model:hover,
.sol-shear__model:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* 定制线：左边说明与按钮，右边五项输入 */
.sol-custom__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.sol-custom__title {
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.024em;
  color: var(--navy);
  text-wrap: balance;
}

.sol-custom__text {
  max-width: 46ch;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.sol-custom__hint {
  max-width: 46ch;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.sol-custom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.sol-inputs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-strong);
}

.sol-input {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.sol-input__num {
  padding-top: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.sol-input__title {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
}

.sol-input__text {
  margin-top: 5px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

@media (max-width: 1199.98px) {
  .sol-shears {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 档位标题挪到整行，两列留给 Slitting / Cut to length */
  .sol-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sol-band__head {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
  }

  .sol-band__count {
    margin-top: 0;
  }
}

@media (max-width: 991.98px) {
  .sol-tasks {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 单列后不用比例，高度交给内容；矮屏上至少留一截图能看见 */
  .sol-task {
    min-height: 320px;
  }

  .sol-custom__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .sol-shears {
    grid-template-columns: minmax(0, 1fr);
  }

  .sol-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .sol-custom__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* 27. Manufacturing page — capacity split, build sequence, test run, build board
   ========================================================================== */

/* 加工能力：左图右四条，图不跟着列表拉高 */
.mf-cap-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

.mf-cap-media {
  position: relative;
  margin: 0;
  overflow: hidden;
}

/* 灰底只铺在图片上，不能给 figure：figcaption 和它的外边距都在 figure 内，
   一起上色的话说明文字底下会露出灰条 */
.mf-cap-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--steel);
}

.mf-cap-media figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.mf-cap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-strong);
}

.mf-cap {
  display: grid;
  grid-template-columns: minmax(0, 128px) minmax(0, 1fr);
  gap: 6px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

/* 数字列固定宽，四行的标题才能对齐在一条竖线上 */
.mf-cap__value {
  padding-top: 1px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.mf-cap__title {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.mf-cap__text {
  margin-top: 6px;
  font-size: 0.89rem;
  line-height: 1.68;
  color: var(--text-muted);
}

.mf-cap-note {
  max-width: 78ch;
  margin-top: clamp(24px, 3vw, 36px);
  padding-left: 18px;
  border-left: 2px solid var(--blue);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 工序链：4 × 2，靠上边框和序号连成一条顺序，不做连线 */
.mf-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-strong);
}

.mf-step {
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.8vw, 24px) clamp(22px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--border);
}

/* 第 2、3、4 列各留一条左边界，四列之间才有分隔 */
.mf-step:not(:nth-child(4n + 1)) {
  padding-left: clamp(16px, 1.8vw, 24px);
  border-left: 1px solid var(--border);
}

.mf-step__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.mf-step__title {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

.mf-step__text {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.68;
  color: var(--text-muted);
}

/* 试机：文字在左占主位，图在右 */
.mf-test__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}

.mf-test__title {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.mf-test__text {
  max-width: 56ch;
  margin-top: 16px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.mf-test__points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.mf-test__points li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.mf-test__points li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--blue);
}

.mf-test__media {
  margin: 0;
}

.mf-test__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--steel);
}

.mf-test__media figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 在制看板：四列信息 + 箭头，窄屏改 flex 换行 */
.mf-board {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-strong);
}

.mf-board-row {
  border-bottom: 1px solid var(--border);
}

.mf-board-row__link {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr) minmax(0, 1fr) 74px 18px;
  gap: 10px 18px;
  align-items: center;
  padding: 16px 0;
  color: inherit;
  transition: background-color 0.2s var(--ease), padding 0.2s var(--ease);
}

.mf-board-row__link:hover,
.mf-board-row__link:focus-visible {
  padding-left: 12px;
  padding-right: 12px;
  background: #fff;
}

.mf-board-row__spec {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.mf-board-row__country {
  font-size: 0.88rem;
  color: var(--text);
}

/* 状态用蓝底标签，扫一眼能分出「在制 / 待发 / 已发 / 投产」。
   给一个最小宽度并居中：四个标签长短不一，左对齐会形成一排参差的右边，
   在表格里看起来像没对齐。 */
.mf-board-row__state {
  justify-self: start;
  min-width: 118px;
  padding: 4px 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.mf-board-row__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.mf-board-row__arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.mf-board-row__link:hover .mf-board-row__arrow,
.mf-board-row__link:focus-visible .mf-board-row__arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* 发运：图在左，文字在右 */
.mf-ship__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}

.mf-ship__media {
  margin: 0;
}

.mf-ship__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--steel);
}

.mf-ship__media figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.mf-ship__title {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.mf-ship__text {
  max-width: 56ch;
  margin-top: 16px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.mf-ship__points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.mf-ship__points li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.mf-ship__points li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--blue);
}

@media (max-width: 1199.98px) {
  .mf-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 换成两列后，division 规则要跟着改，否则第二列没有左边界 */
  .mf-step:not(:nth-child(4n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .mf-step:nth-child(even) {
    padding-left: clamp(16px, 2vw, 24px);
    border-left: 1px solid var(--border);
  }
}

@media (max-width: 991.98px) {
  .mf-cap-grid,
  .mf-test__grid,
  .mf-ship__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 单列时图在后、文字在前读起来更顺：试机段把图挪到文字下方 */
  .mf-test__media,
  .mf-ship__media {
    order: 2;
  }

  .mf-test__copy,
  .mf-ship__copy {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  .mf-board-row__link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    padding: 15px 0;
  }

  /* 规格独占一行，其余挤在第二行；箭头推到最右。
     order 要连规格一起排：只给状态 -1 会把它顶到第一行去。 */
  .mf-board-row__spec {
    flex: 1 1 100%;
    order: -2;
  }

  /* 窄屏下国家名长短不一，标签跟在后面会一排参差。
     把状态挪到最前面并保持等宽，四个标签就落在同一条竖线上。 */
  .mf-board-row__state {
    order: -1;
  }

  .mf-board-row__date {
    text-align: left;
  }

  .mf-board-row__arrow {
    margin-left: auto;
  }

  .mf-board-row__link:hover,
  .mf-board-row__link:focus-visible {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
}

@media (max-width: 575.98px) {
  .mf-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 单列之后竖线全部去掉，只留上下分隔，否则每一格左边都挂一条线 */
  .mf-step:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .mf-cap {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   28. 默认页面模板（page.php）—— 隐私政策等政策页
   用 body.page-template-default 限定：page.php 是默认模板，只有政策类页面
   在用它；about / contact / products 等用自定义模板，不受影响。
   ========================================================================== */
body.page-template-default .site-main {
  padding-block: var(--section-y);
  padding-inline: var(--gutter);
}

body.page-template-default .site-main>article {
  max-width: 760px;
  margin-inline: auto;
}

body.page-template-default .entry-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 1.2rem;
}

body.page-template-default .entry-content {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text);
}

body.page-template-default .entry-content h2 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  color: var(--navy);
  margin: 2.2em 0 0.7em;
}

body.page-template-default .entry-content p {
  margin: 0 0 1em;
}

body.page-template-default .entry-content ul {
  list-style: disc;
  margin: 0 0 1.2em;
  padding-left: 1.35em;
}

body.page-template-default .entry-content li {
  margin-bottom: 0.45em;
}

body.page-template-default .entry-content li::marker {
  color: var(--blue);
}

body.page-template-default .entry-content strong {
  color: var(--navy);
}

body.page-template-default .entry-content a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   29. 统计 Cookie 选择条（inc/tracking.php 输出）
   默认 hidden，JS 判断没有选择时才显示 —— 首屏不渲染，不产生 CLS。
   ========================================================================== */
.consent-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--navy-deep);
  border-top: 1px solid var(--border-invert);
  box-shadow: 0 -18px 44px -32px rgba(0, 0, 0, 0.7);
}

.consent-bar[hidden] {
  display: none;
}

.consent-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  max-width: var(--container);
  margin-inline: auto;
}

.consent-bar__text {
  flex: 1 1 420px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.consent-bar__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-bar__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.consent-bar__btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .consent-bar__actions {
    width: 100%;
  }

  .consent-bar__btn {
    flex: 1 1 0;
  }
}

/* =========================================================================
   公司视频观看页（/company-video/，模板 page-company-video.php）
   播放器是唯一的 16:9 区域，宽高比用 aspect-ratio 锁住，不依赖 YouTube 回传尺寸，
   CLS 为 0；iframe 懒加载，视频不抢首屏带宽。
   ========================================================================= */
.video-figure {
  margin: 0;
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.video-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding-top: 18px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-muted);
}

.video-caption__title {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.video-caption__meta {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.video-caption__channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
}

.video-caption__channel:hover,
.video-caption__channel:focus-visible {
  border-bottom-color: currentColor;
}

.video-caption__channel:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* 三条事实沿用 About 页的 .about-facts，这里只控制外边距 */
.video-facts {
  margin-top: clamp(28px, 3.4vw, 44px);
}

.video-note {
  max-width: 68ch;
  margin-top: clamp(30px, 3.6vw, 46px);
}

.video-note p {
  margin: 0 0 1em;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}

.video-note p:last-child {
  margin-bottom: 0;
}

/* 视频之后往哪走 */
.video-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin: clamp(28px, 3.4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.video-link {
  display: flex;
}

.video-link__anchor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.video-link__anchor:hover,
.video-link__anchor:focus-visible {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.video-link__anchor:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.video-link__title {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.video-link__text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.video-link__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

@media (max-width: 991.98px) {
  .video-links {
    grid-template-columns: 1fr;
  }

  .video-caption__channel {
    margin-left: 0;
  }
}

/* 28. Floating WhatsApp button
   ========================================================================== */
/* 全站右下角常驻，由 footer.php 输出，号码来自 muban_whatsapp_url()。

   形态：默认圆形图标，不抢版面；指针设备 hover 或键盘 focus 时向右展开成
   带文字的药丸，把「点了会发生什么」说清楚。触屏（hover: none）下不展开——
   手机上没有 hover，展开后收不回去反而更难按。

   z-index 取 1150：压在页头（1030）之上，但不越过视频弹层（1600）和
   toast（1200），弹层打开时按钮不会浮在遮罩上面。 */
.wa-float {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  /* 三层叠加：常规边距 + 统计同意条占位 + iOS 安全区。
     --consent-h 由 footer.php 按同意条的实际高度写入：条子是 fixed 且高度随
     文案换行变化，写死一个数值在窄屏必然错位。JS 未执行时变量取默认 0，
     退化成普通位置，不会因为缺变量而跑到屏幕外。 */
  bottom: calc(clamp(14px, 2.2vw, 26px) + var(--consent-h, 0px) + env(safe-area-inset-bottom, 0px));
  z-index: 1150;
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px -8px rgba(11, 24, 38, 0.55);
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

/* .bi 的宽高是 1em，所以字号即图标尺寸 */
.wa-float__icon {
  display: inline-flex;
  flex: none;
  font-size: 26px;
  line-height: 1;
}

.wa-float__label {
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.28s var(--ease), margin-left 0.28s var(--ease), opacity 0.16s var(--ease);
}

/* 只在真有指针的设备上展开 */
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover,
  .wa-float:focus-visible {
    background: #1eb955;
    box-shadow: 0 14px 30px -8px rgba(11, 24, 38, 0.6);
    transform: translateY(-1px);
  }

  .wa-float:hover .wa-float__label,
  .wa-float:focus-visible .wa-float__label {
    max-width: 200px;
    margin-left: 10px;
    opacity: 1;
  }
}

/* 键盘焦点：绿色底上用白色描边 + 一圈浅绿光晕，比默认 outline 清楚，
   即使看不见鼠标也能定位到按钮。 */
.wa-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.45), 0 14px 30px -8px rgba(11, 24, 38, 0.6);
}

@media (max-width: 575.98px) {
  .wa-float {
    height: 52px;
    padding: 0 13px;
  }

  .wa-float__icon {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float__label {
    transition: none;
  }

  .wa-float:hover,
  .wa-float:focus-visible {
    transform: none;
  }
}

/* 打印时不输出——纸面上点不了，只会盖住文字 */
@media print {
  .wa-float {
    display: none !important;
  }
}
