/* ==========================================================================
   创富港沪办  官网样式
   黑金商务风 / 深色底 + 单一金色强调
   ========================================================================== */

:root {
  --ink: #0a0908;
  --ink-2: #0c0b0a;
  --ink-3: #0f0d0b;
  --surface: #131110;
  --surface-2: #171412;
  --line: #26211c;
  --line-soft: #1e1a16;

  --gold: #c6a15b;
  --gold-2: #e3c98f;
  --gold-3: #8b6f3a;

  --paper: #f8f4eb;
  --text: #a9a29a;
  --dim: #8e8880;
  --faint: #6b655c;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
    "Helvetica Neue", Arial, sans-serif;
  --latin: "Manrope", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --container: 1280px;
  --gutter: 40px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* 锚点定位时为吸顶导航预留空间 */
[id] {
  scroll-margin-top: 108px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: #100e0b;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 布局 ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* SVG 图标雪碧图容器：不占位、不参与渲染 */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 88px 0;
}

.section--alt {
  background: var(--ink-2);
}

.hairline {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

/* ---------- 通用文字 ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #9a8f79;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--paper);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.32;
}

h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.44;
}

h3 {
  font-size: 19px;
  line-height: 1.5;
}

.lead {
  color: var(--text);
  font-size: 15px;
  line-height: 2;
  margin: 0;
}

.muted {
  color: var(--dim);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 44px;
}

.section-head .desc {
  width: 430px;
  flex: none;
  font-size: 13px;
  line-height: 2;
  color: var(--dim);
  margin: 0;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #100e0b;
}

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-ghost {
  border-color: #75664e;
  color: #d9d2c6;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.arrow {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.link-more:hover .arrow {
  transform: translateX(4px);
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 9, 8, 0.86);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.14em;
  color: #f0e6d2;
  line-height: 1.2;
}

.brand-en {
  display: block;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #7c756a;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  color: #b0a99e;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.nav a:hover {
  color: var(--paper);
}

.nav a.is-active {
  color: var(--gold);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.header-tel {
  display: block;
  text-align: right;
}

.header-tel .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #7c756a;
}

.header-tel .num {
  display: block;
  font-family: var(--latin);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-2);
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

/* ---------- 首屏 ---------- */

.hero {
  padding: 96px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 30px;
}

.hero-copy .lead {
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 8px;
}

.stat .value {
  display: block;
  font-family: var(--latin);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--gold-2);
  line-height: 1.2;
}

.stat .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #7c756a;
  margin-top: 8px;
}

.stat-div {
  width: 1px;
  height: 34px;
  background: #2e2822;
  flex: none;
}

/* 顾问名片 */

.consultant {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.consultant-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: #9a8f79;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.consultant-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.14em;
  color: var(--paper);
  line-height: 1.3;
}

.consultant-role {
  font-size: 11px;
  color: #7c756a;
  margin-top: 5px;
}

.qr-box {
  background: #fff;
  border-radius: 2px;
  padding: 12px;
}

.qr-box img {
  width: 100%;
  height: auto;
  /* 原图为蓝色，此处统一为中性灰阶，与黑金体系协调；去掉该行即恢复蓝色 */
  filter: grayscale(1) contrast(1.08);
}

.qr-tip {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
  text-align: center;
}

.consultant-div {
  height: 1px;
  background: var(--line);
}

.tel-line {
  display: block;
  font-family: var(--latin);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-2);
  line-height: 1.3;
  white-space: nowrap;
}

.tel-label,
.mini-label {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--faint);
  text-transform: uppercase;
}

.tel-note {
  font-size: 11px;
  color: var(--faint);
  margin-top: 4px;
}

/* ---------- 卡片通用 ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.card:hover {
  border-color: #3a322a;
  transform: translateY(-3px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--faint);
  text-transform: uppercase;
}

.card-index {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.card-list {
  font-size: 13px;
  line-height: 2.15;
  color: #c0b9ae;
  margin: 0;
  list-style: none;
  padding: 0;
}

.card-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* 业务卡图片占位：换成 <img> 后可自动铺满 */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px dashed #3a322a;
  border-radius: 2px;
  background: linear-gradient(160deg, #1c1712 0%, #100e0c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media-tip {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #6b655c;
}

/* ---------- 三大业务 ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-desc {
  font-size: 13px;
  line-height: 2;
  color: var(--dim);
  margin: 0;
}

/* ---------- 优势 ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 40px;
}

.why-item {
  border-top: 1px solid #2a2420;
  padding-top: 18px;
}

.why-item h3 {
  font-size: 18px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 12px;
  line-height: 2;
  color: var(--dim);
  margin: 0;
}

/* ---------- 分栏（费用 / 流程 / 材料） ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 72px;
  align-items: start;
}

.split--even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split h2 {
  margin-bottom: 22px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.check-list--single {
  grid-template-columns: 1fr;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
}

.steps .num {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 3px;
}

.steps .step-title {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #f2ede3;
}

.steps .step-desc {
  font-size: 12px;
  line-height: 1.9;
  color: var(--dim);
  margin: 6px 0 0;
}

/* ---------- 预约与联系 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  width: 100%;
  background: #0c0b0a;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  transition: border-color 0.3s var(--ease);
}

.field::placeholder {
  color: #5f594f;
}

.field:focus {
  outline: none;
  border-color: var(--gold-3);
}

textarea.field {
  min-height: 88px;
  resize: vertical;
}

select.field {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #6b655c 50%),
    linear-gradient(135deg, #6b655c 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: #a9a29a;
}

select.field:valid {
  color: var(--paper);
}

select.field option {
  background: #0c0b0a;
  color: var(--paper);
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-note {
  font-size: 12px;
  color: var(--faint);
}

.form-note a {
  color: var(--gold-2);
}

.form-msg {
  font-size: 12px;
  color: var(--gold-2);
  min-height: 20px;
}

.contact-card {
  background: #0c0b0a;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card .qr-box {
  width: 240px;
}

/* ---------- CTA 条 ---------- */

.cta-bar {
  background: var(--ink-3);
  border-top: 1px solid #2a2420;
  padding: 60px 0;
}

.cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-bar h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: 0.08em;
}

.cta-bar p {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--dim);
  margin: 10px 0 0;
}

.cta-bar-right {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- 页尾 ---------- */

.site-footer {
  background: #080707;
  padding: 72px 0 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 44px;
}

.footer-brand {
  width: 340px;
  max-width: 100%;
}

.footer-brand p {
  font-size: 12px;
  line-height: 2;
  color: #7c756a;
  margin: 16px 0 0;
}

.footer-brand .brand-en {
  margin-top: 14px;
  color: #4f4a43;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--dim);
  padding: 5px 0;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-contact {
  width: 250px;
}

.qr-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.qr-item {
  flex: 1;
  min-width: 0;
}

.footer-contact .qr-box {
  width: 100%;
  padding: 6px;
  margin-bottom: 6px;
}

.qr-cap {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #8b8478;
  text-align: center;
}

.footer-contact .tel-line {
  font-size: 13px;
}

.footer-contact .foot-note {
  font-size: 11px;
  color: var(--faint);
  margin-top: 6px;
}

.footer-bottom {
  border-top: 1px solid #1c1814;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #5a544c;
}

.footer-bottom .links {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: var(--text);
}

/* ---------- 内页首屏 ---------- */

.page-hero {
  padding: 84px 0 80px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: center;
}

.page-hero .lead {
  max-width: 660px;
  margin: 26px 0 36px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2a2420;
}

.panel-head .t {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #f2ede3;
}

.panel-head .e {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--faint);
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
}

.panel-row .k {
  font-size: 12px;
  color: var(--text);
}

.panel-row .v {
  font-family: var(--latin);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-2);
  white-space: nowrap;
}

.panel-note {
  font-size: 10px;
  color: #5f594f;
  margin: 10px 0 0;
}

/* ---------- 内页右侧：图片轮播 ---------- */

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery {
  position: relative;
  height: 236px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #0f0d0b;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c1712 0%, #100e0c 100%);
}

/* 占位状态下的分隔提示，放入真实图片后可删除 */
.gallery-slide + .gallery-slide {
  border-left: 1px dashed #2a2420;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-slide > span {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #5f594f;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 9, 8, 0.72);
  border: 1px solid #3a322a;
  border-radius: 2px;
  color: var(--gold-2);
  font-size: 16px;
  line-height: 1;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.gallery-nav:hover {
  background: rgba(198, 161, 91, 0.18);
  border-color: var(--gold);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 50%;
  background: #3a322a;
  transition: background 0.25s var(--ease);
}

.gallery-dot.is-active {
  background: var(--gold);
}

/* 首页首屏图集：图片 + 下方图注 */
.hero-gallery {
  display: block;
}

.gallery--hero {
  --stage: 330px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.gallery--hero .gallery-track {
  height: auto;
}

.gallery--hero .gallery-slide {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: transparent;
  margin: 0;
}

.gallery--hero .gallery-slide + .gallery-slide {
  border-left: 0;
}

.gallery-frame {
  width: 100%;
  height: var(--stage);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed #3a322a;
  border-radius: 3px;
  background: linear-gradient(160deg, #1c1712 0%, #100e0c 100%);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-frame > span {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #5f594f;
}

.gallery-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
}

.cap-name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--paper);
  line-height: 1.4;
}

.cap-index {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  flex: none;
}

.gallery--hero .gallery-nav {
  top: calc(var(--stage) / 2);
}

/* ---------- 房型卡 ---------- */

.room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.room-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.room-card:hover {
  border-color: #3a322a;
  transform: translateY(-3px);
}

.room-card .code {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: #7c756a;
}

.room-card .name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #f2ede3;
}

.room-card .div {
  height: 1px;
  background: var(--line);
}

.room-card .spec {
  font-size: 12px;
  line-height: 2.15;
  color: var(--text);
  margin: 0;
  white-space: pre-line;
}

.room-card .price {
  font-family: var(--latin);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-2);
  margin-top: 2px;
}

/* ---------- 服务卡网格 ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover {
  border-color: #3a322a;
  transform: translateY(-3px);
}

.service-card .en {
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #7c756a;
}

.service-card p {
  font-size: 12px;
  line-height: 2;
  color: var(--dim);
  margin: 0;
}

/* ---------- 上海项目分布（地图） ---------- */

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 28px;
  align-items: stretch;
}

.map-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.map-title {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.map-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-top: 4px;
}

.map-canvas {
  position: relative;
  height: 452px;
  border-radius: 2px;
  overflow: hidden;
  background: #0f0d0b;
  border: 1px solid #2a2420;
}

.map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

/* 地图加载失败时的兜底示意图 */
.map-fallback {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: block;
}

.map-fallback svg {
  width: 100%;
  height: 100%;
}

.map-note {
  font-size: 11px;
  line-height: 1.9;
  color: var(--faint);
  margin: 14px 0 0;
}

.map-note.is-live {
  color: var(--gold-2);
}

/* 区域清单 */

.district-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
}

.district-item {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.district-item:last-child {
  border-bottom: 0;
}

.district-item:hover {
  background: #171412;
}

.district-item.is-active {
  background: #1c1713;
  box-shadow: inset 2px 0 0 var(--gold);
}

.district-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.district-name {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #f2ede3;
}

.district-count {
  font-family: var(--latin);
  font-size: 11px;
  color: var(--gold);
}

.district-dist {
  margin-left: auto;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--gold-2);
}

.district-item.is-nearest {
  background: #1c1713;
}

.district-item.is-nearest .district-name::after {
  content: "最近";
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #100e0b;
  background: var(--gold);
  padding: 1px 5px;
  border-radius: 1px;
  vertical-align: 2px;
}

.district-projects {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--dim);
  margin: 5px 0 0;
}

/* ---------- 滚动出现（仅在 JS 可用时隐藏，避免脚本失效导致的空白） ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .nav {
    gap: 26px;
  }
  .header-tel {
    display: none;
  }
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter: 28px;
  }
  .section {
    padding: 76px 0;
  }
  .hero,
  .page-hero {
    padding: 64px 0;
  }
  .hero-grid,
  .page-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-copy .lead,
  .page-hero .lead {
    max-width: none;
  }
  .consultant,
  .panel,
  .contact-card,
  .hero-aside,
  .hero-gallery {
    max-width: 460px;
  }
  .gallery--hero {
    --stage: 300px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .section-head .desc {
    width: auto;
  }
  .split,
  .split--even {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .services,
  .service-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .map-canvas {
    height: 400px;
  }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    background: rgba(10, 9, 8, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }
  .nav a.is-active::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-right {
    margin-left: auto;
  }
  .header-right .btn {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }
  .header-inner {
    height: 72px;
  }
  .nav {
    inset: 72px 0 auto 0;
  }
  .brand-name {
    font-size: 18px;
  }
  body {
    font-size: 14px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .services,
  .service-grid,
  .why-grid,
  .room-grid,
  .field-row,
  .check-list {
    grid-template-columns: 1fr;
  }
  .map-canvas {
    height: 340px;
  }
  .map-panel {
    padding: 16px;
  }
  .cta-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-bar-right {
    width: 100%;
    justify-content: space-between;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-cols {
    gap: 32px;
  }
  .contact-card .qr-box {
    width: 200px;
  }
}

/* ---------- 图片已补齐：清理占位虚线与底色 ---------- */
.card-media:has(> img),
.gallery-frame:has(> img),
.gallery-slide:has(> img) {
  border: 0;
  background: none;
}

.gallery-slide:has(> img) + .gallery-slide:has(> img) {
  border-left: 0;
}
