/* ==========================================================================
   ZENDY REAL - LUXURY REAL ESTATE COMPLETE DESIGN SYSTEM 2026
   Phong cách kiến trúc đương đại, Didone Serif & Sans-serif sang trọng
   Quy chuẩn nghiêm ngặt:
   - Hero toàn bộ các trang: 45% Đổ Bóng Màu Sang Trọng (Trái) & 55% Hiển Thị Ảnh (Phải)
   - Thanh tìm kiếm Trang Chủ trượt xuống dưới (Margin-top: 0, không ghì đè lên Hero)
   - Bộ lọc Mua Bán / Cho Thuê thông minh gọn gàng, dạng Ribbon trượt ngang, chống trôi mobile 100%
   - Toàn bộ Icon là Vector SVG đơn sắc tinh tế, loại bỏ hoàn toàn Emoji
   - Bố cục bài viết & cẩm nang chuẩn tạp chí kiến trúc cao cấp, thoáng đãng, cân đối
   - Chân trang (Footer) thu gọn tinh tế, ngắn gọn, sang trọng và chuẩn mực
   ========================================================================== */

/* ================= 1. DESIGN TOKENS ================= */
:root {
  --color-primary: #071018;
  --color-primary-dark: #04080d;
  --color-primary-surface: #0d1a29;
  --color-navy-card: #0b1622;
  --color-gold: #c49a45;
  --color-gold-light: #dfbe6f;
  --color-gold-dark: #9d7426;
  --color-gold-gradient: linear-gradient(135deg, #c49a45 0%, #dfbe6f 50%, #b88a32 100%);
  --color-gold-text-grad: linear-gradient(135deg, #dfbe6f 0%, #f7e2a9 50%, #c49a45 100%);
  --color-bg-page: #fbfaf7;
  --color-bg-card: #ffffff;
  --color-border: #ede8df;
  --color-border-subtle: #f0ede6;
  --color-text-main: #14221c;
  --color-text-muted: #5e6d66;
  --color-text-light: #8fa198;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 4px 14px rgba(11, 18, 28, 0.05);
  --shadow-md: 0 10px 28px rgba(11, 18, 28, 0.08);
  --shadow-lg: 0 20px 48px rgba(11, 18, 28, 0.14);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ================= 2. BASE RESETS & ANTI-DRIFT LAYOUT ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip !important;
  width: 100%;
  max-width: 100vw;
}
body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.section-space {
  padding: 76px 0 92px;
}

/* SVG Line Icons Utility */
.svg-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ================= 3. TOPBAR & HEADER NAVIGATION ================= */
.topbar {
  background: #04080d;
  color: #94a3b8;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-divider {
  opacity: 0.3;
}
.topbar a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.topbar a:hover {
  color: var(--color-gold-light);
}

/* Site Header */
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #ebebeb;
  width: 100%;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* 7 Main Nav Items (Trang Chủ, Mua Bán, Cho Thuê, Ký Gửi, Tin Tức, Về chúng Tôi, Liên Hệ) */
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  height: 100%;
  gap: 22px;
}
.nav-menu > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-gold-dark);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--color-gold-gradient);
  border-radius: 2px;
}
.nav-caret {
  display: inline-flex;
  transition: transform 0.2s ease;
  color: #94a3b8;
}
.nav-item-dropdown:hover .nav-caret {
  transform: rotate(180deg);
  color: var(--color-gold-dark);
}

/* ================= SMART COMPACT LUXURY MEGA DROPDOWN ================= */
.nav-item-dropdown {
  position: relative;
}
.mega-dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: -20px;
  width: 620px;
  max-width: 92vw;
  background: #ffffff;
  border: 1px solid rgba(196, 154, 69, 0.28);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(11, 18, 28, 0.16);
  padding: 18px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1050;
}
/* Invisible hover bridge: preserves hover when cursor moves from menu item to dropdown */
.mega-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.nav-item-dropdown:hover .mega-dropdown-panel,
.nav-item-dropdown:focus-within .mega-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.mega-heading-label {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0b121c;
}
.mega-view-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.mega-view-all:hover {
  color: #c49a45;
  text-decoration: underline;
}
.mega-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mega-col-subhead {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}
.mega-cat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s ease;
  margin-bottom: 3px;
}
.mega-cat-item:hover {
  background: #f8fafc;
}
.mega-cat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--color-gold-pale);
  color: var(--color-gold-dark);
  flex-shrink: 0;
  margin-top: 1px;
}
.mega-cat-info strong {
  display: block;
  font-size: 12.5px;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.3;
}
.mega-cat-info small {
  display: block;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  margin-top: 1px;
}
.mega-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  color: #64748b;
}
.mega-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-decoration: none;
}
}
.mega-promo-btn:hover {
  background: #162434;
}

/* Header Action & Mobile Hamburger */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.btn-gold-header {
  background: var(--color-gold-gradient);
  color: #070c14 !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(196, 154, 69, 0.25);
  transition: all 0.2s;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-gold-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196, 154, 69, 0.4);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
}

/* ================= 4. UNIVERSAL HERO SPLIT (45% ĐỔ BÓNG / 55% ẢNH THỰC TẾ) ================= */
.v5-hero-section {
  background: #071018;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
  border-bottom: 1px solid rgba(223, 190, 111, 0.18);
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 45% 55%; /* TỶ LỆ 45% ĐỔ BÓNG / 55% ẢNH THỰC TẾ */
  min-height: 540px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: stretch;
}
.hero-split-left {
  padding: 50px 38px 50px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #071018 0%, #0d1a29 55%, #112030 100%);
  position: relative;
  z-index: 2;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hero-split-right {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  width: 100%;
  background: #071018;
}
.hero-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-dark-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #071018 0%, rgba(7, 16, 24, 0.65) 28%, rgba(7, 16, 24, 0.15) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero Typography & Eyebrow Badge */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 14px;
}
.breadcrumb-trail a {
  color: #cbd5e1;
  transition: color 0.2s;
}
.breadcrumb-trail a:hover {
  color: var(--color-gold-light);
}
.breadcrumb-trail .current {
  color: var(--color-gold-light);
}
.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(223, 190, 111, 0.5);
  color: var(--color-gold-light);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  background: rgba(223, 190, 111, 0.08);
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #ffffff;
  display: block;
  text-wrap: balance;
  max-width: 100%;
  word-break: break-word;
}
.about-hero-headline {
  display: block !important;
}
.hero-gold-italic {
  font-style: italic;
  font-family: var(--font-serif);
  background: var(--color-gold-text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-gold-sub {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 22px);
  background: var(--color-gold-text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.hero-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 500px;
  margin: 0 0 24px;
}

/* Hero Action Buttons */
.hero-action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-hero-gold {
  background: var(--color-gold-gradient);
  color: #070c14 !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(196, 154, 69, 0.35);
  transition: all 0.2s ease;
}
.btn-hero-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196, 154, 69, 0.45);
}
.btn-hero-outline {
  border: 1.5px solid rgba(223, 190, 111, 0.6);
  color: var(--color-gold-light);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-hero-outline:hover {
  background: rgba(223, 190, 111, 0.12);
  border-color: var(--color-gold-light);
}

/* Hero Trust Row */
.hero-badges-desktop {
  display: block;
}
.hero-trust-strip-mobile {
  display: none !important;
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 16px;
  padding-top: 18px;
  max-width: 520px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.trust-icon {
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
}
.trust-text strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.3;
}
.trust-text small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.3;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

/* Specs in Detail Hero */
.detail-hero-specs-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.detail-spec-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-hero-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

/* Floating Glass Pill Badge (Trên 55% ảnh phải) */
.hero-float-pill {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(7, 16, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-gold-light);
  border-radius: 40px;
  padding: 8px 14px 8px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
  z-index: 2;
}
.hero-float-pill:hover {
  transform: scale(1.03);
}
.pill-info strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.04em;
}
.pill-info span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #cbd5e1;
}
.pill-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold-gradient);
  color: #070c14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ================= 5. STANDALONE HOMEPAGE SEARCH BAR ================= */
/* KHÔNG GHÌ ĐÈ LÊN PHẦN HERO (MARGIN-TOP: 0 ĐỘC LẬP) */
.home-search-section {
  background: #fbfaf7;
  padding: 36px 0 24px;
  margin-top: 0 !important;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--color-border);
}
.home-search-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(11, 18, 28, 0.06);
  border: 1px solid #ebe8df;
  padding: 22px 28px;
}
.search-top-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #f0ede6;
  margin-bottom: 18px;
  padding-bottom: 12px;
}
.search-tab-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}
.search-tab-btn.active {
  background: #071018;
  color: var(--color-gold-light);
}
.search-form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}
.search-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.select-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.select-with-icon .sel-ico {
  position: absolute;
  left: 12px;
  color: #64748b;
  pointer-events: none;
  display: flex;
}
.select-with-icon select {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0 12px 0 38px;
  font-size: 13.5px;
  color: #1e293b;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s;
}
.select-with-icon select:focus {
  border-color: var(--color-gold);
}
.btn-search-gold {
  height: 44px;
  background: var(--color-gold-gradient);
  color: #070c14;
  font-weight: 700;
  font-size: 13px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(196, 154, 69, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-search-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196, 154, 69, 0.45);
}

/* ================= 6. SMART COMPACT LISTING FILTER (CHỐNG TRÔI MOBILE 100%) ================= */
.listing-filter-section {
  background: #ffffff;
  border-bottom: 1px solid #ebe8df;
  padding: 16px 0 24px;
  position: relative;
  z-index: 15;
}
/* Ribbon trượt ngang mượt mà, swipe cảm ứng cực êm */
.filter-ribbon-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  padding: 6px 0 14px;
}
.filter-ribbon-wrapper::-webkit-scrollbar {
  display: none;
}
.filter-ribbon-track {
  display: flex;
  gap: 10px;
  align-items: center;
  width: max-content;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.filter-pill:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}
.filter-pill.active {
  background: var(--color-gold-gradient);
  color: #070c14;
  font-weight: 700;
  border-color: var(--color-gold);
  box-shadow: 0 4px 14px rgba(196, 154, 69, 0.25);
}

/* Thanh tiêu chí thu gọn */
.filter-toolbar-box {
  background: #fbfaf7;
  border-radius: var(--radius-md);
  border: 1px solid #ede8df;
  padding: 18px 22px;
}
.filter-toolbar-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 16px;
  align-items: flex-end;
}
.filter-col-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.filter-native-select {
  width: 100%;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0 12px;
  font-size: 13.5px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s;
}
.filter-native-select:focus {
  border-color: var(--color-gold);
}
.btn-filter-reset {
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-filter-reset:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
  color: #0f172a;
}
.filter-status-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ebe8df;
  font-size: 13px;
  color: #64748b;
}
.filter-counter-text strong {
  color: var(--color-gold-dark);
  font-size: 14.5px;
}
.filter-consign-link {
  color: var(--color-gold-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.filter-consign-link:hover {
  text-decoration: underline;
}

/* Listing Results Grid */
.listing-results-section {
  padding: 48px 0 96px;
  width: 100%;
  overflow-x: hidden;
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  width: 100%;
  box-sizing: border-box;
}
.empty-filter-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px dashed #cbd5e1;
}
.empty-icon {
  font-size: 32px;
  color: #94a3b8;
  display: block;
  margin-bottom: 12px;
}
.empty-filter-state h3 {
  font-size: 18px;
  color: #0b121c;
  margin-bottom: 8px;
}
.empty-filter-state p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

/* ================= 7. PROPERTY CARD (CHUẨN VÀNG KIM ĐẲNG CẤP) ================= */
.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.concept-card {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(11, 18, 28, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}
.concept-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(11, 18, 28, 0.08);
  border-color: rgba(196, 154, 69, 0.35);
}
.card-media-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #071018;
}
.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.concept-card:hover .card-thumb {
  transform: scale(1.05);
}
.card-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-gold-gradient);
  color: #070c14;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.04em;
}
.card-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.2s ease;
}
.card-fav-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
}
.card-content-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.card-title a {
  color: #0b121c;
  transition: color 0.2s ease;
}
.card-title a:hover {
  color: var(--color-gold-dark);
}
.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
}
.card-specs-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid #f0ede6;
  border-bottom: 1px solid #f0ede6;
  margin-bottom: 14px;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #475569;
}
.card-excerpt {
  font-size: 13.5px;
  color: #5e6d66;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-bottom-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}
.card-price-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-gold-dark);
}
.card-circle-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #071018;
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.concept-card:hover .card-circle-arrow-btn {
  background: var(--color-gold-gradient);
  color: #070c14;
  transform: scale(1.08);
}

/* ================= 8. ARTICLE EDITORIAL & NEWS GRID ================= */
.featured-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}
.sub-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.kicker-gold {
  color: var(--color-gold-light);
}
.section-title-large {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.2vw, 32px);
  color: #0b121c;
  margin: 0 0 8px;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .title-single-line {
    white-space: nowrap !important;
  }
}
@media (max-width: 767px) {
  .section-title-large {
    font-size: clamp(19px, 5.2vw, 25px);
    text-wrap: balance;
    word-break: normal;
    line-height: 1.35;
  }
}
.section-subtitle,
.subtitle-single-line {
  font-size: clamp(13.5px, 1.1vw, 15px);
  color: #64748b;
  margin: 0;
  max-width: 100%;
}
@media (min-width: 992px) {
  .subtitle-single-line,
  .section-header-block .section-subtitle {
    white-space: nowrap !important;
    text-overflow: ellipsis;
  }
}
@media (max-width: 768px) {
  .subtitle-single-line,
  .section-header-block .section-subtitle {
    font-size: 13px;
    line-height: 1.45;
    text-wrap: balance;
  }
}
.view-all-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-gold-dark);
  transition: color 0.2s;
  white-space: nowrap;
}
.view-all-link:hover {
  text-decoration: underline;
}

/* News 3-Grid */
.news-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 30px;
}
.news-card {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 18, 28, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 18, 28, 0.07);
  border-color: rgba(196, 154, 69, 0.3);
}
.news-thumb-link {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
}
.news-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.news-card:hover .news-thumb-link img {
  transform: scale(1.05);
}
.news-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 16, 24, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-gold-light);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(223, 190, 111, 0.4);
}
.news-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 10px;
}
.news-meta .sep {
  opacity: 0.4;
}
.news-title {
  font-family: var(--font-serif);
  font-size: 17.5px;
  line-height: 1.45;
  margin: 0 0 10px;
}
.news-title a {
  color: #0b121c;
  transition: color 0.2s ease;
}
.news-title a:hover {
  color: var(--color-gold-dark);
}
.news-desc {
  font-size: 13.5px;
  color: #5e6d66;
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-read-more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Article Detail Editorial Wrap (2-Column Luxury Ratio) */
.article-editorial-wrap {
  padding: 60px 0 100px;
  width: 100%;
  overflow-x: hidden;
}
.article-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.article-main-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #ede8df;
  padding: 48px 44px;
  box-shadow: 0 4px 20px rgba(11, 18, 28, 0.04);
}
.article-summary-lead {
  background: #fdfbf7;
  border: 1px solid #ede8df;
  border-left: 4px solid var(--color-gold);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.article-summary-lead strong {
  display: block;
  color: var(--color-gold-dark);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.article-summary-lead p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}
.article-paragraph {
  font-size: 17px;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 26px;
}
.article-pull-quote {
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid var(--color-gold);
  padding: 24px 30px;
  margin: 32px 0;
  position: relative;
}
.article-pull-quote blockquote {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: #1e293b;
  line-height: 1.7;
  margin: 0;
}
.quote-icon {
  position: absolute;
  top: 14px;
  right: 18px;
  opacity: 0.4;
}
.article-cta-box {
  background: #0b1622;
  color: #ffffff;
  border-radius: 16px;
  padding: 40px 36px;
  margin-top: 48px;
  border: 1px solid rgba(223, 190, 111, 0.2);
}
.acb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.article-cta-box h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 12px;
}
.article-cta-box p {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 600px;
}
.acb-action-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-author-box, .sidebar-box-clean {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #ede8df;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(11, 18, 28, 0.03);
}
.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  margin-bottom: 14px;
}
.sidebar-author-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0b121c;
  margin-bottom: 6px;
}
.author-bio {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 16px;
}
.sidebar-author-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
}
.sidebar-box-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gold-dark);
  letter-spacing: 0.06em;
  border-bottom: 1px solid #f0ede6;
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.sidebar-related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-related-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.sidebar-related-item img {
  width: 68px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sri-body h4 {
  font-size: 13px;
  line-height: 1.4;
  color: #1e293b;
  margin-bottom: 4px;
  font-weight: 600;
}
.sri-body small {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
}

/* ================= 9. FOOTER (GỌN GÀNG, SANG TRỌNG, CHUẨN MỰC) ================= */
.site-footer {
  background: #071018;
  color: #94a3b8;
  font-size: 13.5px;
  padding-top: 64px;
  border-top: 1px solid rgba(223, 190, 111, 0.2);
  width: 100%;
  overflow-x: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-tagline {
  color: #dfbe6f;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 14.5px;
  margin: 12px 0 6px;
}
.footer-company-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}
.footer-tax {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}
.footer-social-row {
  display: flex;
  gap: 10px;
}
.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfbe6f;
  transition: all 0.2s ease;
}
.social-circle:hover {
  background: var(--color-gold);
  color: #070c14;
  border-color: var(--color-gold);
  transform: translateY(-2px);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: #dfbe6f;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #cbd5e1;
  font-size: 13.5px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #dfbe6f;
  padding-left: 4px;
}
.footer-info-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
}
.footer-info-item .info-ico {
  flex-shrink: 0;
  margin-top: 2px;
  color: #dfbe6f;
}
.footer-bottom {
  padding: 22px 0 28px;
  font-size: 12.5px;
  color: #64748b;
}
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-bottom-links a {
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: #dfbe6f;
}

/* ================= 10. MOBILE STICKY ACTION BAR & DRAWER ================= */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #071018;
  border-top: 1px solid rgba(223, 190, 111, 0.25);
  z-index: 999;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.mab-btn {
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2px;
}
.mab-call {
  background: var(--color-gold-gradient);
  color: #070c14;
}
.mab-call .svg-ico {
  stroke: #070c14;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #071018;
  color: #ffffff;
  z-index: 2000;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}
.mobile-drawer[hidden] {
  display: none;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
}
.drawer-backdrop[hidden] {
  display: none;
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-drawer-close {
  font-size: 1.4rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-drawer-body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}
.mobile-nav-link {
  color: #cbd5e1;
  font-size: 14.5px;
  font-weight: 600;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-link.active {
  color: var(--color-gold-light);
}
.mobile-nav-accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cbd5e1;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav-accordion summary::-webkit-details-marker {
  display: none;
}
.mobile-sub-list {
  padding: 8px 0 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-sub-link {
  color: #94a3b8;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.mobile-sub-link.is-all {
  color: var(--color-gold-light);
  font-weight: 700;
}
.mobile-drawer-actions {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer-btn-call {
  background: var(--color-gold-gradient);
  color: #070c14;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mobile-drawer-btn-ai {
  background: rgba(223, 190, 111, 0.12);
  border: 1px solid var(--color-gold-light);
  color: var(--color-gold-light);
  font-weight: 700;
  font-size: 12.5px;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ================= 11. HOMEPAGE & DETAIL SECTIONS ================= */
.v5-process-section {
  background: #ffffff;
  border-top: 1px solid #ebe8df;
  border-bottom: 1px solid #ebe8df;
}
.section-center-head {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 36px;
  padding: 0 16px;
}
.process-5grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.process-step-item {
  text-align: center;
  padding: 24px 16px;
  background: #fbfaf7;
  border-radius: var(--radius-md);
  border: 1px solid #ede8df;
  transition: all 0.25s ease;
}
.process-step-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(11, 18, 28, 0.05);
}
.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #071018;
  color: var(--color-gold-light);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 1.5px solid var(--color-gold);
}
.process-step-item h3 {
  font-size: 14.5px;
  color: #0b121c;
  margin-bottom: 8px;
}
.process-step-item p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Values 4-Grid */
.values-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 28px rgba(11, 18, 28, 0.06);
}
.value-ico {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-card h3 {
  font-size: 16px;
  color: #0b121c;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* AI Assistant Banner */
.ai-banner-card {
  background: #0b1622;
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid rgba(223, 190, 111, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}
.ai-banner-title {
  font-family: var(--font-serif);
  font-size: 26px;
  margin: 6px 0 10px;
  color: #ffffff;
}
.ai-banner-desc {
  font-size: 14.5px;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 18px;
}
.ai-quick-prompts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ai-prompt-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(223, 190, 111, 0.3);
  color: #e2e8f0;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.ai-prompt-chip:hover {
  background: rgba(223, 190, 111, 0.15);
  border-color: var(--color-gold-light);
  color: #ffffff;
}
.ai-start-btn {
  white-space: nowrap;
  padding: 13px 26px;
}

/* CTA Band */
.v5-cta-band {
  background: #071018;
  padding: 56px 0;
  border-top: 1px solid rgba(223, 190, 111, 0.15);
}
.cta-band-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band-text h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #ffffff;
  margin: 6px 0 8px;
}
.cta-band-text p {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0;
}
.cta-band-buttons {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* Detail Page Specific */
.detail-page-wrapper {
  padding: 36px 0 80px;
  width: 100%;
  overflow-x: hidden;
}
.gallery-thumbs-row-wrap {
  margin-bottom: 32px;
}
.gallery-thumbs-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.gallery-thumb-item {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  opacity: 0.7;
  transition: all 0.2s;
}
.gallery-thumb-item.active, .gallery-thumb-item:hover {
  opacity: 1;
  border-color: var(--color-gold);
}
.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-content-split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.detail-box {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(11, 18, 28, 0.03);
}
.box-subhead {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-gold-dark);
  letter-spacing: 0.06em;
  border-bottom: 1px solid #f0ede6;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.specs-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}
.spec-cell {
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
}
.cell-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 4px;
}
.cell-val {
  font-size: 15px;
  color: #0b121c;
  display: block;
}
.cell-legal {
  color: #15803d;
  font-weight: 700;
}
.detail-text-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 16px;
}
.amenities-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.amenity-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Agent Contact Card (Right Column) */
.agent-contact-card {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(11, 18, 28, 0.05);
  position: sticky;
  top: 96px;
}
.agent-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.agent-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}
.agent-info strong {
  display: block;
  font-size: 14.5px;
  color: #0b121c;
}
.agent-info span {
  font-size: 12px;
  color: #64748b;
}
.agent-hotlines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.btn-agent-call {
  background: var(--color-gold-gradient);
  color: #070c14;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}
.btn-agent-zalo {
  background: #0284c7;
  color: #ffffff;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.agent-divider {
  border: none;
  border-top: 1px solid #f0ede6;
  margin: 18px 0;
}
.booking-form-title {
  font-size: 14px;
  font-weight: 800;
  color: #0b121c;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.booking-form-sub {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
}
.form-field {
  margin-bottom: 12px;
}
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
  background: #ffffff;
  color: #0f172a;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--color-gold);
}
.form-submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 13px;
  justify-content: center;
  margin-top: 6px;
}
.form-status-msg {
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
}

/* Consignment Steps & Form */
.consign-steps-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.step-card {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #071018;
  color: var(--color-gold-light);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 1.5px solid var(--color-gold);
}
.step-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}
.consign-form-container {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 10px 30px rgba(11, 18, 28, 0.04);
}
.consign-form-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}
.consign-form-intro h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 8px;
}
.consign-form-intro p {
  font-size: 14px;
  color: #64748b;
}
.consign-grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-col-subhead {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-gold-dark);
  border-bottom: 1px solid #f0ede6;
  padding-bottom: 8px;
  margin-bottom: 18px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.consign-submit-btn {
  width: 100%;
  padding: 12px;
  justify-content: center;
  margin-top: 12px;
}

/* About & Contact Page */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
}
.about-story-copy {
  min-width: 0;
  max-width: 100%;
}
.about-story-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 18px;
  line-height: 1.3;
  word-break: break-word;
}
.about-story-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 16px;
  word-break: break-word;
}
.about-story-photo {
  min-width: 0;
  max-width: 100%;
}
.rounded-photo {
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(11, 18, 28, 0.08);
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* Corporate Profile Card & About Page Enhancements */
.company-legal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(11, 18, 28, 0.04);
  margin-top: 40px;
}
.company-legal-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-primary-dark);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.company-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
}
@media (max-width: 768px) {
  .company-legal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.company-legal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.company-legal-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-weight: 700;
}
.company-legal-item .val {
  font-size: 14.5px;
  color: #1e293b;
  font-weight: 600;
}

/* Culture & Team Gallery (Real Facebook Fanpage Photos) */
.about-culture-section {
  margin-top: 60px;
}
.about-culture-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.about-culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .about-culture-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.culture-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7, 16, 24, 0.08);
  border: 1px solid #ede8df;
  background: #ffffff;
}
.culture-photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.culture-photo-card:hover img {
  transform: scale(1.03);
}
.culture-photo-caption {
  padding: 16px 20px;
  background: #ffffff;
}
.culture-photo-caption h4 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--color-primary-dark);
}
.culture-photo-caption p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-panel, .contact-form-panel {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 4px 16px rgba(11, 18, 28, 0.03);
}
.contact-info-panel h2, .contact-form-panel h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 8px;
}
.contact-card-item {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cci-ico {
  color: var(--color-gold-dark);
  margin-top: 3px;
  display: flex;
}

/* AI Assistant Interface Wrap */
.ai-chat-interface-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.ai-chat-box {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(11, 18, 28, 0.05);
  padding: 24px;
}
.ai-chat-messages {
  min-height: 300px;
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid #f0ede6;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 18px;
  background: #fbfaf7;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-msg {
  display: flex;
}
.ai-msg.bot {
  justify-content: flex-start;
}
.ai-msg.user {
  justify-content: flex-end;
}
.ai-bubble {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.ai-msg.bot .ai-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}
.ai-msg.user .ai-bubble {
  background: #071018;
  color: #ffffff;
}
.ai-chat-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ai-sugg-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}
.ai-sugg-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.ai-chat-input-row {
  display: flex;
  gap: 10px;
}
.ai-chat-input-row input {
  flex: 1;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}
.ai-chat-input-row input:focus {
  border-color: var(--color-gold);
}

/* Policy Content */
.policy-content-card {
  background: #ffffff;
  border: 1px solid #ede8df;
  border-radius: 16px;
  padding: 44px;
  max-width: 860px;
  margin: 0 auto;
}
.policy-content-card h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #0b121c;
  margin: 28px 0 10px;
}
.policy-content-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 16px;
}

/* ================= 12. RESPONSIVE BREAKPOINTS (CHỐNG TRÀN & TRÔI MOBILE) ================= */
@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 50% 50%;
  }
  .properties-grid, .featured-cards-grid, .news-3grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-5grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .values-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .article-editorial-grid {
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-split-left {
    padding: 40px 24px 32px;
  }
  .hero-split-right {
    height: 320px;
    min-height: 280px;
  }
  .hero-dark-vignette {
    background: linear-gradient(to bottom, #071018 0%, transparent 100%);
  }
  .filter-toolbar-row {
    grid-template-columns: 1fr 1fr;
  }
  .search-form-row {
    grid-template-columns: 1fr 1fr;
  }
  .detail-content-split {
    grid-template-columns: 1fr;
  }
  .consign-grid-form {
    grid-template-columns: 1fr;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .contact-split-grid {
    grid-template-columns: 1fr;
  }
  .article-editorial-grid {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px !important;
    padding: 0 12px !important;
  }
  .brand-logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: 125px !important;
    object-fit: contain !important;
  }
  .header-cta-group {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .btn-gold-header {
    padding: 6px 11px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    box-shadow: 0 2px 8px rgba(196, 154, 69, 0.2) !important;
  }
  .featured-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }
  .featured-header-row > div {
    width: 100% !important;
  }
  .featured-header-row .view-all-link {
    margin-top: 4px !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }
  .sub-kicker {
    font-size: clamp(10px, 2.7vw, 11.5px) !important;
    white-space: nowrap !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 4px !important;
  }
  .section-title-large,
  .title-single-line {
    font-size: clamp(15px, 4.3vw, 21px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
    margin: 0 0 6px !important;
  }
  .section-subtitle,
  .subtitle-single-line {
    font-size: clamp(12.5px, 3.2vw, 14px) !important;
    line-height: 1.45 !important;
  }
  .topbar {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-action-bar {
    display: grid;
  }
  body {
    padding-bottom: 56px;
  }
  .properties-grid, .featured-cards-grid, .news-3grid {
    grid-template-columns: 1fr;
  }
  .process-5grid {
    grid-template-columns: 1fr;
  }
  .values-4grid {
    grid-template-columns: 1fr;
  }
  .consign-steps-strip {
    grid-template-columns: 1fr;
  }
  .search-form-row {
    grid-template-columns: 1fr;
  }
  .filter-toolbar-row {
    grid-template-columns: 1fr;
  }
  .filter-status-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .specs-data-grid, .amenities-tags-grid {
    grid-template-columns: 1fr;
  }
  .ai-banner-card {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }
  .cta-band-box {
    flex-direction: column;
    text-align: center;
  }
  /* Mobile Hero Trust Badges Re-positioned BELOW Photo */
  .hero-badges-desktop {
    display: none !important;
  }
  .hero-trust-strip-mobile {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px 8px !important;
    background: #071018 !important;
    border-top: 1px solid rgba(223, 190, 111, 0.22) !important;
  }
  .hero-trust-strip-mobile .hero-trust-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-trust-strip-mobile .trust-badge {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(223, 190, 111, 0.22) !important;
    border-radius: 8px !important;
    padding: 9px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-trust-strip-mobile .trust-icon {
    color: var(--color-gold-light) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .hero-trust-strip-mobile .trust-text {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    width: 100% !important;
  }
  .hero-trust-strip-mobile .trust-text strong {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
  }
  .hero-trust-strip-mobile .trust-text small {
    color: #cbd5e1 !important;
    font-size: clamp(10px, 2.8vw, 12px) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-left: 8px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    line-height: 1.2 !important;
  }
  .hero-trust-strip-mobile .trust-divider {
    display: none !important;
  }
  .about-story-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .about-story-copy {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .about-story-copy h2 {
    font-size: clamp(20px, 5.5vw, 25px) !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  .about-story-copy p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 12px !important;
  }
  .about-story-photo {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .about-story-photo img,
  .rounded-photo {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-copy-text {
    white-space: nowrap !important;
    font-size: clamp(8.8px, 2.6vw, 11.5px) !important;
    text-align: center !important;
    width: 100% !important;
    overflow: visible !important;
    margin: 0 !important;
    display: block !important;
    letter-spacing: -0.01em !important;
  }
  .article-main-card {
    padding: 28px 18px;
  }
  .article-cta-box {
    padding: 28px 18px;
  }
}

/* ================= 15. UNIVERSAL FLOATING ZENDY AI WIDGET ================= */
.zendy-ai-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
}
@media (max-width: 767px) {
  .zendy-ai-widget {
    bottom: 74px; /* Trên thanh mobile-action-bar */
    right: 16px;
  }
}
.zendy-ai-launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #dfbe6f 0%, #c49a45 100%);
  color: #071018;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  padding: 12px 20px;
  box-shadow: 0 12px 32px rgba(196, 154, 69, 0.35), 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.zendy-ai-launcher:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(196, 154, 69, 0.45);
}
.launcher-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid #dfbe6f;
  opacity: 0.8;
  animation: aiPulse 2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
@keyframes aiPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 0.3; }
  100% { transform: scale(1.15); opacity: 0; }
}
.launcher-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Modal Dialog */
.zendy-ai-modal {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border: 1px solid rgba(196, 154, 69, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(7, 16, 24, 0.25);
  display: none !important;
  flex-direction: column;
  overflow: hidden;
  z-index: 1050;
  animation: aiModalOpen 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.zendy-ai-modal[hidden] {
  display: none !important;
}
.zendy-ai-modal.is-open:not([hidden]) {
  display: flex !important;
}
@keyframes aiModalOpen {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-modal-header {
  background: linear-gradient(135deg, #071018 0%, #0d1a29 100%);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(223, 190, 111, 0.2);
}
.ai-modal-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-agent-avatar {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #c49a45;
  overflow: visible;
}
.ai-agent-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.ai-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border: 2px solid #071018;
  border-radius: 50%;
}
.ai-modal-agent strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
}
.ai-modal-agent small {
  display: block;
  font-size: 11px;
  color: #dfbe6f;
}
.ai-header-actions {
  display: flex;
  gap: 6px;
}
.ai-btn-close, .ai-btn-reset {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.ai-btn-close:hover, .ai-btn-reset:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ai-modal-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}
.ai-msg {
  display: flex;
  max-width: 90%;
}
.ai-msg.bot {
  align-self: flex-start;
}
.ai-msg.user {
  align-self: flex-end;
}
.ai-msg.bot .ai-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 12px 12px 12px 2px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ai-msg.user .ai-bubble {
  background: linear-gradient(135deg, #dfbe6f 0%, #c49a45 100%);
  color: #071018;
  border-radius: 12px 12px 2px 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.ai-bubble p { margin: 0; }
.ai-modal-chips {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.ai-modal-chips::-webkit-scrollbar { display: none; }
.ai-modal-chip {
  font-size: 11.5px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.18s;
}
.ai-modal-chip:hover {
  background: var(--color-gold-pale);
  border-color: #c49a45;
  color: var(--color-gold-dark);
}

.ai-modal-form {
  display: flex;
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  gap: 8px;
}
.ai-modal-form input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 9px 16px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.ai-modal-form input:focus {
  border-color: #c49a45;
}
.ai-modal-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #c49a45;
  color: #071018;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.ai-modal-send:hover {
  background: #dfbe6f;
}

/* AI Property Cards in Messages */
.ai-prop-card {
  display: flex;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px;
  margin-top: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s;
}
.ai-prop-card:hover {
  background: #f1f5f9;
}
.ai-prop-card img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}
.ai-prop-card-body {
  flex: 1;
  min-width: 0;
}
.ai-prop-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #0b121c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-prop-card-price {
  font-size: 12px;
  font-weight: 700;
  color: #b88628;
}
.ai-prop-card-loc {
  font-size: 10.5px;
  color: #64748b;
}

/* Mobile Layout Safeguards */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}
.mobile-action-bar {
  padding-bottom: max(8px, env(safe-area-inset-bottom, 8px));
}
.cta-band-title {
  font-size: clamp(18px, 2.3vw, 28px);
  color: #ffffff;
  margin: 0 0 10px;
}
.mab-btn, .mobile-nav-link, .mobile-nav-summary, .card-fav-btn, .card-circle-arrow-btn {
  min-height: 44px;
  min-width: 44px;
}

/* ================= 16. LUXURY FULLSCREEN IMAGE LIGHTBOX MODAL ================= */
.property-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 13, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.property-lightbox-modal.is-active {
  display: flex !important;
  opacity: 1 !important;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}
.lightbox-container {
  position: relative;
  z-index: 3001;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-main-img {
  max-width: 90vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(223, 190, 111, 0.3);
  user-select: none;
  transition: transform 0.2s ease;
}
.lightbox-caption-bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 90vw;
  color: #e2e8f0;
  font-size: 13.5px;
  padding: 8px 16px;
  background: rgba(11, 18, 28, 0.85);
  border: 1px solid rgba(223, 190, 111, 0.25);
  border-radius: 8px;
  box-sizing: border-box;
  gap: 12px;
}
.lightbox-title-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.lightbox-counter {
  font-weight: 700;
  color: var(--color-gold-light);
  font-size: 13px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3002;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox-close-btn:hover {
  background: rgba(196, 154, 69, 0.3);
  border-color: #dfbe6f;
  transform: scale(1.08);
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3002;
  background: rgba(11, 18, 28, 0.75);
  border: 1px solid rgba(223, 190, 111, 0.35);
  color: #dfbe6f;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox-nav-btn:hover {
  background: #c49a45;
  color: #071018;
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev-btn {
  left: 24px;
}
.lightbox-next-btn {
  right: 24px;
}
@media (max-width: 767px) {
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev-btn { left: 10px; }
  .lightbox-next-btn { right: 10px; }
  .lightbox-close-btn { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-main-img { max-height: 68vh; }
  
  /* Footer Spacing for Mobile Bottom Action Bar */
  .site-footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 16px)) !important;
  }
}

/* Lightbox Trigger Interactive Pointer */
.lightbox-trigger {
  cursor: zoom-in;
  transition: opacity 0.2s, transform 0.2s;
}
.lightbox-trigger:hover {
  opacity: 0.95;
}

/* ================= 17. RESPONSIVE VIDEO SHOWCASE (YOUTUBE / TIKTOK) ================= */
.video-showcase-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-top: 32px;
}
.video-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.video-showcase-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(223, 190, 111, 0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: #071018;
}
.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-tiktok-box {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #04080d;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s;
}
.video-tiktok-box:hover {
  border-color: #dfbe6f;
  background: #0b121c;
  color: #dfbe6f;
}
