:root {
  color-scheme: light;
  --navy-950: #10182a;
  --navy-900: #14203a;
  --navy-800: #1c2c4e;
  --navy-700: #2a3e66;
  --ink: #172033;
  --ink-soft: #536076;
  --muted: #758096;
  --porcelain: #f5f7fb;
  --surface: #ffffff;
  --surface-blue: #eef3fb;
  --line: #dfe4ec;
  --line-strong: #ccd4e0;
  --gold-100: #f8e4a1;
  --gold-300: #e7bb4d;
  --gold-500: #c78c16;
  --gold-600: #a96f09;
  --gold-700: #805006;
  --gold-gradient: linear-gradient(112deg, #b77a08 0%, #e1aa2b 27%, #f2cf6e 48%, #c9890c 71%, #e7b943 100%);
  --shadow-soft: 0 18px 55px rgb(23 32 51 / 0.08);
  --shadow-gold: 0 14px 32px rgb(151 99 9 / 0.28);
  --radius-card: 16px;
  --radius-media: 14px;
  --radius-control: 10px;
  --header-h: 72px;
  --dock-h: 122px;
  --page-shell: 1240px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --display: "Inter Tight", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 106.25%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.68; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { text-wrap: pretty; }
.shell { width: min(var(--page-shell), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 2000; padding: 10px 14px; background: var(--navy-950); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgb(255 255 255 / 0.92); border-bottom: 1px solid rgb(204 212 224 / 0.75); backdrop-filter: blur(18px) saturate(150%); }
.header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-950); font: 800 1.1rem/1 var(--display); letter-spacing: -0.04em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--navy-950); color: var(--gold-300); font: 800 1rem var(--display); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.5vw, 34px); white-space: nowrap; }
.desktop-nav a, .text-link { color: #354158; font-weight: 600; font-size: 0.9rem; transition: color 200ms var(--ease); }
.desktop-nav a:hover, .text-link:hover { color: var(--gold-700); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.menu-button { display: none; }
.mobile-menu { position: absolute; left: 0; right: 0; top: var(--header-h); padding: 12px 24px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-weight: 600; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-control); font-weight: 700; font-size: 0.9rem; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(0.99); }
.button-gold { position: relative; isolation: isolate; overflow: hidden; color: #111827; background: var(--gold-gradient); border-color: #99620a; box-shadow: var(--shadow-gold), inset 0 1px 0 rgb(255 245 194 / 0.72), inset 0 -1px 0 rgb(91 54 0 / 0.22); }
.button-gold::after { content: ""; position: absolute; inset: -80% -30%; z-index: -1; background: linear-gradient(100deg, transparent 39%, rgb(255 247 210 / 0.6) 50%, transparent 61%); transform: translateX(-70%) rotate(8deg); transition: transform 650ms var(--ease); }
.button-gold:hover::after { transform: translateX(70%) rotate(8deg); }
.button-gold i { font-size: 1.05rem; }
.button-navy { color: #fff9db; background: var(--navy-950); box-shadow: 0 12px 28px rgb(16 24 42 / 0.16); }
.button-outline { color: var(--navy-900); background: white; border-color: var(--navy-800); }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: white; color: var(--navy-900); cursor: pointer; transition: transform 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), background-color 200ms var(--ease); }
.icon-button:hover { transform: translateY(-2px); border-color: var(--gold-600); color: var(--gold-700); }
.header-inner .menu-button { display: none; }
.icon-button:focus-visible, .button:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid rgb(238 183 42 / 0.4); outline-offset: 3px; }

.property-heading { padding: 34px 0 24px; background: linear-gradient(180deg, #f8faff, #ffffff); }
.property-heading .shell { position: relative; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 0.8rem; }
.breadcrumbs a:hover { color: var(--gold-700); }
.breadcrumbs i { font-size: 0.7rem; }
.heading-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px; }
.status-line { display: flex; gap: 10px; margin-bottom: 13px; }
.status-line span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 7px; background: var(--surface-blue); color: var(--navy-700); font-size: 0.73rem; font-weight: 700; }
.status-line span:first-child { background: linear-gradient(100deg, #fff4bd, #f8dc7a); color: #744800; }
.status-line [data-availability="sold"], .status-line [data-availability="rented"], .status-line [data-availability="deposit"] { background: #e9edf3; color: #465269; }
.property-heading h1 { max-width: 900px; margin: 0; color: var(--navy-950); font: 700 clamp(2rem, 3.7vw, 3.4rem)/1.12 var(--display); letter-spacing: -0.055em; }
.property-address { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--ink-soft); }
.property-address i { color: var(--gold-700); font-size: 1.1rem; }
.heading-actions { display: flex; gap: 9px; padding-bottom: 5px; }
.favorite-button[aria-pressed="true"] { color: #b94e35; border-color: #e8ae9f; background: #fff5f1; }

.transaction-status-notice { padding: 0 0 24px; background: #fff; }
.transaction-status-notice[hidden] { display: none; }
.transaction-status-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 24px; border: 1px solid #d6dce6; border-left: 4px solid var(--gold-600); border-radius: 12px; background: linear-gradient(112deg, #f4f6fa 0%, #fff 72%); box-shadow: 0 12px 30px rgb(16 24 42 / .06); }
.transaction-status-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; color: #f5d165; background: var(--navy-950); font-size: 1.3rem; }
.transaction-status-panel p { margin: 0; color: var(--ink-soft); }
.transaction-status-panel [data-transaction-label] { margin-bottom: 4px; color: #7b6327; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.transaction-status-panel h2 { margin: 0 0 5px; color: var(--navy-950); font: 750 1.25rem/1.2 var(--display); letter-spacing: -.025em; }
.transaction-status-panel .button { white-space: nowrap; }

.gallery-section { padding-bottom: 24px; }
.gallery-mosaic { height: clamp(420px, 42vw, 570px); display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: hidden; border-radius: var(--radius-media); background: var(--surface-blue); }
.gallery-cell { position: relative; min-width: 0; min-height: 0; padding: 0; border: 0; background: var(--surface-blue); cursor: zoom-in; overflow: hidden; }
.gallery-main { grid-row: 1 / 3; }
.gallery-main img { object-position: left center; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 450ms var(--ease), filter 450ms var(--ease); }
.gallery-focus-left img { object-position: 18% center; }
.gallery-cell:hover img { transform: scale(1.025); filter: saturate(1.04); }
.gallery-more { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 16px; color: #fff8d3; background: linear-gradient(135deg, rgb(16 24 42 / 0.52), rgb(16 24 42 / 0.78)); text-align: center; font-weight: 700; }
.gallery-more i { font-size: 1.7rem; }
.gallery-more-mobile { display: none; }

.decision-dock { position: sticky; top: var(--header-h); z-index: 90; background: rgb(255 255 255 / 0.96); border-block: 1px solid var(--line); box-shadow: 0 10px 26px rgb(16 24 42 / 0.07); backdrop-filter: blur(20px) saturate(150%); }
.decision-summary { min-height: 68px; display: grid; grid-template-columns: auto auto auto auto 1fr; align-items: center; gap: 0; }
.decision-price { display: flex; align-items: baseline; gap: 7px; padding-right: 24px; }
.decision-price strong { color: var(--navy-950); font: 800 1.55rem/1 var(--display); letter-spacing: -0.04em; }
.decision-price span { color: var(--navy-700); font-weight: 700; font-size: 0.78rem; }
.decision-fact { min-width: 130px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-left: 1px solid var(--line); }
.decision-fact > i { color: var(--gold-700); font-size: 1.35rem; }
.decision-fact span { display: grid; line-height: 1.2; }
.decision-fact strong { font-size: 0.88rem; }
.decision-fact small { margin-top: 4px; color: var(--muted); font-size: 0.63rem; }
.decision-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.decision-actions .button { min-height: 40px; }
.zalo-button { width: 44px; height: 40px; color: #0867db; font-size: 0.68rem; font-weight: 800; border-color: #84b7ef; }
.anchor-nav { height: 52px; display: flex; align-items: stretch; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav a { position: relative; display: inline-flex; align-items: center; color: #667188; font-weight: 600; font-size: 0.84rem; white-space: nowrap; }
.anchor-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-gradient); transform: scaleX(0); transform-origin: center; transition: transform 200ms var(--ease); }
.anchor-nav a:hover, .anchor-nav a.is-active { color: var(--navy-950); }
.anchor-nav a.is-active::after { transform: scaleX(1); }

.content-section { padding: 54px 0 90px; background: var(--surface); }
.content-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 0.82fr); gap: clamp(44px, 6vw, 78px); align-items: start; }
.property-content { min-width: 0; }
.content-block { scroll-margin-top: calc(var(--header-h) + var(--dock-h) + 24px); padding: 54px 0; border-bottom: 1px solid var(--line); }
.content-block:first-child { padding-top: 0; }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; color: var(--navy-950); font: 700 clamp(1.7rem, 3vw, 2.55rem)/1.18 var(--display); letter-spacing: -0.045em; }
.section-heading p { max-width: 62ch; margin: 11px 0 0; color: var(--ink-soft); }
.section-kicker { margin: 0 0 8px; color: var(--gold-700); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.price-overview { display: grid; grid-template-columns: 1fr minmax(270px, 0.65fr); gap: 28px; align-items: end; }
.price-display { color: var(--navy-950); font: 800 clamp(2.6rem, 5vw, 4.7rem)/1 var(--display); letter-spacing: -0.065em; }
.price-copy > p:last-child { max-width: 58ch; margin: 14px 0 0; color: var(--ink-soft); }
.verification-panel { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-card); background: linear-gradient(135deg, #f1f5fb, #fbfcff); border: 1px solid var(--line); }
.verification-panel > i { color: var(--gold-700); font-size: 1.6rem; }
.verification-panel div { display: grid; gap: 3px; }
.verification-panel strong { color: var(--navy-900); }
.verification-panel span { color: var(--muted); font-size: 0.76rem; }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.spec-item { min-height: 130px; display: grid; align-content: start; padding: 18px; border-radius: var(--radius-card); background: var(--porcelain); border: 1px solid #e9edf4; }
.spec-item i { margin-bottom: 13px; color: var(--gold-700); font-size: 1.45rem; }
.spec-item span { color: var(--muted); font-size: 0.72rem; }
.spec-item strong { margin-top: 2px; color: var(--navy-950); font: 700 0.92rem/1.3 var(--display); }
.editorial-copy { max-width: 720px; margin: 38px 0 24px; }
.editorial-copy h3 { margin: 0 0 10px; color: var(--navy-950); font: 700 1.32rem/1.3 var(--display); }
.editorial-copy p { margin: 0; color: var(--ink-soft); }
.floorplan-button { position: relative; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-media); background: #fbfcff; overflow: hidden; cursor: zoom-in; }
.floorplan-button img { width: 100%; max-height: 560px; object-fit: contain; }
.floorplan-button span { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 9px; color: white; background: rgb(16 24 42 / 0.9); font-size: 0.78rem; font-weight: 700; }

.project-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 0; }
.project-image { min-height: 480px; border-radius: var(--radius-media) 0 0 var(--radius-media); overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: 18% center; }
.project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); border-radius: 0 var(--radius-card) var(--radius-card) 0; color: #edf2ff; background: var(--navy-950); }
.project-copy .section-kicker { color: var(--gold-300); }
.project-copy h2 { margin: 0; font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.17 var(--display); letter-spacing: -0.045em; }
.project-copy > p:not(.section-kicker) { color: #bdc8dc; }
.project-metrics { display: grid; gap: 13px; margin: 24px 0 0; }
.project-metrics div { display: flex; justify-content: space-between; gap: 20px; padding-top: 13px; border-top: 1px solid rgb(255 255 255 / 0.15); }
.project-metrics dt { color: #99a8c2; }
.project-metrics dd { margin: 0; color: var(--gold-300); font-weight: 700; }

.amenity-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 14px; }
.amenity-feature { position: relative; min-height: 470px; border-radius: var(--radius-media); overflow: hidden; }
.amenity-feature img { width: 100%; height: 100%; object-fit: cover; object-position: 18% center; }
.amenity-feature::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(16 24 42 / 0.9)); }
.amenity-feature > div { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; color: white; }
.amenity-feature i { color: var(--gold-300); font-size: 1.8rem; }
.amenity-feature h3 { margin: 8px 0 5px; font: 700 1.35rem var(--display); }
.amenity-feature p { margin: 0; color: #dbe2ee; }
.amenity-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.amenity-list > div { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 13px; padding: 16px; border-radius: var(--radius-card); background: var(--porcelain); border: 1px solid #e8edf4; }
.amenity-list i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--gold-700); background: #fff7d6; font-size: 1.25rem; }
.amenity-list span { display: grid; line-height: 1.35; }
.amenity-list strong { color: var(--navy-950); font-size: 0.87rem; }
.amenity-list small { margin-top: 4px; color: var(--muted); font-size: 0.71rem; }

.loan-section { border-bottom: 0; }
.loan-layout { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr); gap: 18px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-card); background: linear-gradient(135deg, #f4f7fc, #edf2fa); border: 1px solid var(--line); }
.loan-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 5px; }
.loan-field { display: grid; align-content: start; gap: 6px; }
.loan-field-wide { grid-column: 1 / -1; }
.loan-field label { color: #566279; font-size: 0.74rem; font-weight: 600; }
.input-unit { height: 54px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: white; overflow: hidden; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.input-unit:focus-within { border-color: var(--gold-600); box-shadow: 0 0 0 3px rgb(238 183 42 / 0.14); }
.input-unit input { min-width: 0; height: 100%; padding: 0 13px; border: 0; outline: 0; color: var(--navy-950); background: transparent; font-weight: 700; }
.input-unit input[readonly] { color: var(--navy-700); background: #f8f9fc; }
.input-unit span { min-width: 48px; height: 100%; display: grid; place-items: center; padding: 0 11px; border-left: 1px solid var(--line); color: #7d8696; background: #f7f8fa; font-size: 0.8rem; }
.loan-field small { color: var(--muted); font-size: 0.68rem; }
.loan-result { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-card); background: white; box-shadow: var(--shadow-soft); }
.loan-result-head { display: grid; gap: 16px; }
.loan-result-head > span { color: var(--navy-950); font: 700 1.2rem var(--display); }
.repayment-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 12px; background: var(--porcelain); }
.repayment-toggle button { min-height: 42px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--ink-soft); font-weight: 700; cursor: pointer; }
.repayment-toggle button[aria-pressed="true"] { color: var(--navy-950); background: white; border-color: var(--gold-500); box-shadow: 0 5px 16px rgb(23 32 51 / 0.08); }
.payment-highlight { display: grid; gap: 3px; margin: 23px 0 19px; padding: 20px; border-radius: 13px; background: linear-gradient(135deg, var(--navy-950), #25385e); color: white; }
.payment-label { color: #b9c4d8; font-size: 0.73rem; }
.payment-main { color: var(--gold-300); font: 800 clamp(1.65rem, 3vw, 2.25rem)/1.2 var(--display); letter-spacing: -0.04em; }
.payment-highlight small { color: #aab6ca; font-size: 0.66rem; }
.declining-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 17px; }
.declining-breakdown div { display: grid; gap: 3px; padding: 14px; border-radius: 10px; background: var(--porcelain); }
.declining-breakdown span, .loan-totals span { color: var(--muted); font-size: 0.68rem; }
.declining-breakdown strong { color: var(--navy-900); font-size: 0.9rem; }
.loan-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.loan-totals div { display: grid; gap: 2px; }
.loan-totals strong { color: var(--navy-900); font-size: 0.78rem; }
.loan-result > .button { width: 100%; }
.loan-disclaimer { margin: 12px 0 0; color: var(--muted); font-size: 0.65rem; line-height: 1.5; }

.legal-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.legal-grid > div { padding: 22px; border-radius: var(--radius-card); border: 1px solid var(--line); background: white; }
.legal-grid > div:first-child { background: var(--navy-950); color: white; }
.legal-grid i { color: var(--gold-600); font-size: 1.55rem; }
.legal-grid > div:first-child i { color: var(--gold-300); }
.legal-grid h3 { margin: 14px 0 6px; font: 700 1rem var(--display); }
.legal-grid p { margin: 0; color: var(--muted); font-size: 0.78rem; }
.legal-grid > div:first-child p { color: #b9c4d8; }

.lead-sidebar { position: sticky; top: calc(var(--header-h) + var(--dock-h) + 22px); }
.lead-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: white; box-shadow: var(--shadow-soft); }
.lead-card-top { display: grid; gap: 7px; padding: 25px 25px 22px; color: white; background: linear-gradient(135deg, var(--navy-950), #263a62); }
.lead-card-top span { color: var(--gold-300); font-size: 0.72rem; font-weight: 700; }
.lead-card-top strong { font: 700 1.2rem/1.35 var(--display); }
.agent-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 13px; padding: 20px 25px 0; }
.agent-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.agent-row div { display: grid; line-height: 1.35; }
.agent-row strong { color: var(--navy-950); }
.agent-row span { color: var(--ink-soft); font-size: 0.74rem; }
.agent-row small { margin-top: 4px; color: var(--gold-700); font-size: 0.66rem; font-weight: 600; }
.lead-form { display: grid; gap: 14px; padding: 21px 25px 18px; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: var(--ink-soft); font-size: 0.73rem; font-weight: 700; }
.form-field input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: #fbfcfe; color: var(--navy-950); outline: 0; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.form-field input:focus { border-color: var(--gold-600); box-shadow: 0 0 0 3px rgb(238 183 42 / 0.14); }
.form-field input[aria-invalid="true"] { border-color: #b83d3d; }
.field-error { min-height: 0; color: #a33232; font-size: 0.68rem; }
.lead-form .button { width: 100%; margin-top: 2px; }
.form-status { min-height: 0; margin: 0; color: var(--navy-700); font-size: 0.72rem; }
.direct-contact { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 8px; margin: 2px 25px 0; }
.direct-contact a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; background: #f7f9fc; color: var(--navy-800); font-size: 0.68rem; font-weight: 700; white-space: nowrap; transition: border-color 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease); }
.direct-contact a:hover { transform: translateY(-1px); border-color: var(--gold-500); background: #fffaf0; }
.zalo-mini { min-width: 28px; height: 22px; display: inline-grid; place-items: center; padding: 0 4px; border: 1px solid #75aef0; border-radius: 6px; color: #0867db; font-size: 0.58rem; font-weight: 800; }
.privacy-note { margin: 12px 25px 20px; color: var(--muted); text-align: center; font-size: 0.63rem; }

.related-section { padding: 82px 0 96px; background: var(--porcelain); }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.property-card { min-width: 0; overflow: hidden; border-radius: var(--radius-card); background: white; border: 1px solid var(--line); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.property-card > a { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.property-card img { width: 100%; height: 184px; object-fit: cover; object-position: left center; }
.property-card:not(:nth-child(3)) img { transform: none; }
.property-card > a > div { min-height: 164px; display: flex; flex-direction: column; padding: 18px; }
.property-card span { color: var(--gold-700); font-size: 0.7rem; font-weight: 700; }
.property-card h3 { margin: 7px 0 16px; color: var(--navy-950); font: 700 1rem/1.35 var(--display); }
.property-card p { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: auto 0 0; }
.property-card p strong { color: var(--navy-950); }
.property-card p span { color: var(--muted); font-weight: 500; }
.related-more { display: flex; justify-content: center; margin-top: 28px; }
.related-more-link { min-height: 50px; display: inline-flex; align-items: center; gap: 10px; padding-inline: 22px; white-space: nowrap; }
.related-more-link i { transition: transform 200ms var(--ease); }
.related-more-link:hover i { transform: translateX(3px); }

.site-footer { padding: 62px 0 24px; color: #c5cede; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; gap: 64px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { background: var(--gold-gradient); color: var(--navy-950); }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid p { max-width: 45ch; color: #9eabc0; }
.footer-grid strong { margin-bottom: 8px; color: white; font-family: var(--display); }
.footer-grid a, .footer-grid span { color: #aeb9cc; font-size: 0.8rem; }
.footer-grid a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); color: #8896ad; font-size: 0.7rem; }
.mobile-contact-bar { display: none; }

.gallery-dialog { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: white; background: rgb(9 14 25 / 0.98); }
.gallery-dialog[hidden] { display: none; }
.gallery-top { min-height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.gallery-counter { color: #dce3ef; font-weight: 700; }
.gallery-dialog .icon-button { color: white; background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.2); }
.gallery-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 8px 74px; touch-action: pan-y; }
.gallery-full-image { width: 100%; height: 100%; max-height: calc(100dvh - 190px); object-fit: contain; object-position: center; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-arrow:hover { transform: translateY(calc(-50% - 2px)); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px 18px; scroll-behavior: smooth; }
.gallery-thumb { flex: 0 0 88px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #1e2a40; overflow: hidden; cursor: pointer; opacity: 0.55; }
.gallery-thumb[aria-current="true"] { border-color: var(--gold-300); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sheet-dialog { position: fixed; inset: 0; z-index: 1100; display: grid; align-items: end; background: rgb(16 24 42 / 0.55); }
.sheet-panel { max-height: 88dvh; overflow: auto; padding: 24px; border-radius: 18px 18px 0 0; background: white; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.sheet-head h2 { margin: 0; color: var(--navy-950); font: 700 1.4rem var(--display); }
.sheet-panel > p { color: var(--ink-soft); }

@media (max-width: 1120px) {
  .desktop-nav { gap: 18px; }
  .text-link { display: none; }
  .decision-fact { min-width: 112px; padding-inline: 14px; }
  .decision-actions .button-outline { display: none; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .loan-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --dock-h: 52px; }
  .shell { width: min(calc(100% - 32px), 1240px); }
  .desktop-nav, .header-actions { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-inner .menu-button { display: inline-grid; }
  .decision-summary { display: none; }
  .decision-dock { top: var(--header-h); }
  .anchor-nav { width: 100%; padding-inline: 16px; gap: 24px; }
  .content-layout { grid-template-columns: 1fr; }
  .lead-sidebar { display: none; }
  .price-overview { grid-template-columns: 1fr; align-items: start; }
  .project-story { grid-template-columns: 1fr; }
  .project-image { min-height: 420px; border-radius: var(--radius-media) var(--radius-media) 0 0; }
  .project-copy { border-radius: 0 0 var(--radius-card) var(--radius-card); }
  .amenity-layout { grid-template-columns: 1fr; }
  .amenity-list { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .property-card img { height: 220px; }
  .mobile-contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: grid; grid-template-columns: 64px 64px 1fr; gap: 8px; padding: 9px 12px max(9px, env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.96); border-top: 1px solid var(--line); box-shadow: 0 -12px 38px rgb(16 24 42 / 0.12); backdrop-filter: blur(18px); }
  .mobile-contact-bar > a { display: grid; place-items: center; align-content: center; gap: 1px; color: var(--navy-900); font-size: 0.65rem; font-weight: 700; }
  .mobile-contact-bar > a i { font-size: 1.15rem; }
  .mobile-contact-bar .button { width: 100%; }
  body { padding-bottom: 72px; }
}

@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .shell { width: min(calc(100% - 24px), 1240px); }
  .brand-mark { width: 32px; height: 32px; }
  .property-heading { padding: 22px 0 17px; }
  .breadcrumbs { margin-bottom: 14px; overflow: hidden; white-space: nowrap; }
  .heading-grid { grid-template-columns: 1fr; }
  .property-heading h1 { font-size: clamp(1.7rem, 8vw, 2.45rem); }
  .property-address { align-items: flex-start; font-size: 0.8rem; }
  .heading-actions { position: absolute; right: 0; top: 34px; }
  .heading-actions .icon-button { width: 38px; height: 38px; background: rgb(255 255 255 / 0.92); }
  .status-line { padding-right: 96px; }
  .transaction-status-notice { padding-bottom: 14px; }
  .transaction-status-panel { grid-template-columns: auto 1fr; gap: 14px; padding: 17px 15px; }
  .transaction-status-panel .button { grid-column: 1 / -1; width: 100%; }
  .transaction-status-icon { width: 40px; height: 40px; }
  .transaction-status-panel h2 { font-size: 1.05rem; }
  .gallery-section { padding-bottom: 14px; }
  .gallery-mosaic { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 6px; border-radius: 11px; }
  .gallery-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery-main img { transform: scale(1.22); transform-origin: left center; }
  .gallery-main:hover img { transform: scale(1.24); }
  .gallery-cell:not(.gallery-main) { aspect-ratio: 4 / 3; }
  .gallery-fifth { display: none; }
  .gallery-more-desktop { display: none; }
  .gallery-more-mobile { display: grid; font-size: 0.72rem; }
  .content-section { padding: 34px 0 62px; }
  .content-block { padding: 42px 0; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 1.65rem; }
  .price-display { font-size: 3rem; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec-item { min-height: 116px; padding: 15px; }
  .project-image { min-height: 310px; }
  .amenity-feature { min-height: 390px; }
  .amenity-list { grid-template-columns: 1fr; }
  .loan-layout { padding: 14px; }
  .loan-form { grid-template-columns: 1fr; }
  .loan-field-wide { grid-column: auto; }
  .loan-result { padding: 20px; }
  .payment-main { font-size: 1.7rem; }
  .loan-totals, .declining-breakdown { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .related-section { padding: 60px 0 72px; }
  .related-grid { grid-template-columns: 1fr; }
  .property-card img { height: 220px; }
  .related-more { margin-top: 20px; }
  .related-more-link { width: 100%; justify-content: center; padding-inline: 14px; font-size: .82rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .gallery-stage { padding: 8px 10px; }
  .gallery-arrow { width: 40px; height: 40px; background: rgb(16 24 42 / 0.82) !important; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .button-gold::after { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .decision-dock, .mobile-contact-bar { background: white; backdrop-filter: none; }
}
