:root {
  --bg: #f7f3eb;
  --bg-soft: #efe8dc;
  --surface: #fffdf8;
  --surface-muted: #f1eae0;
  --ink: #353126;
  --ink-soft: #655f56;
  --line: #ded3c3;
  --line-strong: #c9bba6;
  --accent: #a8623f;
  --accent-dark: #80452d;
  --sage: #69775a;
  --sage-dark: #4f5c45;
  --sand: #d8cbb8;
  --white: #ffffff;
  --header-h: 100px;
  --radius: 6px;
  --shadow-sm: 0 10px 24px rgba(54, 43, 31, 0.08);
  --shadow-md: 0 22px 50px rgba(54, 43, 31, 0.14);
  --font-sans: "DM Sans", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #F4F2EB;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  font-weight: 600;
}

h1 {
  font-size: clamp(3rem, 7vw, 4.35rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.55rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark {
  color: #a3120f;
}

.eyebrow.light {
  color: #e72419;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--accent);
}

.button-light {
  background: var(--surface);
  color: var(--ink);
}

.button-light:hover {
  background: var(--sand);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.text-link.light {
  color: #f7f6ef;
  margin-left:30px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.icon-button:hover {
  background: var(--surface-muted);
}

.header-zone {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}

.site-header {
  background: #a3120f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Header bar text on the dark background */
.site-header .nav-link,
.site-header .language-link,
.site-header .icon-button,
.site-header .nav-toggle {
  color: #fefbf2;
}

.site-header .icon-button:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fefbf2;
}

.site-header .nav-toggle {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(54, 43, 31, 0.08);
}

.nav-shell {
  width: min(calc(100% - 40px), 1240px);
  min-height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 78px;
  filter: brightness(0) invert(1);
}

.footer-logo {
  height: 78px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-mark.light {
  background: var(--sand);
  color: var(--ink);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-copy small {
  margin-top: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-nav-head {
  display: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 25px;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  background: #fefbf2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link svg {
  width: 15px;
  height: 15px;
}

.nav-group {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 260ms;
}

/* Invisible bridge over the 8px gap so the pointer can travel
   from the trigger to the menu without losing :hover */
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-submenu a:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

/* Hide the "Get a Quote" button in the main nav */
.nav-cta {
  display: none;
}

.language-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: #fefbf2;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.language-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fefbf2;
}

.language-link:focus {
  outline: 2px solid rgba(168, 98, 63, 0.35);
  outline-offset: 2px;
}.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--ink);
  cursor: pointer;
}

/* Drawer open: icon must stay visible on the white drawer */
.nav-toggle[aria-expanded="true"] {
  color: #a3120f;
  background: rgba(163, 18, 15, 0.1);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.lang-menu {
  position: absolute;
  top: calc(100% - 8px);
  right: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.lang-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.lang-option small {
  color: var(--ink-soft);
}

.lang-option:hover,
.lang-option.is-active {
  background: var(--surface-muted);
}

.nav-backdrop {
  display: none;
}

.hero {
  position: relative;
  min-height: min(920px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #4a4239;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(32, 28, 24, 0.1) 0%, rgba(32, 28, 24, 0.1) 48%, rgba(32, 28, 24, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 0px 0 250px;
  color: #fff;
}

.hero-content .eyebrow {
  color: #a3120f;
  white-space: pre-line;
}
.hero-texts {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto auto auto auto;   /* 标题 / 正文 / 按钮 / 优势 各一轨 */
}
.hero-text {
  grid-row: 1 / 4;
  grid-column: 1;
  display: grid;
  grid-template-rows: subgrid;               /* 复用父级这 4 条轨道 */
  opacity: 0; visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.hero-text.is-active { opacity: 1; visibility: visible; }
.hero-title { max-width: 920px; margin: 0 0 24px; font-size: clamp(3rem, 7vw, 3.35rem); line-height: 1.08; font-weight: 600;color: #fff; }
.hero-content h1 {
  max-width: 920px;
  margin-bottom: 24px; text-shadow:1px 2px 4px #666;color: #fff;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: #fff;text-shadow:1px 2px 4px #666;
}

.hero-actions {
  /*display: flex;*/
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin-top: 87px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 20px;
}

.hero-proof-item strong {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
}

.hero-proof-item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.hero-controls {
  position: absolute;
  right: 28px;
  bottom: 95px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 8px;
  background: var(--white);
}

.hero-arrows {
  display: flex;
  gap: 8px;
}

.round-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.round-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.round-button svg {
  width: 18px;
  height: 18px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--white);
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: translate(-50%, 0); opacity: 0.9; }
  70% { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}.category-strip {
  position: relative;
  z-index: 5;
  margin-top: -70px;
  padding: 0 0 44px;
}

.category-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border: 4px solid var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.category-card img {
  width: 100%;
  height: auto;
  /*min-height: 188px;*/
  object-fit: cover;
  transition: transform 500ms ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-shade {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(180deg, transparent 28%, rgba(32, 28, 24, 0.68) 100%);*/
}

.category-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.compact {
  /*max-width: 760px;*/
}

.section-heading.compact .eyebrow.light {
  color: #a3120f;
}

.section-heading.compact .eyebrow.light::before {
  background: #a3120f;
}

.video-section {
  background: #f9f7f0;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000000;
  box-shadow: var(--shadow-md);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-heading.centered {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow::before {
  display: none;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  margin-bottom: 15px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.split-layout.reverse > .split-copy {
  order: 1;
}

.split-copy h2 {
  margin-bottom: 22px;
}

.split-copy .lead {
  margin-bottom: 18px;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink);
}

.split-copy > p:not(.eyebrow):not(.lead) {
  margin-bottom: 28px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e72419;
}

.inline-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.inline-link:hover svg {
  transform: translateX(4px);
}

.dark-link {
  color: var(--ink);
}

.split-media {
  position: relative;
  min-height: 560px;
}

.media-main {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.media-main img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
}

.media-float {
  position: absolute;
  left: -42px;
  bottom: -30px;
  width: 48%;
  overflow: hidden;
  border: 5px solid var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.media-float.light {
  left: auto;
  right: -32px;
  bottom: -30px;
}

.media-float img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.media-note {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: column;
  padding: 15px 18px;
  border-radius: var(--radius);
  background: rgba(247, 243, 235, 0.86);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.media-note span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
}

.media-note strong {
  font-size: 2rem;
  line-height: 1;
}

.value-strip {
  padding: 100px 0;
  background: #F4F2EB;
  color: var(--white);
}

.value-strip h2,
.value-strip h3 {
  color: #353126;
}

.value-strip p {
  color: #353126;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #ded3c3;
}

.value-item {
  padding: 28px 28px 0 0;
}

.value-item + .value-item {
  padding-left: 28px;
  border-left: 1px solid #ded3c3;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #a3120f;
}

.value-icon svg {
  width: 21px;
  height: 21px;
}

.value-item h3 {
  margin-bottom: 12px;
}

#milestones {
  background: #f9f7f0;
}

.timeline {
  margin-top: 40px;
  border-left: 1px solid #a3120f;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: center;
  padding: 0 0 44px 28px;
}

.timeline-item:last-child {
  padding-bottom: 8px;
}

/* 圆点画在时间文字上：时间列 align-items:center 决定其垂直位置，
   故圆点恒与「时间」中线对齐（一行/两行内容都一样）。间距 28px，故 left 回退 33px 落在竖线上 */
.timeline-item::before {
  content: none;
}

.timeline-item span::before {
  content: "";
  position: absolute;
  left: -33px;
  top: calc(50% - 4.5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a3120f;
}

.timeline-item span {
  position: relative;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #a3120f;
  white-space: nowrap;   /* 时间不折行，始终与右侧文字纵向居中 */
}

.timeline-item p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.75;
}
.timeline-scroll {
  position: relative;
  border-left: 0;
  margin-left: -5px;   /* 与下一行 padding-left 抵消，竖线与圆点的视觉位置保持不变 */
  padding-left: 5px;   /* 为 .timeline-item::before 的圆点留出裁切余量 */
}

.timeline-track {
  display: flex;
  flex-direction: column;
}

.timeline-group {
  border-left: 1px solid #a3120f;
}

/* 末项保留与其它项相同的间距，否则循环到接缝处会挤出一段过窄的空白 */
.timeline-scroll .timeline-item:last-child {
  padding-bottom: 44px;
}

/* 仅在 JS 克隆出第二组后启用：固定高度 + 裁切 + 上下淡出。
   没有 data-marquee 时（禁用 JS / 系统「减少动态效果」）退化为普通静态列表 */
.timeline-scroll[data-marquee="on"] {
  height: var(--timeline-h, 270px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.timeline-scroll[data-marquee="on"] .timeline-track {
  animation: timeline-loop var(--timeline-duration, 9s) linear infinite;
}

/* 鼠标悬停或键盘聚焦时暂停，方便阅读 */
.timeline-scroll[data-marquee="on"]:hover .timeline-track,
.timeline-scroll[data-marquee="on"]:focus-within .timeline-track {
  animation-play-state: paused;
}

/* 轨道含两组等高内容，位移 50% 即恰好滚动一组的高度，循环点首尾一致 */
@keyframes timeline-loop {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-scroll[data-marquee="on"] .timeline-track {
    animation: none;
  }
}
.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: start;
}

/* 左列需要「不依赖内容」的确定宽度：否则单列布局下 .cert-grid 的
   width:100% 与 flex 子项的宽度会互相引用（循环依赖），列宽无限膨胀 */
.quality-copy {
  min-width: 0;
}

.quality-lead {
  margin: 0 0 16px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: #353126;
}

.quality-text {
  margin: 0 0 20px;
  line-height: 1.75;
  color: #353126;
}

.quality-points {
  margin: 0 0 0px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.quality-points li {
  position: relative;
  padding-left: 26px;
  color: #353126;
}

.quality-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a3120f;
}

/* 证书缩略图：横向循环滚动（第二组由 script.js 克隆，配合 translateX(-50%) 无缝衔接）。
   没有 data-cert-marquee="on" 时（禁用 JS / 系统「减少动态效果」）退化为可横向滑动的静态列表 */
.cert-grid {
  position: relative;
  display: flex;
  width: 100%;
  gap: 14px;
  padding-bottom: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cert-grid::-webkit-scrollbar {
  display: none;
}

/* 滚动时宽度撑满左列（width:100%），条目宽度由 JS 按可视张数均分 */
.cert-grid[data-cert-marquee="on"] {
  width: 100%;
  overflow: hidden;
}

.cert-item {
  flex: 0 0 auto;
  width: 122px;
  margin: 0;
  text-align: center;
}

.cert-grid[data-cert-marquee="on"] .cert-item {
  width: 122px;/*var(--cert-w, 152px);*/
}

/* 缩略图按钮：去掉浏览器默认按钮样式，只作为「查看大图」的触发器 */
.cert-thumb {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}

.cert-thumb:focus-visible {
  outline: 2px solid #a3120f;
  outline-offset: 3px;
}

.cert-item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid #ded3c3;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 8px 18px rgba(53, 49, 38, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.cert-thumb:hover img,
.cert-thumb:focus-visible img {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(53, 49, 38, 0.14);
}

/* 放大提示角标：常驻显示，提示「可点击放大」 */
.cert-thumb::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(163, 18, 15, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.8v5.4M7.8 10.5h5.4'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  pointer-events: none;
}

.cert-thumb:focus-visible::after {
  background-color: #8c0f0d;
}

.cert-item figcaption {
  margin-top: 8px;
  font-size: 1.02rem;
  font-weight: 600;
  color: #353126;
}

/* 滚动轨道：JS 给 .cert-grid 追加 role="presentation" 的分组容器并放入克隆的证书。
   位移用 JS 写入的 --cert-shift（= 恰好一组宽），而非 50%：
   两个 .cert-track 是 .cert-grid 的并列 flex 子项，百分比会相对「单个 track 自身」计算，
   只会走半组，导致滚动到末张时停顿再跳回，故必须用绝对像素位移。
   注意：不能再给 track 加 padding-right —— .cert-grid 的 gap 已经负责了组与组之间的
   间距，重复补偿会让跨组间距变成 2 倍 gap，接缝处就会出现一次「停顿」。 */
.cert-grid[data-cert-marquee="on"] .cert-track {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  animation: cert-loop var(--cert-duration, 26s) linear infinite;
  animation-delay: var(--cert-delay, 0s);
  will-change: transform;
}

/* 第一组（无 role="presentation" 时即原始节点）不参与动画，只作为轨道起点 */
.cert-grid[data-cert-marquee="on"] > .cert-item {
  flex: 0 0 auto;
}

.cert-grid[data-cert-marquee="on"]:hover .cert-track,
.cert-grid[data-cert-marquee="on"]:focus-within .cert-track {
  animation-play-state: paused;
}

/* 位移恰好一个组宽（--cert-shift 由 JS 按实测写入），首尾即严丝合缝。
   默认值给 50% 而不是 0px：万一 JS 仍是旧版（不写 --cert-shift），
   动画退化为「位移半组」的旧行为，至少还在滚动，不会整块静止。 */
@keyframes cert-loop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--cert-shift, 50%)), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cert-grid[data-cert-marquee="on"] .cert-track {
    animation: none;
  }
}

/* ---- 证书大图灯箱（点击缩略图打开）----
   结构由 script.js 追加到 <body>：
   .cert-lightbox > .cert-lightbox-panel > .cert-lightbox-figure > img + 关闭按钮 + caption */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(37, 33, 29, 0.72);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.cert-lightbox[data-open="on"] {
  opacity: 1;
  visibility: visible;
}

.cert-lightbox-panel {
  position: relative;
  max-width: min(560px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffdf8;
  border-radius: 14px;
  padding: 16px 16px 12px;
  box-shadow: 0 30px 70px rgba(20, 17, 14, 0.45);
  transform: translateY(10px) scale(0.98);
  transition: transform 220ms ease;
}

.cert-lightbox[data-open="on"] .cert-lightbox-panel {
  transform: translateY(0) scale(1);
}

/* 图片容器：关闭按钮以它为定位基准，故永远贴在「图片」的右上角 */
.cert-lightbox-figure {
  position: relative;
  display: block;
  line-height: 0;
  max-width: 100%;
}

.cert-lightbox-panel img {
  display: block;
  max-width: 100%;
  max-height: min(72vh, 720px);
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #f7f6ef;
  object-fit: contain;
}

.cert-lightbox-caption {
  margin: 10px 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #353126;
  text-align: center;
}

/* 关闭按钮：固定在放大图片的右上角 */
.cert-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(163, 18, 15, 0.92);
  color: #fffdf8;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 17, 14, 0.35);
  transition: background 180ms ease, transform 180ms ease;
}

.cert-lightbox-close svg {
  width: 17px;
  height: 17px;
}

.cert-lightbox-close:hover {
  background: #8c0f0d;
  transform: scale(1.06);
}

.cert-lightbox-close:focus-visible {
  outline: 2px solid #fffdf8;
  outline-offset: 2px;
}

body.cert-lightbox-open {
  overflow: hidden;
}

/* 手机端：面板铺满可用宽度，关闭按钮加大方便点按 */
@media (max-width: 720px) {
  .cert-lightbox {
    padding: 16px;
  }

  .cert-lightbox-panel {
    max-width: 100%;
    padding: 12px 12px 10px;
  }

  .cert-lightbox-panel img {
    max-height: 70vh;
  }

  .cert-lightbox-close {
    top: 6px;
    right: 6px;
    width: 40px;
    height: 40px;
  }
}

.quality-media {
  margin: 0;
}

.quality-media-note {
  margin-top: 12px;
  font-size: 1.02rem;
  color: #353126;
}

.quality-video video {
  aspect-ratio: 4 / 3;
}
.organization {
  background: #F4F2EB;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.org-item {
  padding: 26px 28px 8px 0;
}

.org-item + .org-item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.org-number {
  display: block;
  margin-bottom: 22px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e72419;
}

.org-item h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.org-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}

.products {
  background: #f9f7f0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.product-media {
  position: relative;
  /*aspect-ratio: 4 / 4.7;*/
  overflow: hidden;
  background: var(--surface-muted);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
}

.quick-action {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.product-card:hover .quick-action,
.quick-action:focus {
  opacity: 1;
  transform: translateY(0);
}

.quick-action:hover {
  background: var(--sand);
}

.quick-action svg {
  width: 18px;
  height: 18px;
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #a3120f;
}

.product-body h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
   text-align:center;
}

.product-body p {
  min-height: 46px;
  margin-bottom: 0;
  font-size: 0.86rem;
}

.promo-band {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.promo-band > img,
.promo-overlay {
  position: absolute;
  inset: 0;
}

.promo-band > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-overlay {
  background: linear-gradient(90deg, rgba(37, 33, 29, 0.2), rgba(37, 33, 29, 0.2));
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 0;
}

.promo-content h2 {
  max-width: 680px;
  margin-bottom: 18px;
  color: #f7f6ef;
}

.promo-content p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
}

.news {
  background: #f9f7f0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.news-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-muted);
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.news-card:hover .news-media img {
  transform: scale(1.04);
}

.news-body {
  padding: 20px;
}

.news-meta {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #a3120f;
}

.news-body h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.35;
  height:1.35rem;
  overflow:hidden;text-overflow: ellipsis;
}

.news-body h3 a {
  transition: color 180ms ease;
}

.news-body h3 a:hover {
  color: var(--accent);
}

.news-body p {
  min-height: 48px;
  margin-bottom: 20px;
  font-size: 0.86rem;
  height:48px; overflow:hidden;text-overflow: ellipsis;
}.container.narrow {
  max-width: 1240px;
}

.faq {
  background: #F4F2EB;
}

.faq-list {
  border-top: 1px solid #ded3c3;
}

.faq-item {
  border-bottom: 1px solid #ded3c3;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: #e72419;
  transition: transform 180ms ease;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
}

.faq-item p {
  /*max-width: 740px;*/
  margin: -4px 0 24px;
}

.contact {
  background: #F4F2EB;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 20px;
}

.contact-intro > p:not(.eyebrow) {
  margin-bottom: 34px;
  font-size: 1.02rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-qr img {
  width: 140px;
  height: 140px;
  display: block;
  border-radius: 8px;
}

.contact-qr span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.contact-details > a,
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
}

.contact-qr-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-details svg {
  width: 18px;
  height: 18px;
  color: #a3120f;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label > span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 98, 63, 0.13);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #b14c3f;
}

.form-submit {
  align-self: flex-start;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.site-footer {
  background: #a3120f;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr;
  gap: 50px;
  padding: 72px 0 56px;
}

.footer-brand-link {
  min-width: 0;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 360px;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-column h3 {
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--white);
}

.footer-column a {
  font-size: 0.86rem;
  color: var(--white);
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-links a:hover {
  border-color: var(--sand);
  background: var(--sand);
  color: var(--ink);
}

.social-links svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 0.76rem;
  color: var(--white);
}

.footer-bottom-inner a {
  color: var(--white);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  background: rgba(32, 28, 24, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  backdrop-filter: blur(8px);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  width: min(100%, 720px);
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-16px);
  transition: transform 180ms ease;
}

.search-overlay.is-open .search-panel {
  transform: translateY(0);
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 700;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form > svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--ink-soft);
}

.search-form input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  outline: none;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.search-suggestions button {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.search-suggestions button:hover {
  background: var(--sand);
  color: var(--ink);
}

.quick-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(32, 28, 24, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  backdrop-filter: blur(8px);
}

.quick-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.quick-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  width: min(100%, 920px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(18px) scale(0.98);
  transition: transform 180ms ease;
}

.quick-modal.is-open .quick-dialog {
  transform: translateY(0) scale(1);
}

.quick-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  background: rgba(255, 253, 248, 0.92);
}

.quick-media {
  min-height: 480px;
  overflow: hidden;
  background: var(--surface-muted);
}

.quick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-content {
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.quick-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.quick-content > p:not(.eyebrow) {
  margin-bottom: 22px;
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.quick-specs li {
  position: relative;
  padding-left: 13px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.quick-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.quick-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.quick-price {
  font-size: 1.28rem;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
}

.back-to-top svg {
  width: 19px;
  height: 19px;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------------
   Brand-red bands
   .site-header / .site-footer / .about-preview / .organization / .faq
   底色统一为品牌红 #e72419，区块内文字、图标与分割线同步转为浅色，
   以保证在红底上的可读性。
------------------------------------------------------------------ */
.about-preview {
  background: #F4F2EB;
}

/* 眉标题、标题、正文 */
.value-strip .eyebrow,
.value-strip .eyebrow.dark,
.about-preview .eyebrow,
.about-preview .eyebrow.dark,
.organization .eyebrow,
.organization .eyebrow.dark,
.faq .eyebrow,
.faq .eyebrow.dark {
  color: #a3120f;
}

.about-preview h2,
.organization h2,
.organization h3,
.faq h2,
.faq-item summary {
  color: #353126;
}

.about-preview .split-copy > p,
.about-preview .lead,
.organization .org-item p,
.faq-item p {
  color: #353126;
}

/* 链接与强调元素 */
.about-preview .inline-link,
.about-preview .inline-link:hover,
.faq-item summary svg {
  color: #a3120f;
}

.organization .org-number {
  color: #a3120f;
}

.organization .org-item + .org-item {
  border-left-color: #ded3c3;
}

.faq-list,
.faq-item {
  border-color: #ded3c3;
}

@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;
  }
}@media (max-width: 1180px) {
  .nav-actions {
    margin-left: 8px;
    padding-left: 8px;
  }

  .nav-cta {
    display: none;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 0;
  }

  .value-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .value-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 30px;
  }

  .org-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 0;
  }

  .org-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .org-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 220;
  }

  .nav-close {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    width: min(380px, 92vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  /* Drawer has a white background — restore dark text inside it */
  .main-nav {
    color: var(--ink);
  }

  .main-nav .nav-link,
  .main-nav .language-link,
  .main-nav .icon-button {
    color: var(--ink);
  }

  .main-nav .icon-button:hover {
    background: var(--surface-muted);
    color: var(--ink);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-weight: 700;
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .nav-link::after {
    display: none;
  }

  .nav-group {
    border-bottom: 1px solid var(--line);
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease, padding 220ms ease;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-group.is-open .nav-submenu {
    max-height: 260px;
    padding: 0 0 8px 14px;
    opacity: 1;
    visibility: visible;
  }

  .nav-submenu a {
    padding: 9px 0;
  }

  .nav-actions {
    margin: 18px 0 0;
    padding: 0;
    border-left: 0;
    justify-content: flex-start;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: block;
    background: rgba(32, 28, 24, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .lang-menu {
    top: 68px;
    right: 20px;
  }

  .hero {
    min-height: min(780px, calc(100vh - var(--header-h)));
  }

  .hero-content {
    padding: 90px 0 110px;
  }

  .category-track {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .category-card {
    scroll-snap-align: start;
  }

  .split-layout,
  .split-layout.reverse,
  .quality-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* 品质检测：窄屏下视频在文案与证书之下的独立一行 */
  .quality-video video {
    aspect-ratio: 16 / 9;
  }

  .contact-row {
    flex-direction: column;
    gap: 24px;
  }

  .split-layout.reverse > .split-copy {
    order: 0;
  }

  .split-media {
    min-height: 520px;
  }

  .product-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .quick-dialog {
    grid-template-columns: 1fr;
  }

  .quick-media {
    min-height: 300px;
    max-height: 360px;
  }
}
.hero-slide[data-device="mobile"] {
  display: none;
}
@media (max-width: 720px) {
  .hero-slide[data-device="desktop"] {
    display: none;
  }

  .hero-slide[data-device="mobile"] {
    display: block;
  }
}
@media (max-width: 720px) {
.diyos{ display:none;}
  .section {
    padding: 76px 0;
  }

  .container {
    width: min(calc(100% - 28px), 1240px);
  }

  .nav-shell {
    width: min(calc(100% - 28px), 1320px);
  }

  .hero {
    min-height: 740px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(32, 28, 24, 0.54) 0%, rgba(32, 28, 24, 0.42) 42%, rgba(32, 28, 24, 0.82) 100%);
  }

  .hero-content {
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
    padding: 100px 0 130px;
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 12vw, 3rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 75px;
  }

  .hero-proof-item {
    padding-right: 8px;
  }

  .hero-controls {
    right: 20px;
    bottom: 55px;
  }

  .scroll-cue {
    display: none;
  }

  .category-strip {
    margin-top: -54px;
  }

  /* Mobile: 2 cards per row, fully visible without horizontal scrolling */
  .category-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .category-card {
    min-height: 150px;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .split-media {
    min-height: 420px;
  }

  .media-float {
    left: -20px;
    width: 48%;
  }

  .media-float.light {
    right: -16px;
  }

  .media-float img {
    height: 210px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .value-item,
  .value-item + .value-item,
  .value-item:nth-child(3) {
    padding: 24px 0;
    border-left: 0;
  }

  .value-item + .value-item,
  .value-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .org-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* 品质检测：单列堆叠后压缩间距与字号，证书滚动条贴满可用宽度 */
  .quality-layout {
    gap: 32px;
  }

  .quality-lead {
    font-size: 1.1rem;
  }

  .quality-points {
    margin-bottom: 26px;
  }

  .cert-grid {
    gap: 10px;
    padding-bottom: 6px;
  }

  .cert-grid[data-cert-marquee="on"] .cert-track {
    gap: 10px;
  }

  .cert-item figcaption {
    font-size: 0.94rem;
  }

  .quality-media-note {
    font-size: 0.96rem;
  }

  .org-item,
  .org-item + .org-item,
  .org-item:nth-child(3) {
    padding: 24px 0;
    border-left: 0;
  }

  .org-item + .org-item,
  .org-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .product-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .product-body p,
  .news-body p {
    min-height: 0;
  }

  .promo-band {
    min-height: 520px;
  }

  .promo-overlay {
    background: linear-gradient(180deg, rgba(37, 33, 29, 0.58), rgba(37, 33, 29, 0.78));
  }

  .promo-content {
    padding: 72px 0;
  }

  .contact-layout {
    gap: 40px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 0 40px;
  }

  .footer-brand-link {
    margin-bottom: 16px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .search-overlay {
    padding-top: 8vh;
  }

  .search-form {
    flex-wrap: wrap;
  }

  .search-form > svg {
    display: none;
  }

  .search-form input {
    flex-basis: 100%;
  }

  .quick-dialog {
    max-height: calc(100vh - 20px);
  }

  .quick-content {
    padding: 28px;
  }

  .quick-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy small {
    font-size: 0.56rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    height: 38px;
  }

  .footer-logo {
    height: 40px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof-item span {
    font-size: 0.68rem;
  }

  .hero-arrows {
    gap: 6px;
  }

  .round-button {
    width: 40px;
    height: 40px;
  }

  .hero-controls {
    gap: 10px;
  }
}
/* ---- Hero slideshow: stacked <img> slides ---- */
.hero-media img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-media img.is-active {
  opacity: 1;
}

/* ---- Static product cards: filter / badge visibility ---- */
.product-card.is-hidden {
  display: none;
}

.product-badge.is-hidden {
  display: none;
}

/* ===== Subpage shared styles（about / products / product / news / news-article / faq / contact） ===== */
.page-hero {
  padding: 84px 0 74px;
  background:
    linear-gradient(120deg, rgba(38, 34, 30, 0.94) 0%, rgba(58, 51, 44, 0.9) 55%, rgba(74, 66, 57, 0.86) 100%),
    url("../images/12.jpg") center / cover no-repeat;
  color: #fefbf2;
}

.page-hero .eyebrow {
  color: #f7f6ef;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
}

.page-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.page-hero .breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-hero .breadcrumbs .current {
  color: #f7f6ef;
  font-weight: 700;
}

/* Product detail：标题行「分类 - 型号」与操作按钮同一行左右分布 */
.detail-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
}

.detail-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  min-width: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.3;
  font-weight: 800;
  color: #353126;
}

.detail-heading .detail-cat {
  font-weight: 700;
  color: #a3120f;
}

.detail-heading .detail-dash {
  font-weight: 400;
  color: #c9c0b2;
}

.detail-heading .detail-model {
  font-weight: 800;
  color: #353126;
}

.detail-gallery .detail-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.detail-gallery .detail-main img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.detail-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  border: 2px solid transparent;
  display: block;
}

.detail-thumbs img.is-active {
  border-color: #a3120f;
}

.detail-info .detail-price {
  display: inline-block;
  margin: 4px 0 18px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #a3120f;
}

.detail-info h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.detail-summary {
  margin: 0 0 22px;
  line-height: 1.75;
}

.specs-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.specs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.specs-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a3120f;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Card title link（列表页跳详情） */
.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  color: #a3120f;
}

/* Article（新闻详情） */
.article-wrap {
 /* max-width: 860px;*/
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.9rem;
  color: #6f6659;
}

.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 26px 0;
  box-shadow: var(--shadow-sm);
}

.article-hero img {
  width: 100%;
  display: block;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.85;
}
.article-body img{ width:100%;}

.article-body h2 {
  margin: 34px 0 14px;
  font-size: 1.4rem;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.back-link-row {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .page-hero {
    padding: 56px 0 48px;
  }

  .detail-layout {
    gap: 16px 24px;
  }
}

/* 手机端：标题与按钮改为上下两段，按钮保持同行 */
@media (max-width: 720px) {
  .detail-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .detail-heading {
    font-size: 1.25rem;
    gap: 6px;
  }

  .detail-actions {
    gap: 12px;
  }
}

/* 相邻区块间距去重：禁用区块自身的顶部 104px 内边距，避免与上一区块的底部内边距叠加 */
.section-flush-top {
  padding-top: 0;
}
.page-section {
  /*padding-top: calc(var(--header-h) + 72px);*/
}

.page-section.is-alt {
  background: #f9f7f0;
}

.page-content {
  /*max-width: 880px;*/
}

.page-content p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--ink);
}

.page-content p + p {
  margin-top: 20px;
}

/*aq add*/
.diyos{position:fixed;width:54px;right:0;top:50%;z-index:100;}
.diyos ul{list-style:none;margin:0;padding:0;}
.diyos ul li{width:54px;height:54px;background:#a3120f;float:left;position:relative;margin:1px 0 0 0;}
.diyos ul li:hover{background:#353126;}
.diyos ul li .sidebox{position:absolute;width:54px;height:54px;top:0;right:0;color:#fff;font:14px/54px "Microsoft Yahei";overflow:hidden;letter-spacing:0px;}
.diyos ul li .sidetop{width:54px;height:54px;line-height:54px;display:inline-block;}
.diyos ul li.sideewm{width:54px;height:54px;line-height:54px;display:inline-block;}
.diyos ul li .sideewmshow{width:150px;position:absolute;top:0;left:-151px;z-index:120;display:none;max-width:150px;}
.diyos ul li.sideewm:hover .sideewmshow{display:block;}
.diyos ul li img{float:left;}
.no{ padding:20px; text-align:center; width:100%;}
.page{padding:20px; text-align:center; width:100%;}
.lh40{ line-height:40px;}