@charset "UTF-8";
/* ==========================================================================
   南通伦苏服装辅料有限公司 · www.ntlunsu.com
   设计系统：成衣辅料 lookbook 风（暖纸底 + 朱砂红 + 衬线拉丁 + 缝线分隔）
   与 dehui-site / enterprise-template-* 均不同源，组件与骨架另起。
   ========================================================================== */
@import url("fonts.css");

/* --------------------------------------------------------------------------
   1. 令牌
   -------------------------------------------------------------------------- */
:root {
  /* 品牌 · 朱砂红取「热转印」的热，也贴服装行业 */
  --red: #c8452f;
  --red-deep: #a63520;
  --red-soft: #f4e3de;

  /* 中性 · 暖调纸感 */
  --paper: #f6f4f0;
  --paper-2: #efece6;
  --card: #ffffff;
  --ink: #1b1917;
  --ink-2: #3f3a35;
  --mute: #8a8279;
  --line: #ded8ce;
  --line-soft: #ebe6dd;

  /* 深色区（少量） */
  --deep: #221f1c;
  --on-deep: #f0ece5;
  --on-deep-mute: #a49b90;

  /* 字体 */
  --serif: "Instrument Serif", "Songti SC", "Source Han Serif SC", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;

  /* 字号 */
  /* 首屏主标题：中文 7 字一行，上限压到 4.5rem 才不会在 1440 下折成三行 */
  --fs-display: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem);
  --fs-h1: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.6rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-lede: clamp(1rem, 0.95rem + 0.3vw, 1.16rem);
  --fs-sm: 0.885rem;
  --fs-xs: 0.78rem;

  /* 间距 */
  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem;
  --s5: 2rem;  --s6: 3rem;   --s7: 4.5rem;
  --sec: clamp(3.8rem, 2rem + 5.6vw, 7.5rem);

  --r: 10px;          /* 柔和圆角，与德惠的直角相反 */
  --r-lg: 16px;
  --wrap: 1240px;
  --gut: clamp(1.15rem, 0.4rem + 3vw, 3.2rem);

  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   2. 基础
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.26; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: .7rem 1.1rem; }
.skip:focus { left: 0; }

/* 衬线 / 强调 */
.serif { font-family: var(--serif); font-weight: 400; }
.em { color: var(--red); }

/* 区块 */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(2.6rem, 1.6rem + 3.2vw, 4.4rem); }
.sec--alt { background: var(--paper-2); }
.sec--card { background: var(--card); }
.sec--deep { background: var(--deep); color: var(--on-deep); }
.sec--deep h2, .sec--deep h3 { color: #fff; }

/* --------------------------------------------------------------------------
   3. 缝线（本站签名元素：车缝线做分隔）
   -------------------------------------------------------------------------- */
.stitch {
  height: 1px; border: 0; margin: 0;
  background-image: repeating-linear-gradient(90deg,
    var(--line) 0 7px, transparent 7px 14px);
}
.stitch--red {
  background-image: repeating-linear-gradient(90deg,
    var(--red) 0 7px, transparent 7px 14px);
  opacity: .55;
}
.sec--deep .stitch {
  background-image: repeating-linear-gradient(90deg,
    #4a443d 0 7px, transparent 7px 14px);
}

/* --------------------------------------------------------------------------
   4. 标题
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: var(--red); margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); }
.sec--deep .eyebrow { color: #e08a74; }
.sec--deep .eyebrow::before { background: #e08a74; }

.h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
.lede { max-width: 60ch; color: var(--ink-2); font-size: var(--fs-lede); }
.sec--deep .lede { color: var(--on-deep-mute); }

.sechead { margin-bottom: var(--s6); }
.sechead--row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   5. 页眉
   -------------------------------------------------------------------------- */
.topline {
  background: var(--deep); color: var(--on-deep-mute); font-size: var(--fs-xs);
}
.topline__in { display: flex; justify-content: space-between; gap: var(--s4); min-height: 38px; align-items: center; }
.topline a:hover { color: #fff; }
.topline b { color: #fff; font-weight: 500; }
@media (max-width: 720px) { .topline__in > :first-child { display: none; } }

.mast {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.mast__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 74px; }
.brand { flex-shrink: 0; }
.brand img { height: 40px; width: auto; object-fit: contain; }
@media (max-width: 420px) { .brand img { height: 32px; } }

.nav { display: flex; gap: clamp(.5rem,.2rem + 1vw,1.7rem); }
.nav a {
  display: block; padding: .5rem .2rem; font-size: .95rem; color: var(--ink-2); white-space: nowrap;
  position: relative; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px;
  background: var(--red); transition: left .28s var(--ease), right .28s var(--ease);
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { left: 0; right: 0; }
@media (max-width: 1000px) { .nav { display: none; } }

.mast__cta { display: flex; align-items: center; gap: var(--s3); }
.mast__tel { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); white-space: nowrap; }
/* 正式 logo(横版中英文全称)比临时字标宽约 130px：1000~1140 之间放了电话就贴边，顶栏已有同一个号码，这里先收掉 */
@media (max-width: 1140px) { .mast__tel { display: none; } }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--card); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger i { width: 18px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1000px) { .burger { display: flex; } }

.drawer {
  position: fixed; inset: 0; z-index: 120; background: var(--paper);
  transform: translateX(100%); transition: transform .4s var(--ease), visibility 0s linear .4s var(--ease);
  /* 关闭态必须 visibility:hidden。只靠 transform 移出屏幕的话，抽屉仍在 DOM 里可聚焦——
     桌面宽度下汉堡按钮是 display:none，键盘用户 Tab 到页眉会掉进这些看不见的链接里。
     visibility 参与过渡，所以延迟到位移结束再隐藏，开合动画不受影响。 */
  visibility: hidden;
  display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 1.1rem) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 2rem);
}
.drawer[data-open] { transform: translateX(0); visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s5); }
.drawer__top img { height: 36px; width: auto; object-fit: contain; }
.drawer__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.drawer nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
.drawer__foot { margin-top: var(--s5); font-size: var(--fs-sm); color: var(--mute); display: grid; gap: .3rem; }
.drawer__foot b { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   6. 首屏
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2.6rem,1.4rem + 4.6vw,5.6rem) 0; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.6rem,.8rem + 3vw,4rem); align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: var(--fs-display); line-height: 1.06; font-weight: 400; font-family: var(--serif); letter-spacing: -0.015em; }
.hero h1 .cn { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; }
.hero__sub { margin: var(--s4) 0 0; max-width: 46ch; color: var(--ink-2); font-size: var(--fs-lede); }
.hero__acts { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }

/* 首屏图拼：一大两小，错位 */
.hero__art { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: var(--s3); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: var(--card); }
.hero__art > :nth-child(1) { grid-row: span 2; aspect-ratio: 3/4; }
.hero__art > :nth-child(2) { aspect-ratio: 4/3; }
.hero__art > :nth-child(3) { aspect-ratio: 4/3; }

/* 卖点条 */
.claims { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: var(--s7); }
@media (max-width: 900px) { .claims { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .claims { grid-template-columns: 1fr; } }
.claim { padding: var(--s4) var(--s3) var(--s4) 0; }
.claim b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--red); margin-bottom: .2rem; }
.claim span { font-size: var(--fs-sm); color: var(--ink-2); }

/* --------------------------------------------------------------------------
   7. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .88rem 1.6rem;
  border-radius: 999px; border: 1px solid transparent; font-size: .95rem; font-weight: 500;
  cursor: pointer; transition: background .22s, color .22s, border-color .22s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--line { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.more { display: inline-flex; align-items: center; gap: .45rem; color: var(--red);
  font-size: .95rem; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more svg { width: 14px; height: 14px; flex: none; }
.more:hover { color: var(--ink); }
.sec--deep .more { color: #e08a74; }

/* --------------------------------------------------------------------------
   8. 产品卡
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(27,25,23,.09); }
.card__img { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: var(--s4); display: grid; gap: .5rem; align-content: start; flex: 1; }
.card__body h3 { font-size: var(--fs-h3); }
.card__body p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.72; }
.card__en { font-family: var(--serif); font-style: italic; color: var(--mute); font-size: .95rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.card__tags span { font-size: .72rem; color: var(--red-deep); background: var(--red-soft);
  border-radius: 999px; padding: .16rem .55rem; }

/* --------------------------------------------------------------------------
   9. 作品画廊
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s3); }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--card); position: relative; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem;
  font-size: var(--fs-xs); color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.62), transparent);
  opacity: 0; transition: opacity .3s;
}
.gallery figure:hover figcaption { opacity: 1; }
/* 首页只放 10 张：固定列数，桌面 5 列、窄屏 2 列都正好排满，不留空格（auto-fill 在 5 列下会剩半行） */
.gallery--home { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .gallery--home { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   10. 图文对照
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,.8rem + 3vw,4rem); align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }
.split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .split--flip > :first-child { order: 0; } }
.split__img img { width: 100%; border-radius: var(--r-lg); }

/* --------------------------------------------------------------------------
   11. 工艺要点 / 流程
   -------------------------------------------------------------------------- */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s6); }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }
.point { display: grid; gap: .4rem; padding-top: var(--s3); border-top: 1px solid var(--line); }
.point b { font-family: var(--serif); font-size: 1.35rem; color: var(--red); }
.point h3 { font-size: var(--fs-h3); }
.point p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.75; }

.flowsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s4); }
.step {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: var(--s4); display: grid; gap: .5rem; align-content: start;
}
.sec--deep .step { background: #2b2724; border-color: #3a3530; }
.step b { font-family: var(--serif); font-size: 1.9rem; color: var(--red); line-height: 1; }
.sec--deep .step b { color: #e08a74; }
.step h3 { font-size: 1.02rem; }
.step p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.72; }
.sec--deep .step p { color: var(--on-deep-mute); }

/* --------------------------------------------------------------------------
   12. 规格表 / 清单
   -------------------------------------------------------------------------- */
.spec { font-size: var(--fs-sm); background: var(--card); border-radius: var(--r-lg); overflow: hidden; }
.spec th, .spec td { text-align: left; padding: .85rem var(--s4); border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.spec th { font-weight: 600; white-space: nowrap; width: 9.5rem; color: var(--ink); }
.spec td { color: var(--ink-2); }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.checks { display: grid; gap: .1rem; }
.checks li { display: flex; gap: .65rem; align-items: baseline; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-sm); }
.checks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-2px); }
.sec--deep .checks li { border-color: #3a3530; color: var(--on-deep-mute); }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg); margin-bottom: .7rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem var(--s4); position: relative; padding-right: 3rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.5rem; top: 1.55rem; width: 10px; height: 10px;
  border-right: 1.6px solid var(--red); border-bottom: 1.6px solid var(--red); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq .a { padding: 0 var(--s4) 1.2rem; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.8; }
.faq .a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   13. 内页页头
   -------------------------------------------------------------------------- */
.phead { padding-block: clamp(2.2rem,1.4rem + 3vw,4.2rem) 0; }
.phead h1 { font-size: var(--fs-h1); font-family: var(--serif); font-weight: 400; }
.phead .lede { margin-top: var(--s3); }
.crumb { display: flex; gap: .5rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--mute); margin-bottom: var(--s4); }
.crumb li { display: flex; }
.crumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .5; }
.crumb a:hover { color: var(--red); }

/* --------------------------------------------------------------------------
   14. 表单
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s4); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.fld { display: grid; gap: .4rem; }
.fld > span { font-size: var(--fs-sm); font-weight: 500; }
.fld > span em { font-style: normal; color: var(--red); }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: .95rem; padding: .78rem .9rem; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--card); color: var(--ink); width: 100%;
}
.fld textarea { min-height: 128px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--red); outline: none; }
.note { font-size: var(--fs-xs); color: var(--mute); }
.status { font-size: var(--fs-sm); padding: .8rem 1rem; border-radius: var(--r);
  background: var(--red-soft); color: var(--red-deep); }
.status[data-err] { background: #fdecec; color: #a12; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.cbox { display: grid; gap: .45rem; padding: var(--s4); background: var(--card);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.cbox b { font-size: var(--fs-xs); color: var(--mute); font-weight: 500; }
.cbox strong { font-size: 1.05rem; }
.cbox .tel { font-family: var(--serif); font-size: 1.5rem; }

/* --------------------------------------------------------------------------
   15. CTA / 页脚
   -------------------------------------------------------------------------- */
/* 行动区原来是深色，和页脚同色连成一片；改成朱砂红调的浅暖底（2026-09-30 客户要求换背景） */
.cta { background: color-mix(in srgb, var(--red) 12%, var(--paper)); color: var(--ink); }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s5);
  padding-block: clamp(2.4rem,1.5rem + 2.6vw,4rem); flex-wrap: wrap; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem,1.2rem + 1.4vw,2.4rem); }
.cta p { margin: .6rem 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.cta__acts { display: flex; gap: var(--s3); flex-wrap: wrap; align-items: center; }
.cta__tel { font-family: var(--serif); font-size: clamp(1.5rem,1.1rem + 1.4vw,2.1rem); color: var(--ink); }

.foot { background: var(--deep); color: var(--on-deep-mute); font-size: var(--fs-sm); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s5); padding-block: var(--s7) var(--s6); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
/* width:auto 必须显式写：HTML 的 width 属性是 presentational hint(等同 width:520px)，
   CSS 只覆盖 height 的话宽度会留在属性值上，再被 max-width:100% 夹到容器宽，
   结果高被钉死、宽被拉伸。object-fit:contain 再兜一层：容器比图还窄时只缩不变形。 */
.foot__brand img { height: 46px; width: auto; object-fit: contain; margin-bottom: var(--s3); }
.foot__brand p { max-width: 34ch; line-height: 1.78; }
.foot h4 { color: #fff; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s3); }
.foot li { padding: .28rem 0; }
.foot a:hover { color: #fff; }
.foot__contact b { display: block; color: #fff; font-family: var(--serif); font-size: 1.25rem; }
.foot__bar { border-top: 1px solid #3a3530; padding-block: var(--s4); display: flex;
  justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: var(--fs-xs); }
.foot__bar a { text-decoration: underline; text-underline-offset: 3px; }
.foot__kw { color: #5c554d; }

/* 浮动 */
.fab { position: fixed; right: 0; bottom: 16%; z-index: 80; display: grid; gap: 1px; }
.fab a, .fab button { width: 54px; height: 54px; background: var(--deep); color: #fff; border: none;
  cursor: pointer; display: grid; place-items: center; gap: 2px; transition: background .2s; }
.fab a:first-child { border-radius: var(--r) 0 0 0; }
.fab > :last-child { border-radius: 0 0 0 var(--r); }
.fab a:hover, .fab button:hover { background: var(--red); }
.fab svg { width: 18px; height: 18px; }
.fab em { font-style: normal; font-size: .56rem; letter-spacing: .06em; }
.fab__top[hidden] { display: none !important; }
@media (max-width: 720px) {
  /* 底部固定条：列数写死 3，否则「回到顶部」按钮 hidden 切换时列宽会变，
     手指底下的电话/留言按钮会横向跳动。安全区内边距给刘海屏让位，
     再给 body 垫出等高的 padding，免得盖住页脚版权行。 */
  .fab { bottom: 0; right: 0; left: 0; grid-template-columns: repeat(3, 1fr); grid-auto-flow: column;
         padding-bottom: env(safe-area-inset-bottom, 0px); }
  .fab a, .fab button { width: auto; height: 52px; border-radius: 0 !important; }
  .fab__top[hidden] { display: grid !important; visibility: hidden; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
}

/* --------------------------------------------------------------------------
   16. 正文
   -------------------------------------------------------------------------- */
.prose { font-size: 1.02rem; line-height: 1.92; color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin: 2.3rem 0 .85rem; color: var(--ink); font-family: var(--serif); font-weight: 400; }
.prose h3 { font-size: 1.14rem; margin: 1.9rem 0 .65rem; color: var(--ink); }
.prose ul { margin: 0 0 1.2em; display: grid; gap: .42rem; }
.prose ul li { padding-left: 1.15rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--red); }
.prose ol { margin: 0 0 1.2em; display: grid; gap: .42rem; counter-reset: n; }
.prose ol li { padding-left: 1.6rem; position: relative; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0;
  font-family: var(--serif); color: var(--red); }
.prose strong { color: var(--ink); font-weight: 600; }
.callout { border-left: 2px solid var(--red); background: var(--card); border-radius: 0 var(--r) var(--r) 0;
  padding: var(--s3) var(--s4); margin: 0 0 1.3em; font-size: var(--fs-sm); }

/* 动效 */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

.stack { display: grid; gap: var(--s4); }
.mt5 { margin-top: var(--s5); } .mt6 { margin-top: var(--s6); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
