/* =========================================================
   Vinhomes Ba Son — thiết kế v10 "Ven sông"
   Xanh mực #0E1A2B · đồng thau #B8915A · nền ngà #FBF9F5
   Tiêu đề: Montserrat · Nội dung: Be Vietnam Pro
   ========================================================= */
:root {
  --ink: #0e1a2b;
  --ink-2: #16253b;
  --ink-3: #22344f;
  --ink-soft: #c9d1de;
  --brass: #b8915a;
  --brass-light: #d9bd8c;
  --brass-dark: #8a6634;
  --bg: #fbf9f5;
  --paper: #f3eee4;
  --white: #fff;
  --line: #e6dfd2;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #2a3343;
  --muted: #6b7282;
  --zalo: #0068ff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .05), 0 4px 14px -6px rgba(14, 26, 43, .1);
  --shadow: 0 24px 48px -24px rgba(14, 26, 43, .35);
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Montserrat", "Be Vietnam Pro", system-ui, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--brass-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(1.73rem, 3.89vw, 3.17rem); }
h2 { font-size: clamp(1.37rem, 2.45vw, 2.02rem); }
h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
::selection { background: var(--brass-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.muted { color: var(--muted); }
.gold { color: var(--brass-dark); }
.center { text-align: center; }
.mt { margin-top: 44px; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.small { font-size: .85rem; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 820px; }
.section { padding: 112px 0; }
.section-tight { padding: 56px 0 104px; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--ink); color: var(--ink-soft); position: relative; isolation: isolate; }
.section-navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 85% 0%, rgba(184, 145, 90, .14), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(80, 120, 170, .12), transparent 60%); }
.on-dark { color: var(--ink-soft); }

/* ---------- Tiêu đề khối ---------- */
.sec-title { margin-bottom: 56px; max-width: 760px; }
.sec-title.center { text-align: center; margin-inline: auto; }
.sec-title h2 { margin-bottom: 18px; line-height: 1.25; }
.sec-line { display: block; width: 56px; height: 1px; background: var(--brass); position: relative; }
.sec-line::before, .sec-line::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.sec-line::before { left: -10px; }
.sec-line::after { right: -10px; }
.sec-title.center .sec-line { margin: 0 auto; }
.sec-title:not(.center) .sec-line { margin-left: 10px; }
.sec-title p { color: var(--muted); margin: 20px 0 0; font-size: 1.02rem; }
.section-navy .sec-title h2 { color: #fff; }
.section-navy .sec-title p { color: var(--ink-soft); }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.7em; border-radius: 999px; font: 600 .82rem/1 var(--sans); letter-spacing: .1em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1.2em 2.1em; font-size: .86rem; }
.btn-sm { padding: .75em 1.2em; font-size: .72rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--brass); color: #fff; box-shadow: 0 10px 24px -12px rgba(138, 102, 52, .8); }
.btn-gold:hover { background: var(--brass-dark); color: #fff; }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--ink-3); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-zalo:hover { color: #fff; filter: brightness(1.08); }
.link-more { display: inline-flex; align-items: center; gap: .5em; color: var(--brass-dark); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.link-more .ic { transition: transform .25s var(--ease); }
.link-more:hover .ic { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #9ea9bb; font-size: .76rem; letter-spacing: .02em; }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 36px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item b { color: var(--brass-light); font-weight: 600; }
.topbar-item .ic { color: var(--brass); }
.topbar a:hover { color: #fff; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { padding: 2px 8px; font-weight: 600; font-size: .7rem; letter-spacing: .1em; color: #9ea9bb; border-radius: 999px; }
.lang-switch a.on { background: var(--brass); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 249, 245, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(14, 26, 43, .35); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand::before { content: ""; width: 38px; height: 38px; flex: none; border: 1px solid var(--brass); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23b8915a' stroke-width='1.4'%3E%3Cpath d='M11 29V15l4-3v17M17 29V11l4-3v21M23 29V14l4-3v18M8 31c4 0 4-1.6 8-1.6s4 1.6 8 1.6 4-1.6 8-1.6'/%3E%3C/svg%3E") center / 26px no-repeat; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font: 700 1rem var(--serif); color: var(--ink); letter-spacing: .12em; white-space: nowrap; }
.brand-text strong span { color: var(--brass); }
.brand-text small { margin-top: 6px; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.main-nav { display: flex; margin: 0 auto; gap: 4px; }
.main-nav > a { padding: 10px 12px; font-size: .88rem; font-weight: 500; color: var(--ink); position: relative; }
.main-nav > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:hover, .main-nav > a.active { color: var(--brass-dark); }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-hotline { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 5px 20px 5px 5px; border-radius: 999px; transition: background .25s; }
.header-hotline:hover { color: #fff; background: var(--ink-3); }
.hh-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--brass); color: #fff; display: grid; place-items: center; }
.hh-txt { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: .98rem; letter-spacing: .03em; }
.hh-txt small { font-size: .6rem; font-weight: 500; color: var(--brass-light); text-transform: uppercase; letter-spacing: .16em; }
.nav-toggle { display: none; width: 44px; height: 44px; background: var(--ink); border: 0; border-radius: 50%; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 1.5px; background: #fff; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Banner trang chủ ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; display: flex; align-items: center;
  min-height: min(calc(100vh - var(--header-h) - 36px), 860px); padding: 96px 0 120px;
  background: var(--ink) center 40% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 26, 43, .92) 0%, rgba(14, 26, 43, .7) 42%, rgba(14, 26, 43, .25) 100%),
    linear-gradient(0deg, rgba(14, 26, 43, .85) 0%, transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1.3fr minmax(340px, 420px); gap: 72px; align-items: center; width: 100%; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 26px; }
.hero-tag::before { content: ""; width: 40px; height: 1px; background: var(--brass-light); }
.hero h1 { color: #fff; font-weight: 500; margin-bottom: 22px; font-size: clamp(2.02rem, 4.32vw, 3.74rem); line-height: 1.1; }
.hero-place { display: flex; align-items: center; gap: 10px; color: var(--brass-light); font-weight: 500; margin-bottom: 20px; font-size: .95rem; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 540px; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 1px; height: 56px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .7)); overflow: hidden; }
.hero-scroll::after { content: ""; position: absolute; left: 0; top: -20px; width: 1px; height: 20px; background: var(--brass-light); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Form ---------- */
.lead-form { background: var(--white); border-radius: var(--radius); padding: 34px 32px; display: grid; gap: 12px; box-shadow: var(--shadow); color: var(--text); border: 1px solid var(--line); }
.lead-form-head { margin-bottom: 8px; }
.lead-form .lead-form-title { font: 600 1.29rem/1.15 var(--serif); margin: 0; color: var(--ink); }
.lead-form-head p:not(.lead-form-title) { margin: 8px 0 0; font-size: .86rem; color: var(--muted); }
.lead-form-compact { padding: 30px 28px; }
.hero .lead-form { background: rgba(251, 249, 245, .97); border-color: transparent; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.hero .lead-form-head { text-align: left; }
input, select, textarea {
  font: 400 .95rem var(--sans); color: var(--text); background: var(--white); width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9em 1.05em; outline: none; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #9a9fab; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.4em; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230e1a2b' stroke-width='1.4'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.05em center;
}
input:focus, select:focus, textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 4px rgba(184, 145, 90, .15); }
textarea { resize: vertical; min-height: 92px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 4px 0; min-width: 0; }
.field legend { font-size: .72rem; color: var(--muted); padding: 0; margin-bottom: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; cursor: pointer; transition: all .2s; background: var(--white); }
.chip span:hover { border-color: var(--brass); }
.chip input:checked + span { border-color: var(--ink); color: #fff; background: var(--ink); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(184, 145, 90, .4); }
.lead-form .btn-block { margin-top: 6px; padding-block: 1.15em; }
.form-note { display: flex; gap: 6px; justify-content: center; align-items: center; font-size: .74rem; color: var(--muted); margin: 0; text-align: center; }
.form-note .ic { color: #3a8a5c; }
.form-error { background: #fdf0ee; border: 1px solid #f1c9c2; color: #9b2f25; padding: 10px 14px; border-radius: var(--radius-sm); margin: 0; font-size: .88rem; }
.form-ref { margin: 0; font-size: .88rem; background: var(--paper); padding: 10px 14px; border-radius: var(--radius-sm); }
.form-ref strong { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Thanh số liệu ---------- */
.facts-bar { background: var(--ink); color: #fff; position: relative; z-index: 2; }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); }
.fact { padding: 34px 20px 36px; text-align: left; border-left: 1px solid var(--line-dark); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font: 500 1.9rem/1 var(--serif); color: var(--brass-light); margin-bottom: 10px; }
.fact span { font-size: .74rem; color: #9ea9bb; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Thẻ căn hộ ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.grid-cards.grid-4 { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 22px; }
.grid-cards.grid-4 > .card { flex: 0 1 calc((100% - 66px) / 4); min-width: 0; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(251, 249, 245, .94); color: var(--ink); font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.badge.badge-rent { background: var(--ink); color: #fff; }
.badge.static { position: static; display: inline-block; margin-bottom: 14px; background: var(--paper); border: 1px solid var(--line); }
.badge.static.badge-rent { background: var(--ink); border-color: var(--ink); }
.badge.badge-cat { background: var(--ink); color: var(--brass-light); }
a.badge:hover { color: var(--brass-dark); border-color: var(--brass); }
.card-code { position: absolute; bottom: 12px; right: 12px; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 500; letter-spacing: .06em; background: rgba(14, 26, 43, .6); color: #fff; backdrop-filter: blur(6px); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tower { display: flex; align-items: center; gap: 6px; font-size: .7rem; color: var(--brass-dark); font-weight: 600; margin: 0; letter-spacing: .12em; text-transform: uppercase; }
.card-body h3, .card-body .card-title { font: 600 1rem/1.25 var(--serif); margin: 0; color: var(--ink); }
.card-body .card-title a:hover { color: var(--brass-dark); }
.specs { list-style: none; padding: 0; margin: 2px 0 4px; display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: .84rem; }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .ic { color: var(--brass); }
.card-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-foot .btn-outline { border-color: var(--line); }
.card-foot .btn-outline:hover { border-color: var(--ink); }
.price { font: 600 1.14rem/1 var(--serif); color: var(--ink); margin: 0; white-space: nowrap; }
.price-lg { font-size: clamp(1.44rem, 2.59vw, 2.02rem); color: var(--brass-dark); }
.news-card .card-body .card-title { font-size: 1.36rem; }
.news-card time { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.news-card p { font-size: .9rem; margin: 0 0 6px; }
.news-card .link-more { margin-top: auto; }

/* ---------- Tổng quan ---------- */
.overview { display: grid; grid-template-columns: 5fr 6fr; gap: 88px; align-items: center; }
.overview-img { position: relative; padding: 0 0 28px 28px; }
.overview-img::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; background: var(--paper); border-radius: var(--radius); z-index: -1; }
.overview-img a { display: block; }
.overview-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius); }
figcaption { font-size: .72rem; color: var(--muted); margin-top: 10px; letter-spacing: .02em; }
.facts-table { margin: 20px 0 36px; font-size: .94rem; }
.facts-table th, .facts-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.facts-table th { width: 36%; color: var(--muted); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding-right: 18px; padding-top: 16px; }
.facts-table td { color: var(--ink); font-weight: 500; }
.facts-table tr:first-child th, .facts-table tr:first-child td { border-top: 1px solid var(--line); }

/* ---------- Vị trí ---------- */
.location-home { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.conn-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.conn-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.conn-list span { font-size: .9rem; color: var(--ink-soft); }
.conn-list strong { color: var(--brass-light); font: 500 1.03rem var(--serif); white-space: nowrap; }
.location-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: end; }
.location-photos a { display: block; overflow: hidden; border-radius: var(--radius); }
.location-photos img { width: 100%; height: auto; object-fit: cover; transition: transform .9s var(--ease); }
.location-photos a:hover img { transform: scale(1.04); }
.location-photos figure:first-child img { aspect-ratio: 4 / 3.4; }
.location-photos figure:last-child img { aspect-ratio: 3 / 4.2; }
.section-navy figcaption { color: #8e99ad; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.contact-page .map { margin-top: 28px; }
.contact-page .map iframe { height: 300px; }

/* ---------- Tiện ích ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.amenity { text-align: left; padding: 30px 26px 26px; background: var(--white); transition: background .3s; display: flex; flex-direction: column; }
button.amenity { font: inherit; color: inherit; width: 100%; cursor: pointer; border: 0; border-radius: 0; }
.amenity:hover { background: var(--bg); }
.amenity-ic { width: 52px; height: 52px; margin: 0 0 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--brass-dark); transition: all .3s; }
.amenity-ic .ic { width: 24px; height: 24px; }
.amenity .amenity-name { display: block; font: 600 0.99rem/1.2 var(--serif); color: var(--ink); margin-bottom: 8px; }
.amenity .amenity-desc { display: block; font-size: .86rem; color: var(--muted); margin: 0; flex: 1; }
.amenity.on { background: var(--ink); }
.amenity.on .amenity-name { color: #fff; }
.amenity.on .amenity-desc { color: var(--ink-soft); }
.amenity.on .amenity-ic { background: var(--brass); color: #fff; }
.amenity-count { display: inline-block; margin-top: 18px; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--brass-dark); }
.amenity.on .amenity-count { color: var(--brass-light); }
.am-stage { margin-top: 32px; background: var(--ink); border-radius: calc(var(--radius) + 6px); padding: 26px; }
.am-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.am-head .am-title { font: 500 1.22rem var(--serif); margin: 0; color: #fff; flex: 1; min-width: 0; }
.am-reset { font: 600 .7rem var(--sans); text-transform: uppercase; letter-spacing: .14em; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--brass-light); cursor: pointer; }
.am-reset:hover { border-color: var(--brass-light); }
.am-reset[hidden] { display: none; }
.am-arrows { display: flex; gap: 8px; }
.am-arrows button { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: all .2s; }
.am-arrows button:hover { background: var(--brass); border-color: var(--brass); }
.am-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.am-track::-webkit-scrollbar { display: none; }
.am-slide { position: relative; flex: 0 0 calc((100% - 32px) / 3); aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); display: block; }
.am-slide[hidden] { display: none; }
.am-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); cursor: zoom-in; }
.am-slide:hover img { transform: scale(1.05); }
.am-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: .84rem; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(14, 26, 43, .85)); }
.am-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 28px; text-align: center; flex-basis: 100%; aspect-ratio: auto; min-height: 260px; background: var(--ink-2); border: 1px dashed var(--line-dark); }
.am-empty strong { color: #fff; font: 500 1.14rem var(--serif); }
.am-empty p { margin: 0 0 6px; color: var(--ink-soft); max-width: 420px; }
.am-empty .amenity-ic { margin: 0; background: rgba(255, 255, 255, .06); color: var(--brass-light); }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------- Bảng loại hình ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.product-table { font-size: .94rem; min-width: 640px; }
.product-table th { background: transparent; color: var(--muted); text-align: left; padding: 18px 24px; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; border-bottom: 1px solid var(--line); }
.product-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.product-table tbody tr:last-child td { border-bottom: 0; }
.product-table tbody tr { transition: background .2s; }
.product-table tbody tr:hover { background: var(--bg); }
.product-table td strong { color: var(--ink); font: 600 0.91rem var(--serif); }
.product-table td:last-child { text-align: right; }
.credits-table img { width: 120px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.credits-table a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.source-note { font-size: .8rem; color: var(--muted); margin-top: 24px; }

/* ---------- Chuyên viên ---------- */
.agent { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
.agent-photo { position: relative; max-width: 460px; }
.agent-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--brass); border-radius: var(--radius); z-index: -1; }
.agent-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.agent-badge { position: absolute; left: 24px; bottom: 24px; right: 24px; background: rgba(251, 249, 245, .95); backdrop-filter: blur(8px); color: var(--ink); padding: 16px 20px; border-radius: var(--radius-sm); }
.agent-badge strong { display: block; font: 600 1.03rem var(--serif); }
.agent-badge span { font-size: .78rem; color: var(--muted); }
.agent-note { display: inline-flex; align-items: center; gap: 10px; color: var(--brass-dark); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.agent-note .ic { color: var(--brass); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ic { color: var(--brass-dark); border: 1px solid var(--brass); border-radius: 50%; padding: 4px; width: 1.5em; height: 1.5em; margin-top: .1em; }

/* ---------- Quy trình ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding: 28px 0 0; border-top: 1px solid var(--ink); }
.step-num { display: block; font: 500 2.58rem/1 var(--serif); color: var(--brass); margin-bottom: 20px; }
.step-num::before { content: "0"; }
.step h3 { font: 600 1.06rem/1.2 var(--serif); margin-bottom: 10px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Ký gửi ---------- */
.consign { position: relative; isolation: isolate; padding: 128px 0; color: #fff; background: var(--ink) center / cover no-repeat; text-align: center; }
.consign::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 26, 43, .72); }
.consign-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; max-width: 780px; }
.consign h2 { color: #fff; margin-bottom: 14px; font-weight: 500; font-size: clamp(1.58rem, 3.17vw, 2.45rem); }
.consign p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 1.05rem; }

/* ---------- CTA ---------- */
.cta-band { background: var(--paper); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 0; }
.contact-list li { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list > li > .ic { width: 48px; height: 48px; padding: 13px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass-dark); margin: 0; }
.contact-list small { display: block; color: var(--muted); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: var(--ink); font: 600 0.99rem var(--serif); }

/* ---------- Banner trang con ---------- */
.page-hero { position: relative; isolation: isolate; padding: 104px 0 96px; color: #fff; background: var(--ink) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 26, 43, .92), rgba(14, 26, 43, .55)), linear-gradient(0deg, rgba(14, 26, 43, .6), transparent 50%); }
.page-hero h1 { color: #fff; font-weight: 500; font-size: clamp(1.58rem, 3.31vw, 2.74rem); margin-bottom: 16px; max-width: 900px; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 680px; margin: 0; font-size: 1.05rem; font-weight: 300; }
.crumbs { font-size: .72rem; color: #9ea9bb; margin-bottom: 22px; display: flex; gap: 10px; flex-wrap: wrap; letter-spacing: .14em; text-transform: uppercase; }
.crumbs a { color: var(--brass-light); }

/* ---------- Bộ lọc ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 40px; padding: 20px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.filter-bar label { display: flex; flex-direction: column; gap: 8px; min-width: 170px; flex: 0 1 220px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.filter-reset { color: var(--brass-dark); font-size: .88rem; padding: 0 6px 14px; text-decoration: underline; }
.results-count { margin: 0 0 0 auto; color: var(--muted); padding-bottom: 10px; }
.results-count strong { color: var(--ink); font: 600 1.37rem var(--serif); }
.empty { text-align: center; padding: 24px 0; }
.empty > p { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }
.empty-form { max-width: 540px; margin: 0 auto; text-align: left; }

/* ---------- Chi tiết căn ---------- */
.detail { padding-top: 44px; }
.breadcrumb { font-size: .72rem; color: var(--muted); margin-bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; letter-spacing: .14em; text-transform: uppercase; }
.breadcrumb a { color: var(--brass-dark); }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.detail-head h1 { font-size: clamp(1.44rem, 2.88vw, 2.3rem); margin-bottom: .25em; }
.detail-head p { margin: 0; }
.gallery { margin-bottom: 64px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--paper); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 124px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; opacity: .55; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button.on, .gallery-thumbs button:hover { opacity: 1; border-color: var(--brass); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.detail-grid h2 { font-size: 2rem; margin-bottom: 20px; }
.spec-table { margin: 0 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.spec-table > div { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); font-size: .9rem; }
.spec-table dt::first-letter { text-transform: uppercase; }
.spec-table dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.spec-table dd.gold { color: var(--brass-dark); }
.spec-table dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brass); }
.prose { font-size: 1.02rem; line-height: 1.8; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.detail-aside .lead-form { padding: 0; box-shadow: none; border: 0; }
.agent-card { display: flex; align-items: center; gap: 16px; }
.agent-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; outline: 1px solid var(--brass); outline-offset: 3px; }
.agent-card strong { display: block; font: 600 1.03rem/1.2 var(--serif); color: var(--ink); }
.agent-card span { font-size: .82rem; color: var(--muted); }
.agent-card-lg img { width: 88px; height: 88px; }
.agent-card-lg strong { font-size: 1.7rem; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.agent-actions .btn { flex: 1 1 auto; }
.detail-aside .btn-ghost[href*="zalo"], .agent-actions .btn-ghost[href*="zalo"] { background: var(--zalo); color: #fff; border-color: var(--zalo); }

/* ---------- Tòa ---------- */
.tower-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tower { padding: 32px 18px 28px; background: var(--white); text-align: center; transition: background .3s; }
.tower:hover { background: var(--bg); }
.tower h3 { font: 600 1.29rem var(--serif); margin-bottom: 12px; }
.tower-links { display: flex; justify-content: center; gap: 16px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.tower-links a { color: var(--brass-dark); font-weight: 600; }
.tower-links a:hover { color: var(--ink); }

/* ---------- Trang khác ---------- */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-page .agent-card { margin-bottom: 12px; }
.post h1 { font-size: clamp(1.58rem, 3.17vw, 2.45rem); margin-top: 12px; }
.post-cover { border-radius: var(--radius); margin: 36px 0 44px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.back-link { color: var(--brass-dark); font-size: .9rem; display: inline-block; margin-bottom: 20px; font-weight: 600; }
.post time { display: inline; }
.post .lead { color: var(--muted); font-size: 1.15rem; font-weight: 300; }
.thanks { padding: 140px 0; }
.thanks .lead { margin-inline: auto; color: var(--muted); max-width: 560px; }
.thanks-icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 32px; border: 1px solid var(--brass); color: var(--brass-dark); }
.thanks-icon .ic { width: 38px; height: 38px; }
.hero-cta.center { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9ea9bb; padding: 96px 0 28px; font-size: .9rem; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #8e99ad; }
.site-footer .muted { color: #8e99ad; max-width: 340px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 48px; }
.footer-grid-4 { grid-template-columns: 1.4fr .8fr 1.1fr 1.3fr; gap: 48px; }
.footer-grid .brand { margin-bottom: 20px; }
.site-footer .footer-h { font-weight: 600; font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--brass-light); margin: 6px 0 22px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact strong { color: #fff; font: 600 0.95rem var(--serif); }
.footer-contact .ic { color: var(--brass); margin-top: .3em; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 72px; padding-top: 24px; color: #7a8599; font-size: .76rem; }
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
.disclaimer { max-width: 900px; }

/* ---------- Hotline nổi (góc trái) + Zalo/Messenger (góc phải) ---------- */
.hotline-pill { position: fixed; left: 20px; bottom: 24px; z-index: 60; display: flex; align-items: center; background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 20px 5px 5px; box-shadow: 0 16px 32px -12px rgba(14, 26, 43, .6); font-weight: 600; letter-spacing: .04em; font-size: .95rem; }
.hotline-pill:hover { color: #fff; background: var(--ink-3); }
.hp-ic { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--brass); color: #fff; display: grid; place-items: center; margin-right: 12px; }
.hp-ic::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--brass); animation: ring 2s infinite; }
.hp-ic .ic { width: 20px; height: 20px; }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
.float-contact { position: fixed; right: 20px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fc { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 16px 32px -12px rgba(14, 26, 43, .6); transition: transform .25s var(--ease); }
.fc:hover { transform: scale(1.08); color: #fff; }
.fc .ic { width: 24px; height: 24px; }
.fc-zalo { background: var(--zalo); }
.fc-zalo b { font: 700 .8rem var(--sans); }
.fc-msg { background: linear-gradient(135deg, #00b2ff, #a033ff 60%, #ff5c87); }
.fc-label { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: .8rem; white-space: nowrap; transition: all .2s; }
.fc:hover .fc-label { opacity: 1; transform: translateY(-50%); }
.mobile-bar { display: none; }

/* ---------- Hiệu ứng ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hp-ic::before, .hero-scroll::after { animation: none; }
  .consign { background-attachment: scroll; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .grid-cards.grid-4 > .card { flex-basis: calc((100% - 44px) / 3); }
  .main-nav > a { padding: 10px 8px; font-size: .84rem; }
  .main-nav > a::after { left: 8px; right: 8px; }
  .hh-txt small { display: none; }
  .header-inner { gap: 20px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .container { padding: 0 24px; }
  .section { padding: 88px 0; }
  .topbar .hide-sm { display: none; }
  .nav-toggle { display: flex; }
  .header-hotline { display: none; }
  .brand-text strong { font-size: .95rem; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); flex-direction: column; gap: 0;
    padding: 12px 24px 32px; overflow-y: auto; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .main-nav > a { padding: 16px 0; font: 500 1.22rem var(--serif); border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 28px; }
  .nav-mobile-extra .btn-ghost { background: var(--zalo); color: #fff; border-color: var(--zalo); }
  .header-actions { margin-left: auto; }
  .hero-grid, .overview, .location-home, .agent, .cta-grid, .detail-grid, .contact-page { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: 0; padding: 80px 0 88px; }
  .hero-scroll { display: none; }
  .lead-form-compact { max-width: 520px; }
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .fact { padding-left: 20px !important; }
  .fact:nth-child(3n+1) { border-left: 0; padding-left: 0 !important; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-cards.grid-4 > .card { flex-basis: calc((100% - 22px) / 2); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .overview-img, .agent-photo { max-width: 460px; }
  .detail-aside { position: static; }
  .tower-grid { grid-template-columns: repeat(3, 1fr); }
  .consign { background-attachment: scroll; padding: 96px 0; }
  .footer-grid, .footer-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 32px 0 72px; }
  .sec-title { margin-bottom: 36px; }
  .topbar { font-size: .7rem; }
  .topbar-inner { gap: 10px; }
  .brand::before { width: 32px; height: 32px; background-size: 22px; }
  .brand-text strong { font-size: .86rem; letter-spacing: .08em; }
  .brand-text small { font-size: .52rem; letter-spacing: .16em; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .lead-form, .lead-form-compact { padding: 26px 20px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact, .fact:nth-child(3n+1) { padding: 24px 0 24px 16px !important; border-left: 1px solid var(--line-dark); border-top: 0; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0 !important; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fact strong { font-size: 1.6rem; }
  .grid-cards, .steps, .photo-row { grid-template-columns: 1fr; }
  .grid-cards.grid-4 > .card { flex-basis: 100%; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .amenity { padding: 22px 16px; }
  .amenity-ic { width: 44px; height: 44px; margin-bottom: 14px; }
  .amenity .amenity-name { font-size: .92rem; }
  .amenity .amenity-desc { font-size: .8rem; }
  .conn-list { grid-template-columns: 1fr; }
  .location-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .overview-img { padding: 0 0 18px 18px; }
  .agent-photo::before { inset: 14px -14px -14px 14px; }
  .facts-table th { width: 40%; }
  .spec-table { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gallery-main { aspect-ratio: 4 / 3; }
  .detail-aside { padding: 18px; }
  .filter-bar { padding: 16px; }
  .filter-bar label { flex: 1 1 140px; min-width: 0; }
  .results-count { margin-left: 0; width: 100%; }
  .tower-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid, .footer-grid-4 { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding-top: 72px; }
  .cta-grid { gap: 32px; }
  .hotline-pill, .float-contact { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -12px rgba(14, 26, 43, .5);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 62px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: #fff; }
  .mobile-bar a + a { border-left: 1px solid var(--line-dark); }
  .mobile-bar a:first-child { background: var(--brass); }
  .mobile-bar a:nth-child(2) { background: var(--zalo); border-left: 0; }
  .mobile-bar .ic { width: 20px; height: 20px; }
  .zalo-txt { font-size: .82rem; line-height: 20px; color: #fff; }
}

/* =========================================================
   Bảng giá thị trường · Mặt bằng · Thư viện ảnh · Lightbox
   ========================================================= */
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.market-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; padding: 30px 32px 28px; display: flex; flex-direction: column; }
.market-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ink); font: 600 1.22rem/1.2 var(--serif); }
.market-card h3 .ic { color: var(--brass); width: 26px; height: 26px; padding: 0; }
.market-card table { margin-bottom: 8px; }
.market-card th, .market-card td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.market-card tr:last-child th, .market-card tr:last-child td { border-bottom: 0; }
.market-card th { font-weight: 400; color: var(--text); font-size: .94rem; }
.market-card td { text-align: right; font: 600 0.91rem var(--serif); color: var(--brass-dark); white-space: nowrap; padding-left: 16px; }
.market-card tr:first-child td { color: var(--ink); }
.market-card .link-more { margin-top: auto; padding-top: 12px; }
.market-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.market-foot .source-note { margin: 0; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { font: 600 .74rem var(--sans); text-transform: uppercase; letter-spacing: .14em; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--brass); color: var(--ink); }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-navy .tab { background: transparent; color: var(--ink-soft); border-color: var(--line-dark); }
.section-navy .tab:hover { border-color: var(--brass-light); color: #fff; }
.section-navy .tab.on { background: var(--brass); color: #fff; border-color: var(--brass); }

.fp-panel { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.fp-panel[hidden] { display: none; }
.fp-image { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fp-image img { width: 100%; height: auto; cursor: zoom-in; }
.fp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--bg); }
.fp-thumbs a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: border-color .2s; }
.fp-thumbs a:hover { border-color: var(--brass); }
.fp-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fp-thumbs span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; padding: 5px 8px; font-size: .7rem; line-height: 1.3; color: var(--ink); overflow: hidden; }
.fp-master { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fp-master a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .3s; }
.fp-master a:hover { box-shadow: var(--shadow); }
.fp-master img { width: 100%; height: auto; cursor: zoom-in; }
.fp-master span { display: block; padding: 14px 18px; font: 600 0.91rem var(--serif); border-top: 1px solid var(--line); }
.fp-placeholder { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: var(--paper); }
.fp-svg { width: 160px; fill: none; stroke: var(--brass); stroke-width: 1.5; }
.fp-placeholder strong { color: var(--ink); font: 600 0.99rem var(--serif); }
.fp-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; position: sticky; top: calc(var(--header-h) + 24px); }
.fp-info h3 { font: 600 1.52rem/1.15 var(--serif); margin-bottom: 8px; }
.fp-sizes { margin: 20px 0; }
.fp-sizes caption { text-align: left; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--brass-dark); padding-bottom: 10px; }
.fp-sizes th, .fp-sizes td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.fp-sizes td { text-align: right; font-weight: 600; color: var(--ink); }
.fp-count { margin: 0 0 18px; color: var(--muted); }
.fp-count strong { color: var(--brass-dark); font: 600 1.14rem var(--serif); }
.fp-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.fp-intro { padding-bottom: 0; }
.fp-towers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fp-tower { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: all .3s var(--ease); }
.fp-tower:hover { color: var(--text); border-color: var(--brass); transform: translateY(-4px); box-shadow: var(--shadow); }
.fp-tower-name { font: 600 1.37rem/1.1 var(--serif); color: var(--ink); }
.fp-tower .muted { font-size: .84rem; }
.fp-tower-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--brass-dark); }
.unit-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.unit-type { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.unit-type h3 { font: 600 1.14rem/1.2 var(--serif); margin: 18px 0 8px; }
.unit-type .muted { font-size: .9rem; flex: 1; }
.unit-type-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 1px solid var(--brass); color: var(--ink); font: 500 1.44rem/1 var(--serif); }
.unit-type-badge small { font: 600 .52rem var(--sans); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; color: var(--brass-dark); }
.unit-type-size { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; color: var(--brass-dark); font-size: 1rem; }
.unit-type-size .ic { color: var(--brass); width: 18px; height: 18px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.g-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.g-item[hidden] { display: none; }
.g-item.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .3s; }
.g-item:hover img { transform: scale(1.06); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(14, 26, 43, .85)); opacity: 0; transform: translateY(6px); transition: all .35s var(--ease); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item::after { content: ""; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(251, 249, 245, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1a2b' stroke-width='1.8'%3E%3Cpath d='M10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm11 4-6-6M10 7v6M7 10h6'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: 0; transform: scale(.8); transition: all .3s var(--ease); }
.g-item:hover::after { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(9, 16, 28, .95); display: flex; align-items: center; justify-content: center; padding: 56px 80px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-figure figcaption { color: var(--ink-soft); font-size: .88rem; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255, 255, 255, .1); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: all .2s; }
.lb-nav:hover { background: var(--brass); border-color: var(--brass); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lightbox.single .lb-nav, .lightbox.single .lb-count { display: none; }
.lb-count { position: absolute; top: 28px; left: 28px; color: var(--brass-light); font-weight: 500; font-size: .8rem; letter-spacing: .16em; }

@media (max-width: 1024px) {
  .fp-panel, .market-grid, .fp-master { grid-template-columns: 1fr; }
  .fp-info { position: static; }
  .fp-towers { grid-template-columns: repeat(3, 1fr); }
  .unit-types { grid-template-columns: repeat(2, 1fr); }
  .am-slide { flex-basis: calc((100% - 16px) / 2); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .g-cap { opacity: 1; transform: none; font-size: .72rem; padding: 24px 10px 8px; }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tab { flex: none; padding: 10px 16px; }
  .lightbox { padding: 56px 8px 76px; }
  .am-stage { padding: 16px; border-radius: var(--radius); }
  .am-head .am-title { font-size: 1.05rem; }
  .fp-towers { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fp-tower { padding: 16px 14px; }
  .fp-tower-name { font-size: 1.2rem; }
  .fp-tower-meta { flex-direction: column; gap: 2px; }
  .fp-info { padding: 24px 20px; }
  .unit-types { grid-template-columns: 1fr; }
  .am-slide { flex-basis: 86%; }
  .am-empty { flex-basis: 100%; }
  .market-card { padding: 22px 20px; }
  .market-card td { white-space: normal; font-size: .88rem; }
  .lb-nav { top: auto; bottom: 14px; transform: none; width: 48px; height: 48px; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
}

/* ===== Nội dung bài viết / SEO ===== */
.h1-sub { font-weight: 400; color: var(--muted); font-size: .55em; }
.tower-tabs { margin-bottom: 20px; }
.seo-intro { color: #3d4555; }
.seo-intro h2 { margin-top: 0; }
.seo-intro a, .prose a { color: var(--brass-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.guide-links { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.guide-links li { border-bottom: 1px solid var(--line); }
.guide-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; color: var(--ink); font-weight: 500; font-size: .95rem; }
.guide-links a::after { content: "→"; color: var(--brass); transition: transform .25s var(--ease); }
.guide-links a:hover { color: var(--brass-dark); }
.guide-links a:hover::after { transform: translateX(4px); }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 24px 48px 24px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--brass), var(--brass)) center / 12px 1px no-repeat, linear-gradient(var(--brass), var(--brass)) center / 1px 12px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq-item[open] summary::after { background: linear-gradient(#fff, #fff) center / 12px 1px no-repeat, var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.faq-item summary h3 { display: inline; font: 600 1.03rem/1.3 var(--serif); margin: 0; color: var(--ink); }
.faq-a { padding: 0 48px 24px 0; color: #3d4555; }
.faq-a a { color: var(--brass-dark); text-decoration: underline; }
.post-faq { margin-top: 56px; }
.post-faq .sec-title { text-align: left; }
.toc { background: var(--paper); border-radius: var(--radius); padding: 24px 28px; margin: 28px 0 12px; }
.toc-title { font-weight: 600; color: var(--brass-dark); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--brass-dark); }
.prose h2 { scroll-margin-top: 96px; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--ink); color: #fff; font-weight: 500; }
.prose tbody tr:nth-child(even) { background: var(--paper); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brass); }
.prose blockquote, .prose .note { margin: 1.4em 0; padding: 18px 22px; background: var(--paper); border-left: 2px solid var(--brass); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 8px; font-size: .88rem; }
.post-meta .badge.static { margin: 0; }
.post-cover-fig { margin: 0; }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 56px; padding: 28px; border-radius: var(--radius); background: var(--paper); }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 4px; }
.author-name { font: 600 1.06rem var(--serif); color: var(--ink); }
@media (max-width: 640px) {
  .guide-links { grid-template-columns: 1fr; }
  .faq-item summary h3 { font-size: .98rem; }
  .faq-a { padding-right: 0; }
}
