/* ============================================================
   明灿医疗 · 站点样式
   严格遵循 VI 1.0：主色 #146C7F / 辅助 #3A9EAD / 正文 #262626
   字体：思源黑体（Noto Sans SC）
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  /* 品牌标准色（VI 第 3 节） */
  --color-primary: #146C7F;      /* 主色 · 医疗青蓝 */
  --color-accent: #3A9EAD;       /* 辅助 · 浅青 */
  --color-text: #262626;         /* 深炭灰 · 正文 */
  --color-muted: #949494;        /* 浅灰 · 辅助小字 */
  --color-border: #E3E7E9;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F6F8F9;

  /* 排版（VI 第 4 节） */
  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC',
               'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --text-body: 18px;
  --text-small: 14px;
  --line-height: 1.75;

  /* 布局 */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --space-section: clamp(64px, 8vw, 112px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--color-accent); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

body { font-variant-numeric: tabular-nums; }

/* 关键：标题不加描边、发光、投影（VI 第 6 节） */
h1, h2, h3, h4 { text-shadow: none; -webkit-text-stroke: 0; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 内页页头 ---------------- */
.page-head {
  padding: 84px 0 64px;
  background: linear-gradient(115deg, #0C4C59 0%, #146C7F 55%, #1F8CA3 100%);
  color: #fff;
}

.page-head h1,
.page-head .page-head__sub { color: #fff; }
.page-head .hero__eyebrow { color: rgba(255,255,255,.8) !important; }
.page-head a { color: rgba(255,255,255,.85); }
.page-head a:hover { color: #fff; }

.page-head h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0 12px;
}

.page-head__sub {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
}

/* ---------------- 资质卡 ---------------- */
.license-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.license-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  transition: all .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.license-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 108, 127, .12);
}

.license-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.license-no {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

/* ---------------- 价值观 / 三省 ---------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  transition: all .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 108, 127, .12);
}

.value-card__en {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.value-card p {
  margin: 0;
  font-size: 15px;
  color: var(--color-text);
}

.reflect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reflect-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  transition: all .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reflect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 108, 127, .12);
}

.reflect-card__num {
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.reflect-card h3 {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.reflect-card p {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
}

/* ---------------- 使命愿景 ---------------- */
.mv-grid {
  display: grid;
  gap: 20px;
}

.mv-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.mv-item:last-child { border-bottom: 0; }

.mv-item__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.mv-item__label small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--color-accent);
  margin-top: 4px;
}

.mv-item p { margin: 0; }

/* ---------------- 时间轴 ---------------- */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--color-border);
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-accent);
}

.timeline__item h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.timeline__item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
}

/* ---------------- 服务承诺表 ---------------- */
.sla-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.sla-table th,
.sla-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
}

.sla-table th {
  background: var(--color-bg-soft);
  color: var(--color-primary);
  font-weight: 500;
}

/* ---------------- 留言表单 ---------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--color-text);
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.form-msg {
  margin-top: 16px;
  font-size: 15px;
  min-height: 22px;
}

.form-msg--ok { color: var(--color-primary); }
.form-msg--err { color: #B3261E; }

/* ---------------- 地图 ---------------- */
.map-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-bg-soft);
}

/* ---------------- 二维码 ---------------- */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 24px;
  justify-content: start;
}

.qr-item {
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
}

.qr-item img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 8px;
  margin-bottom: 8px;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo 最小宽度 200px（VI 第 5 节） */
.nav__logo img {
  height: 40px;
  width: auto;
  min-width: 200px;
  object-fit: contain;
  object-position: left center;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--color-primary);
}

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  /* 照片上必须加深色蒙版（VI 第 5 节背景规则） */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9, 42, 50, .88) 0%,
    rgba(20, 108, 127, .72) 45%,
    rgba(20, 108, 127, .35) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 96px 24px 112px;
  color: #fff;
}

.hero__inner > * {
  max-width: 760px;
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 22px;
  font-weight: 500;
}

.hero__title {
  font-size: clamp(48px, 7vw, 88px);
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.hero__slogan {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.hero__slogan-en {
  font-size: 15px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 16px;
}

.hero__desc {
  font-size: 17px;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 108, 127, .25);
}
.btn--primary:hover {
  background: #0F5566;
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 108, 127, .32);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 108, 127, .28);
}

/* ---------------- 区块通用 ---------------- */
.section { padding: var(--space-section) 0; }
.section--soft { background: var(--color-bg-soft); }

.section__head { margin-bottom: 48px; }

.section__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.6;
}

.section__label::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 12px;
}

.section__sub {
  color: var(--color-muted);
  font-size: 16px;
  max-width: 720px;
}

/* ---------------- 能力卡片 ---------------- */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cap {
  padding: 0 32px;
  border-left: 1px solid var(--color-border);
}
.cap:first-child { border-left: 0; padding-left: 0; }

.cap__tag {
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.cap__title {
  font-size: 24px;
  margin-bottom: 14px;
}

.cap__desc {
  color: var(--color-text);
  font-size: 16px;
  margin-bottom: 24px;
}

.cap__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cap__list li {
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}
.cap__list li:last-child { border-bottom: 0; }

/* ---------------- 关于摘要 ---------------- */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.about-split figure { margin: 0; }

.about-split img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(20, 108, 127, .10);
  transition: transform .6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.about-split img:hover { transform: scale(1.02); }

.figcap {
  font-size: var(--text-small);
  color: var(--color-muted);
  margin-top: 12px;
}

/* ---------------- 新闻列表 ---------------- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.news-list li { border-bottom: 1px solid var(--color-border); }

.news-item {
  display: grid;
  grid-template-columns: 120px 96px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  color: var(--color-text);
}
.news-item:hover { background: var(--color-bg-soft); color: var(--color-text); }
.news-item { transition: background .3s ease, padding-left .3s ease; }
.news-item:hover { padding-left: 12px; }

.news-item time {
  font-size: 15px;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.news-item .tag {
  display: inline-block;
  width: fit-content;
  font-size: 13px;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 2px 8px;
}

.news-item h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
}
.news-item:hover h3 { color: var(--color-primary); }

.news-item p {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, .78);
  padding: 56px 0 28px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.2fr auto;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

/* 深色底用反白 Logo（VI 第 5 节） */
.site-footer .logo-white { height: 44px; width: auto; margin-bottom: 18px; }

.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 500;
}

.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .caps { grid-template-columns: 1fr; gap: 40px; }
  .cap { border-left: 0; padding: 0; padding-top: 24px; border-top: 1px solid var(--color-border); }
  .cap:first-child { border-top: 0; padding-top: 0; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .reflect-grid { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --text-body: 17px; }
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 8px 24px 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--color-border); }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 0; }
  .nav__toggle { display: block; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .hero__inner { padding: 72px 0 56px; }
  .value-grid { grid-template-columns: 1fr; }
  .mv-item { grid-template-columns: 1fr; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { padding: 48px 0 36px; }
}

/* 新闻筛选 */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter {
  font-family: inherit;
  font-size: 15px;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  border-radius: 999px;
  cursor: pointer;
  transition: all .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.filter:hover { border-color: var(--color-accent); color: var(--color-primary); }
.filter.is-active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.news-empty { padding: 40px 0; text-align: center; color: var(--color-muted); font-size: 16px; }

/* ---------------- 视频 & 节日 双栏 ---------------- */
.media-split {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: start;
}

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0C2B33;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 28px rgba(12, 43, 51, .16);
  transition: box-shadow .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.video-card:hover { box-shadow: 0 20px 48px rgba(12, 43, 51, .22); }

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--color-primary);
  font-size: 26px;
  line-height: 1;
  padding-left: 6px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.video-card__play:hover {
  transform: scale(1.06);
  background: #fff;
}

.festival-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.festival-scroll::-webkit-scrollbar { height: 6px; }
.festival-scroll::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.festival-card {
  margin: 0;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  transition: all .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.festival-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 108, 127, .14);
}

.festival-card img,
.festival-card video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.festival-card figcaption {
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
  padding: 8px 4px;
}

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

/* ---------------- 首屏轮播 ---------------- */
.hero__slider {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.02);
}

.hero__slide.is-active {
  opacity: 1;
  animation: heroZoom 9s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

/* ---------------- 主推产品 ---------------- */
.product-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.product-split__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 8px;
  box-shadow: 0 8px 28px rgba(20, 108, 127, .10);
  transition: all .45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-split__media:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20, 108, 127, .16); }

.product-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.product-split__brand {
  color: var(--color-muted);
  font-size: 15px;
  margin: -6px 0 20px;
}

.product-feats {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.product-feats li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 16px;
  color: var(--color-text);
}

.product-feats strong {
  display: inline-block;
  min-width: 88px;
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 960px) {
  .product-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------------- 语言切换按钮 ---------------- */
.lang-toggle {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all .2s ease;
  margin-right: 28px;
  order: 2;
}
.lang-toggle:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.nav__links { order: 3; }
.nav__logo { order: 1; flex: 1; }

@media (max-width: 720px) {
  .lang-toggle { margin-right: 12px; }
}

/* ---------------- 移动端溢出修复 ---------------- */
html, body { max-width: 100%; overflow-x: hidden; }

.media-split,
.media-split > *,
.product-split,
.product-split > *,
.about-split,
.about-split > * {
  min-width: 0;
}

.video-card,
.video-card video {
  max-width: 100%;
  display: block;
}

.festival-scroll {
  max-width: 100%;
  overscroll-behavior-x: contain;
}

.festival-card { max-width: 100%; }

@media (max-width: 720px) {
  .video-card { aspect-ratio: 16 / 10; }
  .festival-scroll {
    grid-auto-columns: 62%;
    gap: 10px;
  }
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
}


/* ---------------- 细节质感补充 ---------------- */
.section__title {
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.cap__title,
.value-card h3,
.reflect-card h3,
.timeline__item h3 {
  letter-spacing: -0.01em;
}

.hero__title {
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}

.hero__eyebrow {
  letter-spacing: .3em;
}

/* 卡片内列表行距更松弛 */
.cap__list li {
  padding: 13px 0;
  line-height: 1.6;
}

/* 区块标签更精致 */
.section__label {
  letter-spacing: .16em;
  font-size: 16px;
}

/* 导航 hover 过渡更顺 */
.nav__links a {
  transition: color .3s ease, border-color .3s ease;
}

/* 页脚二维码悬停 */
.qr-item img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

/* 新闻标签胶囊化 */
.news-item .tag {
  border-radius: var(--radius-pill);
  padding: 3px 12px;
}

/* 首屏滚动指示与按钮区留白 */
.hero__actions {
  margin-top: 44px;
}

@media (max-width: 720px) {
  .hero__inner { padding: 72px 0 88px; }
  .hero__actions { margin-top: 30px; }
  .btn { padding: 13px 26px; font-size: 15px; }
}

/* 主推产品：标题在上，图文在下 */
.product-head {
  margin-bottom: 40px;
}

.product-head__brand {
  color: var(--color-muted);
  font-size: 15px;
  margin: 6px 0 0;
}

.product-split__media {
  align-self: start;
}



/* ---------------- 本期推荐（通栏横版） ---------------- */
.video-wide {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0C2B33;
  padding: 8px;
  box-shadow: 0 10px 34px rgba(12, 43, 51, .18);
}

.video-wide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* ---------------- 合作伙伴（通栏横排，等格紧凑） ---------------- */
.partner-box {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  min-width: 0;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .35s ease;
}

.partner-logo:hover img { transform: scale(1.05); }

/* 分级仅用于排序，不再放大占格 */
.partner-logo--square,
.partner-logo--medium,
.partner-logo--wide,
.partner-logo--ultra { grid-column: span 1; }

@media (max-width: 1100px) {
  .partner-box { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 960px) {
  .video-wide { aspect-ratio: 16 / 9; }
  .partner-box { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; }
}

@media (max-width: 720px) {
  .partner-box { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
  .partner-logo { padding: 2px; }
}
@media (max-width: 1100px) {
  .partner-box { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 960px) {
  .video-wide { aspect-ratio: 16 / 9; }
  .partner-box { grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
}

@media (max-width: 720px) {
  .partner-box { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; }
  .partner-logo { padding: 4px; }
}

/* 合作伙伴：略微增加格子高度，避免竖版 logo 被压扁 */
.partner-logo {
  aspect-ratio: 1 / 1;
}

/* ---------------- 节日浮动海报 ---------------- */
.festival-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 168px;
  transform: translateY(140%) rotate(6deg);
  opacity: 0;
  transition: transform .8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity .6s ease;
  will-change: transform;
}

.festival-float--left { right: auto; left: 24px; }

.festival-float.is-in {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
  animation: festivalBob 4.5s ease-in-out 0.9s infinite;
}

.festival-float.is-out {
  transform: translateY(140%) rotate(6deg);
  opacity: 0;
  animation: none;
}

@keyframes festivalBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(-1.2deg); }
}

.festival-float__inner {
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(12, 43, 51, .26);
  border: 1px solid rgba(255, 255, 255, .7);
  position: relative;
}

.festival-float__inner img {
  width: 100%;
  display: block;
}

.festival-float__tag {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 10px 8px;
  font-size: 13px;
  letter-spacing: .12em;
  color: #fff;
  background: linear-gradient(to top, rgba(12, 43, 51, .72), transparent);
  text-align: center;
}

.festival-float__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(12, 43, 51, .86);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .25s ease, transform .25s ease;
}
.festival-float__close:hover { background: #B3261E; transform: scale(1.1); }

@media (max-width: 720px) {
  .festival-float { width: 108px; right: 12px; bottom: 12px; }
  .festival-float--left { left: 12px; right: auto; }
  .festival-float__close { width: 22px; height: 22px; font-size: 15px; }
}

/* 备案号样式 */
.footer-icp a {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  letter-spacing: .02em;
}
.footer-icp a:hover { color: #fff; text-decoration: underline; }

/* ---------------- 双语即时切换（CSS 驱动，零延迟） ---------------- */
.i18n-en { display: none; }
html[lang="en"] .i18n-zh { display: none; }
html[lang="en"] .i18n-en { display: inline; }


@media (max-width: 720px) {
  .footer-beian { gap: 10px; }
  .footer-beian a { font-size: 13px; }
  .footer-gongan img { width: 18px; height: 18px; }
}



@media (max-width: 720px) {
  .footer-beian { gap: 8px; }
  .footer-beian a { font-size: 13px; }
  .footer-gongan img { width: 15px; height: 15px; }
}


/* ---------------- 页脚底部：公司信息 + 备案号成组 ---------------- */
.footer-copy {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  white-space: nowrap;
}

.footer-beian {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.footer-beian a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  transition: color .25s ease;
}

.footer-beian a:hover { color: #fff; }

/* 国徽与备案号紧贴，不换行 */
.footer-gongan { display: inline-flex; align-items: center; gap: 4px; }

.footer-gongan img {
  width: 17px;
  height: 17px;
  display: block;
  flex-shrink: 0;
}

.footer-sep { color: rgba(255, 255, 255, .3); }

@media (max-width: 720px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
  }
  .footer-copy {
    white-space: normal;
    font-size: 13px;
    line-height: 1.6;
  }
  .footer-beian {
    gap: 7px;
    flex-wrap: nowrap;
  }
  .footer-beian a { font-size: 12.5px; }
  .footer-gongan img { width: 15px; height: 15px; }
}


/* ---------------- 排版细化（借鉴 landing-page-design 规则） ---------------- */
/* 标题避免孤字：最后一行至少两个字 */
.hero__title,
.section__title,
.page-head h1,
h2, h3 {
  text-wrap: balance;
  max-width: 28ch;
}

/* 正文行宽控制在舒适阅读区间 */
.section__sub,
.about-split p,
.cap__desc,
.product-feats li,
.mv-item p,
.timeline__item p,
.reflect-card p,
.value-card p {
  max-width: 62ch;
}

/* 首屏描述限宽，避免横跨过宽 */
.hero__desc {
  max-width: 34ch;
}


/* ===== Hallmark 合规补充 2026-10-31 ===== */
/* 34: 防止移动端横向滚动 */
html, body { overflow-x: clip; }

/* 26a: 键盘焦点可见，立即出现 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
video:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 26b: 按下态，给即时的触感确认 */
a:active, button:active { transform: translateY(1px); }

/* 62/27: 尊重系统「减少动态效果」 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 54: 眉毛标题多余时隐藏（保留能力分区标识 SUPPLY/DELIVER/SERVICE 之外的） */
.section__label--drop { display: none; }

/* 30a: 播放按钮统一为 SVG 尺寸容器 */
.video-card__play svg { width: 22px; height: 22px; display: block; }

/* Hallmark 2026-10-31 补充 */
.foot-h { font-size: 17px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0; }
.footer-brand-sub { color: rgba(255,255,255,.7); margin: 0; }


/* ===== 导航固定布局 2026-10-31：中英切换不位移 ===== */
.nav__logo { flex: 0 0 auto; }
.nav__links { order: 2; margin-left: auto; margin-right: 24px; }
.nav__links li { min-width: 88px; text-align: center; }
.nav__links a { display: block; white-space: nowrap; }
.lang-toggle {
  order: 3;
  flex: 0 0 auto;
  margin-right: 0;
  white-space: nowrap;
  min-width: 66px;
  line-height: 20px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

@media (max-width: 960px) {
  .nav__links li { min-width: auto; }
  .nav__links { margin-right: 12px; }
}


/* ===== 修复 4 2026-10-31：导航锁定 / 图片比例 / 播放键居中 ===== */
/* 1) 导航：logo 固定宽，链接区靠右且不伸缩 */
.nav__logo { flex: 0 0 200px; }
.nav__links {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 24px;
  gap: 0;
}
.nav__links li { width: 92px; min-width: 92px; text-align: center; }
.nav__links a { display: block; white-space: nowrap; }

/* 2) 图片锁定宽高比，切换语言时不抖动 */
.media-split img,
.about-split img,
.news-cover img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* 3) 播放按钮：真正的正圆居中，图标居中 */
.video-card__play {
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}
.video-card__play svg {
  width: 34px;
  height: 34px;
  display: block;
  margin-left: 4px;   /* 视觉修正：三角形重心偏左 */
  fill: var(--color-primary);
}

@media (max-width: 960px) {
  .nav__logo { flex: 0 0 auto; }
  .nav__links li { width: auto; min-width: auto; }
  .nav__links { margin-right: 12px; }
  .video-card__play { width: 64px; height: 64px; }
  .video-card__play svg { width: 26px; height: 26px; }
}


/* ===== 修复 5 2026-10-31 ===== */
/* 1) 访问过的链接不再变色 */
a:visited { color: inherit; }
.news-item:visited, .news-item:visited * { color: var(--color-text); }

/* 2) 导航项按内容自适应，英文不压字；整块仍靠右不动 */
.nav__links li { width: auto; min-width: 0; }
.nav__links a { padding: 6px 10px; }
.nav__links { gap: 4px; }

/* 3) 新闻列表轻微浮起 */
.news-item { transition: background .3s ease, padding-left .3s ease, transform .35s cubic-bezier(.175,.885,.32,1.275); }
.news-item:hover { transform: translateX(4px); }

/* 4) 图片 hover 缩放（容器裁剪 + 图片微放大） */
.media-split img,
.about-split img,
.news-cover img,
.partner-box img {
  transition: transform .5s cubic-bezier(.175,.885,.32,1.275);
}
.media-split:hover img,
.about-split:hover img,
.news-cover:hover img {
  transform: scale(1.04);
}

/* 5) 手机端：下拉菜单恢复窄条 */
@media (max-width: 960px) {
  .nav__links {
    flex-direction: column;
    position: absolute;
    top: 72px;
    right: 20px;
    width: 220px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(20, 108, 127, .16);
    padding: 8px 0;
    gap: 0;
    margin: 0;
    z-index: 60;
  }
  .nav__links li { border-bottom: 0; width: 100%; }
  .nav__links a { padding: 12px 20px; text-align: left; }
  .site-header { position: relative; }
}

@media (max-width: 960px) {
  .nav__logo { flex: 0 0 auto; }
}


/* ===== 修复 6 2026-10-31 ===== */
/* 1) 新闻标题：默认灰蓝，悬停/访问后深灰 */
.news-item h3 { color: var(--color-primary); transition: color .25s ease; }
.news-item:hover h3,
.news-item:visited h3,
.news-item:focus h3 { color: var(--color-text); }

/* 2) 手机端下拉菜单：宽度贴合文字，左右留白均等 */
@media (max-width: 960px) {
  .nav__links {
    width: max-content;
    min-width: 0;
    max-width: calc(100vw - 40px);
    right: 20px;
    padding: 6px 0;
  }
  .nav__links a { padding: 12px 22px; text-align: center; }
  .nav__links li { width: 100%; }
}


/* ===== 细腻动效 2026-10-31 ===== */
/* 1) 发丝线入场：区块顶部细线从左向右绘制 */
.section { position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 100%;
  background: var(--color-border);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s cubic-bezier(.22,.61,.36,1);
}
.section.is-inview::before { transform: scaleX(1); }

/* 2) 内容块阶梯浮现 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-inview { opacity: 1; transform: translateY(0); }

/* 3) 能力三栏：依次缓显 */
.cap-col.reveal { transition-delay: 0ms; }
.cap-col.reveal:nth-child(2) { transition-delay: 110ms; }
.cap-col.reveal:nth-child(3) { transition-delay: 220ms; }

/* 4) 合作伙伴 logo：悬停轻微提亮 + 上浮 */
.partner-box img {
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275), filter .4s ease;
}
.partner-box a:hover img,
.partner-box img:hover { transform: translateY(-3px); }

/* 5) 按钮：按下有感，悬停微浮 */
.btn { transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* 6) 数字/日期：表格数字等宽已具备，加淡入 */
.news-item { opacity: 0; transform: translateY(10px); }
.news-item.is-inview { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }

/* 7) 尊重减少动效 */
@media (prefers-reduced-motion: reduce) {
  .section::before { transform: scaleX(1) !important; }
  .reveal, .news-item { opacity: 1 !important; transform: none !important; }
  .btn:hover, .partner-box img:hover { transform: none !important; }
}


/* ===== 修复 7 2026-10-31：新闻不再依赖动效 + 表单不溢出 ===== */
/* 1) 新闻条目一律可见（动效只作用于区块级，不能控内容） */
.news-item {
  opacity: 1 !important;
  transform: none !important;
}

/* 2) 两栏布局：允许收缩，禁止溢出 */
.about-split { min-width: 0; }
.about-split > * { min-width: 0; }

/* 3) 表单控件宽度受限于容器 */
.form-grid { min-width: 0; }
.form-field { min-width: 0; }
.form-field input,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.form-field textarea { display: block; }

/* 4) 表单列过窄时的断点保护 */
@media (max-width: 1080px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
}


/* ===== 修复 8 2026-10-31：中文排版孤字 ===== */
/* 1) 页脚地址：允许换行但避免单字成行，并放宽该列 */

/* 2) 全站中文：避免行末单字成行（尽可能） */
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

/* 3) 页脚列宽微调：地址列更宽，避免挤压 */

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer li { max-width: none; }
}


/* ===== 修复 9 2026-10-31：页脚地址一行排下 + 行距收紧 ===== */
/* 地址列给足宽度，整句不折 */
.footer-grid { grid-template-columns: 1.7fr 0.8fr 1fr auto; }

/* 地址整句不断行（含门牌号），允许自然横向占位 */
.site-footer .addr-line { white-space: nowrap; }

/* 页脚行距收紧：2 -> 1.75，块高降低 */
.site-footer ul { line-height: 1.75; }
.site-footer li { padding: 1px 0; }

/* 页脚标题下间距收紧 */
.site-footer h4 { margin-bottom: 10px; }

@media (max-width: 1200px) {
  .site-footer .addr-line { white-space: normal; }
  .footer-grid { grid-template-columns: 1.5fr 0.9fr 1fr auto; gap: 36px; }
}


/* ===== 英文页脚适配 2026-10-31 ===== */
/* 英文长句不强制单行；地址整行只在中文下 nowrap */
html[lang="en"] .site-footer .addr-line { white-space: normal; }

/* 英文列宽：地址与联系方式列加宽，避免逐词断行 */
html[lang="en"] .footer-grid { grid-template-columns: 1.25fr 0.75fr 1.45fr auto; }
html[lang="en"] .site-footer li { max-width: none; }

/* 英文品牌行不压缩 */
html[lang="en"] .footer-brand-sub { white-space: normal; max-width: 34ch; }

/* 英文导航列表项左对齐，避免逐词成行 */
html[lang="en"] .site-footer ul { word-break: normal; overflow-wrap: break-word; }

@media (max-width: 1200px) {
  html[lang="en"] .footer-grid { grid-template-columns: 1.2fr 0.9fr 1.3fr auto; gap: 32px; }
}

/* 页脚 logo 作为首页入口 */
.footer-logo-link { display: inline-block; text-decoration: none; transition: opacity .25s ease; }
.footer-logo-link:hover { opacity: .85; }
.footer-logo-link:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }


/* ===== 手机端页脚复位 2026-10-31（必须最后声明，优先级最高） ===== */
@media (max-width: 1080px) {
  .footer-grid,
  html[lang="en"] .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .site-footer .addr-line,
  html[lang="en"] .site-footer .addr-line { white-space: normal !important; }
  .site-footer li,
  html[lang="en"] .site-footer li { max-width: none !important; }
  .site-footer ul { line-height: 1.85; }
  .qr-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
  }
  .qr-item { width: calc(50% - 8px); }
  .footer-logo-link { display: inline-block; }
  .footer-brand-sub { font-size: 14px; line-height: 1.7; }
}

@media (max-width: 560px) {
  .footer-grid,
  html[lang="en"] .footer-grid { gap: 22px !important; }
  .qr-item { width: 100%; max-width: 160px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* ===== 手机端页脚精简 2026-10-31 ===== */
@media (max-width: 1080px) {
  /* 1) 手机隐藏页脚快速导航（顶部已有汉堡菜单） */
  .footer-grid > div:nth-child(2) { display: none !important; }

  /* 2) 页脚变成两栏：品牌列 + 联系/二维码 */
  .footer-grid,
  html[lang="en"] .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* 3) 二维码横排，两个并排 */
  .qr-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    align-items: flex-start;
  }
  .qr-item {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }
  .qr-item img {
    width: 112px !important;
    height: 112px !important;
    object-fit: contain;
  }

  /* 4) 品牌行与联系方式不换行、不拉长 */
  .footer-brand-sub { font-size: 14px; line-height: 1.65; }
  .site-footer ul { line-height: 1.8; }
  .site-footer .foot-h { font-size: 15px; margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .qr-item img { width: 100px !important; height: 100px !important; }
  .qr-grid { gap: 14px !important; }
}


/* ===== 英文品牌行：合并为两行 2026-10-31 ===== */
html[lang="en"] .footer-brand-sub {
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 100%;
  white-space: nowrap;      /* 每行内部不再折行 */
}
@media (max-width: 560px) {
  html[lang="en"] .footer-brand-sub {
    font-size: 12.5px;
    white-space: normal;    /* 小屏仍允许换行，避免溢出 */
  }
}


/* ===== 英文地址排版 2026-10-31：控制在 2-3 行 ===== */
html[lang="en"] .site-footer li {
  line-height: 1.65;
  word-break: normal;
  overflow-wrap: break-word;
}
html[lang="en"] .site-footer .addr-line {
  white-space: normal;
  display: block;
}
/* 桌面端英文地址列给足宽度 */
@media (min-width: 1081px) {
  html[lang="en"] .footer-grid { grid-template-columns: 1.2fr 0.7fr 1.6fr auto; }
}


/* ===== 修复 10 2026-10-31：二维码标题与图居中 ===== */
.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 148px;              /* 与图 + padding 等宽 */
}
.qr-item figcaption {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: break-word;
}
/* 英文长标签允许换行，但保持居中 */
html[lang="en"] .qr-item { width: 160px; }
@media (max-width: 560px) {
  .qr-item, html[lang="en"] .qr-item { width: auto; max-width: 150px; }
}


/* ===== 页脚紧凑化 2026-10-31：控制在 5 行内 ===== */
@media (min-width: 1081px) {
  /* 地址列扩宽，联系方式列收窄 */
  .footer-grid { grid-template-columns: 1.55fr 0.72fr 1.45fr auto; gap: 36px; }
  html[lang="en"] .footer-grid { grid-template-columns: 1.15fr 0.62fr 1.75fr auto; gap: 32px; }

  /* 二维码小幅缩小，让出横向空间 */
  .qr-item img { width: 112px; height: 112px; }
  .qr-item, html[lang="en"] .qr-item { width: 124px; }

  /* 联系方式行距收紧 */
  .site-footer ul { line-height: 1.6; }
  .site-footer h2.foot-h { margin-bottom: 8px; font-size: 15px; }

  /* 地址强制左对齐，避免继承居中 */
  .site-footer li { text-align: left; }

  /* 品牌列：公司名 + 服务，最多 3 行 */
  .footer-brand-sub { font-size: 13.5px; line-height: 1.7; max-width: 30ch; }
  html[lang="en"] .footer-brand-sub { font-size: 12.5px; max-width: 34ch; white-space: normal; }
}

/* 二维码标题略小，单行不撑高 */
.qr-item figcaption { font-size: 13px; line-height: 1.35; }


/* ===== 页脚五行对齐 2026-10-31（最终） ===== */
@media (min-width: 1081px) {
  /* 四列顶部对齐，整块高度由最高的列决定 */
  .footer-grid {
    grid-template-columns: 1.35fr 0.68fr 1.5fr auto;
    gap: 40px;
    align-items: start;
  }
  html[lang="en"] .footer-grid {
    grid-template-columns: 1.05fr 0.6fr 1.75fr auto;
    gap: 34px;
  }

  /* 左列：logo 放大并与其下公司名居中对齐 */
  .footer-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .site-footer .logo-white {
    height: 56px;
    margin-bottom: 12px;
  }
  .footer-brand-sub {
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    max-width: 26ch;
  }
  html[lang="en"] .footer-brand-sub {
    font-size: 12px;
    line-height: 1.55;
    max-width: 30ch;
  }

  /* 联系方式列：行距收紧 */
  .site-footer ul { line-height: 1.55; }
  .site-footer li { padding: 2px 0; text-align: left; }
  .site-footer h2.foot-h { margin-bottom: 10px; font-size: 15px; }

  /* 二维码列：图与标题紧凑 */
  .qr-grid { gap: 20px; align-items: start; }
  .qr-item, html[lang="en"] .qr-item { width: 118px; }
  .qr-item img { width: 108px; height: 108px; margin-bottom: 6px; }
  .qr-item figcaption { font-size: 12.5px; line-height: 1.3; }

  /* 所有列顶部对齐，高度一致 */
  .footer-grid > div { min-height: 0; }
}

@media (max-width: 560px) {
  .site-footer .logo-white { height: 44px; }
}


/* ===== 页脚五栏基线对齐 2026-10-31 v10 ===== */
@media (min-width: 1081px) {
  /* 四列统一顶部基线，最高的一列决定总高 */
  .footer-grid {
    grid-template-columns: 1.3fr 0.66fr 1.42fr auto;
    gap: 40px;
    align-items: start !important;
  }
  html[lang="en"] .footer-grid {
    grid-template-columns: 1.0fr 0.58fr 1.72fr auto;
    gap: 34px;
  }

  /* 各列第一个元素顶格：去掉标题上边距，logo 上沿与标题齐平 */
  .footer-grid > div > *:first-child { margin-top: 0 !important; }
  .site-footer .logo-white {
    height: 40px;
    margin: 0 0 10px;
    display: block;
  }

  /* 左列：logo 与公司名左对齐（不居中），公司名压成一行 */
  .footer-grid > div:first-child {
    display: block !important;
    text-align: left !important;
  }
  .footer-brand-sub {
    font-size: 13px;
    line-height: 1.6;
    max-width: none;
    text-align: left;
    white-space: nowrap;
  }
  html[lang="en"] .footer-brand-sub {
    font-size: 10.5px;
    line-height: 1.6;
    white-space: nowrap;
  }

  /* 标题行高统一，四列标题同一水平线 */
  .site-footer h2.foot-h {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 10px;
  }

  /* 联系方式紧凑 */
  .site-footer ul { line-height: 1.55; margin: 0; }
  .site-footer li { padding: 1px 0; }

  /* 二维码整体下移，图与标题紧凑 */
  .qr-grid { gap: 18px; align-items: start; margin-top: 2px; }
  .qr-item, html[lang="en"] .qr-item { width: 112px; }
  .qr-item img {
    width: 104px;
    height: 104px;
    margin-bottom: 5px;
    padding: 6px;
  }
  .qr-item figcaption { font-size: 12px; line-height: 1.28; }
}

@media (max-width: 560px) {
  .site-footer .logo-white { height: 40px; }
  .footer-brand-sub, html[lang="en"] .footer-brand-sub { white-space: normal; }
}


/* ===== 页脚基线校准 2026-10-31 v11（最高优先级） ===== */
@media (min-width: 1081px) {
  /* 1) 第一列改为块级左对齐，彻底取消居中 */
  .footer-grid > div:first-child {
    display: block !important;
    align-items: initial !important;
    text-align: left !important;
  }

  /* 2) logo 链接不参与行内基线对齐，去掉上方间隙 */
  .footer-logo-link {
    display: block !important;
    line-height: 0 !important;
    font-size: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3) logo 本体：上沿与同行标题齐平 */
  .site-footer .logo-white {
    height: 38px !important;
    display: block !important;
    margin: 0 0 10px 0 !important;
    vertical-align: top !important;
  }

  /* 4) 标题与 logo 同高起点：统一 line-height，去掉额外空隙 */
  .site-footer h2.foot-h {
    font-size: 15px !important;
    line-height: 38px !important;   /* 与 logo 高度一致，视觉同一水平线 */
    margin: 0 0 10px 0 !important;
  }

  /* 5) 公司名一行放得下 */
  .footer-brand-sub {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
  html[lang="en"] .footer-brand-sub {
    font-size: 10.5px !important;
    white-space: nowrap !important;
  }

  /* 6) 二维码列下移，与文字块底部齐 */
  .qr-grid { margin-top: 0 !important; }
  .qr-item img { width: 104px !important; height: 104px !important; margin-bottom: 5px !important; }
  .qr-item figcaption { font-size: 12px !important; line-height: 1.28 !important; }
}

@media (max-width: 560px) {
  .footer-brand-sub, html[lang="en"] .footer-brand-sub { white-space: normal !important; }
  .site-footer h2.foot-h { line-height: 1.4 !important; }
}


/* ===== 页脚 logo 下移对齐 2026-10-31 v12 ===== */
@media (min-width: 1081px) {
  /* logo 上沿压到与「关于我们」文字同一水平线：把标题的行高贡献扣掉 */
  .site-footer h2.foot-h {
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
  }

  /* logo 容器不再抢占基线，往下让出标题文字的高度 */
  .footer-logo-link {
    display: block !important;
    line-height: 0 !important;
    font-size: 0 !important;
    margin: 8px 0 10px 0 !important;
    padding: 0 !important;
  }

  .site-footer .logo-white {
    height: 34px !important;
    display: block !important;
    margin: 0 !important;
  }

  /* 公司名紧跟其后 */
  .footer-brand-sub {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
  html[lang="en"] .footer-brand-sub {
    font-size: 10px !important;
    white-space: nowrap !important;
  }
}


/* ===== 地址双语 + logo 对齐 2026-10-31 ===== */
/* 地址双语节点 */
.site-footer .i18n-zh, .site-footer .i18n-en { display: block; line-height: 1.6; }
.i18n-en { display: none; }
html[lang="en"] .i18n-zh { display: none; }
html[lang="en"] .i18n-en { display: block; }

@media (min-width: 1081px) {
  /* logo 容器与标题同一基线：标题和 logo 都从网格顶部开始 */
  .footer-grid { align-items: start !important; }
  .footer-grid > div:first-child { display: block !important; text-align: left !important; }

  .footer-logo-link {
    display: block !important;
    line-height: 0 !important;
    font-size: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 22px !important;     /* 与标题文字同高起点 */
    overflow: visible;
  }
  .site-footer .logo-white {
    height: 34px !important;
    margin: -6px 0 8px 0 !important;   /* 上移 6px，抵消标题文字的行高差 */
    display: block !important;
  }

  /* 英文品牌名放大到与中文同级，允许两三行 */
  html[lang="en"] .footer-brand-sub {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    max-width: none !important;
  }
}


/* ===== 页脚 logo 基线最终修正 2026-10-31 ===== */
@media (min-width: 1081px) {
  /* 1) 第一列顶部不偏移，与标题同起点 */
  .footer-grid > div:first-child {
    display: block !important;
    text-align: left !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* 2) logo 容器：零额外空间，不撑高 */
  .footer-logo-link {
    display: block !important;
    line-height: 0 !important;
    font-size: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: hidden;
  }

  /* 3) logo 本体：上沿贴齐列顶 === 与「关于我们」同高 */
  .site-footer .logo-white {
    height: 26px !important;
    margin: 0 0 12px 0 !important;
    display: block !important;
    vertical-align: top !important;
  }

  /* 4) 公司名：紧接 logo 下方，正常字号，允许两行 */
  .footer-brand-sub {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    max-width: none !important;
  }
  html[lang="en"] .footer-brand-sub {
    font-size: 12px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    max-width: none !important;
  }

  /* 5) 标题行高与 logo 一致，四列标题同一水平线 */
  .site-footer h2.foot-h {
    font-size: 15px !important;
    line-height: 26px !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
  }
}


/* ===== 页脚最终修正 2026-10-31 ===== */
/* A) 关键：英文节点默认必须隐藏（之前顺序问题导致中文版也显示） */
html[lang="zh-CN"] .i18n-en,
html:not([lang="en"]) .i18n-en { display: none !important; }
html[lang="en"] .i18n-zh { display: none !important; }
html[lang="en"] .i18n-en { display: block !important; }
html[lang="zh-CN"] .i18n-zh { display: block !important; }

@media (min-width: 1081px) {
  /* B) 第一列整体下移，与右侧标题基线对齐 */
  .footer-grid > div:first-child {
    padding-top: 44px !important;   /* logo 顶部与「关于我们」文字同高 */
  }

  /* C) logo 恢复到与顶部导航一致的大小 */
  .footer-logo-link {
    display: block !important;
    line-height: 0 !important;
    font-size: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }
  .site-footer .logo-white {
    height: 40px !important;
    width: auto !important;
    margin: 0 0 14px 0 !important;
    display: block !important;
  }

  /* D) 公司名紧随其后，正常字号 */
  .footer-brand-sub {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    white-space: normal !important;
    max-width: none !important;
  }
  html[lang="en"] .footer-brand-sub {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
  }
}

@media (max-width: 1080px) {
  html[lang="en"] .i18n-en { display: block !important; }
  html[lang="en"] .i18n-zh { display: none !important; }
  html:not([lang="en"]) .i18n-en { display: none !important; }
}


/* ===== 页脚留白收紧 2026-10-31 ===== */
.site-footer { padding: 34px 0 22px !important; }
.footer-grid { padding-bottom: 26px !important; }
.footer-bottom { padding-top: 16px !important; }

@media (min-width: 1081px) {
  /* logo 下移量随之减小，保持与标题齐平 */
  .footer-grid > div:first-child { padding-top: 34px !important; }
}
