/* 楼间随笔 — 海淀写字楼租售 */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  --ink: #16202c;
  --ink-2: #38475a;
  --ink-3: #6b7a8d;
  --line: #e2e6eb;
  --paper: #ffffff;
  --paper-2: #f6f7f5;
  --gold: #9c7b3f;
  --gold-soft: #c8a24a;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: .12em; }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: .16em; }
.mainnav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.mainnav a { color: var(--ink-2); padding: 4px 0; border-bottom: 1px solid transparent; }
.mainnav a:hover, .mainnav a.on { color: var(--ink); border-color: var(--gold); }
.topcall {
  font-family: var(--serif); font-size: 17px; letter-spacing: .04em;
  padding: 8px 18px; border: 1px solid var(--ink); border-radius: 2px;
}
.topcall:hover { background: var(--ink); color: #fff; }

/* 首页大图 */
.hero {
  background: linear-gradient(150deg, #101a26 0%, #1b2c3f 60%, #24384f 100%);
  background-color: #142032; color: #fff; padding: 96px 0 76px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% 55%;
  height: 420px; background: radial-gradient(closest-side, rgba(200,162,74,.22), transparent);
}
.hero-in { position: relative; z-index: 1; max-width: 860px; }
.hero-kicker { color: var(--gold-soft); letter-spacing: .3em; font-size: 12px; margin-bottom: 22px; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.35; font-weight: 600; letter-spacing: .04em;
}
.hero-sub { margin-top: 22px; max-width: 620px; color: #ccd6e0; font-size: 16px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 46px; margin-top: 56px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--serif); font-size: 26px; color: var(--gold-soft); font-weight: 600; }
.hero-facts span { font-size: 13px; color: #a9b6c4; }

/* 按钮 */
.btn {
  display: inline-block; padding: 13px 30px; font-size: 15px;
  border-radius: 2px; border: 1px solid transparent; transition: .18s;
  letter-spacing: .04em;
}
.btn-main { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-main:hover { background: #86682f; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* 区块 */
.block { padding: 74px 24px; }
.h-rule {
  font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .06em;
  padding-bottom: 14px; margin-bottom: 18px; position: relative;
}
.h-rule::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; background: var(--gold);
}
.block-sub { color: var(--ink-3); max-width: 700px; margin-bottom: 34px; }
.more { margin-top: 34px; }
.more a { font-family: var(--serif); color: var(--gold); border-bottom: 1px solid currentColor; }

/* 商圈格 */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.tile {
  border: 1px solid var(--line); padding: 30px 26px 26px; background: var(--paper-2);
  transition: .2s; position: relative;
}
.tile:hover { background: #fff; border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(22,32,44,.09); }
.tile-n { font-size: 12px; letter-spacing: .18em; color: var(--gold); }
.tile h3 { font-family: var(--serif); font-size: 22px; margin: 10px 0 10px; font-weight: 600; }
.tile p { color: var(--ink-3); font-size: 14.5px; min-height: 52px; }
.tile-go { font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); }

/* 楼盘卡片 */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  background: #fff; transition: .2s; overflow: hidden;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22,32,44,.10); }
.card-fig { display: block; aspect-ratio: 16/9; overflow: hidden; background: #142032; }
.card-fig img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: block; padding: 20px 20px 22px; }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.card-area { color: var(--gold); letter-spacing: .16em; }
.card-state { padding: 2px 9px; border-radius: 999px; font-size: 11px; }
.s-on { background: #eef4ee; color: #3f6b46; }
.s-full { background: #f5eded; color: #8d4a4a; }
.s-tbd { background: #f2f2f0; color: #6f6f6c; }
.card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 12px 0 8px; }
.card-price { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.card-meta { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 6px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-tags span {
  font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 2px; background: var(--paper-2);
}

/* 商圈页 / 内页头部 */
.area-hero { background: #142032; color: #fff; padding: 70px 0 58px; }
.area-hero.small { padding: 54px 0 46px; }
.area-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); font-weight: 600; letter-spacing: .05em; }
.area-line { color: #b9c5d2; margin-top: 14px; max-width: 660px; }
.crumb { font-size: 13px; color: #8fa0b1; margin-bottom: 18px; }
.crumb a { color: #c9d4de; border-bottom: 1px solid rgba(255,255,255,.25); }
.area-intro { max-width: 760px; }
.area-intro p { margin-bottom: 18px; color: var(--ink-2); }

.stats { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 36px;
  padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: var(--serif); font-size: 30px; color: var(--gold); font-weight: 600; }
.stats span { font-size: 13px; color: var(--ink-3); }

/* 楼盘详情 */
.detail { padding-top: 44px; }
.detail .crumb { color: var(--ink-3); }
.detail .crumb a { color: var(--ink-2); border-color: var(--line); }
.detail-head { margin-bottom: 28px; }
.detail-head h1 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; letter-spacing: .04em; }
.detail-sub { color: var(--gold); margin-top: 10px; letter-spacing: .06em; }
.detail-fig { margin-bottom: 46px; }
.detail-fig img { width: 100%; border: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 54px; padding-bottom: 70px; }
.detail-text p { margin-bottom: 20px; color: var(--ink-2); font-size: 16.5px; }
.detail-text p:first-of-type { font-size: 18px; color: var(--ink); font-family: var(--serif); line-height: 1.9; }
.taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.taglist li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line);
  background: var(--paper-2); color: var(--ink-2); border-radius: 2px; }

.specs { border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 96px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-3); font-size: 14px; }
.spec dd { font-size: 14.5px; color: var(--ink); word-break: break-word; }
.side-call { margin-top: 28px; padding: 26px; background: var(--paper-2); border: 1px solid var(--line); }
.side-name { font-family: var(--serif); font-size: 19px; margin-bottom: 14px; }
.wechat { font-size: 13.5px; color: var(--ink-3); margin-top: 12px; }

/* 联系区 */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-in { display: flex; flex-wrap: wrap; gap: 30px; align-items: center;
  justify-content: space-between; padding: 54px 24px; }
.contact-lead { color: var(--ink-3); font-size: 14px; }
.contact-in h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 8px 0 10px; letter-spacing: .04em; }
.contact-note { color: var(--ink-3); font-size: 14px; }
.contact-act { text-align: right; }

/* 流程 */
.how { background: #142032; color: #fff; padding: 74px 0; }
.how .h-rule { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; margin-top: 34px; }
.steps b { font-family: var(--serif); color: var(--gold-soft); font-size: 22px; }
.steps h3 { font-size: 17px; margin: 8px 0 8px; font-weight: 600; }
.steps p { color: #a9b6c4; font-size: 14.5px; }

/* 筛选 */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.filters input, .filters select {
  font: inherit; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); border-radius: 2px; min-width: 176px;
}
.filters input { flex: 1 1 300px; }
.filters input:focus, .filters select:focus { outline: 2px solid var(--gold-soft); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font: inherit; font-size: 13px; padding: 7px 15px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.reset { border-radius: 2px; }
.count { color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.empty { margin-top: 30px; color: var(--ink-2); }

/* 表格 */
.tablewrap { overflow-x: auto; margin-top: 34px; border: 1px solid var(--line); }
.datatable { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.datatable th, .datatable td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.datatable th { background: var(--paper-2); font-weight: 600; color: var(--ink-2);
  letter-spacing: .06em; font-size: 13.5px; }
.datatable tr:last-child td { border-bottom: 0; }
.datatable tbody tr:hover { background: #fbfbf9; }
.footnote { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

.aboutgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px; margin-top: 44px; }
.aboutgrid div { border-top: 2px solid var(--gold); padding-top: 18px; }
.aboutgrid h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; font-weight: 600; }
.aboutgrid p { color: var(--ink-3); font-size: 14.5px; }

/* 页脚 */
.foot { background: #101a26; color: #93a2b1; padding: 60px 0 26px; font-size: 14px; }
.footgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px; }
.footbrand { font-family: var(--serif); font-size: 21px; color: #fff; letter-spacing: .12em; margin-bottom: 12px; }
.footh { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footline { margin-bottom: 7px; }
.footline a { color: var(--gold-soft); }
.foot .footnote { color: #6f7f8e; }
.copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px; color: #6f7f8e; }

@media (max-width: 880px) {
  .topbar .wrap { height: auto; flex-wrap: wrap; gap: 10px; padding: 14px 20px; }
  .brand { flex: 1 1 auto; }
  .mainnav { order: 3; width: 100%; margin-left: 0; gap: 18px; overflow-x: auto;
    -webkit-overflow-scrolling: touch; }
  .topcall { font-size: 15px; padding: 7px 13px; white-space: nowrap; }
  .filters { gap: 10px; }
  .filters input, .filters select { min-width: 0; flex: 1 1 100%; }
  .filters select { flex: 1 1 calc(50% - 5px); }
  .chip.reset { flex: 0 0 auto; }
  .stats { gap: 26px 34px; }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .block { padding: 52px 20px; }
  .contact-act { text-align: left; }
  .hero { padding: 66px 0 54px; }
  .hero-facts { gap: 28px; }
}
