/* =========================================================
   Mekong District · Landing page — Quiet luxury
   Màu theo Mekong District New Guideline:
   Key #B85D39 · Neutral #CCC8BF · Soft #505E4F · Deep #2C3636
   ========================================================= */
:root {
  --paper: #f4f2ed;
  --paper-2: #ebe7df;
  --stone: #ccc8bf;
  --deep: #2c3636;
  --deep-2: #212929;
  --soft: #505e4f;
  --terra: #b85d39;
  --terra-ink: #9a4a2b;   /* terracotta cho chữ nhỏ trên nền sáng (5.5:1) */
  --terra-lt: #e3a583;    /* terracotta cho chữ trên nền tối (5.9:1) */
  --ink: #1f2828;
  --muted: #5a6462;
  --on-dark: #f4f2ed;
  --on-dark-2: #b9bfbb;
  --line: rgba(31, 40, 40, .14);
  --line-lt: rgba(244, 242, 237, .16);

  --ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 11vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--ff-body); font-weight: 300; font-size: 1rem; line-height: 1.75;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dialog { padding: 0; border: 0; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
::selection { background: var(--stone); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--deep); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 40px; height: 40px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--terra-ink);
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--terra-lt); }
.h2 {
  font-family: var(--ff-display); font-weight: 400; color: var(--ink);
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); line-height: 1.06; letter-spacing: -.01em; text-wrap: balance;
}
.h2--light { color: var(--on-dark); }
.h3 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.12; }
.h3--light { color: var(--on-dark); }
.lead { font-size: clamp(1.02rem, .96rem + .25vw, 1.14rem); color: var(--muted); max-width: 54ch; }
.lead--light { color: var(--on-dark-2); }
.body { color: var(--muted); max-width: 60ch; margin-top: 22px; }
.body--light { color: var(--on-dark-2); }
.muted { color: var(--muted); }
.fine { margin-top: 18px; font-size: .8rem; line-height: 1.6; font-style: italic; color: var(--muted); max-width: 120ch; }
.section-head { margin-bottom: clamp(44px, 6vw, 88px); }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 120px); align-items: end; }
.section-head--split .lead { padding-bottom: .5em; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--deep); --fg: var(--on-dark); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: var(--r); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hov, rgba(255, 255, 255, .12)); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn .icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .icon[aria-hidden] { transform: translateX(4px); }
.btn--primary { --bg: var(--terra); --fg: #fff; --hov: var(--terra-ink); }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); --bd: rgba(244, 242, 237, .5); --hov: rgba(244, 242, 237, .14); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--line); --hov: var(--paper-2); }
.btn--dark { --bg: var(--deep); --fg: var(--on-dark); --hov: var(--soft); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .72rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; color: var(--terra-ink); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; }
.link-arrow .icon { width: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-btn { border: 0; background: none; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.round-btn:hover { background: var(--deep); color: var(--on-dark); border-color: var(--deep); }
.round-btn--light { color: var(--on-dark); border-color: var(--line-lt); }
.round-btn--light:hover { background: var(--on-dark); color: var(--deep); border-color: var(--on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--ink);
  background: rgba(244, 242, 237, .92); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease), height .5s var(--ease);
}
.site-header.is-overlay:not(.is-scrolled) { background: transparent; color: var(--on-dark); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { --header-h: 70px; height: 70px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.brand { display: inline-flex; color: inherit; flex: none; }
.brand__logo { width: auto; height: 54px; aspect-ratio: 149 / 144; transition: height .5s var(--ease); }
.is-scrolled .brand__logo { height: 46px; }
.site-header:not(.is-overlay) .brand__logo, .site-header.is-scrolled .brand__logo { color: var(--deep); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(12px, 1.5vw, 28px); }
.nav ul a { position: relative; padding: 6px 0; white-space: nowrap; font-size: .7rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.nav ul a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__foot { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }

/* Nút 360° trên thanh đầu trang */
.v360 { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 4px 14px 4px 4px; border: 1px solid currentColor; border-radius: 999px; transition: background-color .4s, color .4s; }
.v360:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.v360__ring { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: #fff; }
.v360__ring::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px dashed currentColor; opacity: .6; animation: spin 14s linear infinite; color: var(--terra); }
.v360__ring b { font-size: .66rem; font-weight: 500; letter-spacing: .02em; }
.v360__label { font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.hotline { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: .92rem; letter-spacing: .06em; }
.hotline .icon { width: 18px; height: 18px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: none; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1480px) { .hotline__num { display: none; } .hotline { width: 44px; height: 44px; justify-content: center; border: 1px solid currentColor; border-radius: 50%; } }
@media (max-width: 1280px) { .v360__label { display: none; } .v360 { padding: 4px; } }
@media (max-width: 1140px) {
  :root { --header-h: 70px; }
  .menu-btn { display: grid; }
  .brand__logo { height: 46px; }
  .header-cta, .hotline { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--deep); color: var(--on-dark);
    padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
  }
  .nav.is-open { clip-path: inset(0); visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; font-family: var(--ff-display); font-size: clamp(1.9rem, 6vw, 2.6rem); letter-spacing: 0; text-transform: none; padding: 8px 0; border-bottom: 1px solid var(--line-lt); }
  .nav ul a::after { display: none; }
  .nav__foot { display: grid; gap: 14px; }
  .nav__hotline, .nav__360 { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.05rem; }
  .nav__hotline { color: var(--terra-lt); font-size: 1.4rem; font-family: var(--ff-display); }
  .site-header.is-overlay:not(.is-scrolled) .brand__logo { color: var(--on-dark); }
  body.nav-open .site-header { background: var(--deep); color: var(--on-dark); border-color: var(--line-lt); }
  body.nav-open .brand__logo { color: var(--on-dark) !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); background: var(--deep); overflow: hidden; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-active img { animation: kenburns 12s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { background: linear-gradient(180deg, rgba(33, 41, 41, .55) 0%, rgba(33, 41, 41, 0) 26%, rgba(33, 41, 41, 0) 46%, rgba(33, 41, 41, .82) 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(36px, 6vh, 64px); }
.hero__title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.8rem, 1.2rem + 6.4vw, 7rem); line-height: .98; letter-spacing: -.015em; max-width: 13ch; text-wrap: balance; }
.hero__sub { max-width: 46ch; margin-top: 26px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(244, 242, 237, .86); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
[data-hero-in] { opacity: 0; transform: translateY(26px); animation: heroIn 1.3s var(--ease) forwards; animation-delay: calc(.25s + var(--i, 0) * .14s); }
.hero__eyebrow { --i: 0; color: var(--on-dark); text-shadow: 0 1px 12px rgba(33, 41, 41, .5); } .hero__title { --i: 1; } .hero__sub { --i: 2; } .hero__cta { --i: 3; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__bar { position: relative; z-index: 2; border-top: 1px solid var(--line-lt); }
.hero__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.hero__stats { display: flex; gap: clamp(20px, 5vw, 72px); }
.hero__stats li { display: grid; }
.hero__stats b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.1; }
.hero__stats span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-2); }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.hero__dots span { width: 28px; height: 1px; background: rgba(244, 242, 237, .4); position: relative; overflow: hidden; }
.hero__dots span::after { content: ''; position: absolute; inset: 0; background: var(--on-dark); transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-pressed="true"] span::after { animation: fillx 6.5s linear forwards; }
@keyframes fillx { to { transform: scaleX(1); } }
@media (max-width: 640px) {
  .hero__stats { gap: 18px; } .hero__stats li:nth-child(n+4) { display: none; }
  .hero__dots { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Reveal & motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(18% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
[data-reveal="mask"] img { transform: scale(1.14); transition: transform 2s var(--ease); }
[data-reveal="mask"].is-in { clip-path: inset(0); }
[data-reveal="mask"].is-in img { transform: scale(1); }
[data-parallax] { will-change: transform; }
.no-js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
@media (max-width: 767px) { [data-reveal] { transform: translateY(16px); transition-duration: .7s; transition-delay: calc(var(--d, 0) * 50ms); } }

/* ---------- Intro ---------- */
.intro { padding: var(--section) 0 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 140px); align-items: start; }
.quote { margin: 0; font-family: var(--ff-display); font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); line-height: 1.4; font-style: italic; color: var(--ink); }
.quote .hl { font-weight: 500; font-style: normal; color: var(--terra-ink); }
.wide-img { margin-top: clamp(64px, 8vw, 120px); height: clamp(320px, 62vw, 820px); overflow: hidden; }
.wide-img__in { height: 118%; margin-top: -9%; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.facts div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--ff-display); font-size: 1.3rem; line-height: 1.3; }
@media (max-width: 1023px) { .intro__grid { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Texture (ChatGPT image_gen: river contour lines) ---------- */
.legacy, .amenities, .policy, .contact { position: relative; isolation: isolate; }
.legacy::before, .policy__bg, .contact::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: right center / cover no-repeat; mix-blend-mode: screen; opacity: .14;
}
.is-loaded .legacy::before, .is-loaded .policy__bg, .is-loaded .contact::before { background-image: url('../img/river-lines.webp'); }

/* ---------- Legacy (Diamond City) ---------- */
.legacy { margin-top: var(--section); padding: var(--section) 0; background: var(--deep); color: var(--on-dark); }
.legacy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border-top: 1px solid var(--line-lt); }
.numbers li { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line-lt); display: grid; gap: 6px; }
.numbers__v { display: flex; align-items: baseline; gap: 6px; }
.numbers__v b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); line-height: 1; color: var(--on-dark); }
.numbers__v small { font-size: 1rem; color: var(--terra-lt); }
.numbers__l { font-size: .82rem; color: var(--on-dark-2); }
.legacy__img { aspect-ratio: 4 / 5; overflow: hidden; }
.legacy__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .legacy__grid { grid-template-columns: 1fr; } .legacy__img { aspect-ratio: 4 / 3; } }

/* ---------- Video ---------- */
.video-sec { padding: var(--section) 0 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep); }
.video__frame > img, .video__frame iframe, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(33, 41, 41, .7), rgba(33, 41, 41, 0) 55%); pointer-events: none; }
.video.is-playing .video__frame::after, .video.is-playing .video__caption, .video.is-playing .video__play { display: none; }
.video__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 1px solid rgba(244, 242, 237, .7); background: rgba(33, 41, 41, .25); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: transform .5s var(--ease), background-color .4s; }
.video__play:hover { transform: scale(1.06); background: var(--terra); border-color: var(--terra); }
.video__play .icon { width: 26px; height: 26px; margin-left: 4px; stroke: none; }
.video__caption { position: absolute; z-index: 1; left: clamp(20px, 4vw, 48px); bottom: clamp(20px, 4vw, 40px); color: var(--on-dark); }
.video__title { font-family: var(--ff-display); font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); line-height: 1.1; }

/* ---------- Location ---------- */
.location { padding: var(--section) 0; }
.location__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.timeline { margin-top: 40px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline__min { display: flex; align-items: baseline; gap: 6px; }
.timeline__min b { font-family: var(--ff-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--terra-ink); }
.timeline__min small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.timeline__places { display: grid; font-size: .92rem; color: var(--muted); padding-top: 4px; }
.map { position: sticky; top: calc(var(--header-h) + 24px); }
.map__viewer { position: relative; aspect-ratio: 3507 / 2659; overflow: hidden; background: #ecebe7; touch-action: none; cursor: grab; outline-offset: 4px; }
.map__viewer.is-dragging { cursor: grabbing; }
.map__canvas { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 3507 / 2659; transform-origin: 0 0; will-change: transform; }
.map__canvas.is-animating { transition: transform .6s var(--ease); }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 2s var(--ease); user-select: none; -webkit-user-drag: none; }
.map.is-live .map__img { opacity: 1; transform: none; }
.map__pulse { position: absolute; left: calc(var(--px, .5) * 100%); top: calc(var(--py, .5) * 100%); width: 0; height: 0; pointer-events: none; }
.map__pulse i { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 1.5px solid var(--terra); opacity: 0; }
.map.is-live .map__pulse i { animation: pulse 3.6s ease-out infinite 1.2s; }
.map.is-live .map__pulse i:nth-child(2) { animation-delay: 2.4s; }
.map.is-live .map__pulse i:nth-child(3) { animation-delay: 3.6s; }
@keyframes pulse { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map__tools { position: absolute; right: 14px; top: 14px; display: grid; gap: 6px; z-index: 2; }
.map__tools button { width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.map__tools button:hover { background: var(--deep); color: var(--on-dark); }
.map__hint { margin-top: 12px; font-size: .76rem; color: var(--muted); text-align: right; }
@media (max-width: 1023px) { .location__grid { grid-template-columns: 1fr; } .map { position: relative; top: 0; order: -1; } }
@media (max-width: 640px) { .map__viewer { aspect-ratio: 4 / 5; } .timeline li { grid-template-columns: 78px 1fr; } }

/* ---------- USP marquee ---------- */
.usp { padding: clamp(28px, 4vw, 48px) 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); }
.usp__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.usp:hover .usp__track { animation-play-state: paused; }
.usp__list { display: flex; flex: none; }
.usp__list li { display: inline-flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); white-space: nowrap; font-family: var(--ff-display); font-style: italic; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.4rem); line-height: 1.2; color: var(--ink); }
.usp__dot { width: 30px; height: 25px; color: var(--terra); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Zones ---------- */
.zones { padding: var(--section) 0; background: var(--paper-2); }
.zones__list { display: grid; gap: clamp(72px, 10vw, 160px); }
.zone { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.zone--rev .zone__img { order: 2; }
.zone__img { aspect-ratio: 4 / 3; overflow: hidden; }
.zone__img > div { height: 116%; margin-top: -8%; }
.zone__img img { width: 100%; height: 100%; object-fit: cover; }
.zone__text { position: relative; }
.zone__n { display: block; font-family: var(--ff-display); font-size: clamp(4rem, 3rem + 4vw, 7.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--stone); margin-bottom: 18px; }
.zone__status { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border: 1px solid var(--terra-ink); color: var(--terra-ink); font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.zone__name { font-family: var(--ff-display); font-size: clamp(2.6rem, 2rem + 2.4vw, 4.2rem); line-height: 1; }
.zone__tag { margin-top: 10px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.zone .link-arrow { margin-top: 30px; }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } .zone--rev .zone__img { order: 0; } .zone__n { font-size: 3.6rem; } }

/* ---------- Amenities ---------- */
.amenities { padding: var(--section) 0; background: var(--deep); color: var(--on-dark); overflow: hidden; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-lt); }
.stats li { padding: 30px 24px 30px 0; border-bottom: 1px solid var(--line-lt); display: grid; gap: 8px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-lt); }
.stats__num { display: flex; align-items: baseline; gap: 6px; }
.stats__num b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.4rem); line-height: 1; }
.stats__num small { color: var(--terra-lt); font-size: 1rem; }
.stats__desc { font-size: .84rem; color: var(--on-dark-2); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stats li:nth-child(3) { padding-left: 0; border-left: 0; } }
.club { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-top: clamp(64px, 8vw, 120px); }
.club__img { aspect-ratio: 16 / 10; overflow: hidden; }
.club__img > div { height: 116%; margin-top: -8%; }
.club__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .club { grid-template-columns: 1fr; } }
.facility { display: grid; gap: clamp(28px, 4vw, 48px); margin-top: clamp(64px, 8vw, 120px); }
.facility__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line-lt); }
.facility__list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-lt); }
.facility__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: #fff; font-size: .78rem; font-weight: 500; }
.facility__list h4 { font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.25; font-weight: 500; }
.facility__list p { font-size: .78rem; color: var(--on-dark-2); }
@media (max-width: 1023px) { .facility__list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (max-width: 560px) { .facility__list { grid-template-columns: 1fr; } }

.zoomable { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-in; }
.zoomable img { width: 100%; transition: transform 1.2s var(--ease); }
.zoomable:hover img { transform: scale(1.03); }
.zoomable__badge { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(33, 41, 41, .82); color: var(--on-dark); font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.zoomable__badge .icon { width: 15px; height: 15px; }

/* Carousel */
.carousel { margin-top: clamp(56px, 7vw, 100px); }
.carousel__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 clamp(240px, 30vw, 400px); scroll-snap-align: start; }
.carousel__item--wide { flex-basis: clamp(300px, 48vw, 660px); }
.carousel__item .zoomable { height: clamp(300px, 36vw, 520px); }
.carousel__item img { height: 100%; object-fit: cover; }
.carousel__item figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.amenities .carousel__item figcaption { color: var(--on-dark-2); }
.carousel__nav { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.carousel__bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.amenities .carousel__bar { background: var(--line-lt); }
.carousel__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: currentColor; transition: transform .4s var(--ease), width .4s; }

/* ---------- Units ---------- */
.units { padding: var(--section) 0; }
.units__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.table-wrap { display: grid; gap: 22px; }
.utable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.utable th, .utable td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.utable thead th { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.utable tbody th { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 500; white-space: nowrap; }
.utable td { color: var(--muted); }
.layouts__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.layouts__tabs::-webkit-scrollbar { display: none; }
.layouts__tabs button { flex: none; display: grid; gap: 2px; text-align: left; padding: 12px 18px 14px; border: 0; background: none; position: relative; color: var(--muted); transition: color .3s; }
.layouts__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--terra); transform: scaleX(0); transition: transform .45s var(--ease); }
.layouts__tabs b { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 500; line-height: 1.1; }
.layouts__tabs small { font-size: .72rem; }
.layouts__tabs button[aria-selected="true"] { color: var(--ink); }
.layouts__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.layouts__stage { margin-top: 18px; background: #fff; }
.layouts__panel:not([hidden]) { animation: fadeIn .6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@media (max-width: 1023px) { .units__grid { grid-template-columns: 1fr; } .layouts { order: -1; } }
.mockup { margin-top: clamp(80px, 10vw, 140px); }
.mockup__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.mockup .carousel { margin-top: 28px; }

/* ---------- Policy ---------- */
.policy { padding: var(--section) 0 clamp(56px, 7vw, 96px); color: var(--on-dark); background: linear-gradient(160deg, var(--soft) 0%, var(--deep) 62%, var(--deep-2) 100%); overflow: hidden; }
.policy__bg { opacity: .18; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line-lt); }
.perks li { display: grid; align-content: start; gap: 6px; padding: 30px 24px 30px 0; border-bottom: 1px solid var(--line-lt); }
.perks li + li { padding-left: 24px; border-left: 1px solid var(--line-lt); }
.perks small { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-2); min-height: 1.2em; }
.perks__num { display: flex; align-items: baseline; gap: 8px; }
.perks__num b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.6rem, 2rem + 2.2vw, 4rem); line-height: 1; }
.perks__num em { font-style: normal; color: var(--terra-lt); }
.perks__label { font-size: .86rem; color: var(--on-dark-2); }
@media (max-width: 760px) { .perks li + li { padding-left: 0; border-left: 0; } }
.event-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px 18px; border: 1px solid var(--terra-lt); color: var(--terra-lt); }
.policy__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(48px, 6vw, 88px); }
.policy__grid--solo { grid-template-columns: 1fr; }
.policy__grid--solo .policy__side { grid-template-columns: 1fr 1fr; align-items: start; }
.policy__side { display: grid; gap: 20px; }
.quote-card { padding: clamp(24px, 3vw, 36px); background: var(--paper); color: var(--ink); }
.quote-card__t { font-family: var(--ff-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.15; }
.quote-card__s { margin-top: 10px; color: var(--muted); font-size: .92rem; }
.quote-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.quote-card .btn--ghost { --fg: var(--ink); --bd: var(--line); --hov: var(--paper-2); }
.loan { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-lt); background: rgba(33, 41, 41, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.loan__t { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: 1.5rem; }
.loan__t .icon { color: var(--terra-lt); }
.loan__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.loan label { display: grid; gap: 6px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.loan__full { grid-column: 1 / -1; }
.loan input, .loan select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line-lt); border-radius: var(--r); background: rgba(244, 242, 237, .06); color: var(--on-dark); font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.loan select option { color: var(--ink); }
.loan input:focus, .loan select:focus { outline: none; border-color: var(--terra-lt); }
.loan__out { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 0; border-top: 1px solid var(--line-lt); }
.loan__out div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-lt); }
.loan__out dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.loan__out dd { margin: 4px 0 0; font-family: var(--ff-display); font-size: 1.35rem; line-height: 1.2; }
.loan__key dd { color: var(--terra-lt); }
.loan__note { margin-top: 14px; font-size: .74rem; color: var(--on-dark-2); line-height: 1.55; }
.policy__note { margin-top: 40px; font-size: .78rem; color: var(--on-dark-2); font-style: italic; }
@media (max-width: 1023px) { .policy__grid, .policy__grid--solo .policy__side { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .loan__fields, .loan__out { grid-template-columns: 1fr; } }

.slider { position: relative; }
.slider__viewport { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--deep-2); touch-action: pan-y; }
.slider__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity 1s ease, transform 1.6s var(--ease), visibility 0s 1s; }
.slider__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 1s ease, transform 1.6s var(--ease), visibility 0s; }
.slider__slide .zoomable { height: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__controls { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.slider__dots { flex: 1; display: flex; gap: 6px; }
.slider__dots button { flex: 1; height: 28px; border: 0; background: none; padding: 0; position: relative; }
.slider__dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line-lt); }
.slider__dots span { position: absolute; left: 0; top: 13px; height: 1px; width: 0; background: var(--on-dark); }
.slider__dots button[aria-current="true"] span { animation: fill var(--dur, 5s) linear forwards; }
.slider.is-paused .slider__dots button[aria-current="true"] span { animation-play-state: paused; }
.slider__dots button.is-done span { width: 100%; }
@keyframes fill { to { width: 100%; } }
.slider__count { position: absolute; left: 14px; top: 14px; padding: 4px 12px; background: rgba(33, 41, 41, .7); font-size: .72rem; letter-spacing: .14em; pointer-events: none; }

/* ---------- Invest ---------- */
.invest { padding: var(--section) 0; }
.invest__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.invest__img { aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.invest__img > div { height: 116%; margin-top: -8%; }
.invest__img img { width: 100%; height: 100%; object-fit: cover; }
.drivers { border-top: 1px solid var(--line); }
.drivers li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.drivers__icon { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--terra-ink); }
.drivers h3 { font-family: var(--ff-display); font-size: 1.55rem; line-height: 1.2; }
.drivers p { margin-top: 8px; color: var(--muted); font-size: .94rem; }
.invest__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.invest__stats li { padding: 26px 20px 26px 0; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.invest__stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.invest__stats b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1.05; color: var(--terra-ink); }
.invest__stats span { font-size: .84rem; color: var(--muted); }
@media (max-width: 1023px) { .invest__grid { grid-template-columns: 1fr; } .invest__img { position: relative; top: 0; aspect-ratio: 16 / 10; } .invest__stats { grid-template-columns: 1fr 1fr; } .invest__stats li:nth-child(3) { padding-left: 0; border-left: 0; } }

/* ---------- News ---------- */
.news { padding: var(--section) 0; background: var(--paper-2); }
.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.news-card { display: grid; gap: 14px; text-decoration: none; }
.news-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover img { transform: scale(1.04); }
.news-card time { font-size: .7rem; letter-spacing: .2em; color: var(--terra-ink); }
.news-card h3 { font-family: var(--ff-display); font-size: 1.5rem; line-height: 1.2; }
.news-card p { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .news__grid { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }

/* ---------- Partners ---------- */
.partners { padding: var(--section) 0; border-top: 1px solid var(--line); }
.partners__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.partners__nho { width: 180px; margin-bottom: 36px; }
.partners__name { margin-top: 14px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terra-ink); }
.partners__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.partners__list li { display: grid; gap: 16px; align-content: start; padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); }
.partners__list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.partners__logo { height: 72px; display: flex; align-items: center; }
.partners__logo img { max-height: 64px; width: auto; max-width: 150px; filter: grayscale(1) contrast(.9); opacity: .78; transition: filter .5s, opacity .5s; }
.partners__list li:hover img { filter: none; opacity: 1; }
.partners__logo b { font-family: var(--ff-display); font-size: 1.6rem; }
.partners__role { font-size: .78rem; color: var(--muted); }
@media (max-width: 1023px) { .partners__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .partners__list { grid-template-columns: 1fr; } .partners__list li + li { padding-left: 0; border-left: 0; } }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; background: var(--deep); color: var(--on-dark); }
.contact::before { opacity: .1; background-position: left bottom; transform: scaleX(-1); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(36px, 7vw, 120px); align-items: start; }
.contact__hotline { display: inline-grid; margin-top: 34px; text-decoration: none; }
.contact__hotline span { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-2); }
.contact__hotline b { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem); line-height: 1.05; color: var(--terra-lt); }
.contact__list { display: grid; gap: 14px; margin-top: 28px; color: var(--on-dark-2); font-size: .94rem; }
.contact__list li { display: flex; gap: 14px; }
.contact__list b { color: var(--on-dark); font-weight: 500; }
.contact__list .icon { color: var(--terra-lt); margin-top: 4px; }
.gmap { position: relative; margin-top: 30px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep-2); }
.gmap__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.6); }
.gmap__load { position: absolute; inset: auto 0 0; padding: 10px 14px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(33, 41, 41, .7); }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; animation: fadeIn .8s ease; }
.gmap__open { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 14px; padding: 0 20px; border: 1px solid var(--line-lt); color: var(--on-dark); text-decoration: none; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; transition: background-color .3s; }
.gmap__open:hover { background: rgba(244, 242, 237, .08); }
.gmap__open .icon { color: var(--terra-lt); }
.contact__form { padding: clamp(26px, 3.4vw, 44px); background: var(--paper); color: var(--ink); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Lead form ---------- */
.lead-form { position: relative; display: grid; gap: 16px; }
.lead-form__title { font-family: var(--ff-display); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); line-height: 1.1; }
.lead-form__sub { font-size: .9rem; color: var(--muted); margin-top: -6px; margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field label span { color: var(--terra-ink); }
.field input { width: 100%; min-height: 52px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--stone); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.05rem; font-weight: 400; transition: border-color .3s; }
.field input:focus { outline: none; border-color: var(--terra); }
.field input[aria-invalid="true"] { border-color: #b3321f; }
.field__err { font-size: .8rem; color: #a8301d; font-weight: 400; }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { margin-top: 8px; }
.lead-form__note { font-size: .74rem; line-height: 1.55; color: var(--muted); }
.lead-form__note a { color: inherit; text-underline-offset: 2px; }
.lead-form__status { font-size: .86rem; color: #a8301d; }
.lead-form__status:empty { display: none; }
.lead-form__done { position: absolute; inset: -8px; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 20px; background: var(--paper); animation: fadeIn .5s ease; }
.lead-form__done p { font-family: var(--ff-display); font-size: 1.4rem; line-height: 1.3; max-width: 26ch; }
.lead-form__done .icon { width: 52px; height: 52px; padding: 12px; border-radius: 50%; color: #fff; background: var(--terra); stroke-width: 2; }
.lead-form__done[hidden] { display: none; }
.lead-form.is-loading .btn__label::after { content: '…'; }

/* ---------- Footer & floating ---------- */
.site-footer { background: var(--deep-2); color: var(--on-dark-2); padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-lt); }
.brand--footer .brand__logo { height: 92px; color: var(--on-dark); }
.site-footer__tag { font-family: var(--ff-display); font-style: italic; font-size: 1.3rem; color: var(--terra-lt); margin-top: 18px; }
.site-footer__h { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.site-footer__info { display: grid; gap: 12px; }
.site-footer__info li { display: flex; gap: 12px; }
.site-footer__info .icon { color: var(--terra-lt); width: 18px; margin-top: 4px; }
.site-footer__info a, .site-footer__web a { text-decoration: none; }
.site-footer__info a:hover, .site-footer__web a:hover { text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border: 1px solid var(--line-lt); border-radius: 50%; display: grid; place-items: center; color: var(--on-dark); transition: background-color .3s, color .3s; }
.social a:hover { background: var(--on-dark); color: var(--deep); }
.site-footer__web { margin-top: 16px; }
.site-footer__legal { display: grid; gap: 8px; padding-top: 26px; font-size: .74rem; line-height: 1.6; color: rgba(185, 191, 187, .8); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__links a, .site-footer__links button { color: var(--on-dark); font-size: .74rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.float-actions { position: fixed; right: 20px; bottom: 22px; z-index: 40; display: grid; justify-items: end; gap: 10px; transition: opacity .4s, transform .5s var(--ease); }
.float-actions.is-away { opacity: 0; pointer-events: none; transform: translateY(16px); }
.float-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; text-decoration: none; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 18px 40px -16px rgba(33, 41, 41, .55); transition: transform .4s var(--ease), background-color .3s; }
.float-btn:hover { transform: translateY(-2px); }
.float-btn--form { background: var(--terra); color: #fff; }
.float-btn--form:hover { background: var(--terra-ink); }
.float-btn--call { background: var(--deep); color: var(--on-dark); letter-spacing: .08em; font-size: .9rem; text-transform: none; }
.float-btn__pulse { position: absolute; left: 6px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid var(--terra-lt); animation: ring 2.4s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.float-btn--call .icon { color: var(--terra-lt); animation: shake 3s ease-in-out infinite; }
@keyframes shake { 0%, 70%, 100% { transform: rotate(0); } 74%, 82%, 90% { transform: rotate(-12deg); } 78%, 86% { transform: rotate(12deg); } }
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .float-actions { display: none; }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: var(--deep); border-top: 1px solid var(--line-lt); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a, .mobile-bar button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-bar__call { color: var(--on-dark); background: var(--deep); font-size: .95rem !important; letter-spacing: .04em !important; }
  .mobile-bar__call .icon { color: var(--terra-lt); }
  .mobile-bar__reg { background: var(--terra); color: #fff; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ---------- Cookie ---------- */
.cookie { position: fixed; z-index: 60; left: 20px; bottom: 20px; max-width: 440px; display: grid; gap: 14px; padding: 20px 22px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(33, 41, 41, .45); font-size: .84rem; line-height: 1.6; animation: fadeIn .6s ease; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--terra-ink); }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 767px) { .cookie { left: 10px; right: 10px; max-width: none; bottom: calc(68px + env(safe-area-inset-bottom)); } }

/* ---------- Modal & lightbox ---------- */
.modal { width: min(500px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); }
.modal::backdrop, .lightbox::backdrop { background: rgba(33, 41, 41, .76); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px); } }
.modal__box { position: relative; padding: clamp(28px, 4.4vw, 48px); }
.modal__mark { width: 44px; height: 37px; color: var(--terra); margin-bottom: 20px; }
.modal__title { font-family: var(--ff-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1.05; }
.modal__sub { color: var(--muted); font-size: .92rem; margin: 10px 0 22px; }
.modal__or { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.modal__or a { color: var(--terra-ink); font-weight: 500; text-decoration: none; }
.modal__close, .lightbox__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; z-index: 2; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; display: none; place-items: center; }
.lightbox[open] { display: grid; animation: fadeIn .4s ease; }
.lightbox__img { max-width: min(94vw, 1800px); max-height: 88dvh; width: auto; height: auto; object-fit: contain; background: #fff; }
.lightbox__close { position: fixed; right: 16px; top: 16px; }
.lightbox__nav { position: fixed; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__count { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; font-size: .8rem; letter-spacing: .16em; }

/* ---------- Sub pages ---------- */
.sub { padding-top: var(--header-h); }
.crumbs { display: flex; gap: 8px; font-size: .78rem; letter-spacing: .08em; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article__head { padding-top: clamp(48px, 7vw, 96px); }
.article__head time { font-size: .72rem; letter-spacing: .2em; color: var(--terra-ink); font-weight: 500; }
.article__title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.8rem); line-height: 1.06; margin-top: 10px; }
.article__cover { margin-top: 36px; }
.article__cover img { width: 100%; }
.prose { margin-top: 44px; font-size: 1.04rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--ff-display); font-weight: 500; line-height: 1.2; margin-top: 1.7em; }
.prose h2 { font-size: 2rem; } .prose h3 { font-size: 1.55rem; }
.prose ul { list-style: disc; padding-left: 1.3em; } .prose ol { list-style: decimal; padding-left: 1.3em; }
.prose a { color: var(--terra-ink); }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 1px solid var(--terra); font-family: var(--ff-display); font-size: 1.4rem; font-style: italic; }
.prose--legal h2 { font-size: 1.6rem; }
.prose--legal li + li { margin-top: .35em; }
.article__cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px 32px; margin-top: 56px; margin-bottom: 56px; background: var(--paper-2); }
.card { background: var(--paper-2); }
.page__sub { margin-top: 12px; font-size: .9rem; }
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; }

/* ---------- Giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], [data-hero-in] { opacity: 1; transform: none; clip-path: none; }
  [data-reveal="mask"] img { transform: none; }
  .usp__track { animation: none; flex-wrap: wrap; width: auto; }
  .usp__list + .usp__list { display: none; }
}
.news-card__link { display: grid; gap: 14px; text-decoration: none; }
.news-card__img { display: grid; place-items: center; }
.news-card__ph { width: 64px; height: 54px; color: var(--paper); }
.news-card__body { display: grid; gap: 8px; }

/* Cột lưới luôn co được theo màn hình (tránh tràn ngang trên điện thoại) */
[class*="__grid"] > *, .zone > *, .club > *, .facility > *, .section-head--split > * { min-width: 0; }
.table-wrap { overflow-x: auto; }
@media (max-width: 480px) { .utable { font-size: .82rem; } .utable tbody th { font-size: 1.15rem; } .utable th, .utable td { padding-right: 8px; } }
@media (max-width: 1140px) { .site-header__actions { margin-left: auto; } }
@media (max-width: 767px) {
  .hero { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .hero__shade { background: linear-gradient(180deg, rgba(33, 41, 41, .55) 0%, rgba(33, 41, 41, .28) 28%, rgba(33, 41, 41, .5) 52%, rgba(33, 41, 41, .88) 100%); }
  .hero__inner { padding-top: calc(var(--header-h) + 32px); }
  .hero__bar-inner { min-height: 84px; }
}
