/* ============================================================
   base.css — 官网模板公共结构样式（手机优先）
   4 套皮肤共用。皮肤只允许覆盖 :root 令牌与少量布局变体，
   不允许新增结构类名。断点：375 / 768 / 1200
   ============================================================ */

/* ---------- 令牌默认值（皮肤必须覆盖） ---------- */
:root {
  --c-bg: #fff;
  --c-surface: #fff;
  --c-bg-nav: #fff;
  --c-text: #16181d;
  --c-text-soft: #30343d;
  --c-muted: #5b6472;
  --c-accent: #1f3a5f;
  --c-on-accent: #fff;
  --c-line: #e3e6eb;
  --c-media: #e9edf2;
  --c-cta-bg: #16181d;
  --c-cta-fg: #fff;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  --sp-section: clamp(48px, 9vw, 96px);
  --maxw: 1200px;
  --card-min: 300px;
  --media-ratio-hero: 16 / 9;
  --media-ratio-card: 4 / 3;

  --font-display: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-body: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-1: none;
  --shadow-2: 0 10px 28px rgba(16, 24, 40, .1);
  --dur: 260ms;
  --ease: cubic-bezier(.16, .84, .44, 1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dt, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-surface); color: var(--c-text);
  padding: 12px 18px; border-radius: var(--r-sm); z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .wrap { padding-inline: 28px; } }
@media (min-width: 1200px) { .wrap { padding-inline: 40px; } }

/* ---------- 按钮（同一动作全程同一文案） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-md);
  background: var(--c-accent); color: var(--c-on-accent);
  font-weight: 600; font-size: 15px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), background var(--dur);
}
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-line); }
.btn--lg { min-height: 52px; padding: 0 32px; font-size: 16px; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); } }

/* ---------- 吸顶导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--c-bg-nav);
  border-bottom: 1px solid var(--c-line);
}
.nav__in { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.nav__brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  min-height: 44px;
}
.nav__logo { width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--c-accent); flex: none; }
.nav__logo img { width: 100%; height: 100%; object-fit: contain; }
.nav__name { white-space: nowrap; }
.nav__toggle {
  margin-left: auto; width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--c-line);
  border-radius: var(--r-sm); cursor: pointer;
}
.nav__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav__bars::before, .nav__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav__bars::before { top: -6px; }
.nav__bars::after { top: 6px; }

.nav__menu {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
  padding: 6px 20px 18px;
}
.nav.is-open .nav__menu { display: block; }
.nav__menu ul li a {
  display: flex; align-items: center; min-height: 46px;
  font-size: 15px; border-bottom: 1px solid var(--c-line);
}
.nav__menu ul li a[aria-current="page"] { color: var(--c-accent); font-weight: 600; }
.nav__tel { margin-top: 14px; width: 100%; }

@media (min-width: 768px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex; align-items: center; gap: 26px;
    position: static; margin-left: auto; padding: 0;
    background: transparent; border: 0;
  }
  .nav__menu ul { display: flex; align-items: center; gap: 26px; }
  .nav__menu ul li a { min-height: 44px; border: 0; font-size: 14px; }
  .nav__menu ul li a::after {
    content: ""; display: block; height: 2px; width: 0; background: var(--c-accent);
    transition: width var(--dur) var(--ease);
  }
  .nav__menu ul li a:hover::after { width: 100%; }
  .nav__tel { margin-top: 0; width: auto; min-height: 40px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 11vw, 112px) 0 clamp(36px, 6vw, 72px);
  background: var(--c-hero-bg, transparent);
  border-bottom: 1px solid var(--c-hero-line, transparent);
}
.hero__bg { position: absolute; inset: -10%; z-index: 0; pointer-events: none; }
.hero__in {
  position: relative; z-index: 1;
  display: grid; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.hero__copy { max-width: 820px; }
@media (min-width: 1024px) {
  .hero { display: flex; align-items: center; min-height: min(84vh, 760px); }
  .hero > .wrap { width: 100%; }
  .hero__in:has(.hero__media) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero__in:has(.hero__media) .hero__copy { max-width: none; }
  /* 有首屏图时标题整体缩一档，常见 15 字标题在桌面端可整行不拆词 */
  .hero__in:has(.hero__media) .hero__title { font-size: clamp(30px, 2.8vw, 36px); line-height: 1.24; }
}
.hero__kicker {
  font: 600 12px/1 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 14px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.16; letter-spacing: -.02em; font-weight: 700;
  word-break: normal; line-break: strict;
}
.hero__lead { margin-top: 18px; font-size: clamp(15px, 1.6vw, 17px); line-height: 1.72; color: var(--c-muted); max-width: 56ch; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border: 1px solid var(--c-line); border-radius: 999px;
  background: var(--c-surface); color: var(--c-muted);
  font-size: 13px; white-space: nowrap;
}

/* ---------- 事实卡（AI 事实索引卡，每页必有） ---------- */
.fact { padding-top: 18px; }
.fact__card {
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  background: var(--c-surface); padding: 0 18px;
}
.fact__card > summary {
  display: flex; align-items: center; gap: 10px;
  min-height: 50px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 14px;
}
.fact__card > summary::-webkit-details-marker { display: none; }
.fact__card > summary::after { content: "+"; margin-left: auto; color: var(--c-muted); font-size: 18px; }
.fact__card[open] > summary::after { content: "−"; }
.fact__card > dl {
  display: grid; grid-template-columns: 62px 1fr; gap: 7px 14px;
  padding: 14px 0 18px; border-top: 1px solid var(--c-line);
}
.fact__card dt { color: var(--c-muted); font-size: 13px; }
.fact__card dd { font-size: 14px; word-break: break-word; }

/* ---------- 区块通用 ---------- */
.sec { padding-block: var(--sp-section); }
.sec__head { max-width: 680px; margin-bottom: 28px; }
.sec__kicker {
  font: 600 12px/1 var(--font-mono); letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 10px;
}
.sec__head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 4.6vw, 36px); line-height: 1.24; letter-spacing: -.01em;
}
.sec__lead { margin-top: 12px; font-size: 15px; color: var(--c-muted); }

/* ---------- 卡片网格（列数由 --card-min 控制，不做断点写死） ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(var(--card-min), 1fr)); gap: 20px; }
}

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
}
.card__media { aspect-ratio: var(--media-ratio-card); background: var(--c-media); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* 素材未到位时的占位块（灰底 + 尺寸说明） */
.ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 120px;
  background: var(--c-media); color: var(--c-muted);
  font: 600 12px/1 var(--font-mono); letter-spacing: .08em;
}

.hero__media {
  overflow: hidden; aspect-ratio: var(--media-ratio-hero, 16 / 10);
  border-radius: var(--r-lg); background: var(--c-media);
  border: 1px solid var(--c-line); box-shadow: var(--shadow-2);
}
.hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--c-accent-soft, var(--c-media)); color: var(--c-accent);
  font-size: 16px; font-weight: 700;
}
.card__title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card--product .card__body { padding: 22px 20px; gap: 12px; }
.card__lead { font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.card__meta { font: 600 12px/1.5 var(--font-mono); color: var(--c-muted); letter-spacing: .02em; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__more {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-top: auto; font-size: 14px; font-weight: 600; color: var(--c-accent);
}
.card__more::after { content: "→"; margin-left: 6px; transition: transform var(--dur) var(--ease); }
@media (hover: hover) { .card:hover .card__more::after { transform: translateX(4px); } }

/* 文章卡（无图标，带日期） */
.card--article .card__meta { text-transform: none; letter-spacing: 0; }

/* 办事处卡 */
.grid--offices { --card-min: 240px; }
.card--office .card__body { gap: 6px; }
.card--office h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.card--office a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; color: var(--c-accent); }

/* ---------- 手风琴（原生 details，GEO 用） ---------- */
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__item > summary {
  display: flex; align-items: flex-start; gap: 12px;
  min-height: 56px; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; line-height: 1.5;
}
.acc__item > summary::-webkit-details-marker { display: none; }
.acc__item > summary::after {
  content: "+"; margin-left: auto; flex: none;
  font-size: 20px; line-height: 1; color: var(--c-accent);
}
.acc__item[open] > summary::after { content: "–"; }
.acc__body { padding: 0 0 20px; font-size: 15px; line-height: 1.75; color: var(--c-muted); max-width: 70ch; }

/* ---------- 联系区 ---------- */
.contact__tel {
  display: inline-block; margin-top: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 6vw, 44px); letter-spacing: -.01em; color: var(--c-accent);
}
.contact__note { margin-top: 10px; font-size: 14px; color: var(--c-muted); }
.contact__offices { margin-top: 30px; }

/* ---------- 行动条 ---------- */
.cta { padding-block: clamp(36px, 7vw, 64px); background: var(--c-cta-bg); color: var(--c-cta-fg); }
.cta__in { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta__text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(19px, 4vw, 28px); line-height: 1.34; max-width: 26ch; text-wrap: balance;
}
.cta .btn { background: var(--c-cta-fg); color: var(--c-cta-bg); }
@media (min-width: 768px) {
  .cta__in { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta__text { max-width: 40ch; }
}

/* ---------- 页脚 ---------- */
.foot {
  padding-block: 40px;
  border-top: 1px solid var(--c-line);
  font-size: 13px; line-height: 1.7; color: var(--c-muted);
  background: var(--c-foot-bg, transparent);
}
.foot__in { display: grid; gap: 22px; }
.foot__brand strong { display: block; color: var(--c-text); font-size: 15px; }
.foot__addr li { padding-block: 2px; }
.foot__legal { display: flex; flex-direction: column; gap: 4px; }
.foot__legal a { text-decoration: underline; }
@media (min-width: 768px) {
  .foot__in { grid-template-columns: 1.1fr 1fr .9fr; gap: 32px; }
}

/* ---------- 详情页 ---------- */
.crumb { padding-top: 18px; font-size: 13px; color: var(--c-muted); }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--c-line); }
.crumb a { min-height: 44px; display: inline-flex; align-items: center; }
.crumb [aria-current="page"] { color: var(--c-text); }

.post { padding-block: clamp(28px, 5vw, 56px); }
.post__kicker {
  font: 600 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 12px;
}
.post__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(25px, 5.4vw, 44px); line-height: 1.18; letter-spacing: -.02em;
  max-width: 26ch; text-wrap: balance;
}
.post__lead {
  margin-top: 16px; font-size: 17px; line-height: 1.7;
  color: var(--c-text-soft); max-width: 62ch;
}
.post__meta { margin-top: 16px; font: 600 12px/1 var(--font-mono); letter-spacing: .04em; color: var(--c-muted); }
.post__media { margin-top: 28px; aspect-ratio: var(--media-ratio-hero); background: var(--c-media); border-radius: var(--r-lg); overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }

.stats { display: none; }
.stats dt { font: 600 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); }
.stats dd { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.2; }

.post__body { margin-top: 32px; max-width: 72ch; font-size: 16px; line-height: 1.8; }
.post__body h2 { font-family: var(--font-display); font-size: clamp(20px, 3.6vw, 28px); margin: 1.6em 0 .6em; line-height: 1.3; }
.post__body h3 { font-family: var(--font-display); font-size: 18px; margin: 1.3em 0 .5em; line-height: 1.4; }
.post__body p { margin: .85em 0; }
.post__body ul, .post__body ol { margin: .85em 0; padding-left: 1.35em; list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin: .35em 0; }
.post__body a { color: var(--c-accent); text-decoration: underline; }
.post__body code { font: 13px/1.6 var(--font-mono); background: var(--c-media); padding: .12em .4em; border-radius: var(--r-sm); }
.post__body blockquote {
  margin: 1em 0; padding: 12px 18px; border-left: 3px solid var(--c-accent);
  background: var(--c-surface); color: var(--c-text-soft); font-size: 15px;
}
.post__body img { margin: 1em 0; border-radius: var(--r-md); }

.spec { margin-top: 40px; }
.spec h2 { font-family: var(--font-display); font-size: clamp(20px, 3.6vw, 28px); line-height: 1.3; margin-bottom: 16px; }
.spec table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.spec th { width: 34%; color: var(--c-muted); font-weight: 600; }
.spec caption { text-align: left; color: var(--c-muted); font-size: 13px; padding-bottom: 8px; }

/* ---------- 滚动进视（JS 不可用时默认可见，必须 fail open） ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* ---------- 首屏缓慢浮动 ---------- */
@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-2%, -2%, 0) scale(1.06); }
}
@media (min-width: 768px) {
  .hero__bg[data-float="1"] { animation: heroFloat 16s ease-in-out infinite; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .hero__bg[data-float="1"] { animation: none; }
}


/* ============================================================
   skin: industry —— 制造工业（Utilitarian）
   受众：工厂 / 设备 / 材料
   深蓝灰页头页脚 + 大图 + 数据条；卡片图文 4:6
   ============================================================ */
:root {
  --c-bg: #eef1f4;
  --c-surface: #ffffff;
  --c-bg-nav: #1b2733;
  --c-text: #16202b;
  --c-text-soft: #2c3a47;
  --c-muted: #4e5c6b;
  --c-accent: #0e7490;
  --c-on-accent: #ffffff;
  --c-line: #d7dee5;
  --c-media: #c9d3dc;
  --c-cta-bg: #0e7490;
  --c-cta-fg: #ffffff;

  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 6px;

  --card-min: 360px;
  --media-ratio-card: 3 / 2;
  --shadow-2: 0 8px 22px rgba(22, 32, 43, .14);
}

/* 页头：深蓝灰，文字转浅 */
.nav { color: #e9eff5; border-bottom-color: #2a3947; }
.nav__logo { background: #0e7490; }
.nav__menu ul li a[aria-current="page"] { color: #67d2e4; }
.nav__toggle { border-color: #3a4a5a; }
@media (max-width: 767px) {
  .nav__menu { background: #1b2733; }
  .nav__menu ul li a { border-bottom-color: #2a3947; }
}

/* 首屏：整块深色，压住版面 */
.hero { background: #1b2733; color: #eef3f7; border-bottom: 0; }
.hero__kicker { color: #67d2e4; }
.hero__title { color: #ffffff; }
.hero__lead { color: #b9c6d2; }
.hero .btn--ghost { color: #eef3f7; border-color: #3a4a5a; }
.chip { background: #243342; border-color: #3a4a5a; color: #c2cfda; }

/* 产品卡：图文 4:6，图片占 40% */
@media (min-width: 768px) {
  .grid { --card-min: 540px; }
  .card--product {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: stretch;
  }
  .card--product .card__media { aspect-ratio: auto; height: 100%; min-height: 210px; }
  .card--product .card__body { padding: 22px; }
}
.card { border-color: #cfd8e0; }
.card__icon { background: rgba(14, 116, 144, .1); color: var(--c-accent); }

/* 详情页数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 30px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.stats > div {
  display: flex; flex-direction: column-reverse; gap: 6px;
  background: var(--c-surface); padding: 16px 18px;
}
.stats dd { font-size: 26px; color: var(--c-text); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.fact__card { background: #ffffff; }
.foot { background: #1b2733; color: #a8b6c2; border-top: 0; }
.foot__brand strong { color: #ffffff; }

/* ---------- 页脚第三列：客服热线 ---------- */
.foot__legal .foot__k { color: var(--c-muted); font-size: 13px; }
.foot__legal .foot__num { color: var(--c-text); font-size: 18px; font-weight: 700; letter-spacing: .02em; }

/* ---------- 底部版权条（后台「底部内容」注入） ---------- */
.footer-extra { border-top: 1px solid var(--c-line); margin-top: 10px; padding-block: 14px 18px; }
.footer-extra .wrap { text-align: center; color: var(--c-muted); font-size: 13px; line-height: 1.7; }
.footer-extra p { margin: 2px 0; }
.footer-extra a { color: var(--c-muted); text-decoration: underline; }
/* ---------- 导航不换行（鼠标移上去变两行的问题） ---------- */
.nav__menu > ul > li > a { white-space: nowrap; }
.nav__menu > ul { display: flex; align-items: center; gap: 24px; }

/* 深底模板：页脚用浅色文字 */
.foot {
    --c-foot-fg: #cfdae4;
    --c-foot-strong: #ffffff;
    --c-foot-sub: #93a3b3;
    --c-foot-line: rgba(255, 255, 255, 0.12);
}

/* ================= 页脚（颜色按模板深浅自动适配） ================= */
.foot a { color: var(--c-foot-fg); text-decoration: none; transition: color .15s; }
.foot a:hover { color: var(--c-foot-strong); text-decoration: underline; }

.foot__addr { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__addr li { padding-block: 0; }

.foot__k,
.foot__legal .foot__k { color: var(--c-foot-sub); font-size: 12px; }
.foot__num,
.foot__legal .foot__num { color: var(--c-foot-strong); font-size: 20px; font-weight: 700; letter-spacing: .03em; }

.footer-links { border-top: 1px solid var(--c-foot-line); padding-block: 24px 6px; }
.footer-links .wrap { display: grid; grid-template-columns: 1fr; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--c-foot-fg); }
@media (min-width: 768px) {
    .footer-links .wrap { grid-template-columns: repeat(2, minmax(0, 220px)); gap: 8px 48px; }
}

.friend-links { padding-block: 16px; border-top: 1px solid var(--c-foot-line); }
.friend-links .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; font-size: 12px; color: var(--c-foot-sub); }
.friend-links a {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--c-foot-line);
    border-radius: 999px;
    color: var(--c-foot-fg);
    font-size: 12px;
}
.friend-links a:hover { border-color: var(--c-foot-strong); color: var(--c-foot-strong); }

.footer-extra { border-top: 1px solid var(--c-foot-line); padding-block: 16px; font-size: 12px; color: var(--c-foot-sub); text-align: center; }
.footer-extra p { margin: 0; }
.footer-extra p + p { margin-top: 6px; }
.footer-extra a { color: var(--c-foot-fg); }

.footer-bottom { border-top: 1px solid var(--c-foot-line); padding-block: 14px 26px; }
.footer-bottom .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 4px 16px; font-size: 12px; color: var(--c-foot-sub);
}
.footer-bottom a { color: var(--c-foot-sub); }

/* 联系我们：三个网点排一行 */
@media (min-width: 720px) {
    .grid--offices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 站点 logo：去掉模板给的正方形底色块，按原图比例显示 */
.nav__logo { width: auto; height: 30px; background: transparent; border-radius: 0; }
.nav__logo img { width: auto; height: 100%; object-fit: contain; }

/* ================= 视觉打磨（图更大、边角更柔、悬停更稳） ================= */
.hero__media { border-radius: 24px; box-shadow: 0 26px 64px rgba(10, 30, 20, .22); }
.hero__media img { transition: transform 1.4s cubic-bezier(.16, .84, .44, 1); }
@media (hover: hover) { .hero__media:hover img { transform: scale(1.035); } }

.card { border-radius: 18px; }
.card__media img { transition: transform .8s cubic-bezier(.16, .84, .44, 1); }
@media (hover: hover) { .card:hover .card__media img { transform: scale(1.05); } }

.post__media { border-radius: 22px; }
.sec__head h2 { letter-spacing: -.015em; }
.hero__title { letter-spacing: -.025em; }

/* 导航文字不换行（鼠标移上去变两行的问题） */
.nav__menu ul li a { white-space: nowrap; }

/* 关于页：左菜单 + 右正文 */
.about-layout { display: grid; gap: 24px; margin-top: 8px; }
.about-nav {
    border: 1px solid var(--c-line); border-radius: 14px; padding: 14px;
    background: var(--c-surface); align-self: start;
}
.about-nav h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 10px; }
.about-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
.about-nav li a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
    border-radius: 999px; font-size: 14px; color: var(--c-text-soft);
    border: 1px solid transparent;
}
.about-nav li a:hover { background: var(--c-media); }
.about-nav li.is-active a { background: var(--c-accent); color: var(--c-on-accent); font-weight: 600; }
.about-body { min-width: 0; }
.about-body h2 { font-family: var(--font-display); font-size: clamp(20px, 3.4vw, 26px); margin: 1.4em 0 .5em; }
.about-body h2:first-child { margin-top: 0; }
.about-body p { margin: .8em 0; color: var(--c-text-soft); }
.about-body img { border-radius: 14px; margin: 1em 0; }
@media (min-width: 900px) {
    .about-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
    .about-nav { position: sticky; top: 84px; }
    .about-nav ul { flex-direction: column; }
    .about-nav li a { width: 100%; border-radius: 10px; }
}

/* 关于页：内容区加宽 + 主标题更大 + 顶部大图 */
.post:has(.about-layout) .post__body { max-width: none; }
.post:has(.about-layout) .post__title { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; max-width: none; }
.post:has(.about-layout) .post__lead { font-size: clamp(16px, 1.8vw, 20px); max-width: none; }
.post:has(.about-layout) .post__media { aspect-ratio: 21 / 9; border-radius: 22px; margin-top: 8px; }
.about-layout { margin-top: 30px; }
.about-body { max-width: none; }
