:root {
  --ocean: #166FA8;
  --ocean-dark: #0E5482;
  --ocean-soft: #EBF5FC;
  --sky: #0EA5E9;
  --sunset: #E66E00;
  --sunset-dark: #C45B00;
  --sunset-soft: #FFF5EB;
  --ink: #0F2940;
  --body: #33495E;
  --muted: #64748B;
  --border: #E2E8F0;
  --surface: #FFFFFF;
  --canvas: #F6F9FC;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 8px 28px rgba(15, 41, 64, 0.06);
  --shadow-hover: 0 14px 36px rgba(15, 41, 64, 0.11);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  background: var(--canvas);
  overflow-x: clip;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--sunset); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 12px; font-weight: 700; }
p { margin: 0 0 14px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow-container { max-width: 860px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}
.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; object-fit: contain; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--ocean-soft);
  color: var(--ocean);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--sunset);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-cta:hover { background: var(--sunset-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--ocean-soft);
  border: 1px solid #D3E7F7;
  border-radius: 9px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ocean-dark);
  border-radius: 2px;
}

/* Announcement Bar (verbatim required on homepage) */
.announce-bar {
  background: linear-gradient(90deg, #FFF6EB 0%, #FFFDF8 50%, #EEF7FD 100%);
  border-bottom: 1px solid #F2DFC6;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sunset);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.announce-text {
  margin: 0;
  font-size: 13.5px;
  color: #7A410A;
  line-height: 1.5;
  min-width: 0;
  word-break: break-word;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
}
.btn-primary { background: var(--ocean); color: #fff; }
.btn-primary:hover { background: var(--ocean-dark); color: #fff; }
.btn-accent { background: var(--sunset); color: #fff; }
.btn-accent:hover { background: var(--sunset-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); color: #fff; }
.btn-outline { background: #fff; color: var(--ocean); border-color: #BFE0F5; }
.btn-outline:hover { background: var(--ocean-soft); border-color: var(--ocean); color: var(--ocean-dark); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-link { font-weight: 600; font-size: 14px; color: var(--ocean); }
.btn-link:hover { color: var(--sunset); }

/* Hero */
.hero, .bay-hero {
  position: relative;
  overflow: hidden;
  background: #0D3554;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(9, 34, 56, 0.86) 0%, rgba(12, 48, 78, 0.72) 55%, rgba(12, 48, 78, 0.56) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 60px;
}
.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: #FFE0B8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1, .bay-hero h1 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.24;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero-lead {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.stat-item strong { display: block; font-size: 19px; color: #fff; }
.stat-item span { font-size: 12.5px; color: rgba(255,255,255,0.78); }

/* Quick Card in Hero */
.hero-quick-card {
  background: #fff;
  color: var(--body);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(6, 26, 44, 0.28);
}
.quick-card-head h2 { font-size: 19px; margin-bottom: 4px; color: var(--ink); }
.quick-card-head p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.form-row { margin-bottom: 13px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.form-row select, .form-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
}
.form-row select:focus, .form-row input:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(22, 111, 168, 0.14);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Sections */
.section { padding: 54px 0; }
.section-tinted { background: #EEF4F9; border-top: 1px solid #E2ECF5; border-bottom: 1px solid #E2ECF5; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-tag {
  display: inline-block;
  color: var(--sunset);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.section-head h2 { font-size: clamp(22px, 2.6vw, 29px); margin-bottom: 6px; }
.section-sub { margin: 0; color: var(--muted); max-width: 680px; }
.link-more { font-weight: 600; white-space: nowrap; color: var(--ocean); font-size: 14.5px; }
.section-subhead { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #0E4D78 0%, #166FA8 60%, #1E88C7 100%);
  color: #fff;
  padding: 36px 0 40px;
}
.page-banner h1 { color: #fff; font-size: clamp(23px, 3vw, 33px); margin: 8px 0 10px; }
.page-banner p { color: rgba(255,255,255,0.9); max-width: 780px; margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.78); margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,0.92); }
.breadcrumb a:hover { color: #FFE0B8; }

/* Bay Cards */
.bay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.bay-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bay-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.bay-thumb-wrap { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #DCE8F2; }
.bay-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.bay-card:hover .bay-thumb-wrap img { transform: scale(1.04); }
.bay-price-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(15, 41, 64, 0.86);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.bay-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.bay-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.bay-title-row h3 { margin: 0; font-size: 20px; }
.bay-title-row h3 a { color: var(--ink); }
.bay-title-row h3 a:hover { color: var(--ocean); }
.bay-vibe { font-size: 12px; font-weight: 600; color: var(--ocean); background: var(--ocean-soft); padding: 3px 9px; border-radius: 999px; }
.bay-desc { font-size: 14px; color: var(--body); margin-bottom: 14px; }

.score-bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.score-item { display: grid; grid-template-columns: 72px 1fr 28px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.score-item .bar { height: 7px; border-radius: 999px; background: #E6EEF5; overflow: hidden; }
.score-item .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ocean), var(--sky)); }
.score-item .bar-warm i { background: linear-gradient(90deg, var(--sunset), #F59E0B); }
.score-item b { text-align: right; color: var(--ink); font-size: 13px; }

.bay-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #EEF2F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.fit-for { font-size: 12.5px; color: var(--muted); }

/* Matrix & Data Tables */
.matrix-box {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.matrix-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.matrix-head h3 { margin: 0; font-size: 18px; }
.matrix-head span { font-size: 12.5px; color: var(--muted); }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
.data-table th, .data-table td { padding: 11px 13px; text-align: left; border-bottom: 1px solid #EDF2F7; }
.data-table th { background: #F4F8FC; color: var(--ink); font-weight: 700; white-space: nowrap; }
.table-bay-link { font-weight: 700; color: var(--ocean); }

/* Apartment Cards */
.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.apt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apt-grid-3-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.apt-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.apt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.apt-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #DCE8F2; }
.apt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.apt-bay-pill {
  position: absolute; left: 10px; top: 10px;
  background: rgba(15, 41, 64, 0.84); color: #fff;
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.apt-score-pill {
  position: absolute; right: 10px; top: 10px;
  background: var(--sunset); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.apt-body { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.apt-body h3, .apt-body h4 { font-size: 17px; margin-bottom: 6px; }
.apt-body h3 a, .apt-body h4 a { color: var(--ink); }
.apt-body h3 a:hover, .apt-body h4 a:hover { color: var(--ocean); }
.apt-meta-line { font-size: 13px; color: var(--ocean); font-weight: 600; margin-bottom: 8px; }
.apt-summary { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mini-tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F1F6FA;
  color: var(--body);
  border: 1px solid #E2ECF5;
}
.apt-price-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #EEF2F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price-num { font-size: 21px; font-weight: 800; color: var(--sunset); }
.price-unit { font-size: 12.5px; color: var(--muted); margin-left: 2px; }
.price-peak-note { display: block; font-size: 11.5px; color: var(--muted); }

/* Guide Cards */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.guide-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.guide-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ocean-soft);
  color: var(--ocean-dark);
}
.page-banner .cat-badge { background: rgba(255,255,255,0.2); color: #FFE3C2; }
.read-time { font-size: 12px; color: var(--muted); }
.guide-card h3, .guide-card h2 { font-size: 17px; margin-bottom: 10px; line-height: 1.42; }
.guide-card h3 a, .guide-card h2 a { color: var(--ink); }
.guide-card h3 a:hover, .guide-card h2 a:hover { color: var(--ocean); }
.guide-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.guide-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #EEF2F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
  box-shadow: 0 3px 12px rgba(15, 41, 64, 0.04);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: var(--ocean);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; color: var(--sunset); }
.faq-cat {
  font-size: 11.5px;
  background: var(--ocean-soft);
  color: var(--ocean-dark);
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.faq-answer { padding: 0 0 16px; border-top: 1px solid #F1F5F9; padding-top: 12px; color: var(--body); }
.faq-answer p { margin: 0; }

/* Bay Detail & Two-Column Layout */
.bay-hero-inner { position: relative; z-index: 2; padding: 38px 0 44px; }
.bay-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.bay-kpi-strip > div {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 12px 14px;
  backdrop-filter: blur(4px);
}
.bay-kpi-strip small { display: block; font-size: 12px; color: rgba(255,255,255,0.78); }
.bay-kpi-strip strong { font-size: 17px; color: #fff; }

.two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.content-card, .side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.side-col { display: flex; flex-direction: column; gap: 20px; }
.side-card { padding: 20px; }
.side-card h3 { font-size: 16.5px; margin-bottom: 12px; }
.sticky-card { position: sticky; top: 88px; }
.side-meta { font-size: 13.5px; margin: 10px 0 0; }
.side-divider { border: 0; border-top: 1px solid #EDF2F7; margin: 16px 0; }

.side-link-list, .side-article-list, .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.side-link-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  border-bottom: 1px solid #F1F5F9;
}
.side-link-list li a:hover, .side-link-list li a.active { background: var(--ocean-soft); color: var(--ocean); font-weight: 600; }
.side-link-list small { color: var(--sunset); font-weight: 600; flex-shrink: 0; }

.side-article-list li { padding: 8px 0; border-bottom: 1px solid #F1F5F9; font-size: 14px; }
.side-article-list li:last-child { border-bottom: 0; }
.toc-list li { padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed #E2E8F0; }
.toc-list li:last-child { border-bottom: 0; }

/* Bay Wide Cards (/bays) */
.bay-detail-list { display: flex; flex-direction: column; gap: 24px; }
.bay-wide-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
}
.bay-wide-media { background: #DCE8F2; min-height: 240px; }
.bay-wide-media img { width: 100%; height: 100%; object-fit: cover; }
.bay-wide-content { padding: 24px; }
.bay-wide-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.bay-wide-head h2 { margin-top: 6px; font-size: 22px; }
.bay-wide-price { text-align: right; background: var(--sunset-soft); padding: 8px 14px; border-radius: 10px; }
.bay-wide-price small { display: block; font-size: 11.5px; color: var(--muted); }
.bay-wide-price strong { color: var(--sunset); font-size: 17px; }
.spec-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.spec-pills span { font-size: 12.5px; background: #F1F6FA; padding: 4px 10px; border-radius: 7px; color: var(--ink); }
.pros-cons-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pros-box, .cons-box { padding: 14px 16px; border-radius: 10px; font-size: 13.5px; }
.pros-box { background: #F0F9F4; border: 1px solid #CBEAD8; }
.cons-box { background: #FFF7F0; border: 1px solid #F6D8BE; }
.pros-box strong { color: #166534; display: block; margin-bottom: 6px; }
.cons-box strong { color: #9A3412; display: block; margin-bottom: 6px; }
.pros-box ul, .cons-box ul { margin: 0; padding-left: 18px; }
.pros-box li, .cons-box li { margin-bottom: 4px; }
.bay-wide-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Filters */
.filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.filter-chip {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13px;
  background: #F1F5F9;
  color: var(--body);
  border: 1px solid transparent;
}
.filter-chip:hover { border-color: var(--ocean); color: var(--ocean); }
.filter-chip.active { background: var(--ocean); color: #fff; font-weight: 600; }
.filter-reset { font-size: 13px; color: var(--sunset); margin-left: 6px; font-weight: 600; }

/* Apartment Detail */
.apt-hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: #DCE8F2; }
.apt-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.specs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spec-box { background: #F8FAFC; border: 1px solid #E6EEF5; border-radius: 10px; padding: 12px 14px; }
.spec-box small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.spec-box strong { font-size: 14.5px; color: var(--ink); }
.note-muted { font-size: 12.5px; color: var(--muted); margin-top: 10px; margin-bottom: 0; }
.check-ol { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--body); }
.check-ol li { margin-bottom: 8px; }

/* Rich Article Typography */
.article-meta-bar { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.84); margin-top: 10px; }
.takeaway-box {
  background: var(--ocean-soft);
  border-left: 4px solid var(--ocean);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
}
.takeaway-box strong { display: block; color: var(--ocean-dark); margin-bottom: 4px; font-size: 14.5px; }
.takeaway-box p { margin: 0; font-size: 14px; }
.rich-text h2 { font-size: 21px; margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #EEF3F8; scroll-margin-top: 90px; }
.rich-text h3 { font-size: 17px; margin: 18px 0 8px; }
.rich-text ul, .rich-text ol { padding-left: 20px; margin: 0 0 16px; }
.rich-text li { margin-bottom: 7px; }
.rich-text blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--sunset-soft);
  border-left: 4px solid var(--sunset);
  border-radius: 6px;
  color: #7A3B08;
}
.article-bottom-cta {
  margin-top: 28px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #EEF6FC 0%, #FFF7EE 100%);
  border: 1px solid #D7E8F5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article-bottom-cta h3 { margin: 0 0 4px; font-size: 17px; }
.article-bottom-cta p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Selector Tool */
.selector-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.selector-panel, .result-top-card, .budget-card, .tips-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.result-top-card h2 { font-size: 22px; margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.alt-bay { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.result-reason { font-size: 15px; }
.result-room-pill { background: var(--ocean-soft); color: var(--ocean-dark); padding: 10px 14px; border-radius: 9px; font-size: 13.5px; }
.budget-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #EEF2F6; flex-wrap: wrap; }
.budget-head small { display: block; font-size: 12.5px; color: var(--muted); }
.budget-total { font-size: 32px; color: var(--sunset); font-weight: 800; line-height: 1.15; }
.budget-pp { text-align: right; }
.budget-pp strong { font-size: 20px; color: var(--ink); }
.budget-breakdown { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.b-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; padding: 8px 12px; background: #F8FAFC; border-radius: 8px; }
.b-item strong { color: var(--ink); white-space: nowrap; }
.tips-list { margin: 0; padding-left: 18px; }
.tips-list li { margin-bottom: 8px; font-size: 14px; }

/* Empty / 404 */
.empty-box { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 24px; }
.nf-code { display: inline-block; font-size: 48px; font-weight: 800; color: var(--ocean); line-height: 1; margin-bottom: 10px; }

/* Utilities */
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* Footer */
.site-footer {
  background: #0C2337;
  color: rgba(255,255,255,0.8);
  padding-top: 46px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
}
.footer-logo { height: 42px; width: auto; background: #fff; padding: 4px 10px; border-radius: 8px; margin-bottom: 14px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.74); margin: 0; }
.footer-col h3 { color: #fff; font-size: 15.5px; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: 13.5px; }
.footer-col a { color: rgba(255,255,255,0.76); }
.footer-col a:hover { color: #FFD2A1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.beian-wrap a { color: rgba(255,255,255,0.85); }
.beian-wrap a:hover { color: #FFD2A1; }

/* Responsive Breakpoints (tested down to 375px with zero horizontal overflow) */
.hero-text, .hero-quick-card, .main-col, .side-col, .selector-panel, .selector-result, .matrix-box {
  min-width: 0;
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: minmax(0, 1fr); padding-top: 38px; padding-bottom: 42px; }
  .apt-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col-layout { grid-template-columns: minmax(0, 1fr); }
  .selector-layout { grid-template-columns: minmax(0, 1fr); }
  .bay-wide-card { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(15, 41, 64, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; }
}

@media (max-width: 680px) {
  .container { padding: 0 15px; }
  .section { padding: 38px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bay-grid, .apt-grid, .apt-grid-2, .apt-grid-3-compact, .guide-grid, .pros-cons-mini, .specs-grid, .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bay-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row-2 { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { gap: 8px; }
  .stat-item strong { font-size: 16px; }
  .brand-logo { height: 40px; }
  .content-card, .selector-panel, .result-top-card, .budget-card, .tips-card { padding: 18px; }
  .announce-inner { align-items: flex-start; }
  .budget-total { font-size: 26px; }
}
