/* ============================================================
   天水 · 卦象对开
   骨架：双行导航（上行品牌/电话，下行六格等分带竖线）+ 左右对开首屏（中缝竖线 + 太极）
        + 六爻式构件格（3×2 大图块）+ 阴阳对照（左暗右明）+ 通栏案例（竖题压在右缘）
        + 横向城名长条 + 对开手记 + 对开页脚
   特征：隶书标题（站群内唯一）、绛紫 + 石青 + 铜金、处处「对开」的中缝逻辑
   ============================================================ */

:root {
  --zi: #4E2A3A;
  --zi-deep: #351B26;
  --qing: #3E5A55;
  --gold: #B08B4F;
  --paper: #F7F2E8;
  --paper-2: #EDE5D5;
  --ink: #241C21;
  --ink-2: #4C4048;
  --ink-3: #84757E;
  --line: #D8CCB9;
  --line-2: #BFB09A;
  --accent: var(--zi);
  --font-h: 'LiSu', 'STLiti', '隶书', 'Songti SC', serif;
  --font-b: 'Songti SC', 'SimSun', 'Microsoft YaHei', serif;
  --wrap: 1280px;
  --gut: 34px;
  --sec-y: 80px;
  --hw: 400;
  --htrack: .08em;
}

/* ---------------- 双行导航 ---------------- */
.gh { position: sticky; top: 0; z-index: 90; background: var(--paper); }
.gh-top {
  border-bottom: 1px solid var(--line);
  background: var(--zi-deep);
  color: var(--paper);
}
.gh-top-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  height: 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.gh-brand { display: flex; align-items: center; gap: 9px; color: var(--paper); }
.gh-brand svg { width: 22px; height: 22px; color: var(--gold); }
.gh-brand b { font-family: var(--font-h); font-size: 16px; letter-spacing: .16em; font-weight: 400; }
.gh-brand i { font-style: normal; font-size: 9.5px; letter-spacing: .22em; color: rgba(247,242,232,.5); }
.gh-slogan { font-size: 11.5px; letter-spacing: .2em; color: rgba(247,242,232,.6); }
.gh-top-act { display: flex; align-items: center; gap: 8px; }
.gh-top-act a, .gh-top-act button {
  height: 30px; padding: 0 12px;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(247,242,232,.22);
  font-size: 12px; color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.gh-top-act a:hover, .gh-top-act button:hover { background: var(--gold); border-color: var(--gold); color: var(--zi-deep); }
.gh-top-act svg { width: 15px; height: 15px; }

.gh-nav { border-bottom: 2px solid var(--zi); }
.gh-nav-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
}
.gh-nav a {
  position: relative;
  height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h);
  font-size: 16px; letter-spacing: .16em;
  border-left: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.gh-nav a:last-child { border-right: 1px solid var(--line); }
.gh-nav a:hover { background: var(--paper-2); }
.gh-nav a.on { background: var(--zi); color: var(--paper); }
.gh-burger { display: none; }

/* 移动端抽屉 */
.gdrawer {
  position: fixed; inset: 0; z-index: 160;
  background: var(--zi-deep); color: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  padding: 28px 22px; overflow-y: auto;
}
.gdrawer.on { opacity: 1; visibility: visible; }
.gdrawer-top { display: flex; justify-content: space-between; align-items: center; }
.gdrawer-top b { font-family: var(--font-h); font-size: 17px; letter-spacing: .14em; font-weight: 400; }
.gdrawer-top button { width: 38px; height: 38px; color: var(--paper); }
.gdrawer nav { margin-top: 26px; }
.gdrawer nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(247,242,232,.16); font-family: var(--font-h); font-size: 19px; letter-spacing: .16em; }
.gdrawer-foot { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: rgba(247,242,232,.68); }
.gdrawer-foot a { color: var(--gold); }

/* ---------------- 左右对开首屏 ---------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  background: var(--paper);
  min-height: min(76vh, 660px);
}
.split-fig { position: relative; overflow: hidden; min-width: 0; }
.split-fig img { width: 100%; height: 100%; object-fit: cover; }
.split-fig::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(53,27,38,.18), rgba(53,27,38,.02) 40%, rgba(53,27,38,.42));
}
.hex {
  position: absolute; left: 22px; top: 22px; z-index: 2;
  display: flex; flex-direction: column; gap: 5px;
}
.hex i { display: block; width: 46px; height: 6px; background: rgba(247,242,232,.9); }
.hex i.broken { background: linear-gradient(90deg, rgba(247,242,232,.9) 0 19px, transparent 19px 27px, rgba(247,242,232,.9) 27px); }
.hex-cap {
  position: absolute; left: 22px; bottom: 20px; z-index: 2;
  font-size: 10.5px; letter-spacing: .24em; color: rgba(247,242,232,.8);
}
.split-mid { background: var(--line-2); position: relative; }
.split-mid::after {
  content: '☯';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  display: grid; place-content: center;
  background: var(--paper);
  color: var(--zi);
  font-size: 17px;
  border: 1px solid var(--line-2);
}
.split-body {
  padding: clamp(28px, 4.4vw, 62px) clamp(24px, 3.4vw, 46px);
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
  position: relative;
}
.split-body::before {
  content: '';
  position: absolute; right: 0; top: 0;
  width: 92px; height: 92px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: .55;
  pointer-events: none;
}
.split-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .26em; color: var(--ink-3);
}
.split-kicker::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.split-body h1 {
  margin: 16px 0 0;
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.36;
  letter-spacing: .08em;
  color: var(--zi-deep);
}
.split-body h1 em { font-style: normal; color: var(--gold); }
.split-sub { margin: 16px 0 0; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); max-width: 34em; }
.split-act { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.split-act .btn { height: 44px; font-family: var(--font-b); }
.btn-z { background: var(--zi); color: var(--paper); border-color: var(--zi); }
.split-facts {
  margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 24px;
  font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3);
}
.split-facts b { color: var(--zi); font-weight: 400; font-family: var(--font-h); font-size: 14px; letter-spacing: .08em; }

/* ---------------- 六爻式构件格 ---------------- */
.yao { padding: var(--sec-y) 0; background: var(--paper-2); }
.yao-head {
  max-width: var(--wrap); margin: 0 auto clamp(20px, 3vw, 32px); padding: 0 var(--gut);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.yao-head .t { display: flex; align-items: baseline; gap: 14px; }
.yao-head .no { font-family: var(--font-h); font-size: 12px; letter-spacing: .22em; color: var(--gold); }
.yao-head h2 { font-family: var(--font-h); font-weight: 400; font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: .1em; }
.yao-head p { font-size: 13px; color: var(--ink-3); max-width: 40ch; }

.yao-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.yao-cell {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--zi-deep);
  min-width: 0;
}
.yao-cell img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .8s, opacity .4s; }
.yao-cell:hover img { transform: scale(1.05); opacity: .92; }
.yao-cell .lbl {
  position: absolute; left: 0; top: 0;
  padding: 5px 10px;
  background: var(--zi);
  color: var(--paper);
  font-family: var(--font-h); font-size: 12px; letter-spacing: .18em;
}
.yao-cell .txt {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(36,20,28,.86));
  color: #F8F3EA;
}
.yao-cell .txt span { font-size: 10.5px; letter-spacing: .18em; color: var(--gold); }
.yao-cell .txt h3 { font-family: var(--font-h); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: .08em; margin-top: 4px; }
.yao-cell .txt p { font-size: 11.5px; color: rgba(248,243,234,.72); margin-top: 4px; }
.yao-more { max-width: var(--wrap); margin: 22px auto 0; padding: 0 var(--gut); }

/* ---------------- 阴阳对照 ---------------- */
.yinyang { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); background: var(--paper); }
.yy-col { padding: clamp(34px, 5vw, 64px) clamp(24px, 3.6vw, 54px); min-width: 0; }
.yy-dark { background: var(--zi-deep); color: var(--paper); }
.yy-line { background: var(--line-2); }
.yy-col h3 {
  font-family: var(--font-h); font-weight: 400; font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  letter-spacing: .14em; margin-bottom: 6px;
}
.yy-col .k { font-size: 10.5px; letter-spacing: .24em; color: var(--gold); }
.yy-list { margin-top: 20px; border-top: 1px solid rgba(132,117,126,.32); }
.yy-dark .yy-list { border-top-color: rgba(247,242,232,.2); }
.yy-item {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(132,117,126,.24);
  font-size: 13.5px; line-height: 1.7;
}
.yy-dark .yy-item { border-bottom-color: rgba(247,242,232,.14); }
.yy-item i { font-style: normal; font-family: var(--font-h); font-size: 14px; }
.yy-dark .yy-item i { color: #C97A6A; }
.yy-item b { display: block; font-weight: 400; font-family: var(--font-h); font-size: 15px; letter-spacing: .06em; margin-bottom: 2px; }
.yy-item span { color: var(--ink-3); font-size: 12px; }
.yy-dark .yy-item span { color: rgba(247,242,232,.56); }
.yy-light .yy-item i { color: var(--qing); }

/* ---------------- 通栏案例（竖题压右缘） ---------------- */
.wide-cases { padding: var(--sec-y) 0; background: var(--paper); }
.wc-head { max-width: var(--wrap); margin: 0 auto 26px; padding: 0 var(--gut); display: flex; align-items: baseline; gap: 14px; }
.wc-head .no { font-family: var(--font-h); font-size: 12px; letter-spacing: .22em; color: var(--gold); }
.wc-head h2 { font-family: var(--font-h); font-weight: 400; font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: .1em; }
.wc-item { display: block; position: relative; margin-bottom: 10px; overflow: hidden; }
.wc-item figure { margin: 0; }
.wc-item figure img { width: 100%; height: clamp(240px, 30vw, 420px); object-fit: cover; transition: transform .9s; }
.wc-item:hover figure img { transform: scale(1.03); }
.wc-item .vtitle {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(31%, 380px);
  background: rgba(53,27,38,.88);
  color: var(--paper);
  padding: 22px 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
}
.wc-item .vtitle .loc { font-size: 10.5px; letter-spacing: .2em; color: var(--gold); }
.wc-item .vtitle h3 {
  writing-mode: vertical-rl;
  font-family: var(--font-h); font-weight: 400;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  line-height: 1.5; letter-spacing: .12em;
  max-height: 100%;
}
.wc-item .vtitle em { font-style: normal; font-size: 11.5px; color: rgba(247,242,232,.6); letter-spacing: .1em; }

/* ---------------- 横向城名长条 ---------------- */
.city-strip { background: var(--zi-deep); color: var(--paper); padding: 26px 0; }
.cs-head { max-width: var(--wrap); margin: 0 auto 14px; padding: 0 var(--gut); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cs-head h2 { font-family: var(--font-h); font-weight: 400; font-size: 17px; letter-spacing: .16em; }
.cs-head span { font-size: 10.5px; letter-spacing: .2em; color: rgba(247,242,232,.5); }
.cs-track { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cs-track::-webkit-scrollbar { display: none; }
.cs-track a {
  flex: 0 0 auto;
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 22px;
  border-left: 1px solid rgba(247,242,232,.16);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.cs-track a:last-child { border-right: 1px solid rgba(247,242,232,.16); }
.cs-track a b { font-family: var(--font-h); font-weight: 400; font-size: 17px; letter-spacing: .1em; }
.cs-track a i { font-style: normal; font-size: 9px; letter-spacing: .1em; color: rgba(247,242,232,.42); text-transform: uppercase; }
.cs-track a:hover { background: rgba(247,242,232,.08); }
.cs-track a.cur { background: var(--gold); color: var(--zi-deep); }
.cs-track a.cur i { color: rgba(53,27,38,.6); }

/* ---------------- 对开手记 ---------------- */
.notes2 { padding: var(--sec-y) 0; background: var(--paper-2); }
.n2-head { max-width: var(--wrap); margin: 0 auto 24px; padding: 0 var(--gut); display: flex; align-items: baseline; gap: 14px; }
.n2-head .no { font-family: var(--font-h); font-size: 12px; letter-spacing: .22em; color: var(--gold); }
.n2-head h2 { font-family: var(--font-h); font-weight: 400; font-size: clamp(1.35rem, 2.3vw, 1.9rem); letter-spacing: .1em; }
.n2-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}
.n2-item {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
  min-width: 0;
}
.n2-item time { font-size: 11px; letter-spacing: .06em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.n2-item h3 { font-family: var(--font-h); font-weight: 400; font-size: 16px; line-height: 1.55; letter-spacing: .04em; }
.n2-item p { font-size: 12px; color: var(--ink-3); margin-top: 4px; line-height: 1.7; }
.n2-item:hover h3 { color: var(--zi); }

/* ---------------- 对开页脚 ---------------- */
.gfoot { background: var(--zi-deep); color: rgba(247,242,232,.7); }
.gfoot-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
}
.gfoot-l, .gfoot-r { padding: 34px 0; min-width: 0; }
.gfoot-r { padding-left: clamp(22px, 3.6vw, 52px); }
.gfoot-l { padding-right: clamp(22px, 3.6vw, 52px); }
.gfoot-mid { background: rgba(247,242,232,.16); }
.gfoot h3 { font-family: var(--font-h); font-weight: 400; font-size: 17px; letter-spacing: .16em; color: var(--paper); display: flex; align-items: center; gap: 9px; }
.gfoot h3 svg { width: 22px; height: 22px; color: var(--gold); }
.gfoot p { margin-top: 12px; font-size: 12.5px; line-height: 2; }
.gfoot p b { color: rgba(247,242,232,.42); font-weight: 400; margin-right: 8px; }
.gfoot p a { color: var(--paper); border-bottom: 1px solid rgba(247,242,232,.26); }
.gfoot-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; }
.gfoot-links a:hover, .gfoot-links button:hover { color: var(--gold); }
.gfoot-bot {
  border-top: 1px solid rgba(247,242,232,.14);
  padding: 12px var(--gut);
  text-align: center;
  font-size: 11px; letter-spacing: .06em; color: rgba(247,242,232,.45);
}

.mbar2 {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  height: 56px; background: var(--zi-deep);
  border-top: 1px solid rgba(247,242,232,.16);
}
.mbar2 > * { flex: 1 1 0; display: grid; place-content: center; gap: 1px; text-align: center; font-size: 10.5px; color: rgba(247,242,232,.72); }
.mbar2 > * + * { border-left: 1px solid rgba(247,242,232,.14); }
.mbar2 b { font-family: var(--font-h); font-size: 12px; color: var(--paper); letter-spacing: .06em; }
.mbar2 .hot { background: var(--gold); color: var(--zi-deep); }
.mbar2 .hot b { color: var(--zi-deep); }

/* ---------------- 内页 ---------------- */
.page-head { border-bottom: 2px solid var(--zi); }
.page-head h1 { letter-spacing: .1em; }
.crumb { letter-spacing: .18em; }

.pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pcard { position: relative; background: var(--paper-2); overflow: hidden; padding-bottom: 0; }
.pcard-img { aspect-ratio: 4 / 3; }
.pcard-body { padding: 12px 14px 16px; }
.pcard-idx { font-family: var(--font-h); color: var(--gold); letter-spacing: .12em; }
.pcard-body h3 { font-size: 17px; letter-spacing: .06em; margin: 4px 0; }
.pcard-body p { font-size: 11.5px; line-height: 1.6; }
.pcard-go { display: none; }

.wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cc-img { aspect-ratio: 16 / 10; }
.cc-meta { padding: 10px 0 0; }
.cc-meta h3 { font-size: 18px; letter-spacing: .06em; }

.news-row { grid-template-columns: 74px minmax(0, 1fr) 20px; border-bottom-color: var(--line); }
.news-row h3 { font-size: 17px; letter-spacing: .04em; }

.adv-side h2 { letter-spacing: .1em; }
.contact-row { border-bottom: 1px solid var(--line); }
.map-card { background: var(--zi-deep); }
.detail-tel { background: var(--zi); }
.spec-row { border-bottom: 1px solid var(--line); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .yao-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  :root { --gut: 18px; --sec-y: 50px; }
  body { padding-bottom: 56px; }
  .gh-slogan { display: none; }
  .gh-nav { display: none; }
  .gh-burger { display: inline-flex; }
  .gh-top-act a.hide-m { display: none; }

  .split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .split-mid { display: none; }
  .split-fig { aspect-ratio: 4 / 3; }
  .split-body { padding: 24px var(--gut) 30px; }
  .split-body::before { font-size: 46px; right: 10px; top: 8px; }
  .split-body h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); letter-spacing: .06em; }

  .yao-grid { grid-template-columns: minmax(0, 1fr); }
  .yinyang { grid-template-columns: minmax(0, 1fr); }
  .yy-line { display: none; }
  .yy-dark { border-bottom: 1px solid var(--line-2); }

  .wc-item .vtitle { width: 100%; position: relative; inset: auto; padding: 14px 16px; }
  .wc-item .vtitle h3 { writing-mode: horizontal-tb; max-height: none; }
  .wc-item figure img { height: 220px; }

  .n2-grid { grid-template-columns: minmax(0, 1fr); }
  .gfoot-in { grid-template-columns: minmax(0, 1fr); }
  .gfoot-mid { display: none; }
  .gfoot-r { padding-left: 0; border-top: 1px solid rgba(247,242,232,.14); padding-top: 22px; }

  .mbar2 { display: flex; }
  .wall { grid-template-columns: minmax(0, 1fr); }
}
