:root {
  --ink: #0B3341;      /* deep teal: dark surfaces, headings */
  --ink-2: #0F4152;
  --teal: #136F8A;     /* logo teal */
  --gold: #E0A92E;     /* logo gold, on dark */
  --gold-hi: #F2C14E;
  --gold-text: #8C6412;/* gold readable on light */
  --paper: #F4F7F7;
  --white: #FFFFFF;
  --line: #D3DFE2;
  --text: #10232B;
  --muted: #4D6570;
  --display: "Unbounded", system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --body: "Be Vietnam Pro", system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --r-sm: 6px;
  --r-lg: 14px;
  --head-h: 68px;
  /* soft light falling on dark teal: a teal glow top-right, a faint warm glow bottom-left */
  --glow: radial-gradient(900px 520px at 90% -10%, rgba(19,111,138,.55), transparent 65%),
          radial-gradient(700px 420px at -5% 110%, rgba(224,169,46,.10), transparent 60%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

h1, h2, h3, .section-title { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--ink); max-width: 22ch; }
.lede { color: var(--muted); max-width: 60ch; margin: 0 0 1.5rem; }

/* Buttons */
.btn { display: inline-block; padding: .8em 1.3em; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: rgba(224,169,46,.7); color: var(--gold); }
.btn-line:hover { background: rgba(224,169,46,.12); }
.btn-text { color: var(--teal); padding-inline: .4em; text-decoration: underline; text-underline-offset: 4px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 1.4rem; }

/* Top bar: deep teal glass */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--head-h); display: flex; align-items: center; gap: 12px; padding: 0 max(16px, calc((100% - 1160px) / 2));
  background: rgba(11,51,65,.9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(224,169,46,.35); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font: 700 1.05rem var(--display); color: var(--white); margin-right: auto; align-self: flex-start; }
/* White plate so the original logo colours read on dark teal; in the header it hangs from the top edge like a signboard */
.logo-badge { display: inline-grid; place-items: center; background: var(--white); border-radius: var(--r-sm); padding: 6px 10px; }
.logo-badge img { display: block; height: auto; }
.brand .logo-badge { align-self: flex-start; border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 10px 14px 12px; border-bottom: 3px solid var(--gold); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.brand > span:last-child { align-self: center; padding-top: 0; }
.brand { height: calc(var(--head-h) + 14px); }
.logo-badge-lg { padding: 12px 16px; border-radius: var(--r-lg); }
.logo-badge-sm { padding: 3px 6px; }
.mainnav { display: flex; gap: 26px; margin-right: 16px; }
.mainnav a { text-decoration: none; font-weight: 500; color: rgba(255,255,255,.82); padding: 6px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { color: var(--white); border-color: var(--gold); }
.topbar .btn { padding: .55em 1em; }

/* Hero: real building video playing in the background */
.journey { position: relative; background: var(--ink); margin-top: calc(var(--head-h) * -1); }
.stage { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,51,65,.88) 0%, rgba(11,51,65,.45) 45%, rgba(11,51,65,0) 75%),
              linear-gradient(0deg, rgba(11,51,65,.65), rgba(11,51,65,0) 35%),
              linear-gradient(180deg, rgba(11,51,65,.5), rgba(11,51,65,0) 20%); }
.captions { position: absolute; z-index: 2; left: max(16px, calc((100% - 1160px) / 2)); bottom: 14vh; width: min(640px, 100% - 32px); color: var(--white); }
.cap h1 { font-size: clamp(2rem, 5vw, 3.7rem); }
.cap p { font-size: 1.15rem; max-width: 48ch; color: rgba(255,255,255,.88); }

/* Gold facts band */
.facts { background: var(--gold); color: var(--ink); }
.facts-row { list-style: none; margin: 0 auto; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row li { display: grid; gap: 2px; padding: 0 20px; border-left: 1px solid rgba(11,51,65,.25); }
.facts-row li:first-child { border-left: 0; padding-left: 0; }
.facts-row b { font: 700 1.15rem var(--display); }
.facts-row span { font-size: .92rem; }

/* Directory board */
.directory { background: var(--glow), var(--ink); color: var(--white); padding: 104px 0; }
.dir-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.directory .section-title { color: var(--white); }
.directory .lede { color: rgba(255,255,255,.72); max-width: 42ch; }
.board { list-style: none; padding: 8px 28px; margin: 32px 0 0; background: rgba(11,51,65,.92); border: 1px solid rgba(224,169,46,.45); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.board li { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(224,169,46,.25); }
.board li:last-child { border-bottom: 0; }
.floor { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--gold); border-radius: 50%; font: 700 1.3rem var(--display); color: var(--gold); transition: background .2s, color .2s; }
.svc { display: grid; gap: 4px; font: 500 clamp(1.05rem, 2.2vw, 1.45rem) var(--display); text-decoration: none; color: var(--white); }
.svc small { font: 400 .9rem var(--body); color: rgba(255,255,255,.6); }
a.svc:hover { color: var(--gold); }
.board li:has(a.svc:hover) .floor { background: var(--gold); color: var(--ink); }
.price { font: 700 1.15rem var(--display); color: var(--gold); white-space: nowrap; }
.price small { font: 400 .85rem var(--body); color: rgba(255,255,255,.7); }
.board .soon .floor { border-style: dashed; opacity: .55; }
.board .soon .svc { color: rgba(255,255,255,.55); }
.board .soon .price { font: 500 .95rem var(--body); color: rgba(255,255,255,.55); }

/* Who it's for */
.fit { padding: 104px 0 72px; }
.fit-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fit-list li { border-top: 3px solid var(--teal); padding-top: 18px; }
.fit-list h3 { font-size: 1.05rem; color: var(--ink); }
.fit-list p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Plans */
.plan { padding: 96px 0; background: var(--white); }
.plan-alt { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.floor-tag { margin: 0 0 .4rem; font-weight: 600; color: var(--gold-text); }
.big-price { font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--display); color: var(--teal); margin: .2em 0 .5em; }
.big-price small { font: 400 1rem var(--body); color: var(--muted); }
.promo { padding: 12px 16px; border-left: 4px solid var(--gold); background: #FBF3E0; margin: 0 0 1.4rem; font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.media { margin: 0; }
.media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--ink); box-shadow: -16px 16px 0 var(--gold); }
.split-rev .media video { box-shadow: 16px 16px 0 var(--gold); }
.media figcaption, .photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 22px; }
.terms { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.terms dt, .terms dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.terms dt { color: var(--muted); padding-right: 16px; }
.terms dd { font-weight: 600; text-align: right; }

/* Compare */
.compare { padding: 96px 0; background: var(--white); }
.table-scroll { overflow-x: auto; margin-top: 32px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 700 1rem var(--display); color: var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.compare td { color: var(--muted); }
.compare .us { background: var(--ink); color: var(--white); border-bottom-color: rgba(255,255,255,.12); }
.compare thead .us { color: var(--gold); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.compare tbody tr:last-child .us { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.compare tbody td { position: relative; padding-left: 50px; }
.compare tbody td::after { content: ""; position: absolute; left: 18px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: #F3D9D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%23B3372B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.compare tbody td.us::after { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' stroke='%230B3341' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* Steps: a real sequence, so numbered */
.steps { padding: 96px 0; background: var(--paper); }
.steps-row { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 26px; left: 26px; right: 12%; height: 2px; background: var(--line); }
.steps-row li { counter-increment: s; position: relative; }
.steps-row li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: var(--gold); font: 700 1.2rem var(--display); position: relative; }
.steps-row h3 { font-size: 1.05rem; color: var(--ink); }
.steps-row p { margin: 0; color: var(--muted); }

/* Calculator */
.calc { padding: 96px 0; background: var(--white); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.choice { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.choice legend { font-weight: 600; margin-bottom: 10px; }
.choice label { padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 500; background: var(--white); }
.choice label:has(input:checked) { border-color: var(--teal); background: #E7F2F5; color: var(--ink); }
.choice input { accent-color: var(--teal); }
.field { display: block; font-weight: 500; }
.field input { display: block; margin-top: 10px; }
.field output { font: 700 1.1rem var(--display); color: var(--teal); }
input[type=range] { width: 100%; accent-color: var(--teal); }
.result { grid-column: 2; grid-row: 1 / span 4; background: var(--glow), var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 28px; }
.r-main { margin: 0 0 18px; }
.r-main span { display: block; font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--display); color: var(--gold); }
.r-main small { color: rgba(255,255,255,.7); }
.result dl { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.result dt, .result dd { margin: 0; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.15); }
.result dt { color: rgba(255,255,255,.72); }
.result dd { font-weight: 600; text-align: right; }
.r-note { font-size: .9rem; color: rgba(255,255,255,.7); margin: 14px 0 18px; }

/* Location */
.location { padding: 96px 0; }
.addr { font-weight: 600; color: var(--teal); margin: 0 0 1.2rem; }
.distances { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.distances li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.distances b { color: var(--ink); }
.photo { margin: 0; }
.photo img { border-radius: var(--r-lg); width: 100%; height: auto; }
.map { width: 100%; height: 400px; border: 0; border-radius: var(--r-lg); margin-top: 48px; background: var(--line); }
.map-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; }
.map-go .ico { width: 20px; height: 20px; }

/* Blog */
.blog-teaser { padding: 96px 0; background: var(--white); }
.post-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-list a { display: block; height: 100%; text-decoration: none; border-top: 3px solid var(--gold); padding-top: 16px; }
.post-list time { font-size: .85rem; color: var(--gold-text); font-weight: 500; }
.post-list h2, .post-list h3 { font-size: 1.15rem; color: var(--ink); margin: 8px 0; }
.post-list a:hover h2, .post-list a:hover h3 { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.post-list p { margin: 0; color: var(--muted); font-size: .98rem; }

/* FAQ */
.faq { padding: 96px 0; background: var(--paper); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 500 1.6rem var(--display); color: var(--teal); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* Booking */
.booking { padding: 104px 0; background: var(--glow), var(--ink); color: var(--white); }
.booking .section-title { color: var(--white); }
.booking .lede { color: rgba(255,255,255,.75); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-list span { width: 64px; color: rgba(255,255,255,.6); }
.contact-list a { font-weight: 600; color: var(--gold); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.book-form { display: grid; gap: 16px; background: var(--white); color: var(--text); padding: 32px; border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.book-form label { display: grid; gap: 6px; font-weight: 500; }
.book-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.book-form input, .book-form select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--text); width: 100%; }
.book-form input:focus, .book-form select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(19,111,138,.2); }
.book-form button { font: inherit; font-weight: 600; cursor: pointer; justify-self: stretch; padding-block: 1em; }
.fine { margin: 0; font-size: .85rem; color: var(--muted); }

/* Sub pages */
.page-hero { background: var(--glow), var(--ink); color: var(--white); padding: 72px 0 80px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); max-width: 20ch; }
.page-hero .lede { color: rgba(255,255,255,.8); }
.page-hero time { color: var(--gold); }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.crumbs a { color: rgba(255,255,255,.85); }
.thanks { min-height: 60vh; display: grid; align-items: center; }
.spec { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.spec caption { text-align: left; font: 700 1.05rem var(--display); color: var(--ink); padding-bottom: 12px; }
.spec th, .spec td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.spec th { font-weight: 500; }
.spec td { font-weight: 600; color: var(--teal); text-align: right; white-space: nowrap; }
.prose-section { padding: 88px 0; background: var(--paper); }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: 1.4rem; color: var(--ink); margin-top: 1.8em; }
.prose a { color: var(--teal); font-weight: 600; }
.post .prose { padding: 56px 0 88px; }
.post-cover { border-radius: var(--r-lg); margin-top: -40px; }

/* Footer */
.footer { background: #082833; color: rgba(255,255,255,.8); padding: 64px 0 112px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h3 { font-size: .95rem; color: var(--gold); }
.footer a, .footer .muted { display: block; text-decoration: none; padding: 3px 0; }
.footer a:hover { color: var(--gold); }
.footer .muted { color: rgba(255,255,255,.45); }
.footer-logo { margin-bottom: 16px; }
.footer .footer-logo { display: inline-grid; padding: 12px 16px; }
.credits { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: 32px; }

/* AI chat slot */
/* Netlify puts a 64px badge in the bottom-right corner; everything floating sits above it */
.chat { position: fixed; z-index: 50; right: 20px; bottom: 76px; }
.chat-toggle { display: flex; align-items: center; gap: 10px; font: 600 1rem var(--body); padding: 14px 20px; border: 0; border-radius: 999px; cursor: pointer; background: var(--ink); color: var(--white); box-shadow: 0 12px 30px -8px rgba(11,51,65,.6), 0 0 0 2px var(--gold) inset; }
.chat-toggle:hover { background: var(--ink-2); }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
.chat-panel { position: absolute; right: 0; bottom: 64px; width: min(360px, calc(100vw - 32px)); background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 60px -20px rgba(11,51,65,.55); border: 1px solid var(--line); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--white); }
.chat-head div { display: grid; margin-right: auto; }
.chat-head small { color: rgba(255,255,255,.65); }
.chat-close { background: none; border: 0; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.chat-body { padding: 16px; display: grid; gap: 14px; max-height: 60vh; overflow: auto; }
.bubble { margin: 0; padding: 12px 14px; background: var(--paper); border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg); font-size: .95rem; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { padding: 8px 12px; border: 1.5px solid var(--teal); border-radius: 999px; color: var(--teal); font-size: .9rem; font-weight: 500; text-decoration: none; }
.quick a:hover { background: var(--teal); color: var(--white); }

/* Floating call / Zalo (desktop) */
.float-contact { position: fixed; z-index: 48; right: 20px; bottom: 142px; display: grid; gap: 12px; justify-items: end; }
.float-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; min-width: 56px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px -8px rgba(11,51,65,.55); transition: transform .15s; }
.float-contact a:hover { transform: translateY(-2px); }
.fc-map { background: var(--teal); color: var(--white); }
.fc-map .ico { width: 24px; height: 24px; }
.fc-zalo { background: #0068FF; color: var(--white); font-size: .9rem; }
.fc-book { display: none; }
.fc-call { background: var(--gold); color: var(--ink); padding: 0 16px; position: relative; }
.fc-num { font: 700 .95rem var(--display); }
.fc-call::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(224,169,46,.6); animation: ring 2.4s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 14px rgba(224,169,46,0); } 100% { box-shadow: 0 0 0 0 rgba(224,169,46,0); } }

/* Real photo gallery */
.gallery { padding: 104px 0; background: var(--glow), var(--ink); color: var(--white); }
.gallery .section-title { color: var(--white); }
.gallery .lede { color: rgba(255,255,255,.75); }
.gal { list-style: none; padding: 0; margin: 36px 0 0; columns: 3 260px; column-gap: 14px; }
.gal li { break-inside: avoid; margin-bottom: 14px; }
.zoom { all: unset; box-sizing: border-box; display: block; position: relative; width: 100%; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--ink-2);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); outline: 1px solid rgba(224,169,46,.18); outline-offset: -1px; }
.zoom:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* whole photo, never cropped: natural aspect ratio */
.zoom img { display: block; width: 100%; height: auto; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .4s; }
.zoom:hover img { transform: scale(1.04); filter: brightness(1.06); }
.gal-cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 8px; font-size: .84rem; font-weight: 500; line-height: 1.35; color: var(--white); background: rgba(8,40,51,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gal-cap::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.photo-strip { padding: 0 0 88px; background: var(--white); }
.gal-row { columns: 3 240px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5,22,28,.92); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 12px; padding: 56px 16px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { color: rgba(255,255,255,.85); text-align: center; }
.lightbox button { position: absolute; border: 0; cursor: pointer; color: var(--white); background: rgba(255,255,255,.12); width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox button:hover { background: var(--gold); color: var(--ink); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Gigamall photo: start wide so Gigamall is obvious, then the camera drifts slowly onto the blue building.
   --x/--y = Bin's Office building, --gx/--gy = Gigamall, in % of the frame. --s is the zoom, animated once. */
@property --s { syntax: "<number>"; inherits: true; initial-value: 1; }
.spot-frame { --x: 63.9%; --y: 61%; --gx: 27%; --gy: 34%; --s: 1; --tx: 50%;
  position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink);
  transition: --s 6.5s cubic-bezier(.45,0,.25,1) 2.4s; }
.spot.in .spot-frame { --s: 1.6; }
.spot-frame img { display: block; width: 100%; height: auto; transform: scale(var(--s)); transform-origin: var(--x) var(--y); }
.spot-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 2s 7s;
  background: radial-gradient(circle at var(--x) var(--y), transparent 0 60px, rgba(11,51,65,.45) 230px); }
.spot.in .spot-frame::after { opacity: 1; }
/* Gigamall label rides along with the zoom: same maths as the image transform */
.spot-gm { position: absolute; z-index: 2; left: max(6px, calc(var(--x) + (var(--gx) - var(--x)) * var(--s) - 22px)); top: calc(var(--y) + (var(--gy) - var(--y)) * var(--s));
  translate: 0 -100%; padding: 5px 11px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .85rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); opacity: 0; transition: opacity .7s .5s; }
.spot-gm::after { content: ""; position: absolute; left: 22px; bottom: -6px; translate: -50% 0; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--white); }
.spot.in .spot-gm { opacity: 1; }
.spot-ring { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 70px; height: 92px; translate: -50% -50%; border: 3px solid var(--gold); border-radius: 40%; opacity: 0; transition: opacity .8s 7.2s; box-shadow: 0 0 0 4px rgba(224,169,46,.25); }
.spot-ring::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 3px solid var(--gold); animation: spot-pulse 1.8s infinite; }
@keyframes spot-pulse { to { transform: scale(1.5); opacity: 0; } }
.spot-tag { position: absolute; z-index: 3; left: var(--x); top: calc(var(--y) - 50px); translate: calc(var(--tx) * -1) -100%; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .9rem; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); opacity: 0; transition: opacity .8s 7.6s, translate .8s 7.6s; }
.spot-tag::after { content: ""; position: absolute; left: var(--tx); bottom: -7px; translate: -50% 0; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--gold); }
.spot.in .spot-ring, .spot.in .spot-tag { opacity: 1; }
.spot.in .spot-tag { translate: calc(var(--tx) * -1) -110%; }

/* Fade-up on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Language switcher */
.langs { position: relative; border: 0; } /* undo the FAQ details/summary styling */
.langs summary { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: var(--white); font-size: .85rem; font-weight: 600; cursor: pointer; list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { position: static; transform: none; font: inherit; content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; margin: -3px 2px 0 2px; transition: rotate .2s; }
.langs[open] summary::after { rotate: 225deg; margin-top: 3px; transform: none; }
.langs summary .ico { width: 16px; height: 16px; color: var(--gold); }
.langs summary:hover { border-color: var(--gold); }
.langs nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 150px; display: grid; padding: 6px; background: var(--ink); border: 1px solid rgba(224,169,46,.45); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.langs nav a { padding: 10px 12px; border-radius: 8px; color: var(--white); text-decoration: none; font-weight: 500; }
.langs nav a:hover { background: rgba(255,255,255,.08); }
.langs nav a[aria-current] { color: var(--gold); font-weight: 700; }

/* Side toolbar: a small tab on the left edge; the full list opens only when tapped */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rail ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; background: rgba(11,51,65,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(224,169,46,.45); border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); }
.rail a { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--gold); text-decoration: none; transition: background .15s, color .15s; }
.rail a:hover, .rail a:focus-visible, .rail a[aria-current] { background: var(--gold); color: var(--ink); }
.rail-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(5,22,28,.5); }


@media (max-width: 1020px) {
  .mainnav { display: none; }
  .fit-list, .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row::before { display: none; }
  .facts-row { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .facts-row li:nth-child(3) { border-left: 0; padding-left: 0; }
}
/* wider side gutter so the pull-out tab never covers text */
.wrap { width: min(1160px, 100% - 60px); }
.narrow { width: min(760px, 100% - 60px); }
/* the rail itself must not be transformed, or the fixed drawer would be trapped inside it */
.rail, .rail.is-shown, .rail.is-open { position: static; translate: none; }
.rail-toggle { position: fixed; z-index: 44; left: 0; top: 50%; translate: -100% -50%; transition: translate .4s cubic-bezier(.2,.7,.2,1); }
.rail.is-shown .rail-toggle { translate: 0 -50%; }
.rail-toggle { display: grid; justify-items: center; gap: 6px; width: 26px; padding: 10px 0; border: 0; border-radius: 0 10px 10px 0; cursor: pointer;
  background: var(--gold); color: var(--ink); font: 600 .72rem var(--body); box-shadow: 4px 8px 20px -8px rgba(0,0,0,.5); }
.rail-toggle span { writing-mode: vertical-rl; letter-spacing: .04em; }
.lang-zh .rail-toggle span { letter-spacing: .3em; }
.rail-toggle .ico { width: 16px; height: 16px; }
.rail-toggle span { font-size: .68rem; }
.rail-panel { position: fixed; z-index: 47; left: 0; top: 0; bottom: 0; width: min(300px, 82vw); padding: 18px 14px; background: var(--ink); border-right: 2px solid var(--gold);
  translate: -105% 0; transition: translate .35s cubic-bezier(.2,.7,.2,1); overflow-y: auto; }
.rail.is-open .rail-panel { translate: 0 0; }
.rail.is-open .rail-toggle { visibility: hidden; }
.rail-title { display: flex; justify-content: space-between; align-items: center; margin: 0 4px 12px; font: 700 1rem var(--display); color: var(--gold); }
.rail-close { background: none; border: 0; color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.rail ul { border-radius: var(--r-lg); padding: 6px; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; backdrop-filter: none; }
.rail a { width: auto; height: auto; place-items: initial; display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 10px; color: var(--white); }
.rail a .ico { color: var(--gold); }
.rail a:hover .ico, .rail a[aria-current] .ico { color: var(--ink); }
.rail a span { position: static; translate: none; opacity: 1; padding: 0; background: none; color: inherit; box-shadow: none; font-size: 1rem; }

@media (max-width: 860px) {
  .split, .calc-grid, .footer-grid, .post-list { grid-template-columns: 1fr; gap: 36px; }
  .split-rev .media { order: 2; }
  .result { grid-column: auto; grid-row: auto; }
  .calc-grid { padding: 20px; }
  .board { padding: 4px 16px; }
  .board li { grid-template-columns: 44px 1fr; gap: 6px 14px; }
  .board .price { grid-column: 2; }
  .floor { width: 40px; height: 40px; font-size: 1rem; }
  .stage::after { background: linear-gradient(0deg, rgba(11,51,65,.94) 0%, rgba(11,51,65,.5) 55%, rgba(11,51,65,.2) 100%); }
  .captions { bottom: 48px; padding-right: 56px; } /* keep clear of the corner buttons */
  .cap .btn-ghost { display: none; }
  /* phones: a column of round buttons in the bottom-right corner */
  .float-contact { right: 12px; bottom: 128px; gap: 10px; }
  .float-contact a { height: 50px; min-width: 50px; width: 50px; padding: 0; }
  .fc-num { display: none; }
  .fc-zalo { font-size: .8rem; }
  .fc-book { display: flex; background: var(--ink); color: var(--gold); box-shadow: 0 10px 24px -8px rgba(11,51,65,.55), 0 0 0 2px var(--gold) inset; }
  .fc-book .ico { width: 22px; height: 22px; }
  .chat { bottom: 72px; right: 12px; }
  .chat-toggle { padding: 12px 16px; }
  .media video, .split-rev .media video { box-shadow: 10px 10px 0 var(--gold); }
  .book-form { padding: 22px; }
  .book-form .row2 { grid-template-columns: 1fr; }
  .gal, .gal-row { columns: 2; column-gap: 10px; }
  .gal li { margin-bottom: 10px; }
  .zoom { border-radius: 10px; }
  .gal-cap { left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: .72rem; padding: 4px 7px; }
  .gal-cap::before { display: none; }
  .footer { padding-bottom: 96px; }
  .gallery { padding: 72px 0; }
  .map { height: 340px; }
  /* taller crop on phones; object-position = marker point keeps the marker aligned */
  /* taller crop that still holds both Gigamall and the building; positions recomputed for this crop */
  .spot-frame { aspect-ratio: 16 / 10; --x: 78%; --gx: 15%; --tx: 72%; }
  .spot-frame img { height: 100%; object-fit: cover; object-position: 45% 50%; }
  .spot.in .spot-frame { --s: 1.2; }
  .spot-ring { width: 48px; height: 66px; }
  .spot-tag { top: calc(var(--y) - 36px); font-size: .82rem; padding: 6px 11px; }
  .spot-gm { font-size: .78rem; }
}
/* Phones: the comparison table becomes stacked cards, nothing to swipe sideways */
@media (max-width: 700px) {
  .table-scroll { overflow: visible; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: 0 12px 28px -20px rgba(11,51,65,.5); }
  .compare tbody th { width: auto; padding: 14px 16px 10px; border: 0; font: 700 1rem var(--display); color: var(--ink); }
  .compare tbody td { padding: 10px 16px 12px 50px; border: 0; }
  .compare tbody td::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
  .compare tbody td::after { top: 14px; left: 16px; }
  .compare tbody td.us { padding-bottom: 14px; }
  .compare tbody td.us::before { color: var(--gold); opacity: 1; }
  .compare tbody tr:last-child .us { border-radius: 0; }
}

@media (max-width: 560px) {
  .topbar .btn-gold { display: none; }
  .brand-name { display: none; }
  .topbar { gap: 8px; }
  .fit-list, .steps-row { grid-template-columns: 1fr; }
  .facts-row { gap: 16px 12px; padding: 22px 0; }
  .facts-row li { border-left: 0; padding: 0; }
  .facts-row b { font-size: 1rem; }
  .facts-row span { font-size: .85rem; }
  .spec th, .spec td { padding: 12px; }
  .spec td { white-space: normal; width: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fc-call::after, .spot-ring::after { animation: none; }
  .spot-frame, .spot-frame::after, .spot-ring, .spot-tag, .spot-gm { transition: none; }
}
