:root {
  --ink: #232c31;
  --muted: #5c666a;
  --accent: #a94313;
  --orange: #ec792a;
  --line: #deded7;
  --paper: #f8f8f4;
  --serif: Georgia, "Times New Roman", serif;
  font: 16px/1.6 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, .button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #3d80ab; outline-offset: 3px; }
.container { width: min(1280px, 91%); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: -100px; left: 10px; background: white; padding: 12px; z-index: 20; }
.skip:focus { top: 8px; }
.masthead { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 6; }
.masthead-inner, .main-nav, .header-actions, .header-contact, .hero-actions, .hotlines, .location, .button, .text-action, .to-top, .floating-contact, .side-phones a, .footer-phones a, .hotlines a, .choice a { display: flex; align-items: center; }
.masthead-inner { min-height: 74px; justify-content: space-between; gap: 22px; }
.brand img { width: 122px; height: auto; }
.main-nav { gap: clamp(18px, 2.5vw, 42px); font-size: .95rem; font-weight: 600; }
.main-nav a { padding-block: 12px; }
.main-nav a:hover, .contents a:hover, .footer-zalo a:hover, .breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { gap: 8px; }
.header-contact { border: 1px solid #d9c4b8; border-radius: 4px; padding: 9px 15px; gap: 8px; color: var(--accent); font-weight: 650; font-size: .91rem; }
.header-contact:hover, .secondary:hover { background: #f6eee7; }
.menu-toggle { display: none; }
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 20px; color: var(--muted); font-size: .8rem; }
.breadcrumb b { color: var(--ink); font-weight: 600; }
.project { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 68px); align-items: center; padding: 4px 0 33px; }
.gallery-frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 5px; background: #303a34; }
#cover { width: 100%; height: auto; aspect-ratio: 1.97; object-fit: cover; }
.gallery-frame::after { content: ""; position: absolute; z-index: 0; inset: 55% 0 0; background: linear-gradient(transparent, #101b20c9); pointer-events: none; }
.image-control { display: grid; place-items: center; position: absolute; z-index: 1; border: 1px solid #ffffff80; color: white; background: #18212588; width: 34px; height: 34px; border-radius: 50%; }
.image-control:hover { background: #172026dd; }
.expand { top: 13px; right: 13px; border-radius: 4px; }
.prev, .next { top: 50%; transform: translateY(-50%); }
.prev { left: 12px; } .next { right: 12px; }
.photo-caption { position: absolute; bottom: 12px; inset-inline: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 1; color: white; font-size: .87rem; font-weight: 550; }
#photo-count { font-size: .74rem; font-variant-numeric: tabular-nums; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 10px; }
.thumb { padding: 2px; border: 2px solid transparent; background: transparent; border-radius: 4px; }
.thumb[aria-pressed="true"] { border-color: var(--accent); }
.thumb img { width: 100%; height: auto; aspect-ratio: 2.15; object-fit: cover; border-radius: 1px; }
.thumb:hover img { filter: brightness(1.08); }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1 { font: 500 clamp(4.2rem, 6vw, 6rem)/1.03 var(--serif); letter-spacing: -.065em; }
h1 span { display: block; margin-bottom: 7px; color: var(--accent); font: 700 .78rem/1.4 "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.location { gap: 5px; margin-top: 12px; color: var(--muted); font-size: .91rem; }
.location .icon { width: 16px; color: var(--accent); }
.description { margin-block: 17px 20px; line-height: 1.65; color: #495255; font-size: .95rem; }
.metrics { display: flex; padding-block: 14px; border-block: 1px solid var(--line); }
.metrics div { padding-inline: 6%; border-left: 1px solid var(--line); }
.metrics div:first-child { border: 0; padding-left: 0; }
.metrics dt { color: var(--muted); font-size: .77rem; }
.metrics dd { font: 500 clamp(1.65rem, 2vw, 2.05rem)/1.25 var(--serif); }
.metrics small { font-size: 65%; }
.hero-actions { gap: 9px; flex-wrap: wrap; margin-top: 23px; }
.button { justify-content: center; padding: 10px 16px; border: 1px solid; border-radius: 4px; font-size: .92rem; font-weight: 650; gap: 12px; }
.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.primary:hover, .floating-contact:hover { background: #83350e; }
.secondary { border-color: #c1bdb6; }
.hotlines { flex-wrap: wrap; gap: 8px 20px; margin-top: 15px; }
.hotlines a, .side-phones a, .footer-phones a { gap: 7px; font-variant-numeric: tabular-nums; }
.hotlines a { font-size: .9rem; font-weight: 600; }
.hotlines .icon, .side-phones .icon { width: 15px; color: var(--accent); }
.hotlines a:hover, .side-phones a:hover { color: var(--accent); text-decoration: underline; }
.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: clamp(35px, 6vw, 95px); padding-block: 32px 66px; }
.article-bar { display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.article-bar a, .article-bar button { padding: 0 0 12px; background: none; border: 0; font-weight: 600; font-size: .93rem; }
.article-bar a { border-bottom: 2px solid var(--accent); color: var(--accent); }
.article-bar button { color: var(--muted); }
article { line-height: 1.75; }
article h2 { margin: 50px 0 20px; font: 500 clamp(1.85rem, 3vw, 2.8rem)/1.19 var(--serif); letter-spacing: -.035em; }
article h2:first-child { margin-top: 25px; }
article h3 { font-size: 1.3rem; line-height: 1.35; margin: 26px 0 12px; }
article p, article figure, article ul, article ol { margin-block: 10px 16px; }
article ul, article ol { padding-left: 1.45em; }
article img { height: auto; margin-inline: auto; border-radius: 3px; }
article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
article table { width: 100%; border-collapse: collapse; font-size: .95rem; }
article th, article td { padding: 12px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
article th { background: #f4f4ee; }
.facts-table th { width: 24%; }
article td > :first-child { margin-top: 0; } article td > :last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }
.amenities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 20px; }
.article-contact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; border-left: 3px solid var(--orange); background: var(--paper); padding: 16px 20px; margin: 25px 0; }
.article-contact p { margin: 0; } .article-contact p span { margin: 0 6px; }
.text-action { width: fit-content; gap: 8px; color: var(--accent); font-size: .92rem; font-weight: 650; }
.side { border-left: 1px solid var(--line); padding-left: 24px; }
.side-inner { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.side h2 { font-size: 1.08rem; margin-bottom: 12px; }
.contents { display: flex; flex-direction: column; align-items: stretch; gap: 1px; }
.contents a { font-size: .93rem; padding: 6px 12px; border-left: 2px solid transparent; }
.contents a[aria-current="location"] { border-color: var(--orange); background: #fbf2e9; color: var(--accent); font-weight: 600; }
.side-contact { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.side-phones { display: grid; gap: 6px; margin-block: 10px; font-weight: 600; }
footer { background: #28332f; color: #fff; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 26px; padding-block: 44px 60px; }
.footer-brand { font: 2.6rem/1.05 var(--serif); margin-bottom: 10px; }
footer p, .footer-zalo { color: #dee1d9; }
footer h2 { font-size: 1rem; margin-bottom: 8px; }
.footer-phones, .footer-zalo { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-zalo { font-size: .83rem; margin-top: 8px; }
.to-top { gap: 6px; font-size: .88rem; }
.floating-contact { position: fixed; bottom: 18px; right: 18px; gap: 8px; padding: 10px 16px; border-radius: 30px; border: 1px solid #ffffff80; color: white; background: var(--accent); box-shadow: 0 5px 15px #41342424; font-weight: 600; font-size: .9rem; z-index: 5; }
dialog { color: var(--ink); border: 0; border-radius: 8px; box-shadow: 0 18px 75px #19242044; }
dialog::backdrop { background: #101a1cb8; }
.dialog { width: min(430px, calc(100% - 32px)); padding: 34px 28px 22px; }
.dialog h2 { font: 2rem/1.2 var(--serif); margin-bottom: 10px; }
.dialog p { color: var(--muted); font-size: .94rem; }
.dialog .dialog-project { color: var(--accent); font-weight: 650; margin-bottom: 4px; }
.close-dialog { position: absolute; right: 9px; top: 9px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #edf0ea; }
.choice, .choice div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.choice { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.choice a { gap: 5px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: .87rem; }
.choice .icon { width: 15px; }
.choice-call { background: var(--accent); color: white; }
#lightbox { width: fit-content; max-width: min(92vw, 1600px); padding: 8px; background: #131918; color: #fff; }
#lightbox img { max-height: 81vh; width: auto; object-fit: contain; }
#lightbox p { text-align: center; padding-block: 8px 2px; }
#review .stars { color: var(--accent); letter-spacing: 2px; }
#review blockquote { margin: 12px 0; }
@media (max-width: 1000px) {
  .project { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
  .body-grid { grid-template-columns: minmax(0, 1fr) 195px; gap: 28px; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 75px; }
  .container { width: min(92%, 610px); }
  .masthead-inner { min-height: 61px; }
  .brand img { width: 99px; }
  .header-contact { padding: 7px 10px; }
  .menu-toggle { display: grid; width: 38px; height: 38px; place-items: center; border: 0; background: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 10px 4% 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 10px 12px #0001; }
  .main-nav.open { display: grid; gap: 0; }
  .main-nav a { padding: 8px 10px; }
  .breadcrumb { padding-block: 14px; gap: 7px; font-size: .73rem; }
  .project { display: flex; flex-direction: column; align-items: stretch; gap: 19px; padding-bottom: 28px; }
  h1 { font-size: 3.8rem; }
  .description { margin-block: 12px 17px; }
  .thumbs { gap: 5px; margin-top: 6px; }
  .hero-actions { margin-top: 17px; }
  .body-grid { display: block; padding-block: 25px 45px; }
  .side { display: none; }
  .facts-table th, .facts-table td { padding: 8px; }
  .facts-table th { width: 27%; }
  .amenities-grid { grid-template-columns: 1fr; }
  .floating-contact { bottom: max(12px, env(safe-area-inset-bottom)); right: 12px; padding: 12px; }
  .floating-contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
