/* ==========================================================================
   创富港 · 上海小户型办公出租
   设计语言对齐 https://bzsns.cn/ ：白底 + 深灰 + 强调黄，中英双行标题，
   编号卡片，左图右文，大数字数据带，大留白细分割线，小圆角。
   图片说明：IMG-* 为占位符，第 3 步替换为实拍图
   ========================================================================== */

:root {
  --ink: #111418;
  --ink-2: #2a2f36;
  --gray: #6b7280;
  --gray-2: #9aa1ab;
  --line: #e8eaed;
  --bg-soft: #f7f8fa;
  --accent: #f5c518;
  --accent-dark: #d9ab00;
  --blue: #2f6bff;
  --radius: 6px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- 英文小标签 ------------------------------------------------------ */
.en-label {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray-2);
  font-weight: 600;
}
.sec-head { margin-bottom: 48px; }
.sec-head h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-top: 10px;
}
.sec-head .sub {
  color: var(--gray);
  margin-top: 14px;
  max-width: 640px;
  font-size: 17px;
}
section { padding: 104px 0; }
.sec-alt { background: var(--bg-soft); }

/* --- 导航 ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  color: #fff;
}
.nav-in {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 4px;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.logo-txt strong { font-size: 18px; letter-spacing: .02em; display: block; line-height: 1.2; }
.logo-txt span { font-size: 10px; letter-spacing: .18em; color: #8b929c; }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { color: #c9ced6; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 16px; color: var(--accent);
}

/* --- 按钮 ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 30px;
  border-radius: var(--radius);
  font-weight: 700; font-size: 16px;
  transition: transform .15s, background .2s, box-shadow .2s;
  cursor: pointer; border: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--ink); }

/* --- 实拍图位（保持占位符同样比例，便于替换） ------------------------- */
.shot {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-1610 { aspect-ratio: 16 / 10; }
.shot-43{ aspect-ratio: 4 / 3; }
.shot-169 { aspect-ratio: 16 / 9; }
.shot-hero { box-shadow: 0 24px 60px rgba(17,20,24,.12); }
/* 竖构图照片：焦点偏下，避免裁掉桌面 */
.shot-portrait img { object-position: center 62%; }

/* 图片说明角标 */
.shot-cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 22px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff; font-size: 12.5px; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.shot-cap .todo {
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4);
  padding: 1px 7px; border-radius: 3px; font-size: 11px; flex: none;
}

/* --- 无实拍图时的「设计面板」，替代空占位框（不留虚线框） -------------- */
.panel {
  background: var(--ink); color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 260px;
}
.panel .p-ic {
  width: 52px; height: 52px; border-radius: 6px;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 20px;
}
.panel h4 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.panel p { color: #a7adb6; font-size: 14.5px; line-height: 1.8; }
.panel ul { list-style: none; margin-top: 18px; }
.panel li {
  font-size: 14px; color: #d5d9de; padding: 7px 0 7px 20px;
  border-bottom: 1px solid #262b32; position: relative;
}
.panel li:last-child { border-bottom: none; }
.panel li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800;
}
.plan .panel { min-height: 0; padding: 30px 26px; }
.plan .panel .p-ic { width: 44px; height: 44px; font-size: 20px; margin-bottom: 14px; }
.plan .panel h4 { font-size: 19px; }
.plan .panel p { font-size: 13.5px; }
.plan .panel ul { margin-top: 12px; }
.plan .panel li { font-size: 13px; padding: 5px 0 5px 18px; }

/* --- 图片占位符 ------------------------------------------------------ */
.ph {
  position: relative;
  background: var(--bg-soft);
  border: 1px dashed #cdd2d9;
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--gray-2); font-size: 13px; letter-spacing: .06em;
  overflow: hidden;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(0,0,0,.015) 10px 20px);
}
.ph b {
  position: relative; z-index: 1;
  font-size: 13px; font-weight: 700; color: #a9b0ba;
  text-align: center; line-height: 1.7;
}
.ph-1610 { aspect-ratio: 16 / 10; }
.ph-43   { aspect-ratio: 4 / 3; }
.ph-169  { aspect-ratio: 16 / 9; }

/* --- HERO ------------------------------------------------------------ */
.hero { padding: 88px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center;
}
.hero h1 {
  font-size: 60px; line-height: 1.15; font-weight: 800;
  letter-spacing: -.02em; margin: 16px 0 20px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--gray); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--gray-2); margin-top: 16px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 80px; padding: 40px 0;
}
.hero-stats div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { padding-left: 0; border-left: none; }
.hero-stats b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.hero-stats b i { font-style: normal; color: var(--accent); }
.hero-stats span { font-size: 14px; color: var(--gray); }

.hero-side { position: relative; }
.hero-side .ph { box-shadow: 0 24px 60px rgba(17,20,24,.12); }

.float-card {
  position: absolute; left: -34px; bottom: -28px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(17,20,24,.16);
  padding: 22px 24px; width: 268px;
}
.float-card h4 { font-size: 13px; color: var(--gray); font-weight: 600; letter-spacing: .04em; }
.float-phone {
  display: block; font-size: 25px; font-weight: 800; color: var(--ink);
  margin: 4px 0 14px; letter-spacing: -.01em;
}
.float-qr { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.float-qr img { width: 74px; height: 74px; border-radius: 4px; object-fit: cover; }
.float-qr p { font-size: 12px; color: var(--gray); line-height: 1.6; margin: 0; }

/* --- 四大卖点 -------------------------------------------------------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feat { background: #fff; padding: 34px 28px; }
.feat .ic {
  width: 42px; height: 42px; border-radius: 5px;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-size: 20px; margin-bottom: 16px;
}
.feat h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--gray); line-height: 1.75; }

/* --- 户型卡片 -------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.plan:hover { box-shadow: 0 18px 40px rgba(17,20,24,.1); transform: translateY(-3px); }
.plan-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.plan-tag {
  font-size: 11px; letter-spacing: .16em; color: var(--gray-2);
  text-transform: uppercase; font-weight: 700;
}
.plan h3 { font-size: 30px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.02em; }
.plan h3 small { font-size: 15px; font-weight: 600; color: var(--gray); margin-left: 2px; }
.plan-seats { font-size: 14px; color: var(--gray); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan-rent { padding: 16px 0; }
.plan-rent b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.plan-rent span { font-size: 13px; color: var(--gray); display: block; }
.plan-meta { list-style: none; font-size: 13.5px; color: var(--gray-2); margin-bottom: 18px; }
.plan-meta li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.plan-meta li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.plan .btn { width: 100%; margin-top: auto; height: 44px; font-size: 15px; }

.badge {
  display: inline-block; margin-left: 8px;
  background: var(--accent); color: var(--ink);
  font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 3px; vertical-align: middle; letter-spacing: .02em;
}
.badge-mute { background: #eceff3; color: var(--gray); }

/* --- 配套服务（左右图文交替） ----------------------------------------- */
.alt-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 56px 0;
}
.alt-row + .alt-row { border-top: 1px solid var(--line); }
.alt-row.flip .alt-txt { order: 2; }
.alt-num {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--accent-dark); display: block; margin-bottom: 8px;
}
.alt-txt h3 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.alt-txt .tagline { font-size: 15px; color: var(--gray-2); margin-bottom: 16px; }
.alt-txt p { color: var(--gray); margin-bottom: 16px; }
.alt-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 20px; }
.alt-list li { font-size: 14.5px; color: var(--ink-2); padding-left: 20px; position: relative; }
.alt-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent-dark); font-weight: 800;
}

/* --- 位置 ------------------------------------------------------------ */
.loc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.loc-list { list-style: none; }
.loc-list li {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--line); align-items: flex-start;
}
.loc-list .k {
  flex: none; width: 74px; font-size: 12px; letter-spacing: .1em;
  color: var(--gray-2); font-weight: 700; text-transform: uppercase; padding-top: 4px;
}
.loc-list .v { font-size: 16px; color: var(--ink-2); }

/* --- 流程 ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--accent);
}
.step b { font-size: 34px; font-weight: 800; color: #e3e6ea; letter-spacing: -.02em; display: block; line-height: 1; margin-bottom: 12px; }
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--gray); }

/* --- FAQ ------------------------------------------------------------- */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0; list-style: none;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 24px 40px 24px 0; position: relative;
  font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 32px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gray); border-bottom: 2px solid var(--gray);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details[open] summary { color: var(--accent-dark); }
.faq .ans { padding: 0 0 24px; color: var(--gray); font-size: 15.5px; }

/* --- 转化区 ---------------------------------------------------------- */
.cta { background: var(--ink); color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center; }
.cta .en-label { color: #6f7681; }
.cta h2 { font-size: 46px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin: 14px 0 16px; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: #a7adb6; font-size: 17px; }
.cta-phone {
  display: inline-flex; align-items: baseline; gap: 14px;
  font-size: 46px; font-weight: 800; color: #fff;
  letter-spacing: -.02em; margin: 30px 0 8px;
  border-bottom: 2px solid var(--accent); padding-bottom: 6px;
}
.cta-phone small { font-size: 14px; color: #8b929c; font-weight: 500; letter-spacing: .04em; }
.cta .btn { margin-top: 26px; }
.cta-addr { font-size: 14px !important; color: #8b929c !important; margin-top: 26px; line-height: 1.9; }
.cta-addr span { color: #6f7681; }
.cta-qr {
  background: #fff; border-radius: var(--radius);
  padding: 26px; text-align: center;
}
.cta-qr img { width: 100%; max-width: 220px; margin: 0 auto; border-radius: 4px; }
.cta-qr h4 { color: var(--ink); font-size: 18px; margin: 16px 0 4px; }
.cta-qr p { font-size: 13px; color: var(--gray); }

/* --- 页脚 ------------------------------------------------------------ */
.foot { background: #0b0d10; color: #8b929c; padding: 64px 0 28px; font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #22262c; }
.foot h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 8px; }
.foot a:hover { color: var(--accent); }
.foot-bot { padding-top: 22px; display: flex; justify-content: space-between; font-size: 13px; color: #5b6169; flex-wrap: wrap; gap: 12px; }

/* --- 移动端悬浮联系条 -------------------------------------------------- */
.dock {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0,0,0,.08);
}
.dock a { flex: 1; height: 58px; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: 15px; }
.dock .d1 { background: var(--accent); color: var(--ink); }
.dock .d2 { border-left: 1px solid var(--line); color: var(--ink); }

/* --- 响应式 ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 46px; }
  .hero-grid { gap: 40px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .sec-head h2 { font-size: 32px; }
  section { padding: 72px 0; }
  .cta h2 { font-size: 34px; }
  .cta-phone { font-size: 36px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .hero { padding-top: 48px; }
  .hero-grid, .alt-row, .loc-grid, .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .hero-stats div { padding-left: 16px; }
  .hero-stats b { font-size: 30px; }
  .float-card { position: static; width: 100%; margin-top: 20px; box-shadow: none; border: 1px solid var(--line); }
  .plans, .feats, .steps, .alt-list { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 26px; }
  .alt-txt h3 { font-size: 24px; }
  .cta h2 { font-size: 27px; }
  .cta-phone { font-size: 30px; }
  .dock { display: flex; }
  body { padding-bottom: 58px; }
  .btn { height: 48px; padding: 0 22px; font-size: 15px; }
}