/* ============================================================
   上海雄岚 · 企业官网公共样式
   ============================================================ */
:root {
  --ink: #1c1c1c;
  --ink-2: #2b2a28;
  --ink-soft: #4c4a45;
  --muted: #857f74;
  --line: #e9e4da;
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --gold: #b08d57;
  --gold-deep: #93744a;
  --gold-soft: #f0e7d8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 28, 28, 0.08);
  --shadow-lift: 0 18px 44px rgba(28, 28, 28, 0.14);
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--gold-soft); color: var(--ink); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用排版 ---------- */
/* 长页面渲染优化：视口外的区块跳过布局与绘制（索引与无障碍不受影响） */
.section {
  padding: 96px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.section.tight { padding: 64px 0; }
.section.paper { background: var(--white); }
.section.alt { background: var(--paper-2); }

.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
}
.sec-desc { color: var(--muted); margin-top: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost { border-color: #cfc8ba; color: var(--ink); }
.btn-ghost:hover { background: rgba(28,24,20,0.06); border-color: #b9b1a0; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold-soft); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- 导航 ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #faf8f4;
  /* 不用 backdrop-filter：与 sticky 头部 + 巨型菜单组合会在部分渲染器
     产生合成穿透（面板下的页面内容透显）。纯色背景视觉一致且更省性能。 */
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  /* 定位上下文：巨型菜单以此为准居中展开，避免相对菜单项定位导致水平溢出 */
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink) 0%, #3a3833 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 0.14em; }
.brand-sub { font-size: 10px; letter-spacing: 0.22em; color: var(--muted); display: block; margin-top: -4px; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}
/* 一级菜单项撑满导航条高度——使菜单项下沿与面板上沿严丝合缝，
   鼠标从菜单项移向面板时不会中途离开热点导致菜单闪退 */
.nav-links > li > a {
  display: inline-block;
  padding: 26px 0;
  letter-spacing: 0.1em;
}
/* 金色下划线只属于一级菜单项；不下沉到二级/巨型菜单的链接上 */
.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: calc(50% - 13px);
  width: 0; height: 2px;
  background: var(--gold);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--ink); }
.nav-links > li > a.active::after, .nav-links > li > a:hover::after { width: 100%; }

.nav-user { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.nav-user .link-plain { font-size: 12px; padding: 5px 8px; }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-soft);
}
.user-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3fa96c;
}
.link-plain {
  font-size: 13px; color: var(--muted);
  border-bottom: 1px dashed var(--muted);
  cursor: pointer;
  padding-bottom: 1px;
}
.link-plain:hover { color: var(--ink); border-color: var(--ink); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,17,16,0.86) 0%, rgba(18,17,16,0.55) 46%, rgba(18,17,16,0.18) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 130px 0 110px; max-width: 760px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold);
  font-size: 13px; letter-spacing: 0.4em;
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: ""; width: 46px; height: 1px; background: var(--gold);
}
.hero-title {
  font-family: var(--serif);
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  max-width: 540px;
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-strip {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.hero-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  flex-wrap: wrap;
}
.hero-strip span {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  letter-spacing: 0.3em;
}
.hero-strip em { color: var(--gold); font-style: normal; margin-right: 10px; }

/* ---------- 服务卡片 ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.svc-media { aspect-ratio: 4 / 3; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.svc-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.svc-desc { color: var(--muted); font-size: 14px; flex: 1; }
.svc-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span {
  font-size: 12px;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 3px 12px;
  border-radius: 999px;
}

/* ---------- 作品 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--ink);
}
.work-card.feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.work-card.feature .work-mask h4 { font-size: 26px; }
.work-card.feature .work-mask p { font-size: 14px; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.4s; }
.work-card:hover img { transform: scale(1.05); opacity: 0.82; }
.work-mask {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(18,17,16,0.78) 0%, rgba(18,17,16,0) 55%);
  opacity: 0;
  transition: opacity 0.35s;
}
.work-card:hover .work-mask { opacity: 1; }
.work-mask h4 { color: var(--white); font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 0.05em; }
.work-mask p { color: rgba(255,255,255,0.72); font-size: 12.5px; margin-top: 4px; }
.works-foot { text-align: center; margin-top: 42px; }

.section-cta {
  background: var(--paper);
  padding: 72px 0;
  text-align: center;
  border-top: 1px solid rgba(28,28,28,0.06);
  border-bottom: 1px solid rgba(28,28,28,0.06);
}
.section-cta h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 12px; }
.section-cta p { color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.section-cta .cta-actions { justify-content: center; gap: 16px; }

/* ---------- 客户评价 ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28,28,28,0.06);
}
.testi-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-text { font-size: 15.5px; line-height: 1.8; color: var(--ink); margin-bottom: 22px; }
.testi-author { font-size: 13px; color: var(--muted); }
.testi-author strong { color: var(--ink); font-weight: 600; }
.testi-author span { margin-left: 6px; }

/* ---------- 为什么选择 ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28,28,28,0.06);
}
.why-ico { width: 52px; height: 52px; margin-bottom: 20px; }
.why-ico svg { width: 100%; height: 100%; }
.why-card h4 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.why-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.step { position: relative; padding: 0 26px; text-align: center; }
.step + .step::before {
  content: "";
  position: absolute;
  left: 0; top: 34px;
  width: 1px; height: 60px;
  background: var(--line);
}
.step-ico {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.step-ico svg { width: 28px; height: 28px; stroke: var(--gold); }
.step h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* ---------- 数字带 ---------- */
.stats-band {
  background: var(--ink-2);
  color: var(--white);
  padding: 64px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em; }
.stat-num small { font-size: 18px; margin-left: 2px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.18em; margin-top: 6px; }

/* ---------- 图文块（关于/服务详情） ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.duo.flip .duo-media { order: 2; }
.duo-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; }
.duo-media img { width: 100%; height: 100%; object-fit: cover; }
.duo-body h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  line-height: 1.4;
}
.duo-body p { color: var(--ink-soft); margin-bottom: 14px; }
.duo-list { list-style: none; margin: 20px 0 0; }
.duo-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.duo-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 8px; height: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

/* ---------- CTA ---------- */
.cta-band {
  background:
    linear-gradient(rgba(20,19,17,0.72), rgba(20,19,17,0.72)),
    url("../img/cta-bg.jpg?v=20261004.4") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 110px 0;
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: 0.08em; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 36px; }

/* ---------- 页头（内页） ---------- */
.page-head {
  background: var(--ink);
  color: var(--white);
  padding: 88px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(176,141,87,0.22), transparent 60%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: 0.14em; }
.page-head p { color: rgba(255,255,255,0.62); margin-top: 14px; letter-spacing: 0.08em; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field label em { color: #c0564f; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.14);
  background: var(--white);
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

.form-msg {
  display: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.form-msg.show { display: block; }
.form-msg.ok { background: #eef7f0; color: #2c6e49; border: 1px solid #cfe6d6; }
.form-msg.err { background: #fbf0ee; color: #a1443a; border: 1px solid #efd3cd; }
.form-msg.info { background: var(--gold-soft); color: var(--gold-deep); border: 1px solid #e4d5bb; }

.code-row { display: flex; gap: 12px; }
.code-row input { flex: 1; }
.code-row .btn { flex-shrink: 0; min-width: 118px; }

/* ---------- 登录页 ---------- */
.auth-wrap {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-side {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.auth-side .bg {
  position: absolute; inset: 0;
  background: url("../img/svc-relief.jpg") center/cover no-repeat;
  opacity: 0.5;
}
.auth-side .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,17,16,0.9) 0%, rgba(18,17,16,0.25) 65%);
}
.auth-side .quote { position: relative; z-index: 2; padding: 56px; color: var(--white); }
.auth-side .quote h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; }
.auth-side .quote p { color: rgba(255,255,255,0.66); font-size: 14px; }
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--paper);
}
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 6px; }
.auth-box .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; }

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper-2);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 28px;
}
.auth-tab {
  text-align: center;
  padding: 9px 0;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tab.on { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.auth-pane { display: none; }
.auth-pane.on { display: block; }
.auth-form .field { margin-bottom: 18px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }

/* ---------- 咨询记录 ---------- */
.inq-list { display: grid; gap: 14px; margin-top: 18px; }
.inq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
}
.inq-item .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.inq-item .svc { font-weight: 600; font-size: 14.5px; }
.inq-item .time { font-size: 12px; color: var(--muted); }
.inq-item .msg { font-size: 13.5px; color: var(--ink-soft); }
.badge {
  font-size: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-deep);
}

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,14,13,0.94);
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(920px, 82vw); max-height: 78vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox .lb-foot { position: absolute; bottom: 26px; left: 0; right: 0; padding: 0 60px; text-align: center; }
.lightbox .lb-count { display: block; font-size: 12px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 6px; }
.lightbox .cap { color: rgba(255,255,255,0.85); font-size: 13.5px; line-height: 1.7; }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.28);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox .lb-nav.prev { left: 26px; }
.lightbox .lb-nav.next { right: 26px; }
.lightbox .lb-nav:hover { background: rgba(255,255,255,0.16); }
.lightbox.is-single .lb-nav { display: none; }
.lightbox .close {
  position: absolute; top: 26px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox .close:hover { background: rgba(255,255,255,0.14); }
@media (max-width: 720px) {
  .lightbox { padding: 20px 10px; }
  .lightbox img { max-width: 96vw; max-height: 68vh; }
  .lightbox .lb-nav { width: 38px; height: 38px; font-size: 14px; background: rgba(0,0,0,0.45); }
  .lightbox .lb-nav.prev { left: 6px; }
  .lightbox .lb-nav.next { right: 6px; }
  .lightbox .lb-foot { padding: 0 14px; bottom: 14px; }
  .lightbox .close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 17px; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.62); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { font-size: 13.5px; margin-top: 18px; max-width: 300px; }
.footer-grid h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 12px; font-size: 13.5px; }
.footer-grid ul a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; stroke: var(--gold); flex-shrink: 0; margin-top: 5px; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* ---------- 页脚 · 关注我们（社媒矩阵） ---------- */
.footer-social {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 44px 0 28px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.fs-head h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: 12px;
}
.fs-head h4::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.fs-head p { font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,0.42); }
.sm-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sm-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.7);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
}
.sm-item:hover {
  border-color: rgba(176,141,87,0.55);
  background: rgba(176,141,87,0.09);
  transform: translateY(-2px);
  color: var(--white);
}
.sm-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(176,141,87,0.12);
  border: 1px solid rgba(176,141,87,0.22);
}
.sm-ico svg { width: 20px; height: 20px; }
.sm-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sm-txt em {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.sm-txt i {
  font-style: normal;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gold);
  border: 1px solid rgba(176,141,87,0.35);
  border-radius: 999px;
  padding: 2px 7px;
  opacity: 0.8;
}
.sm-item.is-soon .sm-ico { opacity: 0.62; }
.sm-item.is-soon .sm-txt { padding-right: 58px; }

@media (max-width: 1080px) {
  .footer-social { grid-template-columns: 1fr; gap: 22px; padding: 36px 0 24px; }
  .sm-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sm-list { grid-template-columns: 1fr; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: var(--ink);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .svc-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card.feature { grid-column: span 2; grid-row: span 2; }
  .testi-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .step + .step::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { min-height: 220px; }
  .auth-side .quote { padding: 36px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-user .user-chip { display: none; }
  .nav-links.open {
    display: block;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--paper);
    padding: 6px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-toggle { display: block; }
  .hero-inner { padding: 90px 0 80px; }
  .hero { min-height: 72vh; }
  .svc-grid, .works-grid, .form-grid, .duo { grid-template-columns: 1fr; }
  .work-card.feature { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
  .testi-grid, .why-grid { grid-template-columns: 1fr; }
  .section-cta .cta-actions { flex-direction: column; align-items: center; }
  .duo.flip .duo-media { order: 0; }
  .duo { gap: 34px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-card { padding: 26px; }
  .auth-main { padding: 40px 22px; }
  .fc-panel { right: 14px; bottom: 86px; width: 260px; }
}

/* ---------- 悬浮客服/快速入口 ---------- */
.float-contact { position: fixed; right: 22px; bottom: 90px; z-index: 920; font-size: 14px; }
body.sc-open .float-contact { bottom: 150px; }
.fc-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, #c9a86c 0%, #a8844f 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(28,24,20,0.28);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fc-toggle:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgba(28,24,20,0.34); }
.fc-toggle svg { width: 26px; height: 26px; }
.fc-toggle .fc-close { display: none; }
.float-contact.open .fc-toggle .fc-open { display: none; }
.float-contact.open .fc-toggle .fc-close { display: block; }
.fc-panel {
  position: absolute; right: 0; bottom: 72px; width: 280px;
  background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(28,24,20,0.18);
  overflow: hidden; opacity: 0; transform: translateY(12px) scale(0.96);
  pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
}
.float-contact.open .fc-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fc-head { padding: 16px 18px; background: #1c1c1c; color: #d3b98a; font-weight: 600; letter-spacing: 0.04em; }
.fc-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  color: #333; text-decoration: none; border-bottom: 1px solid #f0eeeb;
  transition: background 0.15s;
}
.fc-item:last-of-type { border-bottom: none; }
.fc-item:hover { background: #faf8f5; }
.fc-item svg { width: 20px; height: 20px; color: #a8844f; flex-shrink: 0; }
.fc-item.fc-primary { background: #faf5ed; color: #8b6239; font-weight: 500; }
.fc-item.fc-primary:hover { background: #f5ecdf; }
.fc-foot { padding: 10px 18px; font-size: 11px; color: #999; text-align: center; background: #fafafa; }
@media (max-width: 720px) {
  .float-contact { right: 14px; bottom: 142px; }
  .fc-toggle { width: 50px; height: 50px; }
  .fc-toggle svg { width: 22px; height: 22px; }
  .fc-panel { right: 0; bottom: 66px; width: 260px; }
}

/* ---------- 首页爆款主推 ---------- */
.hot-services { background: #f9f7f2; padding: 72px 0; }
.hot-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hot-card {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hot-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(28,24,20,0.12); }
.hot-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hot-card h4 { font-size: 14.5px; font-weight: 600; padding: 14px 14px 4px; margin: 0; }
.hot-card .hot-price { font-size: 15px; color: var(--gold-dark); font-weight: 700; padding: 0 14px; margin: 0; }
.hot-card .hot-tag { font-size: 11.5px; color: var(--muted); padding: 4px 14px 14px; margin: 0; }
@media (max-width: 1200px) { .hot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .hot-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .hot-services { padding: 56px 0; } }

/* ---------- 流程中段轻 CTA（soft 变体） ---------- */
.section-cta.soft {
  padding: 44px 0;
  background: linear-gradient(180deg, var(--paper), #f6f2ea);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-cta.soft h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.section-cta.soft p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

/* ---------- 客户类型与服务城市带 ---------- */
.trust-band { padding: 72px 0 64px; }
.serve-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  max-width: 860px; margin: 0 auto 30px;
}
.serve-tags span {
  padding: 9px 18px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink); letter-spacing: 0.02em;
}
.city-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  padding: 18px 24px; border-radius: var(--radius);
  background: var(--ink); color: rgba(255,255,255,0.85);
  max-width: 980px; margin: 0 auto;
}
.city-strip-label {
  font-size: 12px; letter-spacing: 0.14em; color: var(--gold);
  border: 1px solid rgba(211,185,138,0.5); border-radius: 999px; padding: 4px 12px;
}
.city-strip-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.city-strip-tags a { color: rgba(255,255,255,0.78); font-size: 13px; transition: color 0.2s; }
.city-strip-tags a:hover { color: var(--gold); }
.city-strip-more { color: var(--gold); font-size: 13px; white-space: nowrap; }
@media (max-width: 720px) {
  .trust-band { padding: 56px 0 48px; }
  .serve-tags span { padding: 7px 14px; font-size: 12.5px; }
  .city-strip { padding: 14px 16px; }
}
