.rx-service-archive,.rx-contact,.rx-footer,.rx-qr-dialog,.rx-mobile-bar,.rh-films {
  --rx-ink:#f2eee5;
  --rx-quiet:#c2c1b4;
  --rx-gold:#dec298;
  --rx-rule:#44483f;
  --rx-font:var(--rh-sans,"PingFang SC","Microsoft YaHei",system-ui,sans-serif);
  font-family:var(--rx-font);
}
.rx-service-archive {background:#151916;color:var(--rx-ink)}
.rx-service-archive :is(.jd-service,.jd-digital,.cr-section,.rh-films) {background:#151916;border-top:1px solid #393e35}
.rx-service-archive :is(.jd-digital,.rh-films) {background:#1b201b}
.rx-service-archive :is(h2,h3,h4) {font-family:var(--rx-font)}
.rx-service-archive :is(.jd-service,.jd-digital)>.wrap.section,.rx-service-archive .rh-films-inner,
.rx-service-archive .cr-inner,.rx-contact-wrap,.rx-footer-wrap {
  box-sizing:border-box;
  width:min(1440px,calc(100% - clamp(40px,10vw,152px)));
  max-width:none;
  margin-inline:auto;
  padding-inline:0;
}
.rx-service-archive :is(.jd-service,.jd-digital)>.wrap.section,
.rx-contact {padding-block:clamp(54px,6vw,100px)}
.rx-service-archive :is(.section-head,.cr-heading-row,.rh-films-heading) h2 {
  margin:8px 0 0;
  color:var(--rx-ink);
  font-size:clamp(1.9rem,3.1vw,3.45rem);
  font-weight:550;
  line-height:1.25;
  letter-spacing:-.03em;
}
.rx-service-archive :is(.eyeline,.cr-kicker,.rh-films-rubric),.rx-contact .rx-rubric,.rx-contact .rx-path-label {
  font:normal .79rem/1.35 Georgia,"Times New Roman",serif;
  text-transform:uppercase;letter-spacing:.15em;color:var(--rx-gold);
}
.rx-service-archive .section-head {display:flex;align-items:end;justify-content:space-between;gap:.8rem 1.6rem}
.rx-service-archive .section-head>a,.rx-service-archive .jd-label>a {color:var(--rx-gold);font-size:.85rem}
.rx-service-archive .jd-key,.rx-service-archive .jd-workbench {min-width:0}
.rx-service-archive :is(.jd-steps,.jd-service .jd-lead,.jd-key>*,.jd-workbench>*) {min-width:0}

.rx-contact,.rx-footer {color:var(--rx-ink);background:#151916}
.rx-contact {border-block:1px solid var(--rx-rule)}
.rx-contact *, .rx-footer *, .rx-mobile-bar *, .rx-qr-dialog * {box-sizing:border-box}
.rx-contact :is(h2,h3,p,dl,dd),.rx-footer :is(h2,p),.rx-qr-dialog :is(h2,p) {margin:0}
.rx-contact :is(h2,h3),.rx-footer :is(h2,.rx-footer-company>a),.rx-qr-dialog h2 {font-family:var(--rx-font)}
.rx-contact-heading {display:flex;justify-content:space-between;align-items:end;gap:20px 35px;margin-bottom:clamp(25px,3.8vw,65px)}
.rx-contact-heading h2 {margin-top:9px;font-size:clamp(2.3rem,4.3vw,4.8rem);font-weight:540;letter-spacing:-.04em;line-height:1.23;color:var(--rx-ink)}
.rx-contact-heading>p {font-size:clamp(.88rem,1vw,1.05rem);line-height:1.9;color:var(--rx-ink)}
.rx-contact-heading>p span {color:var(--rx-quiet)}
.rx-contact-grid {display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);border-block:1px solid var(--rx-rule)}
.rx-paths {display:block}
.rx-contact-path {display:flex;flex-direction:column;min-width:0;padding:clamp(22px,3.1vw,49px) clamp(20px,2.7vw,44px) clamp(22px,3.1vw,49px) 0;scroll-margin-top:90px}
.rx-contact-path+.rx-contact-path,.rx-wechat-card {border-left:1px solid var(--rx-rule);padding-left:clamp(20px,2.7vw,44px)}
.rx-contact-path h3 {margin:9px 0 11px;font-weight:550;font-size:clamp(1.55rem,2.12vw,2.4rem);line-height:1.35;color:var(--rx-ink)}
.rx-contact-path>p:not(.rx-path-label),.rx-wechat-card p {max-width:34em;font-size:.94rem;line-height:1.87;color:var(--rx-quiet)}
.rx-path-actions {display:flex;align-items:center;flex-wrap:wrap;gap:5px 1.1rem;margin-top:auto;padding-top:clamp(17px,2.3vw,39px)}
.rx-contact .rx-button,.rx-contact .rx-inline-link {display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.rx-contact .rx-button {
  gap:clamp(12px,1.45vw,24px);min-height:45px;padding:.45rem 1rem;border:1px solid var(--rx-gold);background:var(--rx-gold);
  color:#201e18;font-size:.9rem;font-weight:560;line-height:1.5
}
.rx-contact .rx-button-outline {color:var(--rx-gold);background:transparent;border-color:#958467}
.rx-contact .rx-button:hover,.rx-contact .rx-button:focus-visible {background:#f4d7a9;border-color:#f4d7a9;color:#201e18}
.rx-contact .rx-inline-link {min-height:40px;color:var(--rx-gold);font-size:.82rem;text-decoration:underline;text-underline-offset:.36em}
.rx-wechat-card {display:flex;align-items:center;justify-content:center;gap:clamp(16px,1.8vw,30px);padding-block:clamp(22px,3.1vw,49px);padding-right:clamp(20px,2.7vw,44px);scroll-margin-top:90px}
.rx-qr-window {position:relative;display:block;width:clamp(120px,11vw,170px);aspect-ratio:1;overflow:hidden;background:white;flex-shrink:0}
.rx-qr-window img {position:absolute;top:-40.4%;left:-25%;width:145.84%;height:auto;max-width:none;display:block}
.rx-wechat-card h3 {margin:0 0 7px;color:var(--rx-ink);font-size:1.06rem;font-weight:560}
.rx-wechat-card p {margin:0;font-size:.85rem;line-height:1.8}
.rx-contact-address {display:grid;grid-template-columns:.82fr 1.05fr 1.18fr;gap:clamp(22px,3.5vw,72px);margin-top:clamp(24px,3vw,50px);font-style:normal}
.rx-contact-address>div {min-width:0}
.rx-contact-address>div>span {display:block;margin-bottom:.45rem;color:var(--rx-quiet);font-size:.79rem}
.rx-contact-address>div>a,.rx-contact-address>div>p {color:var(--rx-ink);font-size:clamp(.9rem,1.04vw,1.12rem);line-height:1.6;text-decoration:none;overflow-wrap:anywhere}
.rx-contact-address>div>a:hover,.rx-contact-address>div>a:focus-visible {color:var(--rx-gold);text-decoration:underline;text-underline-offset:.2em}
.rx-contact-address>div>.rx-contact-phone {font-size:clamp(1.35rem,1.95vw,2.1rem);font-weight:500;line-height:1.2;white-space:nowrap;letter-spacing:-.025em}
.rx-maps {display:flex;flex-wrap:wrap;gap:.4rem 1.1rem}
.rx-maps a {display:inline-flex;align-items:center;min-height:38px;color:var(--rx-gold);font-size:.8rem;text-decoration:underline;text-underline-offset:.25em}
.rx-qr-dialog::backdrop {background:rgba(6,9,7,.82)}
dialog.rx-qr-dialog#wechat-dialog {
  position:fixed;inset:0;box-sizing:border-box;width:min(340px,calc(100% - 30px));max-height:calc(100dvh - 28px);overflow:auto;margin:auto;
  padding:18px 20px 20px;color:var(--rx-ink);background:#20251f;border:1px solid #71664d;border-radius:3px;text-align:center;
}
.rx-qr-dialog-head {display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;margin-bottom:12px}
.rx-qr-dialog-head h2 {font-size:1.1rem;color:var(--rx-ink);font-weight:550}
#wechat-dialog.rx-qr-dialog .rx-qr-close {position:static;display:grid;place-items:center;width:38px;height:38px;min-width:0;padding:0;border:1px solid #716a59;color:var(--rx-ink);font:400 26px/1 var(--rx-font);background:transparent;border-radius:50%;cursor:pointer}
#wechat-dialog.rx-qr-dialog>img {display:block;width:auto;height:auto;max-width:100%;max-height:min(55dvh,365px);margin:0 auto;object-fit:contain;border-radius:0}
#wechat-dialog.rx-qr-dialog>p {margin:12px 0 2px;color:var(--rx-quiet);font-size:.85rem;line-height:1.6}
#wechat-dialog.rx-qr-dialog>a {display:inline-flex;align-items:center;min-height:38px;color:var(--rx-gold);font-size:.87rem;text-underline-offset:.3em}
.rx-footer {background:#101310}
.rx-footer-wrap {padding-block:clamp(32px,4vw,58px) 18px}
.rx-footer-top {display:grid;grid-template-columns:.75fr 2.15fr;gap:clamp(28px,5vw,85px);padding-bottom:clamp(24px,3.2vw,44px)}
.rx-footer-company>a {font-size:clamp(1.4rem,1.75vw,2rem);font-weight:550;letter-spacing:.04em;line-height:1.5;color:var(--rx-ink);text-decoration:none}
.rx-footer-company>p {margin:.3rem 0;color:var(--rx-quiet);font-size:.78rem}
.rx-footer-nav {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 20px}
.rx-footer-nav h2 {margin-bottom:.55rem;font-size:.86rem;color:var(--rx-ink);font-weight:600}
.rx-footer-nav a {display:block;width:fit-content;color:var(--rx-quiet);font-size:.83rem;line-height:1.6;padding:.22rem 0;text-decoration:none}
.rx-footer-nav a:hover,.rx-footer-legal a:hover {color:var(--rx-gold);text-decoration:underline;text-underline-offset:.25em}
.rx-footer-legal {display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px 16px;padding-top:18px;border-top:1px solid #373b32;color:#b7baae;font-size:clamp(.7rem,.8vw,.8rem);line-height:1.65}
.rx-footer-legal>div {display:flex;flex-wrap:wrap;gap:4px 18px}
.rx-footer-legal a {color:inherit;text-decoration:none}
.rx-mobile-bar {display:none}
:is(.rx-contact,.rx-footer,.rx-mobile-bar,.rx-qr-dialog) :focus-visible {outline:2px solid var(--rx-gold);outline-offset:3px}
@media(max-width:900px) {
  .rx-contact-grid {grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
  .rx-contact-address {grid-template-columns:.75fr 1fr 1.1fr;gap:20px}
  .rx-footer-top {grid-template-columns:minmax(0,1fr);gap:22px}
}
@media(max-width:700px) {
  .rx-service-archive :is(.jd-service,.jd-digital)>.wrap.section,.rx-service-archive .rh-films-inner,
  .rx-service-archive .cr-inner,.rx-contact-wrap,.rx-footer-wrap {width:calc(100% - 36px)}
  .rx-contact-grid {display:block}
  .rx-contact-heading {align-items:flex-start;flex-direction:column;gap:13px}
  .rx-wechat-card {margin-top:0;display:flex;flex-direction:row;gap:17px;justify-content:flex-start;align-items:center;padding:20px 0;border-left:0;border-top:1px solid var(--rx-rule)}
  .rx-wechat-card h3 {margin:0 0 5px}
  .rx-qr-window {width:106px}
  .rx-contact-address {grid-template-columns:1fr 1fr}
  .rx-contact-address>div:last-child {grid-column:1/-1}
  .rx-footer-nav {grid-template-columns:1fr 1fr;gap:20px}
  .rx-footer-nav a {min-height:32px}
  .rx-footer-legal {flex-direction:column}
  .rx-footer {padding-bottom:calc(54px + env(safe-area-inset-bottom,0px))}
  .rx-mobile-bar {
    position:fixed;left:0;right:0;bottom:0;z-index:22;display:grid;grid-template-columns:1fr 1fr;gap:5px;
    padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left));
    border-top:1px solid #49483e;background:#141815;color:var(--rx-ink)
  }
  .rx-mobile-bar a {display:flex;align-items:center;justify-content:center;gap:10px;min-height:43px;border:1px solid #7d7560;color:var(--rx-ink);font-size:.89rem;font-weight:550;text-decoration:none}
  .rx-mobile-bar a:last-child {border-color:var(--rx-gold);background:var(--rx-gold);color:#201e18}
}
@media(max-width:530px) {
  .rx-paths {display:block}.rx-contact-path {padding:22px 0}
  .rx-contact-path+.rx-contact-path {padding:22px 0;border-left:0;border-top:1px solid var(--rx-rule)}
  .rx-contact-address {grid-template-columns:minmax(0,1fr);gap:15px}
  .rx-contact-address>div:last-child {grid-column:auto}
}
@media(max-width:380px) {
  .rx-service-archive .section-head {align-items:start;flex-direction:column;gap:8px}
  .rx-service-archive .jd-label {align-items:start;flex-wrap:wrap}
}

/* 项目影像：已移至「私宅设计」之后，不再依赖 rx-service-archive 容器，样式自带 */
.rh-films {background:#161916;color:var(--rx-ink)}
.rh-films :is(h2,h3,h4) {font-family:var(--rx-font)}
.rh-films .rh-films-inner {
  box-sizing:border-box;
  width:min(1440px,calc(100% - clamp(40px,10vw,152px)));
  max-width:none;
  margin-inline:auto;
  padding-inline:0;
}
/* 项目影像：标题区规格与上文 rx-block 板块（私宅设计/精工营造）完全一致 */
.rh-films .rh-films-heading {
  display:grid;
  grid-template-columns:1fr minmax(250px,.65fr);
  align-items:end;
  gap:40px;
  margin-bottom:clamp(35px,4vw,70px);
}
.rh-films .rh-films-heading h2 {
  margin:15px 0 0;
  color:var(--rx-ink);
  font-size:clamp(38px,4.45vw,78px);
  font-weight:550;
  line-height:1.25;
  letter-spacing:-.035em;
}
.rh-films .rh-films-rubric {
  display:flex;
  align-items:center;
  gap:13px;
  font:600 10px/1.4 Arial,sans-serif;
  letter-spacing:.22em;
  color:var(--rx-gold);
  text-transform:uppercase;
}
.rh-films .rh-films-rubric::before {content:"";width:34px;flex:none;height:1px;background:currentColor}
.rh-films .rh-films-summary {
  max-width:36em;
  color:var(--rx-soft);
  font-size:clamp(14px,1.12vw,18px);
  line-height:1.95;
}
@media (max-width:900px){
  .rh-films .rh-films-heading {grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:27px}
  .rh-films .rh-films-heading h2 {font-size:38px;margin-top:10px}
  .rh-films .rh-films-summary {font-size:14px;line-height:1.85}
}
.rh-films .rh-film-rights {color:var(--rx-quiet);font-size:.8rem;line-height:1.7}

/* 业主服务与交付：单独一层暖色深底，和上下两个冷调区块分开 */
.rx-service-archive .jd-service {
  background:
    radial-gradient(58% 60% at 8% 0%, rgba(218,186,134,.12), transparent 68%),
    linear-gradient(180deg, #201c15 0%, #1d1a14 52%, #191c17 100%);
  border-top-color: rgba(120,104,75,.42);
  border-bottom: 1px solid rgba(57,62,53,.85);
}

/* 业主服务与交付：章节开篇的横影像带 */
.jd-band {
  position: relative; overflow: hidden; margin: 0 0 clamp(24px,2.8vw,38px);
  height: clamp(148px,13.4vw,196px); border-radius: 2px;
  border: 1px solid rgba(120,104,75,.26);
  background: #1b1913;
}
.jd-band picture { display: block; height: 100%; }
.jd-band img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 46%;
  opacity: .94; filter: brightness(1.12) contrast(1.08) saturate(.9);
}
.jd-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #201c15 0%, rgba(32,28,21,.58) 11%, rgba(32,28,21,0) 34%),
    linear-gradient(270deg, #201c15 0%, rgba(32,28,21,.34) 9%, rgba(32,28,21,0) 26%),
    linear-gradient(180deg, rgba(32,28,21,.30) 0%, rgba(32,28,21,0) 34%, rgba(32,28,21,.55) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.jd-band figcaption {
  position: absolute; left: 18px; bottom: 14px; z-index: 1;
  display: flex; align-items: baseline; gap: 8px;
  font-size: 11.5px; line-height: 1.4; letter-spacing: .12em; color: rgba(241,236,223,.72);
}
.jd-band figcaption i {
  font-style: normal; font-size: 10px; letter-spacing: .2em;
  color: var(--rx-gold); text-transform: uppercase;
}
.jd-band figcaption i::after { content: ""; display: inline-block; width: 22px; height: 1px; margin-left: 8px; vertical-align: 2px; background: currentColor; opacity: .6; }
@media (max-width: 760px) {
  .jd-band { height: clamp(118px,26vw,150px); margin-bottom: 20px; }
  .jd-band img { object-position: center 50%; filter: brightness(1.04) contrast(1.06) saturate(.9); }
  .jd-band figcaption { left: 12px; bottom: 10px; font-size: 11px; }
}

/* ===== 数字化项目管理：纯文字排版 ===== */
.jd-digital .jd-intro {
  max-width: 40em; margin: 0;
  font-size: clamp(15px,1.16vw,18px); line-height: 1.95; color: #b3b4a4; text-wrap: pretty;
}

/* 四个数字：横向四栏，细线分隔 */
.jd-digital .jd-controls {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0;
  margin-top: clamp(26px,3.2vw,46px); border: 0; background: none;
  border-top: 1px solid rgba(120,104,75,.42);
  border-bottom: 1px solid var(--ds-softline);
}
.jd-digital .jd-controls article {
  border: 0; background: none;
  padding: clamp(17px,1.7vw,26px) clamp(16px,1.5vw,24px) clamp(18px,1.8vw,26px);
}
.jd-digital .jd-controls article:first-child { padding-left: 0; }
.jd-digital .jd-controls article:last-child { padding-right: 0; }
.jd-digital .jd-controls article:not(:last-child) { border-right: 1px solid rgba(68,72,61,.5); }

.jd-digital .jd-controls article > p:first-child {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  margin: 0 0 clamp(12px,1.2vw,16px); color: var(--ds-gold);
}
.jd-digital .jd-controls b {
  font: 450 clamp(32px,3.15vw,52px)/1 var(--rx-font);
  letter-spacing: -.05em; color: var(--ds-gold);
}
.jd-digital .jd-controls span {
  font-size: 11.5px; letter-spacing: .13em; font-weight: 500; color: #8b9183;
}
.jd-digital .jd-controls h3 {
  font-size: 15.5px; font-weight: 580; letter-spacing: -.01em;
  color: var(--ds-text); margin: 0 0 6px;
}
.jd-digital .jd-controls article > p:last-child {
  font-size: 12.8px; line-height: 1.78; color: #9fa594; text-wrap: pretty;
}

/* 四类工作：两栏网格 + 序号 */
.jd-digital .jd-workbench { margin-top: clamp(32px,3.8vw,56px); }
.jd-digital .jd-workbench > div { max-width: none; }
.jd-wb-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 22px; margin-bottom: clamp(14px,1.5vw,20px);
}
.jd-wb-head .action.dark { min-height: 38px; padding: 8px 18px; font-size: 13px; }

.jd-digital .jd-modules {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px;
  margin: 0; border: 1px solid var(--ds-softline); background: var(--ds-softline);
  counter-reset: jdmod;
}
.jd-digital .jd-modules > div {
  display: block; padding: clamp(15px,1.5vw,20px) clamp(16px,1.6vw,22px);
  background: #1e221c; border: 0; counter-increment: jdmod;
}
.jd-digital .jd-modules dt {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 5px; font-size: 15.5px; font-weight: 560; color: var(--ds-text);
}
.jd-digital .jd-modules > div::before { content: none; }   /* 关掉旧版罗马序号，改用下面的 dt 序号 */
.jd-digital .jd-modules dt::before {
  content: counter(jdmod,decimal-leading-zero);
  font: 500 11px/1 Arial,sans-serif; letter-spacing: .12em; color: var(--ds-gold); opacity: .72;
}
.jd-digital .jd-modules dd { font-size: 13px; line-height: 1.75; color: #9fa594; }

@media (max-width: 1100px) {
  .jd-digital .jd-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jd-digital .jd-controls article:nth-child(2n) { padding-right: 0; border-right: 0; }
  .jd-digital .jd-controls article:nth-child(2n+1) { padding-left: 0; }
  .jd-digital .jd-controls article:nth-child(n+3) { border-top: 1px solid rgba(68,72,61,.5); }
}
@media (max-width: 760px) {
  .jd-digital .jd-controls { grid-template-columns: minmax(0,1fr); }
  .jd-digital .jd-controls article { padding-inline: 0; border-right: 0; }
  .jd-digital .jd-controls article:not(:first-child) { border-top: 1px solid rgba(68,72,61,.5); }
  .jd-digital .jd-controls article > p:first-child { flex-direction: row; align-items: baseline; gap: 10px; }
  .jd-digital .jd-modules { grid-template-columns: minmax(0,1fr); }
  .jd-wb-head { align-items: flex-start; }
}
