/* 美味金文 — 商务展示 · 红色主题（ui-ux-pro-max：企业信任感 + 清晰层次） */

:root {
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-primary: #b91c1c;
  --color-primary-dark: #991b1b;
  --color-primary-soft: rgba(185, 28, 28, 0.1);
  --color-accent: #1e3a5f;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  /* 页眉等主结构外区域：Times + 中文宋体 */
  --font: "Times New Roman", Times, "Songti SC", "SimSun", "STSong", serif;
  /* 主内容 #main：Roboto + 中文无衬线 */
  --font-content: "Roboto", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "STHeiti", sans-serif;
  --font-content-heading: "Roboto", "SimHei", "Heiti SC", "STHeiti", "Heiti TC", "Microsoft YaHei", "PingFang SC", sans-serif;
  /* 各屏主标题（关于金文、金文风味等）：思源黑体 → Noto Sans SC */
  --font-section-title: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --space: clamp(1rem, 3vw, 1.75rem);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  /* 消除移动端点击 300ms 延迟，提升触摸响应 */
  touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

#main {
  font-family: var(--font-content);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

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

.container-narrow {
  width: min(720px, 100% - var(--space) * 2);
}

/* 左右分栏：左图右文 / 左文右图（.split--media-left 先图后文；.split--media-right 先文后图） */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.split--align-start,
.about-main-split {
  align-items: start;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: var(--shadow-md);
  min-height: min(52vh, 440px);
}

.split-media-img {
  width: 100%;
  height: 100%;
  min-height: min(52vh, 440px);
  object-fit: cover;
  display: block;
}

.split-content {
  min-width: 0;
}

.section-head--split {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 220px;
  }

  .split-media-img {
    min-height: 220px;
    max-height: 360px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out), background 0.3s var(--ease-out);
  will-change: box-shadow;
  transform: translateZ(0);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem var(--space);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  display: block;
  max-height: 40px;
  width: auto;
  height: auto;
  max-width: min(200px, calc(100vw - 10rem));
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  font-family: inherit;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-list a:hover {
  text-decoration: none;
  color: var(--color-primary);
}

.nav-list a.is-active {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    will-change: auto;
    transform: none;
  }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 1.5rem 2rem 1.5rem;
    transform: translateY(-24px) translateZ(0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 315px;
    will-change: transform, opacity;
	    transition: opacity 0.28s var(--ease-out), visibility 0.28s, transform 0.28s var(--ease-out);
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) translateZ(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-list a {
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    display: block;
    color: #333;
    transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
  }
  .nav-list a:hover,
  .nav-list a.is-active {
    background: rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
    padding-left: 1.25rem;
  }
  .nav-list a::after {
    display: none;
  }
}

/* Hero — 整屏：大图 + 磨砂玻璃叠层（backdrop blur + 半透明白） */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #e8ecf0;
  background-image: url("https://web-1423031985.cos.ap-shanghai.myqcloud.com/images/hero-grid-05.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.64) 0%,
    rgba(255, 255, 255, 0.48) 38%,
    rgba(255, 255, 255, 0.38) 68%,
    rgba(255, 255, 255, 0.3) 100%
  );
  backdrop-filter: blur(7px) saturate(1.08);
  -webkit-backdrop-filter: blur(7px) saturate(1.08);
  pointer-events: none;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-split--fullbg {
  grid-template-columns: 1fr;
  justify-items: start;
  width: 100%;
  max-width: min(42rem, 100%);
}

.hero-split-copy-new {
  text-align: left;
  max-width: 43rem;
  padding-right: 3rem;
  padding-inline: 0;
}

.hero-kicker {
  font-family: var(--font-content-heading);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1rem;
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  color: #000;
  font-size: 1.0625rem;
  max-width: 36em;
  font-family: var(--font-content);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .hero-bg {
    background-position: center;
  }

  .hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.66) 0%,
      rgba(255, 255, 255, 0.48) 48%,
      rgba(255, 255, 255, 0.36) 100%
    );
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-split--fullbg {
    justify-items: center;
    margin-inline: auto;
  }

  .hero-split-copy-new {
    max-width: none;
    text-align: center;
    padding-right: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

/* 仅位移，不降低透明度：切标签/往返缓存时动画若未重播，不会滞留在 opacity:0 导致全屏空白 */
.animate-in {
  opacity: 1;
  transform: translateY(14px) translateZ(0);
  animation: hero-in 0.72s var(--ease-out) forwards;
  will-change: transform;
  backface-visibility: hidden;
}

.animate-in-delay-1 {
  animation-delay: 0.1s;
}

.animate-in-delay-2 {
  animation-delay: 0.2s;
}

.animate-in-delay-3 {
  animation-delay: 0.3s;
}

@keyframes hero-in {
  to {
    transform: translateY(0) translateZ(0);
  }
}

/* Sections — 每个栏目至少一整屏，content-visibility 跳过屏外渲染 */
.section {
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(2rem, 5vh, 3.5rem) 0;
  box-sizing: border-box;
  content-visibility: auto;
  contain-intrinsic-size: auto 100vh;
}

/* 手机/WebView：关闭 content-visibility 与 Hero 位移动画，减少滚动白块与合成层压力 */
@media (max-width: 900px) {
  .section {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
  .animate-in,
  .animate-in-delay-1,
  .animate-in-delay-2,
  .animate-in-delay-3 {
    animation: none;
    transform: none;
    will-change: auto;
  }
}

.section-tint {
  background: var(--color-bg);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-family: var(--font-section-title);
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.section-desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* About */
.about-lead-group {
  max-width: 36em;
}

.about-lead-group .about-lead + .about-lead {
  margin-top: 0.35rem;
}

.about-slogan {
  font-family: var(--font-content-heading);
  margin: 0.25rem 0 0.65rem;
  font-size: clamp(1.1rem, 2.65vw, 1.42rem);
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero {
    padding: calc(var(--header-h) + 1rem) 0 1.5rem;
    min-height: 100dvh;
  }

  .hero-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    white-space: normal;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.6rem;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-split-copy-new {
    padding-right: 0;
  }

  .about-slogan {
    font-size: clamp(0.7rem, 2.8vw, 1.42rem);
  }
}

.about-lead {
  line-height: 1.7;
  margin: 0;
}

.about-body {
  text-align: left;
}

.about-intro p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  font-family: var(--font-content);
}

.about-intro p:last-of-type {
  margin-bottom: 0;
}

.about-block-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

/* 三卡通栏：与 #flavor 分栏下 .flavor-card-grid 相同，占满容器宽度（含大图列下方） */
.about-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
  width: 100%;
}

.about-pillars--below-split {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.about-pillar {
  margin: 0;
  padding: 0.85rem 1rem;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.about-pillar-img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  background: #e8ecf0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.about-pillar-text {
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}

.about-pillar-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  line-height: 1.25;
}

.about-pillar-value {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
  hyphens: auto;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .about-pillar {
    padding: 1rem 1.15rem;
    gap: 1rem;
  }

  .about-pillar-img {
    width: 96px;
    height: 96px;
  }

  .about-pillar-label {
    font-size: 0.76rem;
  }

  .about-pillar-value {
    font-size: 0.95rem;
  }
}

@media (max-width: 520px) {
  .about-pillars {
    gap: 0.5rem;
  }

  .about-pillar {
    padding: 0.55rem 0.6rem;
    gap: 0.5rem;
  }

  .about-pillar-img {
    width: 56px;
    height: 56px;
  }

  .about-pillar-label {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .about-pillar-value {
    font-size: 0.72rem;
    line-height: 1.35;
  }
}

@media (max-width: 768px) {
  .about-pillars {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .about-pillar {
    padding: 0.8rem 0.9rem;
    gap: 0.75rem;
  }

  .about-pillar-img {
    width: 72px;
    height: 72px;
  }

  .about-pillar-label {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .about-pillar-value {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}

.about-assets-wrap {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--color-border);
}

.about-assets-heading {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  max-width: none;
}

.about-media-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.45rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.about-media-strip:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.about-media-card {
  flex: 0 0 auto;
  width: min(228px, 78vw);
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s;
}

.about-media-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.about-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.about-media-link:hover {
  text-decoration: none;
}

.about-media-image {
  width: 100%;
  height: 172px;
  object-fit: cover;
  background: #e2e8f0;
  display: block;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out);
  cursor: default;
  contain: layout style;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.card-text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-family: var(--font-content);
}

/* 金文风味：三卡左侧配图（本地 Unsplash 裁切图） */
#flavor .flavor-card-grid .flavor-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem 1.2rem;
  text-align: left;
}

#flavor .flavor-card-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #e8ecf0;
}

#flavor .flavor-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#flavor .flavor-card-body .card-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-content-heading);
}

@media (max-width: 768px) {
  #flavor .flavor-card-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  #flavor .flavor-card-grid .flavor-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0.9rem 0.95rem;
    min-height: 0;
    gap: 0.7rem;
  }

  #flavor .flavor-card-thumb {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
  }

  #flavor .flavor-card-body .card-title {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  #flavor .flavor-card-body .card-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

.flavor-intro-split {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

/* 金文风味栏目标语：略小一号、单行（可横滑）+ 无衬线优化 */
.flavor-intro-desc {
  font-size: clamp(0.9rem, 1.5vw, 0.98rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-text);
  font-family: var(--font-content);
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.flavor-expo {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--color-border);
}

.flavor-expo-title {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: left;
}

.flavor-expo-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.flavor-expo-strip:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.flavor-expo-grid .about-media-link {
  flex: 0 0 auto;
  width: min(200px, 72vw);
  scroll-snap-align: start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.flavor-expo-grid .about-media-link:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.flavor-expo-grid .about-media-image {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .about-media-grid,
  .flavor-expo-grid {
    scroll-snap-type: none;
  }
}

/* News */
#news > .container {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--color-border);
}

/* 行业新闻 / 关于金文：右侧大图完整显示 + 点击预览 */
#news .news-split .news-split-media,
#about .about-main-split .about-split-media {
  min-height: 0;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8ecf0;
}

#news .news-split .news-split-preview-link,
#about .about-main-split .about-split-preview-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 420px;
  cursor: zoom-in;
}

#news .news-split .news-split-media-img,
#about .about-main-split .about-split-media-img {
  min-height: 0;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  #news .news-split .news-split-media,
  #news .news-split .news-split-preview-link,
  #about .about-main-split .about-split-media,
  #about .about-main-split .about-split-preview-link {
    max-height: 340px;
  }

  #news .news-split .news-split-media-img,
  #about .about-main-split .about-split-media-img {
    max-height: 340px;
  }
}

.news-split .news-list {
  margin-top: 0;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: start;
  padding: 1.15rem 1.35rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}

.news-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.news-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.news-headline {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  line-height: 1.4;
}

.news-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.news-title-link {
  color: inherit;
  text-decoration: none;
}

.news-title-link:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

.news-content {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.65;
}

.news-content p {
  margin: 0 0 0.5rem;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.news-arrow {
  color: var(--color-primary);
  align-self: center;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .news-item {
    grid-template-columns: 1fr;
  }
  .news-arrow {
    display: none;
  }
}

/* Products */
#products > .container {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--color-border);
}

.products-split .product-showcase {
  margin-top: 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.product-panel {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease-out);
  contain: layout style;
}

.product-panel:hover {
  box-shadow: var(--shadow-md);
}

.product-name {
  font-family: var(--font-content-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.product-excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.product-blurb {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
}

.product-title-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.product-content {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.65;
  margin-top: 0.35rem;
}

.product-content p {
  margin: 0 0 0.5rem;
}

.product-content p:last-child {
  margin-bottom: 0;
}

/* Cases — 客户案例（合并 Logo 墙，资源见 images/logos/） */
#cases.section-cases > .container {
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
  border-bottom: 1px solid var(--color-border);
}

.section-cases {
  position: relative;
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
}

.container--cases {
  width: min(1180px, 100% - var(--space) * 2);
}

.section-head--cases {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-head--cases .section-desc {
  max-width: 38em;
  margin-inline: auto;
}

.cases-logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  grid-auto-flow: row;
  gap: 0.9rem;
}

.cases-logo-card {
  min-height: 88px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.22s var(--ease-out), border-color 0.22s var(--ease-out),
    background-color 0.22s var(--ease-out);
  cursor: default;
}

.cases-logo-card:hover {
  box-shadow: 0 6px 26px rgba(15, 23, 42, 0.08);
  border-color: rgba(185, 28, 28, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%);
}

.cases-logo-img {
  width: 100%;
  max-width: 168px;
  height: 72px;
  object-fit: contain;
  display: block;
}

@media (max-width: 680px) {
  .cases-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
    gap: 0.72rem;
  }
}

@media (max-width: 520px) {
  .cases-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .cases-logo-card {
    min-height: 76px;
    padding: 0.65rem 0.45rem;
  }

  .cases-logo-img {
    max-width: 100px;
    height: 48px;
  }
}

/* Contact */
.section-contact {
  background: var(--color-surface);
}

/* 联系我们：自然流式布局，整页滚动 */
#contact.section.section-contact-screen {
  padding-top: clamp(2rem, 5vh, 4rem);
  padding-bottom: clamp(1.5rem, 3vh, 2.5rem);
  min-height: auto;
  background: var(--color-surface);
  box-sizing: border-box;
}

.contact-screen-inner {
  display: block;
}

.section-contact-screen .contact-screen-inner > .container {
  padding-top: 0;
  padding-bottom: 0;
}

.site-footer.site-footer--integrated {
  flex-shrink: 0;
  margin-top: 0;
  min-height: 4.25rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.1rem var(--space) calc(1.1rem + env(safe-area-inset-bottom, 0px));
}


.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.contact-layout--split {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.contact-split-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.contact-split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: var(--shadow-md);
  max-height: 360px;
}

.contact-split-media-img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.contact-qr-panel {
  margin-top: 0.15rem;
  padding: 0.9rem 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #ffffff 0%, var(--color-bg) 55%, #eef2f6 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.contact-qr-panel::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  opacity: 0.92;
}

.contact-qr-heading {
  margin: 0 0 0.7rem;
  padding-top: 0.15rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  text-align: center;
  font-family: var(--font-content-heading);
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem 0.55rem;
  align-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-qr-item {
  margin: 0;
  padding: 0.45rem 0.35rem 0.55rem;
  text-align: center;
  min-width: 0;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-out), border-color 0.22s;
}

.contact-qr-item:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.contact-qr-img {
  width: 100%;
  max-width: 112px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.contact-qr-label {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-content-heading);
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .contact-qr-item {
    transition: none;
  }

  .contact-qr-item:hover {
    transform: none;
  }
}

.contact-aside-text {
  margin-top: 0.85rem;
  text-align: left;
  max-width: 22rem;
}

.contact-aside-text .section-desc {
  margin: 0;
}

.contact-aside-text .section-desc:first-of-type {
  margin-bottom: 0.65rem;
}

.contact-direct--aside {
  margin-top: 0 !important;
  line-height: 1.65;
}

.contact-split-main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  min-width: 0;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-split-aside {
    max-width: 100%;
    margin-inline: auto;
  }

  .contact-layout--split .contact-split-media {
    max-height: 300px;
  }

  .contact-split-media-img {
    min-height: 170px;
    max-height: 300px;
  }
}

@media (max-width: 520px) {
  .contact-qr-panel {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .contact-qr-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .contact-qr-item {
    flex: 0 0 auto;
    min-width: 5.5rem;
  }
}

.contact-form-hint {
  margin: 0.5rem 0 1.25rem;
  max-width: 36rem;
}

.contact-intro .section-title {
  margin-bottom: 0.5rem;
}

.contact-direct {
  margin-top: 1rem !important;
}

.contact-form {
  background: var(--color-bg);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-form-status {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  min-height: 1.4em;
  line-height: 1.45;
}

.contact-form-status.is-ok {
  color: #0d532a;
}

.contact-form-status.is-error {
  color: #8a1c1c;
}

.contact-form-status.is-loading {
  color: var(--color-text-muted, #5c5c5c);
}

.contact-form .btn:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.contact-form textarea#message {
  min-height: 10rem;
  resize: vertical;
}

/* Reveal：默认可见（无 JS/降级兜底），JS 启用后由 IntersectionObserver 触发入屏动画 */
.reveal {
  opacity: 1;
  transform: none;
}
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px) translateZ(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: transform, opacity;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* Image preview */
.image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.image-preview-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
}

.image-preview-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(92vw, 1000px);
  max-height: 88vh;
  display: grid;
  gap: 0.5rem;
}

.image-preview-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.image-preview-figure figcaption {
  text-align: center;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.image-preview-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.image-preview-close:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* Footer */
.site-footer {
  border-top: 2px solid var(--color-primary);
  padding: 1.5rem var(--space) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.footer-meta {
  flex: 1 1 auto;
  text-align: center;
  min-width: min(100%, 16rem);
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.footer-beian {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-top {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-primary);
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.footer-top:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* ---------- 行业新闻 / 资讯详情（独立页，与首页头尾结构一致）---------- */
html.page-article,
body.page-article {
  scroll-snap-type: none;
}

body.page-article {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  font-family: var(--font-content);
  color: var(--color-text);
}

.main-article {
  flex: 1 1 auto;
  padding: calc(var(--header-h) + 1.25rem) 0 3rem;
}

.article-detail {
  max-width: 48rem;
}

.article-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.article-title {
  font-family: var(--font-content-heading);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.article-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.article-prose,
.article-body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text);
}

.article-prose p,
.article-body p {
  margin: 0 0 1em;
}

.article-prose h2,
.article-prose h3,
.article-prose h4,
.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--font-content-heading);
  margin: 1.5em 0 0.6em;
  line-height: 1.35;
  color: var(--color-text);
}

.article-prose ul,
.article-prose ol,
.article-body ul,
.article-body ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}

.article-prose img,
.article-body img,
.article-prose video,
.article-body video {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  margin: 1rem auto;
  box-shadow: var(--shadow-sm);
}

.site-footer--page {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

a.news-readmore {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

a.news-readmore:hover {
  text-decoration: underline;
}

a.news-arrow {
  text-decoration: none;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  align-self: center;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

a.news-arrow:hover {
  background: var(--color-primary-soft);
}
