/* =======================================
   BANG-HANG.COM – BĐS HÀ NỘI
   Main Stylesheet
   ======================================= */

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

/* ── CSS Variables ── */
:root {
  --navy:    #0A2342;
  --navy-2:  #0D2D54;
  --navy-3:  #1A3A6B;
  --gold:    #C9A84C;
  --gold-2:  #E0BE6E;
  --gold-lt: #F5E9C6;
  --white:   #FFFFFF;
  --gray-1:  #F5F6FA;
  --gray-2:  #E8EAF0;
  --gray-3:  #C0C4D0;
  --text-dk: #1A1A2E;
  --text-md: #4A4A6A;
  --text-lt: #7A7A9A;
  --green:   #22C55E;
  --red:     #EF4444;
  --orange:  #F97316;
  --font-sans: 'Be Vietnam Pro', 'Noto Sans', 'Segoe UI', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(10,35,66,.08);
  --shadow-md: 0 4px 20px rgba(10,35,66,.12);
  --shadow-lg: 0 8px 40px rgba(10,35,66,.16);
  --radius:  8px;
  --radius-lg: 12px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-dk);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.28; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: .95rem;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 4px 14px rgba(201,168,76,.4);
}
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.5); }
.btn-secondary {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 14px rgba(10,35,66,.25);
}
.btn-secondary:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: 8px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 99px;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.badge-ban { background: #FEE2E2; color: #B91C1C; }
.badge-thue { background: #DCFCE7; color: #15803D; }
.badge-cn { background: #FEF3C7; color: #92400E; }
.badge-new { background: var(--gold-lt); color: #7C5D0F; }
.badge-hot { background: #FFE4E6; color: #BE185D; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block; font-size: .875rem; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 12px;
}
.section-header h2 { color: var(--navy); margin-bottom: 16px; }
.section-header p { color: var(--text-md); max-width: 600px; margin: 0 auto; font-size: 1rem; }
.divider {
  width: 60px; height: 3px; background: var(--gold);
  margin: 16px auto 0; border-radius: 99px;
}

/* ── Section padding ── */
section { padding: 80px 0; }
section.bg-gray { background: var(--gray-1); }
section.bg-navy { background: var(--navy); }

/* =======================================
   HEADER / NAVBAR
   ======================================= */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
}
.header-top {
  background: var(--navy);
  padding: 6px 0;
  font-size: .8rem; color: rgba(255,255,255,.7);
}
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: rgba(255,255,255,.7); transition: var(--transition); }
.header-top a:hover { color: var(--gold); }
.header-top-links { display: flex; gap: 20px; }
.header-top-links span { display: flex; align-items: center; gap: 6px; }

.navbar {
  background: var(--white);
  padding: 0; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,.97); box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 26px; height: 26px; fill: var(--gold); }
.logo-text { line-height: 1.1; }
.logo-text .brand { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.logo-text .brand span { color: var(--gold); }
.logo-text .tagline { font-size: .7rem; color: var(--text-lt); font-weight: 500; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 8px;
  font-weight: 600; font-size: .9rem; color: var(--text-dk);
  transition: var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--gray-1); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--gold); border-radius: 99px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-hotline {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--gold-lt);
  border-radius: 8px; font-weight: 700; font-size: .9rem; color: var(--navy);
}
.nav-hotline svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  background: none; border: none; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* =======================================
   HERO SECTION
   ======================================= */
#hero {
  margin-top: 110px; /* offset for fixed header (72 + 38) */
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0E3268 50%, #163875 100%);
  min-height: 600px; display: flex; align-items: center;
  padding: 80px 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=80');
  background-size: cover; background-position: center;
  opacity: .15;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,35,66,.95) 0%, rgba(10,35,66,.8) 100%);
}
.hero-content { position: relative; z-index: 1; text-align: center; color: var(--white); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.4);
  padding: 6px 18px; border-radius: 99px;
  font-size: .85rem; font-weight: 600; color: var(--gold);
  margin-bottom: 24px; letter-spacing: .05em;
}
.hero-content h1 { margin-bottom: 16px; }
.hero-content h1 span { color: var(--gold); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Hero stats */
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat .label { font-size: .85rem; color: rgba(255,255,255,.7); }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,.2); align-self: center; }

/* Hero Search */
.hero-search { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); margin: 0 auto; max-width: 900px; }
.search-tabs { display: flex; gap: 4px; margin-bottom: 20px; background: var(--gray-1); padding: 4px; border-radius: 10px; }
.search-tab {
  flex: 1; padding: 10px; border-radius: 8px; font-weight: 600; font-size: .9rem;
  color: var(--text-md); transition: var(--transition); text-align: center; cursor: pointer;
}
.search-tab.active { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label { font-size: .8rem; font-weight: 600; color: var(--text-md); }
.search-field select, .search-field input {
  height: 48px; padding: 0 14px; border: 2px solid var(--gray-2);
  border-radius: 10px; font-size: .9rem; color: var(--text-dk);
  transition: var(--transition); outline: none; background: var(--white);
}
.search-field select:focus, .search-field input:focus { border-color: var(--gold); }
.btn-search {
  height: 48px; padding: 0 28px; background: var(--gold);
  color: var(--navy); border-radius: 10px; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  transition: var(--transition);
}
.btn-search:hover { background: var(--gold-2); transform: translateY(-1px); }

/* =======================================
   PROPERTY CARD
   ======================================= */
.prop-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: var(--transition); border: 1px solid var(--gray-2);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.prop-img { position: relative; overflow: hidden; height: 220px; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.prop-card:hover .prop-img img { transform: scale(1.06); }
.prop-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.prop-price-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,35,66,.8));
  padding: 30px 16px 14px;
  color: var(--white); font-size: 1.25rem; font-weight: 800;
}
.prop-price-tag span { font-size: .8rem; font-weight: 500; opacity: .85; }
.prop-wish {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.prop-wish:hover { background: var(--gold); }
.prop-wish:hover svg { stroke: var(--white); }
.prop-wish svg { width: 18px; height: 18px; stroke: var(--text-lt); fill: none; stroke-width: 2; transition: var(--transition); }
.prop-wish.active svg { stroke: var(--red); fill: var(--red); }

.prop-body { padding: 18px; }
.prop-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.prop-location { display: flex; align-items: center; gap: 6px; color: var(--text-md); font-size: .875rem; margin-bottom: 14px; }
.prop-location svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold); }
.prop-specs { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--gray-2); border-bottom: 1px solid var(--gray-2); margin-bottom: 14px; }
.prop-spec { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-md); }
.prop-spec svg { width: 14px; height: 14px; color: var(--text-lt); }
.prop-footer { display: flex; align-items: center; justify-content: space-between; }
.prop-agent { display: flex; align-items: center; gap: 8px; }
.prop-agent-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--gray-2); }
.prop-agent-name { font-size: .8rem; font-weight: 600; color: var(--text-dk); }
.prop-date { font-size: .75rem; color: var(--text-lt); }

/* Property Grid */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* =======================================
   CATEGORY CARDS
   ======================================= */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  padding: 36px 28px; border-radius: var(--radius-lg); text-align: center;
  transition: var(--transition); cursor: pointer; position: relative; overflow: hidden;
  border: 2px solid transparent;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.cat-card:hover::before { opacity: 1; }
.cat-ban { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.cat-cn { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.cat-thue { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.cat-icon {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.cat-ban .cat-icon { background: rgba(201,168,76,.2); }
.cat-cn .cat-icon { background: rgba(59,130,246,.15); }
.cat-thue .cat-icon { background: rgba(34,197,94,.15); }
.cat-icon svg { width: 36px; height: 36px; }
.cat-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.cat-card p { font-size: .9rem; color: var(--text-md); margin-bottom: 16px; }
.cat-count { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.cat-count small { font-size: .875rem; font-weight: 500; color: var(--text-md); display: block; }

/* =======================================
   LISTING PAGE LAYOUT
   ======================================= */
.listing-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.listing-sidebar { position: sticky; top: 120px; }
.filter-box {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-2); overflow: hidden;
}
.filter-header {
  background: var(--navy); padding: 16px 20px;
  color: var(--white); font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.filter-header svg { width: 18px; height: 18px; }
.filter-body { padding: 20px; }
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.filter-group select, .filter-group input {
  width: 100%; height: 44px; padding: 0 14px; border: 2px solid var(--gray-2);
  border-radius: 8px; font-size: .9rem; color: var(--text-dk); outline: none;
  background: var(--gray-1); transition: var(--transition);
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--gold); background: var(--white); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 6px 14px; border-radius: 99px;
  border: 2px solid var(--gray-2); font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); color: var(--text-md);
}
.filter-chip:hover { border-color: var(--gold); color: var(--navy); }
.filter-chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-range { display: flex; align-items: center; gap: 8px; }
.filter-range input { width: 100%; flex: 1; }
.filter-range span { flex-shrink: 0; color: var(--text-lt); font-size: .85rem; }
.price-range-display { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-md); margin-top: 6px; }
.filter-footer { padding: 16px 20px; border-top: 1px solid var(--gray-2); display: flex; gap: 8px; }

.listing-main {}
.listing-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; background: var(--white); padding: 14px 20px;
  border-radius: var(--radius); border: 1px solid var(--gray-2);
}
.listing-count { font-weight: 600; color: var(--text-dk); }
.listing-count span { color: var(--gold); font-weight: 800; }
.listing-sort { display: flex; align-items: center; gap: 10px; }
.listing-sort select { height: 38px; padding: 0 12px; border: 2px solid var(--gray-2); border-radius: 8px; font-size: .875rem; outline: none; }
.view-toggle { display: flex; gap: 4px; }
.view-btn { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--gray-2); color: var(--text-lt); transition: var(--transition); }
.view-btn.active { border-color: var(--navy); color: var(--navy); background: var(--gray-1); }

/* =======================================
   PROPERTY DETAIL PAGE
   ======================================= */
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.detail-gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.gallery-main { position: relative; height: 460px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumb { height: 90px; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .7; transition: var(--transition); }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; outline: 3px solid var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); box-shadow: var(--shadow-md);
}
.gallery-nav:hover { background: var(--gold); }
.gallery-nav svg { width: 20px; height: 20px; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-counter {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(0,0,0,.6); color: var(--white);
  padding: 4px 12px; border-radius: 99px; font-size: .8rem; font-weight: 600;
}

.detail-info {}
.detail-badges { display: flex; gap: 8px; margin-bottom: 16px; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.detail-price-note { font-size: .9rem; color: var(--text-md); margin-bottom: 20px; }
.detail-title { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.detail-location { display: flex; align-items: center; gap: 8px; color: var(--text-md); margin-bottom: 24px; font-size: .95rem; }
.detail-location svg { width: 18px; height: 18px; color: var(--gold); }

.detail-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.spec-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; background: var(--gray-1); border-radius: 10px;
}
.spec-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-lt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.spec-icon svg { width: 20px; height: 20px; color: var(--navy); }
.spec-info .value { font-weight: 700; color: var(--navy); font-size: .95rem; }
.spec-info .key { font-size: .8rem; color: var(--text-md); }

.detail-section { margin-bottom: 28px; }
.detail-section h4 { font-size: 1rem; font-weight: 700; color: var(--navy); padding-bottom: 10px; border-bottom: 2px solid var(--gray-2); margin-bottom: 16px; }
.detail-desc { color: var(--text-md); line-height: 1.8; }
.map-embed { border-radius: var(--radius); overflow: hidden; height: 300px; }
.map-embed iframe { width: 100%; height: 100%; border: none; }

.detail-sidebar-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-2); overflow: hidden; margin-bottom: 20px;
}
.sidebar-card-header { background: var(--navy); padding: 16px 20px; color: var(--white); font-weight: 700; }
.sidebar-card-body { padding: 20px; }
.agent-info { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.agent-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.agent-name { font-weight: 700; color: var(--navy); font-size: 1rem; }
.agent-title { font-size: .85rem; color: var(--text-md); }
.agent-rating { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.stars { color: var(--gold); font-size: .9rem; }
.rating-text { font-size: .8rem; color: var(--text-lt); }
.contact-form {}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-md); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 2px solid var(--gray-2);
  border-radius: 8px; font-size: .9rem; color: var(--text-dk);
  transition: var(--transition); outline: none; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 80px; }

/* =======================================
   PROJECT CARDS
   ======================================= */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); transition: var(--transition);
  background: var(--white); border: 1px solid var(--gray-2);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-img { height: 240px; position: relative; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(10,35,66,.9)); }
.project-on-img { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; color: var(--white); }
.project-status { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; margin-bottom: 8px; }
.status-mbs { background: #22C55E; color: var(--white); }
.status-sap { background: var(--gold); color: var(--navy); }
.status-bh { background: #3B82F6; color: var(--white); }
.project-name { font-size: 1.2rem; font-weight: 800; }
.project-location { font-size: .85rem; opacity: .8; }
.project-body { padding: 20px; }
.project-stats { display: flex; gap: 20px; margin-bottom: 16px; }
.project-stat { text-align: center; flex: 1; }
.project-stat .val { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.project-stat .lbl { font-size: .75rem; color: var(--text-lt); }
.project-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.feature-tag { padding: 4px 10px; background: var(--gray-1); border-radius: 99px; font-size: .75rem; color: var(--text-md); }

/* =======================================
   BLOG / NEWS
   ======================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-2);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 20px; }
.blog-cat { font-size: .75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.blog-excerpt { font-size: .875rem; color: var(--text-md); margin-bottom: 14px; line-height: 1.6;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--text-lt); }
.blog-meta-left { display: flex; align-items: center; gap: 6px; }

/* =======================================
   CONTACT PAGE
   ======================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.contact-info {}
.contact-card {
  display: flex; gap: 16px; padding: 20px; border-radius: var(--radius);
  background: var(--gray-1); margin-bottom: 16px; transition: var(--transition);
}
.contact-card:hover { background: var(--gold-lt); }
.contact-card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 2; }
.contact-card-text h4 { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-card-text p { font-size: .9rem; color: var(--text-md); }
.contact-card-text a { color: var(--navy); font-weight: 600; }
.contact-card-text a:hover { color: var(--gold); }
.contact-form-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-2);
}
.contact-map { border-radius: var(--radius-lg); overflow: hidden; height: 300px; margin-top: 24px; }
.contact-map iframe { width: 100%; height: 100%; border: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =======================================
   MEMBER REGISTRATION
   ======================================= */
.register-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.register-panel {
  background: var(--white); border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 32px;
}
.register-panel h2 { color: var(--navy); margin-bottom: 10px; }
.register-panel > p { color: var(--text-md); margin-bottom: 24px; }
.register-side { display: flex; flex-direction: column; gap: 16px; }
.register-info {
  background: var(--white); border: 1px solid var(--gray-2);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 24px;
}
.register-info h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 14px; }
.register-info ul { display: flex; flex-direction: column; gap: 12px; }
.register-info li { display: flex; gap: 10px; color: var(--text-md); font-size: .92rem; }
.register-info li::before { content: '✓'; color: var(--gold); font-weight: 800; }
.register-note {
  display: none; margin-top: 18px; padding: 14px 16px;
  border-radius: var(--radius); background: #DCFCE7; color: #166534;
  font-size: .9rem; font-weight: 600;
}
.register-note.show { display: block; }
.checkbox-line { display: flex; align-items: flex-start; gap: 10px; color: var(--text-md); font-size: .9rem; }
.checkbox-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }

/* =======================================
   WHY CHOOSE US
   ======================================= */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  text-align: center; padding: 32px 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(201,168,76,.4); }
.why-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(201,168,76,.15); margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.why-card h4 { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.7; }

/* =======================================
   CTA STRIP
   ======================================= */
.cta-strip {
  background: linear-gradient(135deg, var(--gold) 0%, #B8952F 100%);
  padding: 60px 0; text-align: center;
}
.cta-strip h2 { color: var(--navy); margin-bottom: 12px; }
.cta-strip p { color: rgba(10,35,66,.75); font-size: 1rem; margin-bottom: 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =======================================
   FOOTER
   ======================================= */
#footer { background: #060E1E; color: rgba(255,255,255,.7); }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); border-color: var(--gold); }
.social-link svg { width: 18px; height: 18px; fill: rgba(255,255,255,.7); transition: var(--transition); }
.social-link:hover svg { fill: var(--navy); }
.footer-col h5 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a::before { content: '›'; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 10px; font-size: .875rem; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; stroke: var(--gold); fill: none; stroke-width: 2; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem;
}
.footer-bottom a { color: var(--gold); }

/* =======================================
   TOAST / NOTIFICATION
   ======================================= */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--white); border-radius: var(--radius);
  padding: 14px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  border-left: 4px solid var(--green); min-width: 280px;
  animation: slideInRight .3s ease;
}
.toast.error { border-color: var(--red); }
.toast-icon { width: 32px; height: 32px; border-radius: 50%; background: #D1FAE5; display: flex; align-items: center; justify-content: center; }
.toast.error .toast-icon { background: #FEE2E2; }
.toast-msg { font-size: .9rem; font-weight: 600; color: var(--text-dk); flex: 1; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* =======================================
   FLOATING ACTIONS
   ======================================= */
.floating-actions {
  position: fixed; bottom: 80px; right: 24px; z-index: 998;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: var(--transition); cursor: pointer;
  border: none; text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-zalo { background: #0068FF; }
.float-phone { background: var(--green); }
.float-top { background: var(--navy); }
.float-btn svg { width: 22px; height: 22px; fill: var(--white); }

/* =======================================
   PAGE HERO (inner pages)
   ======================================= */
.page-hero {
  margin-top: 110px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  padding: 48px 0; color: var(--white);
}
.page-hero-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { font-size: .95rem; color: rgba(255,255,255,.7); margin-top: 6px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* =======================================
   PAGINATION
   ======================================= */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gray-2); font-weight: 600; font-size: .9rem;
  color: var(--text-md); transition: var(--transition); cursor: pointer; background: var(--white);
}
.page-btn:hover { border-color: var(--gold); color: var(--navy); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn.dots { cursor: default; border: none; }

/* =======================================
   MOBILE MENU
   ======================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--white); transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { padding: 20px; border-bottom: 1px solid var(--gray-2); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-body { flex: 1; overflow-y: auto; padding: 20px; }
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  color: var(--text-dk); transition: var(--transition); margin-bottom: 4px;
}
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--gray-1); color: var(--navy); }
.mobile-nav-link.active { border-left: 3px solid var(--gold); padding-left: 12px; }
.mobile-menu-footer { padding: 20px; border-top: 1px solid var(--gray-2); }

/* =======================================
   SKELETON LOADER
   ======================================= */
.skeleton { background: linear-gradient(90deg, var(--gray-2) 25%, var(--gray-1) 50%, var(--gray-2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  section { padding: 60px 0; }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .register-layout { grid-template-columns: 1fr; }
  .header-top { display: none; }
  #hero { margin-top: 72px; }
  .page-hero { margin-top: 72px; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions { display: none; }
  .menu-toggle { display: flex; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .btn-search { grid-column: 1/-1; }
  .prop-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .search-fields { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-search { padding: 16px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none !important; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-md); }
.no-results svg { width: 60px; height: 60px; margin: 0 auto 16px; color: var(--gray-3); }
.no-results h3 { color: var(--navy); margin-bottom: 8px; }

/* =======================================
   UI + Vietnamese Typography Refinements
   ======================================= */
body, button, input, select, textarea {
  font-family: var(--font-sans);
}

.badge,
.section-header .eyebrow,
.hero-eyebrow,
.filter-group label,
.blog-cat,
.footer-col h5 {
  letter-spacing: 0;
  text-transform: none;
}

.logo-text .brand {
  letter-spacing: 0;
}

.section-header {
  margin-bottom: 36px;
}

section {
  padding: 64px 0;
}

.hero-content h1,
.page-hero h1,
.section-header h2 {
  text-wrap: balance;
}

.hero-subtitle,
.section-header p,
.detail-desc,
.blog-excerpt,
.contact-card-text p,
.register-panel > p {
  line-height: 1.75;
}

.navbar .container {
  height: 68px;
}

#hero {
  min-height: 560px;
  padding: 64px 0;
}

.hero-search,
.listing-toolbar,
.filter-box,
.prop-card,
.project-card,
.blog-card,
.contact-form-box,
.register-panel,
.register-info,
.detail-sidebar-card {
  border-radius: var(--radius-lg);
}

.prop-card,
.project-card,
.blog-card,
.filter-box,
.listing-toolbar,
.contact-form-box,
.register-panel,
.register-info,
.detail-sidebar-card {
  border-color: #DDE2EA;
}

.prop-card:hover,
.project-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
}

.prop-title,
.blog-title,
.project-name {
  overflow-wrap: anywhere;
}

.prop-grid,
.project-grid,
.blog-grid {
  gap: 22px;
}

.btn,
.btn-search,
.search-tab,
.filter-chip,
.page-btn,
.form-group input,
.form-group select,
.form-group textarea,
.search-field select,
.search-field input {
  border-radius: var(--radius);
}

.btn,
.btn-search {
  min-height: 42px;
}

.form-group input,
.form-group select,
.search-field select,
.search-field input {
  min-height: 44px;
}

.prop-badges,
.detail-badges,
.project-features {
  flex-wrap: wrap;
}

.badge,
.feature-tag {
  line-height: 1.35;
}

.listing-toolbar {
  gap: 12px;
  flex-wrap: wrap;
}

.listing-sort {
  flex-wrap: wrap;
}

.footer-links a::before {
  content: '›';
}

.register-info li::before {
  content: '✓';
}

@media (max-width: 768px) {
  section { padding: 48px 0; }
  .container { padding: 0 16px; }
  #hero { min-height: auto; padding: 52px 0; }
  .hero-search { padding: 18px; }
  .listing-toolbar { align-items: stretch; }
  .listing-sort, .listing-sort select { width: 100%; }
  .page-hero-content { align-items: flex-start; }
}
