/* Biệt thự đơn lập — Premium Contemporary Real Estate
   Namespace: .btd — không đụng LP khác */

:root {
  --btd-paper: #f5f7fb;
  --btd-warm: #e9edf5;
  --btd-ink: #1e293b;
  --btd-muted: #64748b;
  --btd-leaf: #272869;
  --btd-leaf-hover: #1c1d4f;
  --btd-gold: #c8941f;
  --btd-deep: #0e1028;
  --btd-line: rgba(15, 23, 42, 0.1);
  --btd-max: 1180px;
  --btd-nav-h: 64px;
  --btd-font-display: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --btd-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --btd-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Nền html = màu footer: hết khoảng trắng dưới cùng khi cuộn hết trang */
html.btd-html {
  background: #0e1028;
}
body.btd {
  margin: 0;
  font-family: var(--btd-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--btd-ink);
  background: var(--btd-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.btd img { max-width: 100%; display: block; }
body.btd #btdMain {
  flex: 1 0 auto;
  width: 100%;
  background: var(--btd-paper);
  /* Không cắt footer — footer nằm ngoài main */
  overflow: visible;
}
body.btd #lienhe,
body.btd #phap-ly,
body.btd #thong-tin-sale,
body.btd #faq,
body.btd #thongtin,
body.btd #vitri {
  scroll-margin-top: calc(var(--btd-nav-h) + 12px);
}

/* Nav/footer logos */
body.btd .btd-nav-brand img.btd-nav-logo {
  display: block !important;
  height: 36px !important;
  width: auto !important;
  max-width: 168px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  object-position: left center;
}
body.btd .btd-nav-brand img.btd-nav-logo--light {
  display: none !important;
}
/* Logo trên hero tối: thêm glow nhẹ cho nổi khối */
body.btd .btd-nav:not(.is-scrolled) .btd-nav-brand img.btd-nav-logo--dark {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}
body.btd .btd-nav.is-scrolled .btd-nav-brand img.btd-nav-logo--dark {
  display: none !important;
}
body.btd .btd-nav.is-scrolled .btd-nav-brand img.btd-nav-logo--light {
  display: block !important;
}
body.btd .btd-footer-logo img {
  height: 34px !important;
  width: auto !important;
  max-width: 160px !important;
  max-height: 34px !important;
  object-fit: contain !important;
}

.btd-wrap {
  width: min(var(--btd-max), calc(100% - 2rem));
  margin-inline: auto;
}

.btd-skip {
  position: absolute; left: -999px; top: 0; z-index: 10000;
  background: var(--btd-leaf); color: #fff; padding: 10px 14px; font-weight: 700; text-decoration: none;
}
.btd-skip:focus { left: 12px; top: 12px; }

/* —— Nav —— trong suốt trên hero, đặc khi scroll —— */
.btd-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--btd-nav-h);
  width: 100%;
  background: transparent;
  color: #f5f7fb;
  transition: background .3s var(--btd-ease), border-color .3s, box-shadow .3s, color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
  overflow: hidden;
}
.btd-nav.is-scrolled {
  background: rgba(245, 247, 251, 0.94);
  color: var(--btd-ink);
  border-bottom-color: var(--btd-line);
  box-shadow: 0 8px 24px rgba(25, 27, 58, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btd-nav-inner {
  height: 100%;
  width: min(var(--btd-max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}
.btd-nav-brand {
  display: flex;
  align-items: center;
  height: 40px;
  max-width: 168px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.btd-nav-links {
  display: flex; justify-content: flex-end; gap: .1rem; min-width: 0;
  overflow: hidden;
}
body.btd .btd-nav-links a {
  text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 600;
  color: rgba(245, 247, 251, 0.9);
  padding: .5rem .65rem; line-height: 1;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
body.btd .btd-nav-links a:hover,
body.btd .btd-nav-links a.is-active {
  color: #fff;
  border-bottom-color: rgba(245, 247, 251, 0.55);
}
body.btd .btd-nav.is-scrolled .btd-nav-links a { color: var(--btd-muted); }
body.btd .btd-nav.is-scrolled .btd-nav-links a:hover,
body.btd .btd-nav.is-scrolled .btd-nav-links a.is-active {
  color: var(--btd-leaf);
  border-bottom-color: var(--btd-leaf);
}

.btd-nav-actions { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
body.btd .btd-nav-phone {
  text-decoration: none; font-size: 13px; font-weight: 700;
  color: #fff; padding: .45rem .4rem;
}
body.btd .btd-nav.is-scrolled .btd-nav-phone { color: var(--btd-leaf); }
body.btd a.btd-nav-cta,
body.btd .btd-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; white-space: nowrap;
  font-size: 13px; font-weight: 700;
  padding: 0 16px; min-height: 40px; height: 40px;
  line-height: 1;
  background: var(--btd-leaf); color: #fff !important;
  border: 0; border-radius: 6px;
  box-shadow: none;
  transition: background .2s;
}
body.btd a.btd-nav-cta:hover,
body.btd .btd-nav-cta:hover {
  background: var(--btd-leaf-hover); color: #fff !important;
}
.btd-nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent; border-radius: 6px;
  cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.btd-nav.is-scrolled .btd-nav-toggle { border-color: var(--btd-line); }
.btd-nav-toggle span { display: block; width: 16px; height: 1.5px; background: #fff; }
.btd-nav.is-scrolled .btd-nav-toggle span { background: var(--btd-ink); }

.btd-drawer {
  position: fixed; top: var(--btd-nav-h); left: 0; right: 0; z-index: 99;
  background: var(--btd-paper); border-bottom: 1px solid var(--btd-line);
  padding: .65rem .85rem 1.15rem;
  display: flex; flex-direction: column;
}
.btd-drawer[hidden] { display: none !important; }
.btd-drawer a {
  text-decoration: none; padding: .9rem 1rem; font-weight: 600; color: var(--btd-ink);
}
.btd-drawer-cta {
  background: var(--btd-leaf); color: #fff !important; text-align: center; margin-top: .45rem; border-radius: 6px;
}

/* —— Buttons / links —— (specificity thắng body / Bootstrap a) —— */
body.btd a.btd-btn,
body.btd .btd-btn,
body.btd button.btd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none !important;
  border: 0; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 15px;
  line-height: 1; padding: 14px 22px; min-height: 48px;
  border-radius: 6px;
  box-shadow: none;
  vertical-align: middle;
  transition: background .2s, color .2s, border-color .2s;
}
body.btd a.btd-btn--primary,
body.btd .btd-btn--primary,
body.btd button.btd-btn--primary {
  background: var(--btd-leaf);
  color: #fff !important;
}
body.btd a.btd-btn--primary:hover,
body.btd .btd-btn--primary:hover,
body.btd button.btd-btn--primary:hover {
  background: var(--btd-leaf-hover);
  color: #fff !important;
}
body.btd a.btd-btn--ghost,
body.btd .btd-btn--ghost {
  background: transparent;
  color: var(--btd-leaf) !important;
  border: 1px solid rgba(39, 40, 105, 0.35);
}
body.btd a.btd-btn--ghost:hover,
body.btd .btd-btn--ghost:hover {
  border-color: var(--btd-leaf);
  background: rgba(39, 40, 105, 0.05);
  color: var(--btd-leaf) !important;
}
body.btd a.btd-btn--light,
body.btd .btd-btn--light {
  background: #f5f7fb;
  color: var(--btd-deep) !important;
}
body.btd a.btd-btn--light:hover,
body.btd .btd-btn--light:hover {
  background: #fff;
  color: var(--btd-deep) !important;
}
body.btd a.btd-btn--glass,
body.btd .btd-btn--glass {
  background: rgba(245, 247, 251, 0.12);
  color: #f5f7fb !important;
  border: 1px solid rgba(245, 247, 251, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.btd a.btd-btn--glass:hover,
body.btd .btd-btn--glass:hover {
  background: rgba(245, 247, 251, 0.22);
  border-color: #f5f7fb;
  color: #fff !important;
}
body.btd .btd-btn--sm { min-height: 40px; padding: 10px 16px; font-size: 14px; }
body.btd .btd-btn--block { width: 100%; }

body.btd a.btd-text-link,
body.btd .btd-text-link {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 600;
  color: var(--btd-leaf) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(39, 40, 105, 0.28);
  padding-bottom: 2px;
  background: transparent;
}
body.btd a.btd-text-link:hover,
body.btd .btd-text-link:hover {
  border-bottom-color: var(--btd-leaf);
  color: var(--btd-leaf) !important;
}
body.btd a.btd-text-link--on-dark,
body.btd .btd-text-link--on-dark {
  color: #f5f7fb !important;
  border-bottom-color: rgba(245, 247, 251, 0.35);
}
body.btd a.btd-text-link--on-dark:hover,
body.btd .btd-text-link--on-dark:hover {
  border-bottom-color: #f5f7fb;
  color: #fff !important;
}

/* —— Type —— */
.btd-label {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 600; color: var(--btd-muted);
  letter-spacing: 0;
  text-transform: none;
}
.btd-label--light { color: rgba(245, 247, 251, 0.55); }
.btd-h2 {
  margin: 0 0 24px;
  font-family: var(--btd-font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 600; line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--btd-ink);
  text-wrap: balance;
  max-width: 22ch;
}
.btd-h2--sm { font-size: clamp(1.75rem, 3vw, 2.25rem); max-width: 26ch; }
.btd-h2--light { color: #f5f7fb; }
.btd-h3 {
  margin: 0 0 8px;
  font-family: var(--btd-font-display);
  font-size: 2rem; font-weight: 600; line-height: 1.2;
  letter-spacing: -0.025em;
}
.btd-h3--sm { font-size: 1.6rem; }
.btd-lead {
  margin: 0 0 0;
  font-size: 17px; line-height: 1.65; color: var(--btd-muted);
  max-width: 42ch;
}
.btd-lead--light { color: rgba(245, 247, 251, 0.72); }
.btd-section-head {
  text-align: left;
  margin-bottom: 48px;
}
.btd-section-head .btd-h2 { margin-bottom: 16px; }
.btd-section-head .btd-lead { margin-top: 0; }
.btd-section-head--light .btd-h2 { color: #f5f7fb; }

.btd-prose {
  font-size: 17px; line-height: 1.65; color: var(--btd-muted);
  max-width: 38ch; margin-bottom: 32px;
}
body.btd .btd-prose a { color: var(--btd-leaf); font-weight: 600; }
.btd-prose strong { color: var(--btd-ink); font-weight: 600; }

:root {
  --btd-hero-pos: 72% 42%;
}

@media (min-aspect-ratio: 16/9) {
  .btd-hero { --btd-hero-pos: 78% 40%; }
}
@media (max-aspect-ratio: 4/5) {
  .btd-hero { --btd-hero-pos: 55% 32%; }
}

/* —— Immersive hero: bước vào biệt thự —— */
.btd-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f5f7fb;
  overflow: hidden;
  background: var(--btd-deep);
}
.btd-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
body.btd .btd-hero-img,
body.btd .btd-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: var(--btd-hero-pos, 72% 42%);
  animation: none;
}
/* Khi video/ảnh đã cover đủ khung: dùng inset fill ổn định hơn */
@supports (object-fit: cover) {
  body.btd .btd-hero-img,
  body.btd .btd-hero-video {
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    transform: none;
  }
}
.btd-hero-video { z-index: 1; }
.btd-hero-img { z-index: 0; }
.btd-hero-img--fallback { z-index: 0; }
.btd-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 28, 0.62) 0%, rgba(8, 10, 28, 0.22) 34%, rgba(8, 10, 28, 0.35) 62%, rgba(8, 10, 28, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 10, 28, 0.88) 0%, rgba(8, 10, 28, 0.62) 26%, rgba(8, 10, 28, 0.22) 48%, transparent 68%);
}
.btd-hero-frame {
  position: relative;
  z-index: 3;
  width: min(var(--btd-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--btd-nav-h) + 28px) 0 28px;
  display: grid;
  /* minmax(0,1fr): không cho min-content của Owl carousel kéo track rộng hơn viewport
     (gây tràn ngang + slide phóng to dần mỗi lần resize/scroll trên mobile) */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vh, 48px);
}
.btd-hero-frame > * {
  min-width: 0;
  max-width: 100%;
}
.btd-hero-copy {
  max-width: 34rem;
  padding: 0;
  background: transparent;
  animation: btd-rise 0.9s var(--btd-ease) both;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
@keyframes btd-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.btd-hero-brand {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--btd-gold);
}
.btd-hero-brand::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--btd-gold);
}
.btd-hero-title {
  margin: 0 0 18px;
  font-family: var(--btd-font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f5f7fb;
  text-wrap: balance;
}
.btd-hero-promise {
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(245, 247, 251, 0.84);
  max-width: 36ch;
}
.btd-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
}

/* Filmstrip — góc nhìn ngay trong viewport đầu (OwlCarousel) */
.btd-enter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  animation: btd-rise 1s 0.15s var(--btd-ease) both;
}
.btd-enter-rooms.owl-carousel {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.btd-enter-rooms .owl-stage-outer {
  overflow: hidden;
  max-width: 100%;
}
.btd-enter-slide {
  padding: 0 5px;
}
body.btd a.btd-enter-room {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 4 / 3;
  background: #0c0e24;
  isolation: isolate;
  border-radius: 12px;
  /* Viền mảnh để tile ảnh nền sáng (bản vẽ trắng) không lẫn vào nền tối */
  box-shadow: inset 0 0 0 1px rgba(245, 247, 251, 0.14);
  transition: box-shadow .25s var(--btd-ease), transform .25s var(--btd-ease);
}
body.btd a.btd-enter-room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.7s var(--btd-ease);
}
body.btd a.btd-enter-room::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 10, 28, 0.55) 100%);
  pointer-events: none;
}
body.btd a.btd-enter-room span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 16px);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8, 10, 28, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 247, 251, 0.16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.btd a.btd-enter-room:hover {
  box-shadow: inset 0 0 0 1px rgba(245, 247, 251, 0.4);
}
body.btd a.btd-enter-room:hover img {
  transform: scale(1.06);
}
.btd-enter-rooms .owl-nav {
  margin: 0;
}
.btd-enter-rooms .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 50%;
  background: rgba(12, 14, 36, 0.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 247, 251, 0.2) !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 34px !important;
  transition: background .2s, border-color .2s;
}
.btd-enter-rooms .owl-nav button:hover {
  background: rgba(12, 14, 36, 0.88) !important;
  border-color: rgba(245, 247, 251, 0.45) !important;
}
.btd-enter-rooms .owl-nav .owl-prev { left: 4px; }
.btd-enter-rooms .owl-nav .owl-next { right: 4px; }
.btd-enter-rooms .owl-dots {
  margin-top: 10px;
}
.btd-enter-rooms .owl-dots .owl-dot span {
  width: 7px;
  height: 7px;
  margin: 3px;
  background: rgba(255, 255, 255, 0.35);
}
.btd-enter-rooms .owl-dots .owl-dot.active span,
.btd-enter-rooms .owl-dots .owl-dot:hover span {
  background: #fff;
}
.btd-enter-facts {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(245, 247, 251, 0.18);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.btd-enter-facts div {
  min-width: 0;
}
.btd-enter-facts dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 247, 251, 0.5);
}
.btd-enter-facts dd {
  margin: 0;
  font-family: var(--btd-font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f5f7fb;
  line-height: 1.15;
}

/* —— Intro: góc nhìn chồng —— */
.btd-intro {
  background: var(--btd-paper);
  padding: clamp(56px, 8vw, 96px) 0;
}
.btd-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.btd-intro-stack {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 460px;
}
body.btd a.btd-intro-shot {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #0c0e24;
}
body.btd a.btd-intro-shot--main {
  grid-row: 1 / span 2;
}
body.btd a.btd-intro-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--btd-ease);
}
body.btd a.btd-intro-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
body.btd a.btd-intro-shot span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body.btd a.btd-intro-shot:hover img {
  transform: scale(1.05);
}

.btd-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--btd-ease), transform 0.8s var(--btd-ease);
}
.btd-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.btd .btd-hero-img,
  body.btd .btd-hero-video,
  .btd-hero-copy,
  .btd-enter,
  .btd-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Legacy facts (nếu còn dùng ở page khác) */
.btd-facts {
  background: var(--btd-paper);
  padding: 32px 0;
  border-bottom: 1px solid var(--btd-line);
}
.btd-facts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.btd-fact {
  padding: 8px 24px 8px 0;
  border-right: 1px solid var(--btd-line);
}
.btd-fact:last-child { border-right: 0; padding-right: 0; }
.btd-fact:first-child { padding-left: 0; }
.btd-fact strong {
  display: block;
  font-family: var(--btd-font-display);
  font-size: 28px; font-weight: 600; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--btd-ink);
}
.btd-fact span {
  display: block; margin-top: 6px;
  font-size: 13px; font-weight: 500; color: var(--btd-muted);
}

/* —— Spec list (dùng trong intro) —— */
.btd-spec-list {
  margin: 0 0 32px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.btd-spec-list > div { margin: 0; }
.btd-spec-list dt {
  font-size: 13px; font-weight: 500; color: var(--btd-muted); margin: 0 0 2px;
}
.btd-spec-list dd {
  margin: 0; font-size: 15px; font-weight: 600; color: var(--btd-ink);
}
.btd-spec-list a { color: var(--btd-leaf); text-decoration: none; }

/* —— Family 4: Product compare cards —— */
.btd-compare {
  background: linear-gradient(180deg, #fff 0%, var(--btd-warm) 42%, #eef2f8 100%);
  padding: 88px 0 96px;
}
.btd-compare-axis {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  margin: 20px 0 0; padding: 0; list-style: none;
}
.btd-compare-axis li {
  font-size: 12px; font-weight: 600; color: var(--btd-leaf);
  background: rgba(39, 40, 105, 0.08);
  border: 1px solid rgba(39, 40, 105, 0.14);
  border-radius: 999px; padding: 6px 12px;
}
.btd-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

/* Căn hộ: Studio / 1PN+1 / 2PN / Park Residence → 3 sản phẩm 1 hàng trên PC */
@media (min-width: 1024px) {
  body.btd.lp-body--can-ho-studio .btd-product-grid,
  body.btd.lp-body--can-ho-1pn1 .btd-product-grid,
  body.btd.lp-body--can-ho-2pn .btd-product-grid,
  body.btd.lp-body--park-residence .btd-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  body.btd.lp-body--can-ho-studio .btd-product-body,
  body.btd.lp-body--can-ho-1pn1 .btd-product-body,
  body.btd.lp-body--can-ho-2pn .btd-product-body,
  body.btd.lp-body--park-residence .btd-product-body {
    padding: 20px 18px 22px;
  }
}
.btd-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(25, 27, 58, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(25, 27, 58, 0.05);
}
.btd-product-card--featured {
  border-color: rgba(39, 40, 105, 0.28);
  box-shadow: 0 14px 40px rgba(39, 40, 105, 0.1);
}
.btd-product-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e2e7f0;
  text-decoration: none;
}
body.btd .btd-product-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.btd-product-badge {
  position: absolute; left: 12px; top: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: #fff; background: var(--btd-leaf);
  padding: 5px 10px; border-radius: 999px;
}
.btd-product-card--featured .btd-product-badge { background: var(--btd-gold); color: #191b3a; }
.btd-product-body {
  display: flex; flex-direction: column; flex: 1;
  padding: 22px 22px 24px;
}
.btd-feature-tag {
  margin: 0 0 8px;
  font-size: 12px; font-weight: 700; color: var(--btd-leaf);
}
.btd-sub { margin: 0 0 14px; font-size: 14px; color: var(--btd-muted); line-height: 1.45; }
.btd-product-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; margin: 0 0 16px; padding: 0;
}
.btd-product-metrics > div {
  background: var(--btd-paper);
  border: 1px solid rgba(25, 27, 58, 0.06);
  border-radius: 10px; padding: 10px 8px; text-align: center;
}
.btd-product-metrics dt {
  margin: 0 0 4px; font-size: 11px; font-weight: 600; color: var(--btd-muted);
}
.btd-product-metrics dd {
  margin: 0; font-size: 14px; font-weight: 700; color: var(--btd-ink); line-height: 1.25;
}
.btd-price {
  margin: 0 0 14px; font-size: 15px; color: var(--btd-ink);
}
.btd-price span { color: var(--btd-muted); font-size: 13px; margin-right: 6px; }
.btd-price strong { font-size: 20px; font-weight: 700; color: var(--btd-leaf); }
.btd-price small { display: block; margin-top: 4px; font-size: 12px; color: var(--btd-muted); font-weight: 500; }
.btd-mini-specs {
  margin: 0 0 14px; padding: 12px 14px; display: grid; gap: 8px;
  background: #fbfcfe; border: 1px solid rgba(25, 27, 58, 0.06); border-radius: 12px;
}
.btd-mini-specs > div {
  display: grid; grid-template-columns: minmax(90px, 0.42fr) minmax(0, 1fr);
  gap: 8px 12px; font-size: 13.5px; align-items: start;
}
.btd-mini-specs dt { margin: 0; color: var(--btd-muted); font-weight: 500; }
.btd-mini-specs dd { margin: 0; font-weight: 600; color: var(--btd-ink); }
.btd-bullets {
  margin: 0 0 18px; padding: 0; list-style: none;
  display: grid; gap: 7px;
}
.btd-bullets li {
  font-size: 14px; color: var(--btd-muted); line-height: 1.45;
  padding-left: 14px; position: relative;
}
.btd-bullets li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--btd-leaf);
}
.btd-product-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: auto; padding-top: 4px;
}
.btd-product-cta .btd-btn,
.btd-product-cta .btd-text-link { margin: 0; }
.btd-compare-note {
  margin: 22px 0 0; text-align: center;
  font-size: 12px; color: var(--btd-muted); line-height: 1.5;
}

/* —— Runway: khối sống (copy + Owl album) —— */
.btd-runway {
  background: #fff;
  padding: 80px 0;
}
.btd-runway-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 28px;
}
.btd-runway-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px 40px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--btd-line);
  border-radius: 16px;
  background: linear-gradient(135deg, #fbfcfe 0%, #fff 48%, #f3f6fb 100%);
}
.btd-runway-card:nth-child(even) {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}
.btd-runway-card:nth-child(even) .btd-runway-copy {
  order: 2;
}
.btd-runway-card:nth-child(even) .btd-runway-media-col {
  order: 1;
}
.btd-runway-copy {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.btd-runway-copy-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btd-runway-num {
  font-family: var(--btd-font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--btd-leaf);
  line-height: 1;
}
.btd-runway-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--btd-leaf);
  background: rgba(39, 40, 105, 0.08);
}
.btd-runway-copy h3 {
  margin: 0;
  font-family: var(--btd-font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--btd-ink, #0e1028);
}
.btd-runway-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--btd-leaf);
}
.btd-runway-body {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--btd-muted);
  max-width: 42ch;
}
.btd-runway-chips {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btd-runway-chips li {
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(14, 16, 40, 0.12);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--btd-ink, #0e1028);
  line-height: 1.2;
}
.btd-runway-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 8px;
}
.btd-runway-actions .btd-text-link {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}
.btd-runway-media-col {
  min-width: 0;
}
.btd-runway-media {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #d8dee9;
  text-decoration: none;
}
body.btd .btd-runway-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.btd-runway-owl.owl-carousel {
  display: block;
}
.btd-runway-owl .owl-stage-outer {
  border-radius: 12px;
  overflow: hidden;
}
.btd-runway-owl .owl-nav {
  margin: 0;
}
.btd-runway-owl .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  background: rgba(14, 16, 40, 0.58) !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 34px !important;
}
.btd-runway-owl .owl-nav .owl-prev { left: 8px; }
.btd-runway-owl .owl-nav .owl-next { right: 8px; }
.btd-runway-owl .owl-dots {
  margin-top: 10px;
}
.btd-runway-owl .owl-dots .owl-dot span {
  width: 7px;
  height: 7px;
  margin: 3px;
  background: rgba(14, 16, 40, 0.22);
}
.btd-runway-owl .owl-dots .owl-dot.active span {
  background: var(--btd-leaf);
}
.btd-runway-album-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--btd-muted);
}

/* —— Family 5: Mosaic —— */
.btd-mosaic {
  background: linear-gradient(180deg, var(--btd-paper) 0%, #fff 100%);
  padding: 80px 0 96px;
}
.btd-mosaic-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 12px;
}
.btd-mosaic-item {
  position: relative; display: block; overflow: hidden;
  border-radius: 12px; background: #d8dee9; text-decoration: none;
  min-height: 0;
}
.btd-mosaic-item--hero {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.btd-mosaic-item--tall { grid-column: 2; grid-row: 1; }
.btd-mosaic-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.btd-mosaic-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.btd-mosaic-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.btd-mosaic-item:nth-child(n+6) { display: none; }
body.btd .btd-mosaic-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--btd-ease);
}
.btd-mosaic-item:hover img { transform: scale(1.03); }
.btd-mosaic-cap {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(14, 16, 40, 0.55); padding: 6px 10px; border-radius: 4px;
}

/* —— Tours (sáng, mềm) —— */
.btd-tours {
  background: linear-gradient(180deg, #f1f4fa 0%, #eaeef7 55%, #f5f7fb 100%);
  color: var(--btd-ink);
  padding: 88px 0;
}
.btd-tours .btd-section-head--light .btd-label,
.btd-tours .btd-h2--light,
.btd-tours .btd-lead--light {
  color: inherit;
}
.btd-tours .btd-h2--light { color: var(--btd-ink); }
.btd-tours .btd-lead--light { color: var(--btd-muted); }
.btd-tour-feature {
  display: block; position: relative; overflow: hidden;
  border-radius: 16px; text-decoration: none; color: #fff;
  margin-bottom: 24px; min-height: 360px; background: #d5dbe8;
  box-shadow: 0 12px 36px rgba(25, 27, 58, 0.08);
  border: 1px solid rgba(25, 27, 58, 0.06);
}
body.btd .btd-tour-feature img {
  width: 100%; height: 420px; max-height: 420px; object-fit: cover;
}
.btd-tour-feature-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 32px 28px;
  background: linear-gradient(180deg, transparent, rgba(14, 16, 40, 0.78) 48%);
}
.btd-tour-feature-body span {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--btd-deep); background: #f5f7fb;
  padding: 4px 8px; border-radius: 4px; margin-bottom: 10px;
}
.btd-tour-feature-body h3 {
  margin: 0 0 6px;
  font-family: var(--btd-font-display);
  font-size: 28px; font-weight: 600;
}
.btd-tour-feature-body p {
  margin: 0 0 12px; font-size: 15px; color: rgba(245, 247, 251, 0.78);
}
.btd-tour-feature-body em {
  font-style: normal; font-weight: 700; font-size: 15px; color: #f5f7fb;
}
.btd-tour-side {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.btd-tour-link {
  display: grid; gap: 12px; text-decoration: none; color: var(--btd-ink);
  padding: 14px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(25, 27, 58, 0.08);
  box-shadow: 0 8px 24px rgba(25, 27, 58, 0.04);
}
body.btd .btd-tour-link img {
  width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: 12px;
}
.btd-tour-link h3 {
  margin: 0; font-family: var(--btd-font-display); font-size: 18px; font-weight: 600;
}
.btd-tour-link p {
  margin: 4px 0 0; font-size: 14px; color: var(--btd-muted);
}
.btd-tour-link span {
  font-size: 14px; font-weight: 600; color: var(--btd-leaf);
}

/* —— Cần biết + FAQ (gộp) —— */
.btd-know {
  background: var(--btd-paper);
  padding: 88px 0;
  border-top: 1px solid var(--btd-line);
}
.btd-know-head {
  max-width: 40ch;
  margin-bottom: 28px;
}
.btd-know-head .btd-h2 { margin-bottom: 0; }
.btd-know-grid {
  display: grid;
  gap: 36px;
}
.btd-know-grid--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px 48px;
  align-items: start;
}
.btd-know-sub {
  margin: 0 0 8px;
  font-family: var(--btd-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--btd-muted);
}
.btd-link-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 12px;
}
.btd-link-list li {
  border: 1px solid rgba(25, 27, 58, 0.08);
  border-radius: 14px;
  background: #fff;
}
.btd-link-list a,
.btd-link-list > li > div {
  display: grid; gap: 6px;
  padding: 18px 20px; text-decoration: none; color: inherit;
}
.btd-link-list strong {
  font-family: var(--btd-font-display);
  font-size: 1.125rem; font-weight: 600;
  line-height: 1.3;
}
.btd-link-list span {
  font-size: 15px; color: var(--btd-muted); line-height: 1.5;
}
.btd-link-list em {
  font-style: normal; font-size: 13px; font-weight: 700; color: var(--btd-leaf);
}
.btd-link-list a:hover strong { color: var(--btd-leaf); }
.btd-faq-list { margin-top: 4px; border-top: 1px solid var(--btd-line); }
.btd-faq-item { border-bottom: 1px solid var(--btd-line); }
.btd-faq-item summary {
  cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600;
  padding: 18px 0; color: var(--btd-ink);
}
.btd-faq-item summary::-webkit-details-marker { display: none; }
.btd-faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--btd-leaf);
}
.btd-faq-item[open] summary::after { content: "–"; }
.btd-faq-a {
  padding: 0 0 18px;
  font-size: 15px; color: var(--btd-muted); line-height: 1.6;
}
.btd-faq-a a { color: var(--btd-leaf); font-weight: 600; }

/* —— Place —— */
.btd-place {
  background: linear-gradient(180deg, var(--btd-warm) 0%, #fff 100%);
  padding: 96px 0;
}
.btd-place-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.btd-place-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 480px;
  overflow: hidden;
  border-radius: 12px;
  background: #ccd3e0;
}
body.btd .btd-place-map img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.btd-place-copy { max-width: none; padding-top: 0; margin-left: 0; }
.btd-place-copy .btd-h2 { max-width: 18ch; margin-bottom: 12px; }
.btd-place-copy .btd-lead { margin-bottom: 20px; max-width: 40ch; }
.btd-place-copy .btd-timeline { margin-top: 8px; }
.btd-place-copy .btd-dist-line { margin-top: 8px; }
.btd-timeline {
  margin: 32px 0; padding: 0; list-style: none;
  display: grid; gap: 0;
}
.btd-timeline li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 24px;
  position: relative;
}
.btd-timeline li:not(:last-child)::before {
  content: "";
  position: absolute; left: 13px; top: 22px; bottom: 0;
  width: 1px; background: var(--btd-line);
}
.btd-timeline span {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--btd-leaf); position: relative; z-index: 1;
}
.btd-timeline p { margin: 4px 0 0; font-size: 15px; color: var(--btd-ink); line-height: 1.5; }
.btd-dist-line {
  margin: 0 0 24px; font-size: 14px; color: var(--btd-muted);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.btd-dist-line strong { color: var(--btd-ink); font-weight: 700; }

/* —— Pháp lý dự án —— */
.btd-legal {
  background: #fff;
  padding: 88px 0;
  border-top: 1px solid var(--btd-line);
}
.btd-legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 56px;
  align-items: start;
}
.btd-legal-aside .btd-h2 {
  max-width: 16ch;
  margin-bottom: 14px;
}
.btd-legal-aside .btd-lead {
  max-width: 36ch;
  margin-bottom: 22px;
}
.btd-legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--btd-line);
}
.btd-legal-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--btd-line);
}
.btd-legal-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 40, 105, 0.08);
  color: var(--btd-leaf);
  font-size: 16px;
}
.btd-legal-body h3 {
  margin: 2px 0 6px;
  font-family: var(--btd-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--btd-ink);
}
.btd-legal-body p {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--btd-muted);
  line-height: 1.55;
}
.btd-legal-body .btd-text-link {
  font-size: 14px;
}

/* —— Thông tin sale —— */
.btd-sales {
  background: linear-gradient(180deg, var(--btd-paper) 0%, var(--btd-warm) 100%);
  padding: 72px 0 88px;
}
.btd-sales-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(220px, 0.85fr);
  gap: 28px 32px;
  align-items: stretch;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--btd-line);
  border-radius: 16px;
}
.btd-sales-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #d3d9e6;
  min-height: 280px;
}
/* Không có ảnh sale: card 2 cột, bỏ cột ảnh */
.btd-sales-card--nophoto {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
}
body.btd .btd-sales-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.btd-sales-hotline-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  background: rgba(11, 13, 34, 0.88);
  color: #f5f7fb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btd-sales-hotline-bar:hover {
  background: var(--btd-leaf);
  color: #fff;
}
.btd-sales-body .btd-h2 {
  margin-bottom: 6px;
}
.btd-sales-meta {
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-size: 14px;
  color: var(--btd-muted);
}
.btd-sales-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 148, 31, 0.14);
  color: #8a6413;
  font-size: 12px;
  font-weight: 700;
}
.btd-sales-addr {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--btd-muted);
}
.btd-sales-tagline {
  margin-bottom: 18px;
  max-width: 42ch;
}
.btd-sales-contacts {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.btd-sales-contacts a {
  color: var(--btd-leaf);
  font-weight: 700;
  text-decoration: none;
}
.btd-sales-contacts a:hover {
  text-decoration: underline;
}
.btd-sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.btd-sales-aside {
  padding: 20px 18px;
  background: var(--btd-paper);
  border-radius: 12px;
  border: 1px solid var(--btd-line);
}
.btd-sales-aside-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--btd-muted);
}
.btd-sales-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.btd-sales-highlights li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: var(--btd-ink);
  line-height: 1.45;
}
.btd-sales-highlights i {
  margin-top: 2px;
  color: var(--btd-gold);
  font-size: 14px;
}
.btd-sales-aside-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--btd-muted);
  line-height: 1.45;
}
.btd-sales-notice {
  margin-top: 18px;
  padding: 12px 0 0;
  border-top: 1px solid var(--btd-line);
  font-size: 13px;
  color: var(--btd-muted);
}
.btd-sales-notice summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--btd-ink);
}
.btd-sales-notice p {
  margin: 8px 0 0;
  line-height: 1.5;
}

/* Modal host: ẩn tuyệt đối khi chưa mở — chặn nút vàng chảy xuống dưới form */
body.btd .btd-modal-host[hidden],
body.btd .btd-modal-host:not(.is-open) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed !important;
  inset: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  z-index: -1 !important;
}
body.btd .btd-modal-host.is-open {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: auto !important;
  z-index: 1055 !important;
}

/* Modal lead: KHÔNG được chảy vào layout trang khi chưa mở */
body.btd .lp-lead-modal:not(.show) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: -1 !important;
}
body.btd .lp-lead-modal.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: auto !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1055 !important;
}

/* —— Contact form —— */
.btd-contact {
  background: linear-gradient(180deg, #fff 0%, var(--btd-paper) 100%);
  padding: 80px 0 96px;
}
.btd-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.52fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.btd-contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 8px 0;
}
.btd-contact-lead {
  max-width: 38ch;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--btd-muted);
}
.btd-contact-benefits {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.btd-contact-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--btd-ink);
}
.btd-contact-benefits i {
  flex: 0 0 auto;
  width: 1.25rem;
  margin-top: 2px;
  color: var(--btd-leaf);
  font-size: 14px;
}
.btd-contact-hotline {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--btd-line);
  font-size: 14px;
  color: var(--btd-muted);
}
body.btd .btd-contact-hotline a {
  color: var(--btd-leaf) !important;
  font-weight: 700;
  text-decoration: none;
}
.btd-hotline {
  margin: 24px 0 12px; font-size: 15px; color: var(--btd-muted);
}
body.btd .btd-hotline a { color: var(--btd-leaf) !important; font-weight: 700; text-decoration: none; }
.btd-trust-line {
  margin: 0; font-size: 13px; color: var(--btd-muted); line-height: 1.5;
}
.btd-form-panel {
  background: #fff;
  border: 1px solid var(--btd-line);
  border-radius: 12px;
  padding: 24px 24px 20px;
  box-shadow: 0 12px 40px rgba(25, 27, 58, 0.06);
  align-self: center;
}
.btd-form-panel__title {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--btd-muted);
}
.btd-form-panel .btd-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.btd-form .uc-lead-form-fields--stack { display: grid; gap: 14px; }
.btd-form .uc-lead-form-row { margin: 0; }
.btd-form .uc-lead-label {
  display: block; margin-bottom: 6px;
  font-size: 12px; font-weight: 600; color: var(--btd-ink);
  text-transform: none; letter-spacing: 0;
}
.btd-form .uc-lead-input-icon { display: none !important; }
.btd-form .uc-lead-field,
.btd-form .form-control,
.btd-form .form-select {
  min-height: 48px !important;
  padding: 12px 14px !important;
  padding-left: 14px !important;
  border: 1px solid var(--btd-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--btd-ink) !important;
  font-size: 15px !important;
  box-shadow: none !important;
}
.btd-form .uc-lead-field:focus,
.btd-form .form-control:focus,
.btd-form .form-select:focus {
  border-color: rgba(39, 40, 105, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(39, 40, 105, 0.12) !important;
  outline: none !important;
}
.btd-form .uc-lead-note-toggle {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.btd-form .uc-lead-note-summary {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--btd-muted) !important;
  list-style: none;
}
.btd-form .uc-lead-note-summary::-webkit-details-marker { display: none; }
.btd-form .uc-lead-field--textarea {
  margin-top: 10px;
  min-height: 72px !important;
  resize: vertical;
}
.btd-form .uc-lead-consent-check {
  background: var(--btd-paper) !important;
  border: 1px solid var(--btd-line) !important;
  border-radius: 8px !important;
  padding: 12px !important;
}
.btd-form .uc-lead-consent-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  cursor: pointer;
}
.btd-form .uc-lead-consent-input {
  position: static !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin: 2px 0 0 !important;
  flex: 0 0 auto;
  clip: auto !important;
  overflow: visible !important;
  accent-color: var(--btd-leaf);
}
.btd-form .uc-lead-consent-mark { display: none !important; }
.btd-form .uc-lead-consent-text {
  font-size: 12px !important;
  color: var(--btd-muted) !important;
  line-height: 1.45 !important;
}
.btd-form .invalid-feedback {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #b42318;
}
.btd-form .is-invalid {
  border-color: rgba(180, 35, 24, 0.55) !important;
}
.btd-form .uc-lead-consent-feedback {
  margin-left: 0 !important;
}
body.btd .btd-form-panel .btd-btn,
body.btd .btd-form-panel button[data-uc-submit],
body.btd .btd-form .btd-btn,
body.btd .btd-form button.btd-btn--primary[data-uc-submit] {
  margin-top: 14px;
  min-height: 52px;
  font-size: 16px;
  width: 100%;
  background: #272869 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  filter: none !important;
}
body.btd .btd-form-panel button[data-uc-submit]:hover {
  background: #1c1d4f !important;
  color: #fff !important;
}
.btd-form-privacy {
  margin: 12px 0 0; text-align: center;
  font-size: 12px; color: var(--btd-muted);
}

/* —— Finale —— */
.btd-finale {
  position: relative;
  min-height: 360px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--btd-deep);
}
body.btd .btd-finale-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.btd-finale-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 40, 0.25) 0%, rgba(14, 16, 40, 0.82) 70%);
}
.btd-finale-inner {
  position: relative; z-index: 1;
  padding: 64px 0 56px;
  max-width: 560px;
  margin-left: max(1rem, calc((100% - var(--btd-max)) / 2));
}
.btd-finale-rule {
  width: 32px; height: 1px; background: var(--btd-gold);
  margin: 0 0 16px; border: 0;
}
.btd-finale .btd-h2 { margin-bottom: 12px; }
.btd-finale .btd-lead { margin-bottom: 24px; }

/* —— Footer site —— ngoài #btdMain, luôn hiện sau form —— */
body.btd .btd-footer,
.btd-footer {
  position: relative;
  z-index: 6;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  background: #0e1028 !important;
  color: #dfe5ef !important;
  padding: 56px 0 calc(28px + 64px) !important;
  font-size: 14px;
  border-top: 3px solid #c8941f !important;
  clear: both;
  overflow: visible !important;
  min-height: 320px !important;
  clip: auto !important;
  clip-path: none !important;
  transform: none !important;
}
body.btd .btd-footer .btd-wrap {
  display: block !important;
  width: min(1120px, calc(100% - 2rem)) !important;
  margin-inline: auto !important;
  color: #dfe5ef !important;
}
.btd-footer-eyebrow { display: none !important; }
.btd-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr)) minmax(200px, 1.15fr);
  gap: 32px 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: start;
}
body.btd .btd-footer p,
body.btd .btd-footer h3,
body.btd .btd-footer li,
body.btd .btd-footer span,
body.btd .btd-footer em,
body.btd .btd-footer a {
  visibility: visible !important;
  opacity: 1 !important;
}
.btd-footer-logo { display: inline-block; margin-bottom: 14px; max-height: 40px; overflow: hidden; }
body.btd .btd-footer-logo img {
  height: 36px !important;
  width: auto !important;
  max-width: 168px !important;
  max-height: 36px !important;
  object-fit: contain !important;
}
.btd-footer-badge {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fdc54f;
}
.btd-footer-desc {
  margin: 0 0 10px;
  max-width: 36ch;
  line-height: 1.55;
  font-size: 13px;
  color: rgba(245, 247, 251, 0.72);
}
.btd-footer-note {
  margin: 0 0 18px;
  max-width: 38ch;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 247, 251, 0.48);
}
.btd-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
body.btd .btd-footer-call,
body.btd .btd-footer-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
body.btd .btd-footer-call {
  background: #272869 !important;
  color: #fff !important;
  border: 0 !important;
}
body.btd .btd-footer-call:hover { background: #1c1d4f !important; color: #fff !important; }
body.btd .btd-footer-zalo {
  border: 1px solid rgba(245, 247, 251, 0.32) !important;
  color: #f5f7fb !important;
  background: transparent !important;
}
body.btd .btd-footer-zalo:hover {
  border-color: #ffe494 !important;
  color: #ffe494 !important;
}
.btd-footer-col h3 {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #f5f7fb !important;
}
.btd-footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
body.btd .btd-footer-col a {
  text-decoration: none;
  color: rgba(245, 247, 251, 0.78) !important;
  font-size: 14px;
}
body.btd .btd-footer-col a:hover { color: #ffe494 !important; }
body.btd .btd-footer-desc,
body.btd .btd-footer-note { color: rgba(245, 247, 251, 0.7) !important; }
body.btd .btd-footer-badge { color: #fdc54f !important; }
.btd-footer-contact { gap: 12px !important; }
.btd-footer-contact li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 8px 10px;
  align-items: baseline;
}
.btd-footer-contact span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 247, 251, 0.45) !important;
}
body.btd .btd-footer-contact a,
body.btd .btd-footer-contact em {
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.92) !important;
  text-decoration: none;
  line-height: 1.35;
}
body.btd .btd-footer-contact a:hover { color: #ffe494 !important; }
.btd-footer-legal-wrap { margin-top: 18px; }
.btd-footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
body.btd .btd-footer-legal a {
  font-size: 12px;
  color: rgba(245, 247, 251, 0.5) !important;
  text-decoration: none;
}
body.btd .btd-footer-legal a:hover { color: #ffe494 !important; }
.btd-footer-bottom {
  padding-top: 18px;
  display: grid;
  gap: 10px;
}
.btd-footer-disc {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  max-width: 58rem;
  color: rgba(245, 247, 251, 0.48) !important;
  opacity: 1;
}
.btd-footer-copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}
body.btd .btd-footer-copy {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 247, 251, 0.9) !important;
}
body.btd .btd-footer-copy a { color: inherit !important; text-decoration: none; }
body.btd .btd-footer-copy a:hover { color: #ffe494 !important; }
body.btd .btd-footer-home {
  font-size: 13px;
  font-weight: 600;
  color: #fdc54f !important;
  text-decoration: none;
}
body.btd .btd-footer-home:hover { color: #ffe494 !important; }

@media (max-width: 1100px) {
  .btd-legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .btd-sales-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .btd-sales-card--nophoto {
    grid-template-columns: minmax(0, 1fr);
  }
  .btd-sales-aside {
    grid-column: 1 / -1;
  }
  .btd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .btd-footer-brand { grid-column: 1 / -1; }
  .btd-footer-col-contact,
  .btd-footer-col--contact { grid-column: 1 / -1; }
  .btd-footer-contact {
    display: grid !important;
    gap: 12px !important;
  }
  .btd-footer-contact li {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
}

/* —— Jump top/bottom —— */
.btd-jump {
  position: fixed;
  right: max(10px, env(safe-area-inset-right, 0px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 89;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.btd button.btd-jump-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(245, 247, 251, 0.28);
  background: rgba(12, 14, 36, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #f5f7fb;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(8, 10, 28, 0.25);
  transition: opacity .25s var(--btd-ease), transform .25s var(--btd-ease), background .2s;
}
body.btd button.btd-jump-btn:hover {
  background: rgba(39, 40, 105, 0.92);
}
.btd-jump .btd-jump-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
}

/* —— Sticky —— */
.btd-sticky {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 247, 251, 0.97);
  border-top: 1px solid var(--btd-line);
  transition: opacity .2s, transform .2s;
}
.btd-sticky.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
.btd-sticky-zalo,
.btd-sticky-lead {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; font-size: 14px;
  min-height: 46px; border-radius: 6px;
}
.btd-sticky-zalo {
  flex: 0.4;
  border: 1px solid rgba(39, 40, 105, 0.35);
  color: var(--btd-leaf); background: transparent;
}
.btd-sticky-lead {
  flex: 0.6;
  background: var(--btd-leaf); color: #fff;
}

/* Modal restyle inside btd page */
body.btd .lp-lead-modal .form-control,
body.btd .lp-lead-modal .form-select,
body.btd .lp-lead-modal .uc-lead-field {
  border-radius: 6px !important;
}
body.btd .lp-lead-modal .uc-lead-input-icon { opacity: .45; }

/* Base: chặn scroll ngang trên mọi landing BT */
html.btd-html,
body.btd {
  overflow-x: clip;
  max-width: 100%;
}

/* —— Responsive —— */
@media (max-width: 1023px) {
  .btd-nav-links { display: none; }
  .btd-nav-phone { display: none; }
  .btd-nav-toggle { display: inline-flex; }
  /* Mobile: menu + CTA bên trái, logo sát mép phải */
  .btd-nav-inner {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding-left: max(0.4rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }
  .btd-nav-actions {
    order: 1;
    flex-direction: row-reverse;
  }
  .btd-nav-brand {
    order: 3;
    margin-left: auto;
  }
  /* Logo nổi khối trên hero tối: chip glass sáng */
  body.btd .btd-nav:not(.is-scrolled) .btd-nav-brand {
    height: auto;
    padding: 5px 10px;
    border-radius: 12px;
    background: rgba(245, 247, 251, 0.1);
    border: 1px solid rgba(245, 247, 251, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(8, 10, 28, 0.35);
  }

  .btd-hero {
    --btd-hero-pos: 62% 40%;
    /* Dùng svh (ổn định) thay dvh: dvh đổi khi thanh URL ẩn/hiện lúc scroll
       khiến hero re-layout, ảnh nền bị "phóng to" giật cục trên mobile */
    min-height: 100svh;
    /* Không clip H1 khi nội dung cao hơn viewport */
    justify-content: flex-start;
  }
  .btd-hero-veil {
    background:
      linear-gradient(180deg, rgba(8, 10, 28, 0.68) 0%, rgba(8, 10, 28, 0.28) 36%, rgba(8, 10, 28, 0.45) 64%, rgba(8, 10, 28, 0.92) 100%),
      linear-gradient(90deg, rgba(8, 10, 28, 0.9) 0%, rgba(8, 10, 28, 0.55) 42%, transparent 78%);
  }
  .btd-hero-frame {
    margin-top: auto;
    padding: calc(var(--btd-nav-h) + 16px) 0 max(18px, env(safe-area-inset-bottom, 0px));
    gap: 16px;
  }
  .btd-hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .btd-hero-promise {
    font-size: 15px;
    margin-bottom: 18px;
    max-width: 40ch;
  }
  .btd-hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btd-hero-cta .btd-btn { width: 100%; min-height: 48px; }
  /* Filmstrip: chỉ 2 ảnh đầu — giữ first viewport gọn */
  .btd-enter { gap: 10px; }
  .btd-enter-rooms .btd-enter-slide { padding: 0 4px; }
  .btd-enter-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding-top: 12px;
  }
  .btd-enter-facts dd {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    word-break: break-word;
  }
  body.btd a.btd-enter-room span {
    font-size: 11px;
    left: 10px;
    bottom: 8px;
  }

  .btd-facts { padding: 24px 0; }
  .btd-facts-row { grid-template-columns: 1fr; gap: 20px; }
  .btd-fact {
    border-right: 0;
    border-bottom: 1px solid var(--btd-line);
    padding: 0 0 16px;
  }
  .btd-fact:last-child { border-bottom: 0; padding-bottom: 0; }

  .btd-intro { padding: 48px 0; }
  .btd-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .btd-intro-stack {
    order: -1;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }
  body.btd a.btd-intro-shot--main {
    grid-row: auto;
    aspect-ratio: 16 / 11;
    min-height: 200px;
  }
  body.btd a.btd-intro-shot {
    aspect-ratio: 16 / 10;
    min-height: 160px;
  }
  .btd-h2 { font-size: clamp(1.65rem, 6vw, 1.9rem); max-width: none; }
  /* Spec list: bảng label–value 2 cột compact thay vì stack dài */
  .btd-spec-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--btd-line);
  }
  .btd-spec-list > div {
    display: grid;
    grid-template-columns: minmax(92px, 0.38fr) minmax(0, 1fr);
    gap: 2px 14px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--btd-line);
  }
  .btd-spec-list dt { margin: 0; font-size: 12.5px; }
  .btd-spec-list dd { font-size: 14px; line-height: 1.4; }

  .btd-compare { padding: 56px 0 64px; }
  .btd-section-head { margin-bottom: 24px; }
  .btd-product-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .btd-product-body { padding: 18px 16px 20px; }
  .btd-product-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .btd-mini-specs > div { grid-template-columns: minmax(84px, 0.4fr) minmax(0, 1fr); }
  .btd-product-cta { flex-direction: column; align-items: stretch; }
  .btd-product-cta .btd-btn { width: 100%; text-align: center; min-height: 48px; }
  .btd-product-cta .btd-text-link { justify-content: center; }

  .btd-runway-card,
  .btd-runway-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px 16px 20px;
  }
  .btd-runway-card:nth-child(even) .btd-runway-copy,
  .btd-runway-card:nth-child(even) .btd-runway-media-col {
    order: initial;
  }
  .btd-runway-body { max-width: none; }
  .btd-runway-media,
  .btd-runway-owl .btd-runway-media {
    aspect-ratio: 16 / 10;
  }
  .btd-runway-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btd-runway-actions .btd-btn { width: 100%; text-align: center; }
  .btd-mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
    gap: 8px;
  }
  .btd-mosaic-item--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    height: auto;
  }
  .btd-mosaic-item--tall,
  .btd-mosaic-item:nth-child(3),
  .btd-mosaic-item:nth-child(4),
  .btd-mosaic-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    display: block;
  }
  /* Ảnh 4+5 ghép cặp 2 cột — tránh ô mồ côi lệch hàng */

  .btd-tours { padding: 56px 0; }
  body.btd .btd-tour-feature img { height: auto; aspect-ratio: 16 / 10; max-height: 240px; }
  .btd-tour-side { grid-template-columns: 1fr; }
  body.btd a.btd-tour-link {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .btd-know { padding: 56px 0; }
  .btd-know-grid--split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .btd-place { padding: 56px 0; }
  .btd-place-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .btd-place-map { max-height: 240px; order: -1; }

  .btd-legal { padding: 56px 0; }
  .btd-legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .btd-legal-aside .btd-h2 { max-width: none; }
  .btd-legal-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .btd-sales { padding: 48px 0 56px; }
  .btd-sales-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .btd-sales-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-height: 360px;
  }
  .btd-sales-actions { width: 100%; }
  .btd-sales-actions .btd-btn { flex: 1 1 auto; justify-content: center; }

  .btd-contact {
    padding: 40px 12px calc(40px + 72px + env(safe-area-inset-bottom, 0px));
  }
  .btd-contact .btd-wrap { width: 100%; }
  .btd-contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .btd-form-panel { padding: 20px 16px; }
  .btd-form .btd-btn--block { min-height: 50px; }

  .btd-finale { min-height: 240px; }
  .btd-finale-inner { padding: 40px 0 32px; margin-left: auto; }

  .btd-footer {
    padding: 40px 0 calc(20px + 72px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 80vh 0 80vh #0e1028;
  }
  .btd-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 20px;
  }
  .btd-footer-brand { grid-column: 1 / -1; }
  .btd-footer-col-contact,
  .btd-footer-col--contact { grid-column: 1 / -1; }
  .btd-footer-contact li {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
  .btd-sticky { display: flex; }

  /* Chatbot không đè sticky CTA */
  body.btd #sun-chatbot .sun-chatbot-launcher,
  body.btd #sun-chatbot .sun-chatbot-window {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: max(10px, env(safe-area-inset-right, 0px)) !important;
  }
}

@media (max-width: 899px) and (min-width: 768px) {
  .btd-footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  }
  .btd-footer-brand { grid-column: auto; }
  .btd-footer-col-contact,
  .btd-footer-col--contact { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
  :root { --btd-nav-h: 56px; }
  .btd-wrap { width: calc(100% - 1.25rem); }
  body.btd .btd-nav-brand img.btd-nav-logo {
    height: 28px !important;
    max-height: 28px !important;
    max-width: 128px !important;
  }
  .btd-nav-brand { height: auto; min-height: 32px; max-width: 152px; }
  body.btd a.btd-nav-cta,
  body.btd .btd-nav-cta {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 36px;
  }
  .btd-hero-frame {
    padding-top: calc(var(--btd-nav-h) + 12px);
    gap: 12px;
  }
  .btd-hero-brand { margin-bottom: 10px; font-size: 11px; }
  .btd-hero-title { font-size: clamp(1.9rem, 9vw, 2.35rem); margin-bottom: 12px; }
  .btd-hero-promise {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* Mobile nhỏ: Owl 2 ảnh / slide, giữ facts */
  .btd-enter-rooms.owl-carousel { display: block; }
  .btd-enter-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }
  .btd-enter-facts dd { font-size: 1.05rem; }
  .btd-intro-stack { gap: 8px; }
  body.btd a.btd-intro-shot--main { min-height: 180px; }
  body.btd a.btd-intro-shot { min-height: 140px; }
  .btd-h3 { font-size: 1.45rem; }
  /* Metrics: giữ 3 ô 1 hàng cho cân đối (tránh ô mồ côi khi 2 cột) */
  .btd-product-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .btd-product-metrics > div { padding: 8px 6px; border-radius: 8px; }
  .btd-product-metrics dt { font-size: 10.5px; }
  .btd-product-metrics dd { font-size: 13px; }
  /* Mosaic: giữ 2 cột compact thay vì stack 1 cột quá dài */
  .btd-mosaic-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 128px;
    gap: 8px;
  }
  .btd-mosaic-item--hero {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    min-height: 168px;
    height: auto;
  }
  .btd-compare-axis {
    flex-wrap: wrap;
    gap: 8px;
  }
  body.btd a.btd-tour-link {
    grid-template-columns: 1fr;
  }
  body.btd a.btd-tour-link img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

@media (max-width: 379px) {
  .btd-enter-facts { grid-template-columns: 1fr 1fr; }
  .btd-sticky-zalo,
  .btd-sticky-lead { font-size: 13px; min-height: 44px; }
  body.btd #sun-chatbot .sun-chatbot-launcher__label { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .btd-mosaic-item img { transition: none; }
  .btd-mosaic-item:hover img { transform: none; }
}

/* Kill bootstrap form chrome bleed on this page body margins */
body.btd .container,
body.btd .row { max-width: none; }
body.btd .lp-body { padding-bottom: 0; }
