:root {
  --bg: #0d1015;
  --bg-2: #141922;
  --ink: #f2eee6;
  --muted: #a6a29a;
  --gold: #c6a769;
  --gold-2: #dcc490;
  --line: rgba(198, 167, 105, 0.28);
  --ivory: #f7f4ee;
  --ivory-2: #efeae0;
  --dark-ink: #1b1e24;
  --dark-muted: #5f6168;
  --ph: linear-gradient(135deg, #2a3240 0%, #1a1f28 55%, #3a3326 100%);
  --serif: "Playfair Display", "Noto Serif SC", Georgia, "Songti SC", serif;
  --sans: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  --max: 1200px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark-ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
body.lang-zh { letter-spacing: 0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.lang-zh .eyebrow { letter-spacing: 0.18em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all 0.25s ease;
}
.btn-gold { background: var(--gold); color: #111; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost { color: var(--ink); border-color: rgba(242, 238, 230, 0.5); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-outline { color: var(--dark-ink); border-color: rgba(27, 30, 36, 0.3); }
.btn-outline:hover { border-color: var(--gold); color: #8a6d33; }
.btn-sm { padding: 10px 18px; font-size: 0.72rem; }
.btn-block { width: 100%; margin-top: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }
.link { color: #8a6d33; text-decoration: none; font-size: 0.9rem; letter-spacing: 0.04em; }
.link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--ink);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 22px 0 14px;
}
.site-header.solid { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled { background: rgba(13, 16, 21, 0.96); box-shadow: 0 1px 0 var(--line); padding: 10px 0; backdrop-filter: blur(8px); }

/* Top of page: large logo + name on the first row, menu on one row below */
.nav { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
.brand { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); text-decoration: none; line-height: 1; align-self: flex-start; flex-shrink: 0; }
.brand-logo { height: clamp(72px, 15vw, 230px); width: auto; display: block; transition: height 0.3s ease; }
.brand-home { display: block; line-height: 0; }
.brand-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(6px, 1vw, 14px); align-self: stretch; padding-left: clamp(14px, 2vw, 32px); border-left: 1px solid var(--line); }
.brand-name { color: var(--gold); font-weight: 700; text-transform: uppercase; font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 4.8rem); letter-spacing: 0.06em; line-height: 1; transition: font-size 0.3s ease; white-space: nowrap; text-decoration: none; }
.brand-phone { color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: clamp(1rem, 2.2vw, 1.9rem); letter-spacing: 0.12em; line-height: 1; text-decoration: none; white-space: nowrap; opacity: 0.9; transition: font-size 0.3s ease, color 0.2s; }
.brand-phone:hover { color: var(--gold-2); opacity: 1; }
.nav-links .lang-toggle { margin-left: auto; }

/* After scrolling: compact single row */
.site-header.scrolled .brand-logo { height: 56px; }
.site-header.scrolled .brand-name { font-size: 1.7rem; }
.site-header.scrolled .brand-phone { font-size: 0.9rem; }
.site-header.scrolled .brand-text { gap: 5px; }
@media (min-width: 1101px) {
  .site-header.scrolled .nav { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .site-header.scrolled .nav-links .lang-toggle { margin-left: 0; }
}
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; white-space: nowrap; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: 0.86rem; letter-spacing: 0.08em; opacity: 0.85;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav-links a:not(.btn):hover, .nav-links a.active { opacity: 1; border-bottom-color: var(--gold); }
.lang-toggle {
  background: none; border: 1px solid rgba(242, 238, 230, 0.35); color: var(--ink);
  font: 500 0.75rem var(--sans); letter-spacing: 0.1em; padding: 6px 12px; cursor: pointer; border-radius: var(--radius);
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-2); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--ink); transition: transform 0.25s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.site-header.open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.site-header.open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(100deg, rgba(10, 12, 16, 0.88) 0%, rgba(10, 12, 16, 0.55) 55%, rgba(10, 12, 16, 0.35) 100%),
    url("../img/hero.jpg"),
    radial-gradient(ellipse at 75% 30%, #3a3326 0%, transparent 55%),
    linear-gradient(160deg, #1b222d 0%, #0d1015 70%);
  background-size: cover; background-position: center;
}
.hero .hero-inner { padding-top: clamp(230px, 28vw, 400px); padding-bottom: 100px; }
.hero h1 { max-width: 14ch; }
.lang-zh .hero h1 { max-width: none; white-space: pre-line; letter-spacing: 0.04em; }
.hero .lead { max-width: 560px; font-size: 1.15rem; color: rgba(242, 238, 230, 0.82); }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section.dark { background: var(--bg); color: var(--ink); }
.section.dark p { color: rgba(242, 238, 230, 0.75); }
.section.alt { background: var(--ivory-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; background: var(--ph);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.portrait::after { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line); pointer-events: none; }
.portrait .initials { font-family: var(--serif); font-size: 5rem; color: var(--gold); letter-spacing: 0.06em; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-name { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 0.15em; }
.about-title { color: #8a6d33; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.8em; }
.about-text p { color: var(--dark-muted); }
.areas-label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin: 2em 0 0.8em; font-weight: 500; }
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { border: 1px solid rgba(27, 30, 36, 0.18); padding: 6px 14px; font-size: 0.86rem; }


.footer-logo { width: 170px; height: auto; margin: 6px 0 20px; }

/* achievements */
.awards-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.awards-sub { color: var(--dark-muted); max-width: 420px; }
.awards { display: grid; gap: 24px; }
.award {
  position: relative; background: #fff; padding: 36px 40px 34px 48px;
  border-left: 2px solid var(--gold);
}
.award-years { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; color: #8a6d33; margin-bottom: 10px; }
.award-name { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.02em; }
.award-en { font-size: 0.86rem; color: var(--dark-muted); margin-top: 2px; }
.award-note { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark-muted); margin-top: 6px; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.service { padding: 40px 32px 8px 0; border-right: 1px solid var(--line); }
.service + .service { padding-left: 32px; }
.service:last-child { border-right: 0; }
.service .num { font-family: var(--serif); color: var(--gold); font-size: 0.95rem; display: block; margin-bottom: 18px; }
.service h3 { color: var(--ink); }
.service p { font-size: 0.95rem; }

/* listing cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { display: block; text-decoration: none; background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 22, 28, 0.12); }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--ph); background-size: cover; background-position: center; }
.badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(13, 16, 21, 0.85); color: var(--ink);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px;
}
.badge.status-forSale { background: var(--gold); color: #111; }
.badge.status-sold { background: #7a2e2e; color: #fff; }
.badge-sample { left: auto; right: 16px; background: rgba(255, 255, 255, 0.92); color: #7a2e2e; }
.card-body { padding: 24px 24px 28px; }
.card-price { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 4px; }
.card-title { font-weight: 500; font-size: 0.98rem; margin-bottom: 4px; }
.card-addr { color: var(--dark-muted); font-size: 0.9rem; margin-bottom: 14px; }
.card-facts { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--dark-muted); border-top: 1px solid #eee7da; padding-top: 14px; }
.dot { margin: 0 10px; color: var(--gold); }

/* posts */
.post-card {
  display: block; text-decoration: none; padding: 36px 32px; border: 1px solid var(--line);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.post-card:hover { border-color: var(--gold); background: rgba(198, 167, 105, 0.05); }
.post-card time { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.post-card h3 { margin: 14px 0 12px; }
.post-card .more { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.light-posts .post-card { border-color: rgba(27, 30, 36, 0.14); background: #fff; }
.light-posts .post-card p { color: var(--dark-muted); }
.light-posts .post-card time, .light-posts .post-card .more { color: #8a6d33; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
.contact-lines { list-style: none; padding: 0; margin: 2.4em 0 0; }
.contact-lines li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.contact-lines li span { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--gold-2); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; color: rgba(242, 238, 230, 0.7); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid rgba(242, 238, 230, 0.3);
  padding: 10px 0; font: 300 1rem var(--sans); border-radius: 0;
}
.field select option { color: #111; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: rgba(242, 238, 230, 0.7); }
.consent input { margin-top: 6px; accent-color: var(--gold); }
.consent a { color: var(--gold-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 0.95rem; margin: 0; }
.form-status.ok { color: #9fd3a8; }
.form-status.err { color: #f0a8a0; }
.form button[disabled] { opacity: 0.6; cursor: wait; }

/* page hero (inner pages) */
.page-hero { background: var(--bg); color: var(--ink); padding: clamp(240px, 28vw, 400px) 0 70px; }
.page-hero p { color: rgba(242, 238, 230, 0.7); max-width: 560px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  background: none; border: 1px solid rgba(27, 30, 36, 0.2); padding: 8px 18px; cursor: pointer;
  font: 400 0.82rem var(--sans); letter-spacing: 0.08em; border-radius: 999px; color: var(--dark-ink);
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--dark-ink); color: var(--ivory); border-color: var(--dark-ink); }
.empty { color: var(--dark-muted); }

/* listing detail */
.detail { padding: clamp(230px, 27vw, 380px) 0 100px; }
.back { display: inline-block; margin-bottom: 28px; }
.detail-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 3 / 2; background: var(--ph); background-size: cover; background-position: center; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.thumb { aspect-ratio: 4 / 3; border: 2px solid transparent; background: var(--ph); background-size: cover; background-position: center; cursor: pointer; padding: 0; }
.thumb.active { border-color: var(--gold); }
.detail-side { background: #fff; padding: 36px 32px; position: sticky; top: 100px; }
.detail-price { font-family: var(--serif); font-size: 2.2rem; }
.detail-title { font-size: 1.4rem; margin: 6px 0 6px; }
.detail-addr { color: var(--dark-muted); }
.facts-table { margin: 24px 0; }
.facts-table div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee7da; font-size: 0.92rem; }
.facts-table dt { color: var(--dark-muted); }
.facts-table dd { margin: 0; font-weight: 500; }
.detail-desc { max-width: 760px; margin-top: 48px; font-size: 1.05rem; color: #3a3d44; }

/* article */
.article { padding: clamp(240px, 28vw, 390px) 0 100px; }
.article .container { max-width: 780px; }
.article time { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6d33; display: block; margin-bottom: 14px; }
.article h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose { font-size: 1.06rem; color: #34373e; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }

/* footer */
footer { background: #090b0f; color: rgba(242, 238, 230, 0.75); padding: 80px 0 30px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.footer-name { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.footer-title { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-brokerage { line-height: 1.8; }
.footer-brokerage strong { color: var(--ink); font-weight: 500; }
footer h4 { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 6px 0 16px; }
.footer-list { list-style: none; padding: 0; margin: 0; line-height: 2; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(198, 167, 105, 0.18); margin-top: 56px; padding-top: 24px; font-size: 0.78rem; color: rgba(242, 238, 230, 0.5); }
.footer-bottom a { color: rgba(242, 238, 230, 0.7); }

/* calculator */
.calc-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; }
.calc-form { background: #fff; padding: 40px 36px; display: grid; gap: 26px; }
.cf label, .cf-labelrow label { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 8px; }
.cf-labelrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cf-labelrow label { margin-bottom: 8px; }
.cf-input { display: flex; align-items: baseline; border-bottom: 1px solid rgba(27, 30, 36, 0.25); transition: border-color 0.2s; }
.cf-input:focus-within { border-bottom-color: var(--gold); }
.cf-pre { font-family: var(--serif); font-size: 1.5rem; color: #8a6d33; margin-right: 6px; }
.cf-input input, .cf-input select {
  width: 100%; border: 0; background: transparent; color: var(--dark-ink); padding: 8px 0;
  font: 400 1.5rem var(--serif); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.cf-input select { font: 400 1.05rem var(--sans); cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a6d33' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.cf-input input:focus, .cf-input select:focus { outline: none; }
.cf-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cf-hint { margin: 8px 0 0; font-size: 0.86rem; color: var(--dark-muted); }
.cf-hint.bad { color: #9a3a2e; }
.seg { display: inline-flex; border: 1px solid rgba(27, 30, 36, 0.2); border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.seg button { background: none; border: 0; padding: 4px 14px; font: 500 0.78rem var(--sans); cursor: pointer; color: var(--dark-muted); }
.seg button.active { background: var(--dark-ink); color: var(--ivory); }
.cf-check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; cursor: pointer; }
.cf-check input { margin-top: 5px; accent-color: #8a6d33; width: 16px; height: 16px; flex-shrink: 0; }
.calc-disclaimer { font-size: 0.78rem; color: var(--dark-muted); margin: 6px 0 0; line-height: 1.6; border-top: 1px solid #eee7da; padding-top: 18px; }

.calc-results { background: var(--bg); color: var(--ink); padding: 40px 36px; position: sticky; top: 100px; }
.calc-hero { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 8px; }
.calc-k { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.calc-big { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.calc-big small { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); margin-left: 8px; font-weight: 300; }
.calc-warn { color: #f0a8a0; font-size: 0.9rem; margin: 12px 0 0; }
.calc-note { color: var(--muted); font-size: 0.86rem; margin: 12px 0 0; }
.calc-h { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 26px 0 6px; }
.calc-dl { margin: 0; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(242, 238, 230, 0.08); font-size: 0.94rem; }
.calc-row dt { color: rgba(242, 238, 230, 0.72); }
.calc-row dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row.strong dt, .calc-row.strong dd { color: var(--ink); font-weight: 500; }
.calc-row.total { border-bottom: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 14px; }
.calc-row.total dd { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-2); }
.calc-fine { font-size: 0.8rem; color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.calc-empty { color: var(--muted); margin: 0; }
.calc-cta { padding: 80px 0; }
.calc-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.calc-cta h2 { margin-bottom: 0.3em; }
.calc-cta p { color: rgba(242, 238, 230, 0.7); max-width: 560px; margin: 0; }
.calc-link { display: block; margin-top: 18px; text-align: center; }

/* home calculator teaser */
.calc-band { padding: 90px 0; }
.calc-band-inner { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.calc-band p { color: var(--dark-muted); margin: 0; max-width: 560px; }
.calc-band-fig { background: var(--bg); color: var(--ink); padding: 32px 30px; text-decoration: none; display: block; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.calc-band-fig:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 22, 28, 0.18); }
.calc-band-fig .calc-big { font-size: 2.4rem; }
.calc-ex { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.calc-band-fig .more { display: inline-block; margin-top: 18px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* WeChat QR */
.hero-contact { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-contact .btn { align-self: stretch; text-align: center; }
.hero-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.hero-qr img { width: 132px; height: 132px; display: block; border-radius: 4px; box-shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, 0.35); }
.hero-qr span { font-size: 0.78rem; letter-spacing: 0.12em; color: rgba(242, 238, 230, 0.75); }
.hero-qr:hover span { color: var(--gold-2); }
.btn-row:has(.hero-contact) { align-items: flex-start; }
.wechat-qr { display: flex; align-items: center; gap: 20px; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.wechat-qr a { flex-shrink: 0; display: block; line-height: 0; }
.wechat-qr img { border-radius: 4px; }
.wechat-qr img { width: 132px; height: 132px; display: block; }
.wechat-qr figcaption { font-size: 0.86rem; color: rgba(242, 238, 230, 0.65); line-height: 1.6; }
.wechat-qr figcaption strong { display: block; color: var(--ink); font-weight: 500; font-size: 0.98rem; margin-bottom: 4px; }
.wechat-qr-contact { margin-top: 2.4em; padding-top: 0; border-top: 0; margin-bottom: 0; }
.wechat-qr-contact + .contact-lines { margin-top: 28px; }
.wechat-qr-footer { border-top: 0; padding-top: 0; margin-top: 20px; gap: 16px; }
.wechat-qr-footer img { width: 96px; height: 96px; }
.wechat-qr-footer figcaption { font-size: 0.78rem; max-width: 200px; }
.wechat-qr-footer figcaption strong { font-size: 0.86rem; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .nav-links { gap: 20px; }
  .nav-links a:not(.btn) { font-size: 0.84rem; letter-spacing: 0.04em; }
  .nav-links .btn-sm { padding: 9px 14px; letter-spacing: 0.1em; }
}
@media (max-width: 1000px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(3) { padding-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid, .awards-grid { gap: 48px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .calc-grid, .calc-band-inner { grid-template-columns: 1fr; }
  .calc-results { position: static; }
}
@media (max-width: 720px) {
  .nav { flex-direction: row; align-items: center; justify-content: space-between; }
  .site-header, .site-header.scrolled { padding: 12px 0; background: rgba(13, 16, 21, 0.97); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .hero .hero-inner { padding-top: 120px; padding-bottom: 90px; }
  .page-hero { padding-top: 160px; }
  .detail, .article { padding-top: 150px; }
  .nav-links .lang-toggle { margin-left: 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--bg); padding: 96px 32px 32px;
    transform: translateX(100%); transition: transform 0.3s ease, visibility 0.3s;
    visibility: hidden;
  }
  .site-header.open .nav-links { transform: none; visibility: visible; box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35); }
  .nav-toggle { z-index: 2; }
  .about-grid, .contact-grid, .awards-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 84px 0; }
  .grid-3, .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 32px 0 8px; border-right: 0; border-top: 1px solid var(--line); }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.08em; }
  .brand-logo, .site-header.scrolled .brand-logo { height: 52px; }
  .brand { gap: 12px; flex-shrink: 1; min-width: 0; }
  .brand-text { padding-left: 12px; }
  .brand-name, .site-header.scrolled .brand-name { font-size: 1.35rem; }
  .brand-phone, .site-header.scrolled .brand-phone { font-size: 0.8rem; letter-spacing: 0.06em; }
  .brand-text, .site-header.scrolled .brand-text { gap: 5px; }
  .nav-toggle { flex-shrink: 0; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .calc-form, .calc-results { padding: 30px 22px; }
  .cf-2 { grid-template-columns: 1fr; }
}
