:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --line: #e7e5e4;
  --paper: #faf7f2;
  --paper-deep: #f0ebe3;
  --white: #ffffff;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #ffedd5;
  --teal: #0f766e;
  --shadow: 0 12px 40px rgba(28, 25, 23, 0.08);
  --radius: 14px;
  --font: "Noto Sans SC", system-ui, sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --header-h: 72px;
}

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

/* 细一点、干净一点的滚动条（弹窗与页面） */
* { scrollbar-width: thin; scrollbar-color: #d6d3d1 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #d6d3d1; border-radius: 999px;
  border: 3px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: #a8a29e; background-clip: content-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 16px;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 20px; min-height: var(--header-h);
  /* 越南语/泰语/印尼语这些比中文长得多，允许页头在放不下时换到第二行，
     而不是把导航项压到内部换行、把页头撑变形 */
  flex-wrap: wrap; padding: 10px 0;
}
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--ink); color: #fdba74;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.logo-text strong { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.logo-text small { font-size: 0.72rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: 999px; font-size: 0.92rem;
  color: var(--ink-soft); font-weight: 500; transition: background .15s, color .15s;
  white-space: nowrap;   /* 关键：别让导航项在内部折行 */
}
.nav a:hover { background: var(--paper-deep); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
/* 注意：这里必须用 .header-actions .header-cta 提高优先级。
   下面的 .btn { display: inline-flex } 和 .header-cta 同为单类选择器，
   后者写在后面会覆盖 display:none，导致手机上「免费询价」一直显示、页头被挤成两行。 */
.header-actions .header-cta { display: none; white-space: nowrap; }
@media (min-width: 900px) { .header-actions .header-cta { display: inline-flex; } }

.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--white);
  border-radius: 999px; padding: 7px 12px; cursor: pointer;
  font-size: 0.85rem; font-weight: 500; white-space: nowrap;
}
.lang-btn:hover { border-color: #d6d3d1; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); min-width: 160px;
  /* 语言变多之后要能滚动，否则矮屏上会超出窗口 */
  max-height: min(72vh, 460px); overflow-y: auto; overscroll-behavior: contain;
  z-index: 30;
}
.lang-menu li {
  padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 0.9rem;
  white-space: nowrap;
}
.lang-menu li:hover, .lang-menu li[aria-selected="true"] {
  background: var(--accent-soft); color: var(--accent);
}

/* 手机上语言按钮挨着页头左边，菜单用 right:0 会往左溢出屏幕（被切掉一半）。
   改成整宽下拉、相对页头定位，就永远不会超出屏幕。 */
@media (max-width: 720px) {
  .lang-switch { position: static; }
  .lang-menu {
    left: 12px; right: 12px; width: auto; min-width: 0;
    max-height: 62vh; border-radius: 14px;
  }
  .lang-menu li { padding: 11px 14px; }   /* 触屏点起来更好点 */
}

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 22px; background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px 20px 20px;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 999px; padding: 12px 22px;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  background: transparent; border-color: var(--ink); color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero-grid {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}
.eyebrow {
  margin: 0 0 10px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
h1 {
  margin: 0 0 16px; font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.25; letter-spacing: -0.02em;
}
.lead { margin: 0 0 24px; color: var(--ink-soft); font-size: 1.05rem; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px;
  margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line);
}
@media (min-width: 600px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats dt { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.hero-stats dd {
  margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 700;
  display: flex; align-items: baseline; gap: 2px;
}
.hero-stats small { font-size: 0.85rem; font-weight: 600; color: var(--muted); font-family: var(--font); }

.hero-panel {
  background: linear-gradient(145deg, #292524 0%, #1c1917 100%);
  border-radius: 24px; padding: 20px; color: #fafaf9;
  box-shadow: 0 24px 60px rgba(28, 25, 23, 0.25);
  min-height: 320px; display: flex; flex-direction: column;
}
.hero-panel-top { display: flex; gap: 6px; margin-bottom: 24px; }
.hero-panel-top .dot {
  width: 10px; height: 10px; border-radius: 50%; background: #57534e;
}
.hero-boxes {
  flex: 1; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 12px; padding: 8px;
}
.box { border-radius: 12px; }
.box-a { background: linear-gradient(135deg, #c2410c, #ea580c); grid-row: span 2; }
.box-b { background: linear-gradient(135deg, #78716c, #a8a29e); }
.box-c { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.hero-panel-caption {
  margin: 16px 0 0; text-align: center; font-size: 0.85rem; color: #a8a29e;
}

/* Sections */
.section { padding: 72px 0; }
.section-muted, .section-paper { background: var(--paper-deep); }
.section-ink { background: var(--ink); color: #fafaf9; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.light .eyebrow { color: #fdba74; }
.section-head.light h2 { color: #fafaf9; }
.section-head h2 {
  margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3; font-weight: 700;
}
.section-desc { margin: 0; color: var(--muted); }
.section-head.light .section-desc { color: #a8a29e; }

/* Filters */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.filter-btn {
  border: 1px solid var(--line); background: var(--white);
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
  font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  transition: all .15s;
}
.filter-btn:hover { border-color: #d6d3d1; color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink); border-color: var(--ink); color: #fff;
}

/* Products */
/* 用 flex + justify-content:center：整行排满时正好铺满（和标题左对齐），
   最后一行不满时自动居中，不会甩出一大片空白。 */
.product-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
}
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s;
  text-align: left; padding: 0; font: inherit; color: inherit;
  flex: 0 1 auto; width: 100%; max-width: 360px;
  /* 关键：<button> 的匿名内部盒子默认 align-items:center / justify-content:center，
     同一行里内容少的卡片（简介短、或没有简介）就会被撑高后居中，
     图片上方平白多出一块白。改成显式 flex 列，内容一律从顶部排。 */
  display: flex; flex-direction: column; justify-content: flex-start;
}
.product-card > .product-swatch,
.product-card > .product-body { flex: none; }
@media (min-width: 560px) { .product-card { width: calc((100% - 18px) / 2 - .5px); max-width: none; } }
@media (min-width: 840px) { .product-card { width: calc((100% - 36px) / 3 - .5px); } }
@media (min-width: 1120px) { .product-card { width: calc((100% - 54px) / 4 - .5px); } }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-swatch {
  aspect-ratio: 3 / 4; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.9);
}
.product-body { padding: 16px 18px 20px; }
.product-body h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.product-body p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.product-tag {
  display: inline-block; margin-top: 10px; font-size: 0.72rem; font-weight: 600;
  color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px;
}

/* Capabilities */
.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.cap-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 22px;
}
.cap-num {
  font-family: var(--serif); font-size: 1.4rem; color: #fdba74; margin-bottom: 10px;
}
.cap-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.cap-card p { margin: 0; font-size: 0.9rem; color: #a8a29e; line-height: 1.55; }

/* Awards */
.award-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.award-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: box-shadow .2s;
}
.award-card:hover { box-shadow: var(--shadow); }
.award-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
  font-size: 0.9rem;
}
.award-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.award-card p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* About */
.about-grid {
  display: grid; gap: 32px;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}
.about-grid > div > p { color: var(--ink-soft); }
.about-list {
  margin: 20px 0 0; padding: 0; list-style: none;
}
.about-list li {
  position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink-soft);
}
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.about-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow);
}
.about-card h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 1.2rem; }
.about-meta { margin: 0; display: grid; gap: 14px; }
.about-meta dt { font-size: 0.75rem; color: var(--muted); margin-bottom: 2px; }
.about-meta dd { margin: 0; font-weight: 600; font-size: 0.95rem; }

/* Contact */
.section-contact { background: var(--paper-deep); }
.contact-grid {
  display: grid; gap: 36px;
}
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span:first-child { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.contact-list a { color: var(--accent); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow);
}
.field-row { display: grid; gap: 14px; }
@media (min-width: 500px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; background: var(--paper); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.15);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note { margin: 12px 0 0; font-size: 0.9rem; min-height: 1.4em; }
.form-note.ok { color: var(--teal); }
.form-note.err { color: #b91c1c; }

/* Footer */
.site-footer {
  background: var(--ink); color: #d6d3d1; padding: 48px 0 32px;
}
.footer-inner { display: grid; gap: 24px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .logo-mark { flex-shrink: 0; }
.footer-brand strong { display: block; color: #fafaf9; margin-bottom: 4px; }
.footer-brand p { margin: 0; font-size: 0.88rem; color: #a8a29e; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-nav a { font-size: 0.9rem; color: #a8a29e; }
.footer-nav a:hover { color: #fafaf9; }
.footer-copy { margin: 0; font-size: 0.82rem; color: #78716c; padding-top: 8px; border-top: 1px solid #292524; }

/* 官方渠道：分组横向多列，渠道越多只是列越多，不会一路往下堆 */
.footer-channels {
  padding: 30px 0 26px;
  border-bottom: 1px solid #292524;
  margin-bottom: 26px;
}
.channels-title {
  margin: 0 0 18px; font-size: 0.95rem; font-weight: 700;
  color: #fafaf9; letter-spacing: 0.02em;
}
.channels-grid {
  display: grid; gap: 22px 28px; flex: 1 1 auto; min-width: 0;
  /* 每列最小 190px，自动决定列数：宽屏一行放得下 5~6 组，窄屏自动换行 */
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
/* 右侧二维码（可选） */
.channels-body { display: flex; gap: 34px; align-items: flex-start; }
.channels-qr { flex: none; width: 148px; text-align: center; }
.channels-qr img {
  width: 100%; display: block; border-radius: 10px;
  background: #fff; padding: 7px; box-sizing: border-box;
}
.channels-qr p { margin: 9px 0 0; font-size: 0.76rem; color: #a8a29e; line-height: 1.4; }
@media (max-width: 760px) {
  .channels-body { flex-direction: column-reverse; gap: 20px; }
  .channels-qr { width: 132px; }
}
.channel-group h4 {
  margin: 0 0 10px; font-size: 0.78rem; font-weight: 600;
  color: #a8a29e; letter-spacing: 0.04em;
}
.channel-links { display: flex; flex-wrap: wrap; gap: 8px; }
.channel-chip {
  display: inline-block; padding: 7px 11px; border-radius: 8px;
  border: 1px solid #44403c; background: #232120;
  font-size: 0.82rem; color: #d6d3d1; text-decoration: none;
  white-space: nowrap; transition: border-color .15s, color .15s, background .15s;
}
a.channel-chip:hover { border-color: #fdba74; color: #fdba74; background: #292524; }
.channel-chip.is-plain { cursor: default; }

@media (max-width: 640px) {
  .channels-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px 16px; }
  .channel-chip { font-size: 0.78rem; padding: 6px 9px; }
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(4px);
  animation: modal-fade .18s ease-out;
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal-panel {
  position: relative; background: var(--white); border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  width: min(880px, 100%);
  max-height: calc(100vh - 40px); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  animation: modal-pop .22s cubic-bezier(.22,.61,.36,1);
  overscroll-behavior: contain;
}
/* 宽屏：左图右文。图固定 3:4，文字列自适应，弹窗整体高度由内容决定 */
@media (min-width: 760px) {
  .modal-panel { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
}

.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.9);
  font-size: 1.5rem; cursor: pointer; color: var(--muted);
  line-height: 1; width: 36px; height: 36px;
  display: grid; place-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: color .15s, background .15s;
}
.modal-close:hover { color: var(--ink); background: #fff; }

.modal-swatch {
  position: relative;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: rgba(255,255,255,0.9);
  /* 图片比例不是 3:4 时留白，暖色衬底让它看起来像装裱而不是出错 */
  background: #f0ece5;
}
/* 同样绝对定位铺满，避免 img 按自身比例算高度导致露白 */
.modal-swatch.has-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
}

/* 窄屏：图占满整宽、高度封顶，弹窗不会出现内部滚动 */
@media (max-width: 759px) {
  .modal-swatch { width: 100%; height: 38vh; max-height: 320px; }
  .modal-swatch.has-image img { object-fit: cover; }
}

/* 宽屏：左列 320px，媒体区高度跟着图片真实比例走（--ratio 由 JS 写入），
   这样任何比例的图都能完整显示、不留白也不裁切 */
@media (min-width: 760px) {
  .modal-swatch {
    width: 100%;
    aspect-ratio: var(--ratio, 0.75);
    align-self: center;
    height: auto; max-height: none;
  }
}

.modal-info { padding: 28px; display: flex; flex-direction: column; }
.modal-info h3 { margin: 0 0 4px; font-size: 1.25rem; }
.modal-cat { margin: 0 0 12px; font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.modal-desc { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; }
.modal-features {
  margin: 0 0 20px; padding: 0 0 0 18px; color: var(--ink-soft); font-size: 0.9rem;
}
.modal-features li { margin-bottom: 4px; }
.modal-info .btn { align-self: flex-start; margin-top: auto; }

@media (max-width: 759px) {
  .modal-panel { width: min(520px, 100%); }
  .modal-info { padding: 22px; }
  .modal-info .btn { align-self: stretch; text-align: center; }
}

body.modal-open { overflow: hidden; }

/* ---------------------------------------------------------------------------
   后台可上传图片的区域：品牌 Logo / 首页主视觉 / 产品图
   没有上传图片时，全部回退到原来的色块 + 文字样式，互不影响。
--------------------------------------------------------------------------- */

/* 品牌 Logo */
.logo-mark.has-image { background: transparent; padding: 0; overflow: hidden; }
.logo-mark.has-image img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* 首页主视觉 */
.hero-visual { position: relative; }
.hero-visual.has-photo .hero-panel,
.hero-visual.has-video .hero-panel { display: none; }
.hero-photo {
  width: 100%; display: block; border-radius: 24px;
  aspect-ratio: 3 / 4; object-fit: cover;
  box-shadow: 0 24px 60px rgba(28, 25, 23, 0.22);
}
/* 视频主视觉：与图片同比例同圆角 */
.hero-video {
  width: 100%; display: block; border-radius: 24px;
  aspect-ratio: 3 / 4; object-fit: cover;
  background: #1c1917;
  box-shadow: 0 24px 60px rgba(28, 25, 23, 0.22);
}

/* 产品卡图片 */
.product-swatch { overflow: hidden; position: relative; }
.product-swatch.has-image { background: #f5f5f4; }
/* 绝对定位强制铺满：容器上有 place-items:center（给色块文字用的），
   会让 img 按自身比例算高度，比例不是 3:4 时就会在上下露白。 */
.product-swatch.has-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.product-card:hover .product-swatch.has-image img { transform: scale(1.06); }

.footer-icp {
  display: inline-block;
  margin-left: 10px;
  color: #78716c;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}
.footer-icp:hover { color: #9d2b22; border-bottom-color: #9d2b22; }