/*
Theme Name: The Global City
Theme URI: https://rel.vn/
Author: Masterise Homes Luxury Real Estate
Author URI: https://rel.vn/
Description: Giao diện Bất Động Sản Siêu Sang The Global City - Masterise Homes. Thiết kế chuẩn Foster + Partners, tối ưu tốc độ, hình ảnh WebP 100%, chuẩn SEO và đầy đủ cấu hình quản trị.
Version: 2.0.0
Text Domain: theglobalcity
*/

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&display=swap');

:root {
  /* Luxury Gold & Light Color Palette */
  --gold-primary: #c5a059;
  --gold-light: #dfb76c;
  --gold-lighter: #f7eed7;
  --gold-dark: #987834;
  --gold-gradient: linear-gradient(135deg, #e6ca85 0%, #c5a059 50%, #9b7933 100%);
  --gold-glow: rgba(197, 160, 89, 0.35);

  --navy-deep: #060b14;
  --navy-dark: #0a1222;
  --navy-card: #0f1a30;
  --navy-border: rgba(197, 160, 89, 0.2);

  --dark-text: #0f172a;
  --body-text: #334155;
  --muted-text: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;

  --red-accent: #dc2626;
  --green-accent: #16a34a;

  --font-heading: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 8px 30px rgba(197, 160, 89, 0.25);
  --shadow-card: 0 12px 35px rgba(10, 18, 34, 0.08);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--body-text);
  background-color: var(--light-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Container & Grid System */
.container {
  width: 100%;
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 18px;
  padding-left: 18px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-3 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-4 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-5 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-7 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-8 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-md-9 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
}

/* Topbar (Light Theme) */
.topbar {
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-weight: 700;
}

.topbar-badge i {
  color: var(--gold-primary);
}

.topbar-hotline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
  font-weight: 700;
}

.topbar-hotline a {
  color: #0f172a;
}

.topbar-hotline i {
  color: var(--gold-primary);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar-link {
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
}

.topbar-link:hover {
  color: var(--gold-dark);
}

/* Site Header (Light Theme) */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0f172a;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

/* Main Navigation */
.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0f172a;
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-menu > li:hover > a,
.nav-menu > li.current-menu-item > a {
  color: var(--gold-dark);
}

.nav-menu > li:hover > a::after,
.nav-menu > li.current-menu-item > a::after {
  width: 100%;
}

/* Dropdown Menu (Light Theme) */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  border-left: 2px solid transparent;
  transition: var(--transition);
}

.nav-menu .sub-menu li a:hover {
  background: #f8fafc;
  color: var(--gold-dark);
  border-left-color: var(--gold-primary);
  padding-left: 24px;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.45);
  color: var(--navy-deep);
}

/* Mobile Header Actions & Nav Toggle */
.mobile-header-actions {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

.mobile-header-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #dfba73 0%, #c5a059 50%, #9e7a36 100%);
  color: #0f172a !important;
  font-weight: 700;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mobile-header-call-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.5);
}

.mobile-header-call-btn i {
  font-size: 11.5px;
  color: #0f172a;
}

.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle:hover {
  background: #ffffff;
  border-color: var(--gold-primary);
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 11, 20, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
}

.drawer-backdrop.active {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--navy-dark);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 25px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-left: 1px solid var(--navy-border);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--gold-light);
  cursor: pointer;
}

.mobile-menu li {
  margin-bottom: 10px;
}

.mobile-menu a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #e2e8f0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

/* HERO SECTION - REFINED LUXURY */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0 90px 0;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.45) 50%, rgba(15, 23, 42, 0.65) 100%);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  margin-bottom: 30px;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid rgba(197, 160, 89, 0.6);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-pill-tag i {
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--font-heading);
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 820px;
}

.hero-title-main {
  display: block;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.hero-title-gradient {
  display: block;
  font-size: clamp(16px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.35;
}


.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #f1f5f9;
  max-width: 650px;
  margin-bottom: 30px;
  text-wrap: pretty;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Key Metrics Badges in Hero */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 25px;
  max-width: 650px;
}

@media (min-width: 576px) {
  .hero-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #987834;
  line-height: 1.2;
}

.metric-lbl {
  font-size: 11px;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  font-weight: 700;
}

/* VIP Quote Card */
.quote-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(197, 160, 89, 0.25);
}

.quote-card-header {
  text-align: center;
  margin-bottom: 22px;
}

.quote-card-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-card-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}


.form-group {
  margin-bottom: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
  background: #ffffff;
}

select.form-control {
  color: #0f172a;
}

select.form-control option {
  background: #ffffff;
  color: #0f172a;
}


.btn-submit {
  width: 100%;
  padding: 14px 20px;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-deep);
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.45);
}

/* SECTION TITLES & HEADERS */
.section {
  padding: 70px 0;
}

.section-dark {
  background: #f8fafc;
  color: #475569;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--dark-text);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-wrap: balance;
}

.section-dark .section-title {
  color: #0f172a;
}

.section-desc {
  max-width: 780px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--muted-text);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: #475569;
}


/* PROPERTY GRID & LUXURY CARDS */
.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .property-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .property-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.property-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(197, 160, 89, 0.4);
}

.property-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: #e2e8f0;
}

.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-thumb img {
  transform: scale(1.06);
}

/* CARD GALLERY THUMBNAILS ROW (CHUẨN WEB THAM KHẢO) */
.card-gallery-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
  padding: 10px 16px 0 16px !important;
  background: #ffffff !important;
}

.card-thumb-item {
  height: 52px !important;
  border-radius: 5px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1.5px solid #e2e8f0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  background: #f1f5f9 !important;
}

.card-thumb-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.card-thumb-item:hover,
.card-thumb-item.active {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.35) !important;
  transform: translateY(-1px) !important;
}

.card-thumb-item:hover img {
  transform: scale(1.08) !important;
}


.badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.badge-tag.tag-rent {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.badge-subproject {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
  pointer-events: none;
}

.property-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.property-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: var(--dark-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 46px;
}

.property-title a:hover {
  color: var(--gold-primary);
}

.property-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13px;
  color: var(--muted-text);
}

.property-specs-pills span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-specs-pills span i {
  color: var(--gold-primary);
  font-size: 13px;
}

.property-footer-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
}

.property-price {
  font-size: 17px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: -0.3px;
}

.property-btn-view {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.property-btn-view:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
}

/* SECTION CTA BOX */
.cta-banner-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 45px 30px;
  text-align: center;
  color: #0f172a;
  margin-top: 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #0f172a;
}


/* 7 ARTICLES / INFO GRID */
.info-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(197, 160, 89, 0.35);
}

.info-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f1f5f9;
}

.info-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.info-card:hover .info-thumb img {
  transform: scale(1.05);
}

.info-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.info-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: var(--dark-text);
}

.info-excerpt {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.info-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* SINGLE PROPERTY & ARTICLE LAYOUT WITH STICKY SIDEBAR */
.breadcrumbs {
  background: #f8fafc;
  color: #64748b;
  padding: 11px 0;
  font-size: 13px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 25px;
}

.breadcrumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--gold-primary);
}

.breadcrumbs span {
  color: var(--gold-dark);
  font-weight: 600;
}

.single-page-wrapper {
  padding-bottom: 70px;
}

.single-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 16px;
}

/* Gallery Showcase */
.property-gallery-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  background: #060b14;
  cursor: pointer;
}

.property-gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-gallery-hero:hover img {
  transform: scale(1.02);
}

.gallery-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.gallery-thumb-box {
  width: 90px;
  height: 65px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.75;
}

.gallery-thumb-box.active,
.gallery-thumb-box:hover {
  border-color: var(--gold-primary);
  opacity: 1;
}

.gallery-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specs Table */
.specs-luxury-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin: 25px 0 35px 0;
}

.specs-luxury-table th,
.specs-luxury-table td {
  padding: 14px 18px;
  font-size: 14.5px;
  border-bottom: 1px solid #e2e8f0;
}

.specs-luxury-table tr:last-child th,
.specs-luxury-table tr:last-child td {
  border-bottom: none;
}

.specs-luxury-table th {
  background: #f8fafc;
  color: var(--muted-text);
  font-weight: 600;
  width: 32%;
}

.specs-luxury-table td {
  color: var(--dark-text);
  font-weight: 600;
}

/* Entry Content */
.entry-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
}

.entry-content p {
  margin-bottom: 18px;
}

.entry-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--dark-text);
  margin-top: 35px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 8px;
}

.entry-content h3 {
  font-size: 18px;
  color: var(--dark-text);
  margin-top: 25px;
  margin-bottom: 12px;
}

.entry-content ul, .entry-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.entry-content li {
  list-style: disc;
  margin-bottom: 8px;
}

/* STICKY LUXURY SIDEBAR - MUST NEVER BE PUSHED OFF */
.sticky-sidebar-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 95px;
  z-index: 10;
}

.sidebar-luxury-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.consultant-avatar-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.consultant-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--navy-deep);
  position: relative;
  flex-shrink: 0;
}

.consultant-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: var(--green-accent);
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.consultant-meta h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-text);
}

.consultant-meta p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted-text);
}

.sidebar-hotline-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
  animation: pulse-border 2s infinite;
}

.sidebar-hotline-pulse:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.sidebar-chat-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-sidebar-chat {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-chat-zalo { background: #0068ff; }
.btn-chat-whatsapp { background: #16a34a; }

/* Interactive Mortgage Calculator Card */
.calc-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-card-title i {
  color: var(--gold-primary);
}

.calc-result-box {
  background: #fdf8ed;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  margin-top: 15px;
}

.calc-result-amount {
  font-size: 20px;
  font-weight: 800;
  color: #dc2626;
  margin-top: 4px;
}

/* FOOTER (BẢNG LIGHT THEME CAO CẤP) */
.site-footer {
  background: #ffffff;
  color: #475569;
  padding: 60px 0 25px 0;
  font-size: 14px;
  border-top: 2px solid var(--gold-primary);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.03);
}

.footer-title {
  font-family: var(--font-heading) !important;
  color: #0f172a !important;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 18px 0;
  position: relative;
  letter-spacing: 0.5px;
}

.footer-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold-gradient);
  margin-top: 6px;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #475569;
}

.footer-links a:hover {
  color: var(--gold-dark);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

/* BEDROOM FILTER CARD (STYLE CHUẨN BATDONGSAN.COM.VN HÌNH 2) */
.box-bedroom-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.box-bedroom-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
}

.box-bedroom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.box-bedroom-list li {
  margin: 0;
}

.box-bedroom-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.box-bedroom-list a:hover {
  background: #fefce8;
  border-color: var(--gold-primary);
  color: var(--gold-dark);
}

.box-bedroom-list a.active {
  background: var(--gold-gradient);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

.pn-count-badge {
  background: rgba(0, 0, 0, 0.08);
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

.box-bedroom-list a.active .pn-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* FLOATING DESKTOP CONTACT BUTTONS */
.floating-desktop-contacts {
  position: fixed;
  bottom: 30px;
  left: 25px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 767px) {
  .floating-desktop-contacts {
    display: none !important;
  }
}

.desktop-float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
  cursor: pointer;
  font-size: 20px;
}

.desktop-float-btn:hover {
  transform: scale(1.12);
  color: #ffffff;
}

.float-btn-phone {
  background: #dc2626;
  animation: pulse-ring 2s infinite;
}

.float-btn-zalo {
  background: #0068ff;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* CRITICAL: MOBILE DEDICATED FIXED BOTTOM ACTION BAR */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 58px;
    background: var(--navy-dark);
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    display: flex;
    align-items: stretch;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
  }

  .mobile-bar-call {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-bar-zalo {
    background: #0068ff;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .mobile-bar-quote {
    background: var(--gold-gradient);
    color: var(--navy-deep);
  }
}

/* MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 11, 20, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--navy-card);
  border: 1px solid rgba(197, 160, 89, 0.4);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  animation: modal-fade 0.3s ease;
}

@keyframes modal-fade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--gold-light);
  cursor: pointer;
}

/* LIGHTBOX MODAL */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-modal img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

/* HERO MASTERPLAN OVERVIEW SHOWCASE */
.masterplan-showcase-section {
  background: #f8fafc;
  padding: 55px 0 65px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.masterplan-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.masterplan-box:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 15px 45px rgba(197, 160, 89, 0.15);
}

.masterplan-img-wrap {
  position: relative;
  overflow: visible;
  cursor: pointer;
  background: #ffffff;
  width: 100%;
  padding: 8px;
}

.masterplan-img-wrap img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
  border-radius: 6px;
  transition: transform 0.4s ease;
}


.masterplan-img-wrap:hover img {
  transform: scale(1.008);
}

.masterplan-zoom-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.masterplan-zoom-hint i {
  color: var(--gold-primary);
}

.masterplan-info-bar {
  padding: 22px 28px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.masterplan-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.masterplan-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.masterplan-tag-item i {
  color: var(--gold-primary);
}

/* MASTERPLAN DOWNLOAD BUTTON & GLOBAL CTA BUTTON */
.masterplan-btn-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.masterplan-download-btn,
.btn-primary,
.btn-primary-gold {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #e4c47f 0%, #c5a059 50%, #9e7a36 100%) !important;
  color: #0f172a !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  padding: 12px 26px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.38) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
}

.masterplan-download-btn:hover,
.btn-primary:hover,
.btn-primary-gold:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #ebd193 0%, #d4ae65 50%, #ad8841 100%) !important;
  box-shadow: 0 8px 28px rgba(197, 160, 89, 0.6) !important;
  color: #000000 !important;
}

.masterplan-download-btn:active,
.btn-primary:active,
.btn-primary-gold:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(197, 160, 89, 0.25) !important;
}

.masterplan-download-btn i,
.btn-primary i,
.btn-primary-gold i {
  font-size: 16px !important;
  color: #0f172a !important;
  transition: transform 0.25s ease !important;
}

.masterplan-download-btn:hover i,
.btn-primary:hover i,
.btn-primary-gold:hover i {
  transform: scale(1.15) !important;
}

@media (max-width: 991px) {
  .masterplan-btn-col {
    justify-content: flex-start !important;
    margin-top: 16px !important;
  }
  .masterplan-download-btn {
    width: 100% !important;
  }
}


/* PRODUCT FILTER PILLS */
.filter-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.filter-pill-btn {
  background: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: var(--navy-deep);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-dark .filter-pill-btn {
  background: #ffffff;
  border-color: rgba(197, 160, 89, 0.35);
  color: #0f172a;
}


.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-deep));
  color: #000000;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

