:root {
  --ink: #14202e;
  --ink-soft: #4a5868;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f3ef;
  --navy: #1b3a5c;
  --accent: #c8873a;
  --accent-dark: #a96d27;
  --wa: #1f9d55;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand strong { display: block; font-size: 1.15rem; }
.brand span { font-size: .75rem; color: var(--ink-soft); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: .98rem; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17834a; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { background: linear-gradient(135deg, #142c47 0%, #1b3a5c 55%, #2b5079 100%); color: #fff; padding: 96px 0 88px; }
.hero .lead { color: #d5dfea; }
.hero .eyebrow { color: #f0b66f; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 32px; padding: 0; list-style: none; }
.hero-tags li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 6px 14px; border-radius: 999px; font-size: .88rem; }

/* Page header */
.page-head { background: var(--navy); color: #fff; padding: 64px 0 52px; }
.page-head .lead { color: #d5dfea; }
.breadcrumb { font-size: .85rem; color: #b9c7d6; margin-bottom: 14px; }
.breadcrumb a { color: #fff; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: #f6ead9; color: var(--accent-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.card p { color: var(--ink-soft); }
.card ul { padding-left: 18px; margin: 0; color: var(--ink-soft); }

/* Listings */
.listing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.listing-img { aspect-ratio: 16/10; background: linear-gradient(135deg, #dfe6ee, #c9d4e0); display: grid; place-items: center; color: #6b7c8f; font-size: .9rem; position: relative; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.badge.rent { background: var(--accent); }
.listing-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.listing-type { font-size: .78rem; color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.listing h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.price { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin: 4px 0 10px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--ink-soft); padding: 0; margin: 0 0 16px; list-style: none; }
.listing .btn { margin-top: auto; text-align: center; padding: 10px 18px; font-size: .9rem; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer; }
.filters button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sample-note { background: #fff7e9; border: 1px dashed var(--accent); padding: 12px 16px; border-radius: 8px; font-size: .9rem; color: #7a5520; margin-bottom: 24px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.areas li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .93rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Article */
.article { max-width: 760px; }
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: .4em; }
.toc { background: var(--bg-alt); border-radius: var(--radius); padding: 20px 26px; margin: 0 0 32px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.callout { background: #eef3f8; border-left: 4px solid var(--navy); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-alt); }

/* About */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.photo { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, #d6dee8, #b8c6d6); display: grid; place-items: center; color: #5d6f83; }
.cred { list-style: none; padding: 0; margin: 20px 0; }
.cred li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.cred li span:first-child { color: var(--ink-soft); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
form label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
form input, form select, form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd6de; border-radius: 8px; font: inherit; }
form textarea { min-height: 110px; }

/* CTA */
.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta p { color: #d5dfea; margin: 0; }

/* Footer */
.site-footer { background: #0f1c2b; color: #b9c4d0; padding: 48px 0 28px; font-size: .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.legal { border-top: 1px solid #22344a; padding-top: 20px; font-size: .82rem; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 20px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 20; font-size: .95rem; }

@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: flex-start; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .photo { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta { padding: 32px 24px; }
}

/* Hero with photo */
.hero { padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; }
.hero-grid > div { padding-bottom: 88px; }
.hero-photo { width: 100%; height: 480px; object-fit: cover; object-position: top; border-radius: 16px 16px 0 0; }
img.photo { width: 100%; height: auto; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-grid > div { padding-bottom: 40px; }
  .hero-photo { max-width: 300px; height: 360px; margin: 0 auto; }
}

/* Language switcher & Chinese typography */
.nav a.lang { border: 1px solid var(--line); padding: 4px 14px; border-radius: 999px; font-size: .88rem; }
.nav a.lang:hover { border-color: var(--accent); }
html[lang^="zh"] body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .01em; }
html[lang^="zh"] h1, html[lang^="zh"] h2 { letter-spacing: 0; }

/* Footer: 4 columns, social links; area chips as links; verify block */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
.site-footer ul.social { margin-top: 14px; }
.site-footer .legal a { text-decoration: underline; }
.areas li a { text-decoration: none; color: var(--navy); font-weight: 600; }
.areas li:has(a) { border-color: #c9d4e0; }
.areas li:has(a):hover { border-color: var(--accent); }
.verify { margin-top: 8px; }
.verify .btn { width: 100%; text-align: center; }
.verify p { font-size: .85rem; color: var(--ink-soft); margin: 8px 0 0; }
.verify h3 { margin: 20px 0 8px; font-size: 1rem; }
.social-list { list-style: none; padding: 0; margin: 0; }
.social-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
