/* =========================================================
   清北堂中医馆 · 品牌网站样式（精致版）
   设计语言：品牌金 #C5A56A + 墨棕黑 #2A2620 + 米白 #F9F6F0
   衬线标题 + 线条 SVG 图标 + 印章/水墨中式细节
   ========================================================= */

:root {
  /* 品牌色 */
  --color-primary: #2a2620;        /* 墨棕黑 · 标题/主色 */
  --color-primary-dark: #1c1813;   /* 页脚深色 */
  --color-primary-light: #f1ece3;  /* 浅底 */
  --color-accent: #9e2a2b;         /* 印章红 · 点缀 */
  --color-gold: #c5a56a;           /* 品牌金 · Logo 主色 */
  --color-gold-dark: #a9863f;      /* 深金 · hover */
  --color-gold-soft: #efe3cc;      /* 浅金 · 底纹 */

  /* 中性色 */
  --color-bg: #f9f6f0;             /* 米白 · 页面底 */
  --color-surface: #ffffff;
  --color-ink: #2a2620;            /* 墨棕黑 · 正文 */
  --color-muted: #6e675e;          /* 次要文字 */
  --color-line: #e7e0d4;           /* 分割线 */

  /* 字体（衬线优先，回退系统） */
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;

  /* 尺度 */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(42, 38, 32, 0.07);
  --shadow-lg: 0 22px 60px rgba(42, 38, 32, 0.16);
  --shadow-soft: 0 4px 18px rgba(42, 38, 32, 0.06);
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--alt { background: var(--color-surface); }
.section--alt::before,
.section::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.section--alt::before { top: 0; }
.section::after { bottom: 0; }

.section__head { text-align: center; max-width: 800px; margin: 0 auto 60px; position: relative; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 16px; margin-bottom: 18px;
  flex-wrap: wrap; justify-content: center;
}
.section__no {
  font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(169,134,63,.28);
}
.section__eyebrow .label {
  font-size: 16px; letter-spacing: 4px; color: var(--color-primary); font-weight: 600;
}
.section__en {
  font-size: 12px; letter-spacing: 3px; color: var(--color-gold-dark); text-transform: uppercase;
  padding-left: 14px; border-left: 1px solid var(--color-line); font-family: var(--font-sans);
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--color-primary);
  line-height: 1.3; font-weight: 600; letter-spacing: 1px;
}
.section__title .deco { display: block; }
.section__sub { color: var(--color-muted); margin-top: 18px; font-size: 16.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: all .28s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap; letter-spacing: .5px;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #2a2018;
  box-shadow: 0 8px 22px rgba(169, 134, 63, .28);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(169, 134, 63, .38); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { filter: brightness(1.07); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(42,38,32,.35); color: var(--color-primary); background: transparent; }
.btn--ghost:hover { background: var(--color-primary); color: var(--color-gold); border-color: var(--color-primary); transform: translateY(-3px); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(249, 246, 240, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--color-line);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(42,38,32,.07); background: rgba(249,246,240,.94); }
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 44px; width: auto; display: block; }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__link { font-size: 15.5px; color: var(--color-ink); position: relative; padding: 6px 0; font-weight: 500; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-gold); transition: width .28s ease; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: none; width: 42px; height: 42px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--color-ink); margin: 5px auto; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(197,165,106,.20), transparent 60%),
    radial-gradient(800px 500px at 8% 110%, rgba(158,42,43,.06), transparent 55%),
    linear-gradient(165deg, #faf7f1 0%, #f5efe5 55%, #ece5d9 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__bg svg { position: absolute; opacity: .5; }
.hero__bg .ring { right: -120px; top: 14%; width: 420px; color: rgba(197,165,106,.30); }
.hero__bg .ink { left: -90px; bottom: -60px; width: 340px; color: rgba(42,38,32,.05); }
.hero__inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero__text { max-width: 600px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--color-primary);
  background: rgba(197,165,106,.14); padding: 8px 18px; border-radius: 999px; margin-bottom: 24px;
  border: 1px solid rgba(197,165,106,.3);
}
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px rgba(158,42,43,.15); }
.hero__title {
  font-family: var(--font-serif); font-size: clamp(40px, 6.6vw, 74px); line-height: 1.12;
  color: var(--color-primary); font-weight: 700; letter-spacing: 2px;
}
.hero__title em { color: var(--color-gold); font-style: normal; position: relative; }
.hero__desc { margin: 28px 0 38px; font-size: 18.5px; color: var(--color-muted); max-width: 540px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--color-line); }
.hero__stat .num { font-family: var(--font-serif); font-size: 32px; color: var(--color-gold-dark); font-weight: 700; }
.hero__stat .label { font-size: 14px; color: var(--color-muted); margin-top: 2px; }

/* Hero 侧图 */
.hero__media { position: relative; }
.hero__media-frame {
  position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.hero__media-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(28,24,19,.28)); }
.hero__media .seal-stamp { position: absolute; right: -22px; bottom: -22px; width: 96px; height: 96px; filter: drop-shadow(0 8px 18px rgba(158,42,43,.3)); }
.hero__media .media-tag {
  position: absolute; left: 18px; top: 18px; z-index: 3; background: rgba(255,255,255,.92);
  color: var(--color-primary); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  letter-spacing: 1px; backdrop-filter: blur(4px);
}
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--color-muted); letter-spacing: 3px; z-index: 3; }

/* ---------- 印章 SVG ---------- */
.seal-stamp { display: block; }

/* ---------- 关于 ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about__text h3 { font-family: var(--font-serif); font-size: 27px; color: var(--color-primary); margin-bottom: 20px; line-height: 1.4; }
.about__text p { color: var(--color-muted); margin-bottom: 16px; }
.about__points { display: grid; gap: 16px; margin-top: 28px; }
.about__point { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-sm); transition: transform .25s ease, box-shadow .25s ease; }
.about__point:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); }
.about__point .ic {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
  background: var(--color-gold-soft); color: var(--color-gold-dark);
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 19px; font-weight: 700;
}
.about__point span { font-size: 15px; color: var(--color-muted); }
.about__point b { color: var(--color-ink); }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about__card {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.about__card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--color-gold), var(--color-accent)); }
.about__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.about__card .k { font-family: var(--font-serif); font-size: 32px; color: var(--color-gold-dark); font-weight: 700; }
.about__card .t { font-size: 14.5px; color: var(--color-muted); margin-top: 6px; line-height: 1.7; }

/* ---------- 理念四支柱（固生堂式） ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 34px 26px 30px; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--color-gold), var(--color-accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__no { font-family: var(--font-serif); font-size: 46px; color: var(--color-gold-soft); font-weight: 700; line-height: 1; }
.pillar__en { font-size: 11px; letter-spacing: 2px; color: var(--color-gold-dark); text-transform: uppercase; margin: 8px 0 16px; }
.pillar h3 { font-family: var(--font-serif); font-size: 20px; color: var(--color-primary); margin-bottom: 12px; }
.pillar p { font-size: 14.5px; color: var(--color-muted); line-height: 1.8; }

/* ---------- 信任保障条（深色） ---------- */
.truststrip { background: var(--color-primary); color: #fff; position: relative; }
.truststrip::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 22px); }
.truststrip__inner { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.truststrip__item { display: flex; gap: 16px; align-items: center; padding: 34px 24px; border-right: 1px solid rgba(255,255,255,.10); }
.truststrip__item:last-child { border-right: none; }
.truststrip__item .ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 13px; background: rgba(197,165,106,.18); color: var(--color-gold); display: grid; place-items: center; border: 1px solid rgba(197,165,106,.35); }
.truststrip__item .ic svg { width: 24px; height: 24px; }
.truststrip__item .t { font-family: var(--font-serif); font-size: 18px; font-weight: 600; }
.truststrip__item .s { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 2px; }

/* ---------- 服务 ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 36px 32px; transition: transform .3s ease, box-shadow .3s ease; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--color-gold), var(--color-accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--color-gold-soft); color: var(--color-gold-dark);
  display: grid; place-items: center; margin-bottom: 22px; border: 1px solid rgba(197,165,106,.35);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-family: var(--font-serif); font-size: 22px; color: var(--color-primary); margin-bottom: 12px; font-weight: 600; }
.card p { color: var(--color-muted); font-size: 15.5px; }

/* ---------- 环境 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--color-primary-light); box-shadow: var(--shadow-soft); }
.gallery__item--lg { grid-column: span 2; aspect-ratio: 16/9; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(28,24,19,.55)); opacity: 0; transition: opacity .35s ease; }
.gallery__item:hover::after { opacity: 1; }
.gallery__item span {
  position: absolute; z-index: 2; left: 16px; bottom: 16px; background: rgba(255,255,255,.94);
  padding: 7px 15px; border-radius: 999px; font-size: 13.5px; color: var(--color-ink); font-weight: 500;
  transform: translateY(6px); opacity: 0; transition: all .35s ease;
}
.gallery__item:hover span { transform: translateY(0); opacity: 1; }

/* ---------- 预约 CTA ---------- */
.cta { position: relative; background: var(--color-primary); color: #fff; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(197,165,106,.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 22px);
}
.cta::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 340px; height: 340px; border-radius: 50%; border: 2px dashed rgba(197,165,106,.3); }
.cta__inner { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.cta h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; font-weight: 600; letter-spacing: 1px; }
.cta p { color: rgba(255,255,255,.82); margin-bottom: 32px; font-size: 17.5px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--color-primary-dark); color: rgba(255,255,255,.78); padding: 70px 0 30px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-gold), transparent 40%, var(--color-accent)); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-family: var(--font-serif); font-weight: 600; position: relative; padding-left: 14px; }
.footer h4::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--color-gold); border-radius: 2px; }
.footer a { transition: color .2s ease; }
.footer li { margin-bottom: 11px; font-size: 14.5px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .brand__logo { height: 50px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- 预约页 ---------- */
.page-hero { padding: calc(var(--nav-h) + 70px) 0 56px; background: linear-gradient(165deg, #faf7f1, #f3ede2); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 2px dashed rgba(197,165,106,.3); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 50px); color: var(--color-primary); font-weight: 700; letter-spacing: 2px; }
.page-hero p { color: var(--color-muted); margin-top: 14px; max-width: 620px; font-size: 17px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.info-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); margin-bottom: 24px; }
.info-card h3 { font-family: var(--font-serif); color: var(--color-primary); font-size: 21px; margin-bottom: 18px; font-weight: 600; }
.info-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--color-line); align-items: flex-start; }
.info-row:last-child { border-bottom: none; }
.info-row .ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: var(--color-gold-soft); color: var(--color-gold-dark); display: grid; place-items: center; border: 1px solid rgba(197,165,106,.35); }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row .k { font-size: 13px; color: var(--color-muted); margin-bottom: 2px; }
.info-row .v { font-size: 15.5px; color: var(--color-ink); }
.info-row .v b { color: var(--color-primary); }
.map { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--color-primary-light); border: 1px solid var(--color-line); display: block; position: relative; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.map:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__note {
  position: absolute; bottom: 16px; left: 16px; background: rgba(255,255,255,.94); padding: 9px 16px;
  border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--color-primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.map__note::after { content: "→"; color: var(--color-gold-dark); }

/* 表单 */
.form { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form h3 { font-family: var(--font-serif); color: var(--color-primary); font-size: 23px; margin-bottom: 8px; font-weight: 600; }
.form .hint { color: var(--color-muted); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14.5px; color: var(--color-ink); margin-bottom: 8px; font-weight: 500; }
.field label .req { color: var(--color-accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--color-line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15.5px; color: var(--color-ink); background: #fcfbf7;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #b6ad9f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(197,165,106,.18); }
.field textarea { resize: vertical; min-height: 100px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__msg { margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14.5px; display: none; }
.form__msg.ok { display: block; background: #f6f1e6; color: var(--color-primary); border: 1px solid #e9dec9; }
.form__msg.err { display: block; background: #fbeaea; color: var(--color-accent); border: 1px solid #f1cfcf; }

/* ---------- 文章（健康讲堂） ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card__media { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--color-gold-soft), #e6d8bd); overflow: hidden; }
.post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__ph {
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 26px;
  color: var(--color-gold-dark); letter-spacing: 6px; opacity: .7;
}
.post-card__body { padding: 22px 24px 26px; }
.post-card__date { font-size: 13px; color: var(--color-gold-dark); letter-spacing: 1px; margin-bottom: 10px; }
.post-card__body h3 { font-family: var(--font-serif); font-size: 20px; color: var(--color-primary); line-height: 1.45; margin-bottom: 10px; font-weight: 600; }
.post-card__body p { font-size: 14.5px; color: var(--color-muted); margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { font-size: 14px; color: var(--color-gold-dark); font-weight: 600; }
.posts-more { text-align: center; margin-top: 44px; }

/* 文章详情（公众号式排版） */
.article { padding: calc(var(--nav-h) + 56px) 0 72px; background: var(--color-surface); }
.article__wrap { max-width: 820px; }
.article__back { display: inline-block; font-size: 14px; color: var(--color-gold-dark); margin-bottom: 22px; font-weight: 600; }
.article__meta { font-size: 14px; color: var(--color-muted); letter-spacing: 1px; margin-bottom: 14px; }
.article__title { font-family: var(--font-serif); font-size: clamp(28px, 4.4vw, 42px); color: var(--color-primary); line-height: 1.35; font-weight: 700; letter-spacing: 1px; }
.article__cover { margin: 32px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article__cover img { width: 100%; display: block; }
.article__content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 2.05; color: #34302a; }
.article__content h2 { font-family: var(--font-serif); font-size: 25px; color: var(--color-primary); margin: 34px 0 14px; line-height: 1.45; position: relative; padding-left: 16px; }
.article__content h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 3px; background: linear-gradient(180deg, var(--color-gold), var(--color-accent)); }
.article__content h3 { font-family: var(--font-serif); font-size: 20px; color: var(--color-primary); margin: 26px 0 10px; }
.article__content p { margin: 16px 0; }
.article__content img { max-width: 100%; border-radius: 12px; margin: 18px 0; box-shadow: var(--shadow-soft); }
.article__content blockquote { border-left: 3px solid var(--color-gold); padding: 4px 0 4px 18px; margin: 18px 0; color: var(--color-muted); background: var(--color-primary-light); border-radius: 0 10px 10px 0; }
.article__content ul, .article__content ol { margin: 16px 0; padding-left: 26px; }
.article__content li { margin: 8px 0; }
.article__content a { color: var(--color-gold-dark); text-decoration: underline; }
.article__content code { background: var(--color-primary-light); padding: 2px 6px; border-radius: 6px; font-size: 14px; }
.article__content pre { background: var(--color-primary-light); padding: 16px; border-radius: 12px; overflow: auto; }
.article__content pre code { background: none; padding: 0; }
.article__foot { max-width: 760px; margin: 48px auto 0; padding-top: 26px; border-top: 1px solid var(--color-line); }

/* ---------- 滚动入场动画 ---------- */
.reveal { transition: opacity .8s ease, transform .8s ease; }
.js .reveal { opacity: 0; transform: translateY(30px); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 460px; }
  .cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--lg { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .truststrip__inner { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .truststrip__item:nth-child(2) { border-right: none; }
  .section { padding: 80px 0; }
}
@media (max-width: 720px) {
  .brand__logo { height: 38px; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-line);
    padding: 12px 24px 20px; transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__link { padding: 13px 0; border-bottom: 1px solid var(--color-line); }
  .nav__actions { display: none; }
  .nav__toggle { display: block; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
  .hero__stats { gap: 26px; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .gallery__item--lg { grid-column: span 1; aspect-ratio: 4/3; }
  .pillars { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .truststrip__inner { grid-template-columns: 1fr; }
  .truststrip__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.10); padding: 26px 18px; }
  .truststrip__item:last-child { border-bottom: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer__bottom { flex-direction: column; }
}

/* =========================================================
   资质与口碑 / Qualification & Reputation
   ========================================================= */
.rep-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.rep-certs { display: grid; gap: 14px; }
.rep-cert {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-sm); padding: 20px 22px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.rep-cert:hover { border-color: var(--color-gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.rep-cert .ic {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
  background: var(--color-gold-soft); color: var(--color-gold-dark);
  display: grid; place-items: center; border: 1px solid rgba(197, 165, 106, .35);
}
.rep-cert .ic svg { width: 23px; height: 23px; }
.rep-cert > div { flex: 1; min-width: 0; }
.rep-cert h3 { font-family: var(--font-serif); font-size: 16.5px; font-weight: 600; margin: 0 0 5px; }
.rep-cert p { margin: 0; font-size: 13.5px; color: var(--color-muted); line-height: 1.7; }
.rep-cert__thumb {
  flex: 0 0 56px; width: 56px; height: 78px; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--color-line); background: #fff;
  transition: border-color .25s ease, transform .25s ease;
}
.rep-cert__thumb:hover { border-color: var(--color-gold); transform: scale(1.05); }
.rep-cert__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rep-cards { display: grid; gap: 16px; }
.rep-card {
  display: flex; gap: 18px; align-items: center; text-decoration: none; color: inherit;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-sm); padding: 18px 20px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.rep-card:hover { border-color: var(--color-gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.rep-card__qr {
  flex: 0 0 92px; width: 92px; height: 92px; padding: 6px;
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
}
.rep-card__qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rep-card--static { cursor: default; }
.rep-card--static:hover { transform: none; box-shadow: none; border-color: var(--color-line); }
.rep-cert__view {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 9px;
  font-size: 13px; font-weight: 500; color: var(--color-gold-dark);
  text-decoration: none; border-bottom: 1px dashed rgba(197, 165, 106, .65); padding-bottom: 2px;
}
.rep-cert__view:hover { color: var(--color-gold); border-bottom-color: var(--color-gold); }

/* 证照查看弹窗 */
.hidden { display: none !important; }
.lb-modal {
  position: fixed; inset: 0; z-index: 200; padding: 30px;
  background: rgba(28, 24, 19, .88);
  display: flex; align-items: center; justify-content: center;
}
.lb-modal img {
  max-width: min(940px, 94vw); max-height: 88vh;
  border-radius: 10px; background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lb-close {
  position: absolute; top: 18px; right: 22px; height: 48px; padding: 0 22px;
  border-radius: 24px; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 16px; line-height: 46px; cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .25); }
.lb-tip { position: absolute; bottom: 24px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .78); font-size: 13px; }
.rep-card__icon {
  flex: 0 0 92px; width: 92px; height: 92px; border-radius: var(--radius-sm);
  background: var(--color-gold-soft); color: var(--color-gold-dark);
  display: grid; place-items: center; border: 1px solid rgba(197, 165, 106, .35);
}
.rep-card__icon svg { width: 38px; height: 38px; }
.rep-card__body h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.rep-card__body p { margin: 0 0 9px; font-size: 13.5px; color: var(--color-muted); line-height: 1.65; }
.rep-card__go { font-size: 13px; color: var(--color-gold-dark); font-weight: 500; }
.rep-card:hover .rep-card__go { color: var(--color-gold); }
.rep-note {
  margin: 2px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--color-muted);
  border-left: 2px solid var(--color-gold); padding-left: 12px;
}
@media (max-width: 980px) { .rep-grid { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 720px) {
  .rep-cert { padding: 16px 18px; gap: 14px; }
  .rep-cert .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; }
  .rep-card { padding: 15px; gap: 14px; }
  .rep-card__qr { flex: 0 0 78px; width: 78px; height: 78px; }
  .rep-card__icon { flex: 0 0 78px; width: 78px; height: 78px; }
  .rep-card__icon svg { width: 32px; height: 32px; }
  .rep-cert__thumb { flex: 0 0 46px; width: 46px; height: 64px; }
}
