/* ============================================================
   Emerald Land — Design System
   Brand colors extracted from logo.svg:
     #234156  navy (buildings stroke + "Emerald" wordmark)
     #C29A5B  gold (lotus leaf + "Land.vn" wordmark)
   Font: Be Vietnam Pro — full Vietnamese diacritics support
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* ── Brand palette (direct from logo) ── */
  --navy: #234156;
  /* logo navy — teal-slate */
  --navy-dark: #182d3c;
  /* deepened for header, footer */
  --navy-mid: #2e5470;
  /* hover, lighter surfaces */
  --gold: #c29a5b;
  /* logo gold — warm bronze */
  --gold-dark: #a6824a;
  /* hover / pressed */
  --gold-pale: #f7f0e4;
  /* subtle tint — card accent bg */
  --gold-soft: #e8d5b0;
  /* decorative divider, quote mark */

  /* ── Surface & background ── */
  --bg: #f2f5f7;
  /* cool teal-tinted page bg */
  --surface: #ffffff;
  --surface-alt: #e8eff4;
  /* alternate sections */

  /* ── Text ── */
  --text: #182d3c;
  /* headings — darkened navy */
  --text-body: #4a6272;
  /* body paragraphs */
  --text-muted: #8a9dac;
  /* labels, placeholders */

  /* ── UI chrome ── */
  --border: #cfdae3;
  --shadow-sm: 0 2px 12px rgba(35, 65, 86, .07);
  --shadow-md: 0 8px 32px rgba(35, 65, 86, .13);
  --shadow-lg: 0 20px 56px rgba(35, 65, 86, .18);

  /* ── Layout ── */
  --maxw: 1200px;
  --radius: 12px;
  --radius-lg: 18px;

  /* ── Typography ── */
  --font: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;

  /* ── Type scale ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;

  /* ── Line height ── */
  --leading-tight: 1.3;
  --leading-body: 1.7;
  --leading-loose: 1.85;

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px 0;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
  white-space: nowrap;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 154, 91, .38);
}

.btn-ghost {
  background: rgba(255, 255, 255, .13);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(35, 65, 86, .09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  height: 55px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color .2s;
  letter-spacing: .01em;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav .nav-cta {
  background: var(--gold);
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700;
  color: var(--navy-dark);
}

.main-nav .nav-cta:hover {
  background: var(--gold-dark);
  color: var(--navy-dark);
}

/* ── Nav Dropdown ───────────────────────────────────── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-inner {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-dropdown-link {
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color .2s;
  letter-spacing: .01em;
}

.nav-dropdown-link:hover {
  color: var(--gold);
}

.nav-dropdown-arrow {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--text-body);
  padding: 2px 2px;
  line-height: 1;
  transition: transform .2s, color .2s;
  display: flex;
  align-items: center;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(-6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 176px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.nav-submenu a:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.nav-submenu-label {
  display: block;
  padding: 10px 20px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: default;
}

/* ── Property categories ────────────────────────────── */
.prop-category {
  margin-top: 52px;
}

.prop-hidden {
  display: none !important;
}

.prop-more-wrap {
  text-align: center;
  margin-top: 28px;
}

.prop-category-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-body);
  padding: 7px 12px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .84rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.lang-switch:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-switch .flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  flex: none;
}

html[lang="vi"] .lang-switch .flag-en {
  display: none;
}

html[lang="en"] .lang-switch .flag-vi {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/searchbar_bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-bg::before {
  /* dark overlay 80% — giữ text dễ đọc trên ảnh nền */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 52, 0.80);
}

.hero-inner {
  position: relative;
  padding: 50px 24px 160px;
  max-width: var(--maxw);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(1.76rem, 4vw, 2.44rem);
  line-height: 1.2;
  max-width: 30ch;
  color: #fff;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.07rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, .75);
  font-weight: 300;
  line-height: 1.78;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero search bar */
.hero-search {
  margin-top: 48px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 10px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr auto;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: var(--maxw);
  /* max-width: 960px; */
}

.hero-search .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 10px;
}

.hero-search label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  font-weight: 700;
}

.hero-search select {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: .96rem;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.hero-search .field+.field {
  border-left: 1px solid var(--border);
}

.search-btn {
  align-self: stretch;
}

/* ── Company Features (overlap hero bottom) ─────────────────── */
.pillars {
  position: relative;
  z-index: 10;
  padding: 0 0 80px;
  margin-top: -90px;
  background: transparent;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  /* padding: 40px 32px 36px; */
  padding-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  /* top: 0; */
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-18px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:nth-child(1) {
  transition-delay: 0s;
}

.pillar-card:nth-child(2) {
  transition-delay: .12s;
}

.pillar-card:nth-child(3) {
  transition-delay: .24s;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  transition: background .35s, color .35s;
  flex-shrink: 0;
}

.pillar-card:hover .pillar-icon {
  background: var(--gold);
  color: #fff;
}

.pillar-icon svg {
  width: 30px;
  height: 30px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  /* color: var(--text); */
  color: var(--navy-mid);
  margin-bottom: 12px;
  margin-left: 20px;
  line-height: 1.35;
}

.pillar-card p {
  flex: 1;
  color: var(--text-body);
  font-size: .96rem;
  line-height: 1.72;
  margin-left: 20px;
  margin-bottom: 12px;
}

.pillar-img {
  /* margin: -40px -32px 24px; */
  margin-bottom: 10px;
  height: 250px;
  overflow: hidden;
  flex-shrink: 0;
}

.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.pillar-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 20px;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: gap .22s, color .22s;
}

.pillar-readmore::after {
  content: "→";
  display: inline-block;
  transition: transform .22s;
}

.pillar-readmore:hover {
  color: var(--gold-dark);
  gap: 10px;
}

.pillar-readmore:hover::after {
  transform: translateX(4px);
}

/* ── Scroll-reveal animation ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
  -webkit-transition: all 300ms ease-in-out 0s;
  -moz-transition: all 300ms ease-in-out 0s;
  transition: all 300ms ease-in-out 0s;

}

.in:hover {
  -webkit-box-shadow: 0 70px 70px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0 70px 70px rgba(0, 0, 0, .2);
  box-shadow: 0 70px 70px rgba(0, 0, 0, .2);
  -webkit-transform: translate(0, -10px);
  -moz-transform: translate(0, -10px);
  transform: translate(0, -10px);
}


/* ── Stats ─────────────────────────────────────────────────── */
.stats {
  background: var(--navy);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.5px;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .65);
  font-weight: 400;
}

/* ── Section base ──────────────────────────────────────────── */
.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .71rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.24;
  color: var(--text);
}

.section-lead {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.section-cta {
  text-align: center;
  margin-top: 44px;
}



/* ── Properties ────────────────────────────────────────────── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.property-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}

.property-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.property-media {
  position: relative;
  height: 220px;
}

.property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 45, 60, .58) 0%, transparent 55%);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: .04em;
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
}

.property-price {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 2;
  background: var(--gold);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 50px;
}

.property-body {
  padding: 20px 22px 24px;
}

.property-body h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.36;
}

.property-loc {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: .88rem;
  margin-top: 6px;
}

.pin {
  width: 8px;
  height: 8px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
  flex: none;
}

.property-specs {
  list-style: none;
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.property-specs li {
  font-size: .87rem;
  color: var(--text-muted);
}

.property-specs strong {
  color: var(--text);
  font-weight: 700;
}

/* ── Lifestyle ─────────────────────────────────────────────── */
.lifestyle {
  background: var(--surface);
}

.lifestyle-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lifestyle-text .section-title {
  text-align: left;
}

.lifestyle-text>p {
  margin-top: 16px;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.76;
}

.check-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-body);
  line-height: 1.65;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .74rem;
  font-weight: 800;
}

.lifestyle-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 176px 176px;
  gap: 14px;
}

.life-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.life-img-a {
  grid-row: span 2;
}

/* ── Locations ─────────────────────────────────────────────── */
.locations {
  background: var(--surface-alt);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.loc-hidden {
  display: none !important;
}

.props-no-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 24px;
  text-align: center;
  color: var(--text-muted);
}

.props-no-result svg {
  color: var(--gold);
  opacity: .6;
}

.props-no-result-msg {
  font-size: var(--text-lg);
  color: var(--text-body);
  line-height: var(--leading-body);
}

.props-no-result-msg strong {
  color: var(--navy);
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.location-card:hover::before {
  transform: scaleY(1);
}

.location-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.32;
}

.location-card p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 6px;
  line-height: 1.62;
}

.loc-img {
  margin: -26px -24px 16px;
  width: calc(100% + 48px);
  height: 160px;
  overflow: hidden;
}
.loc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.location-card:hover .loc-img img {
  transform: scale(1.04);
}

/* ── Process ───────────────────────────────────────────────── */
/* Dark navy section — mirrors the logo's navy */
.process {
  background: var(--navy);
  color: #fff;
}

.process .section-title {
  color: #fff;
}

.process .eyebrow {
  color: var(--gold);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  position: relative;
  padding-top: 10px;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 54px;
  right: -24px;
  height: 2px;
  background: rgba(194, 154, 91, .2);
}

.process-step:last-child::before {
  display: none;
}

.step-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  letter-spacing: -.5px;
}

.process-step h3 {
  font-size: 1.07rem;
  font-weight: 700;
  margin: 12px 0 8px;
  color: #fff;
  line-height: 1.36;
}

.process-step p {
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
  line-height: 1.66;
}

/* ── About ─────────────────────────────────────────────────── */
.about {
  background: var(--surface);
}

.about-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  display: grid;
  place-items: center;
}

.about-leaf {
  /* warm gold-pale bg matching logo's lotus tones */
  background: linear-gradient(155deg, var(--gold-pale), var(--surface-alt));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  box-shadow: var(--shadow-md);
  width: 100%;
  display: grid;
  place-items: center;
}

.about-leaf img {
  max-width: 300px;
}

.about-text .section-title {
  text-align: left;
}

.about-text>p {
  margin-top: 16px;
  color: var(--text-body);
  font-size: 1.01rem;
  line-height: 1.76;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-values>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.about-values strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.about-values span {
  color: var(--text-muted);
  font-size: .84rem;
  line-height: 1.52;
}

/* ── Testimonials — dark section matching logo navy ─────────── */
.testimonials {
  background: var(--navy-dark);
}

.testimonials .eyebrow {
  color: var(--gold);
}

.testimonials .section-title {
  color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  position: relative;
  transition: background .3s;
}

.testimonial:hover {
  background: rgba(255, 255, 255, .1);
}

.testimonial::before {
  /* large quote mark in logo-gold */
  content: "\201C";
  font-size: 5.5rem;
  color: var(--gold-soft);
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 20px;
  opacity: .45;
}

.testimonial p {
  color: rgba(255, 255, 255, .83);
  font-size: .97rem;
  font-style: italic;
  line-height: 1.76;
}

.testimonial footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial strong {
  color: var(--gold);
  font-weight: 700;
  font-size: .94rem;
}

.testimonial span {
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
}

/* ── Contact ───────────────────────────────────────────────── */
.contact {
  background: var(--surface-alt);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-text .section-title {
  text-align: left;
}

.contact-text>p {
  margin-top: 14px;
  color: var(--text-body);
  line-height: 1.72;
}

.contact-list {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}

.contact-list .ci {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-list li:last-child .ci {
  font-size: 1.5rem;
}

.contact-list a {
  color: var(--text-body);
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
  line-height: 1.6;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: #2e6b4f;
  font-weight: 600;
  font-size: .92rem;
  text-align: center;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .68);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-logo {
  height: 56px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  width: fit-content;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: .92rem;
  line-height: 1.72;
}

.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 10px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .62);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 24px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .46);
}




/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {

  .hero-inner {
    padding-bottom: 120px;
  }

  .pillars {
    margin-top: -60px;
  }

  .pillar-grid,
  .property-grid,
  .location-grid,
  .testimonial-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifestyle-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-search {
    grid-template-columns: 1fr 1fr;
  }

  .hero-search .field+.field {
    border-left: none;
  }

  .search-btn {
    grid-column: span 2;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .process-step::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding-bottom: 100px;
  }

  .pillars {
    margin-top: -50px;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .hero-search {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .hero-search .field+.field {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .search-btn {
    grid-column: span 1;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform .35s ease;
    z-index: 90;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav .nav-cta {
    text-align: center;
    margin-top: 10px;
  }

  /* Dropdown mobile */
  .nav-dropdown {
    border-bottom: 1px solid var(--border);
  }

  .nav-dropdown-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
  }

  .main-nav .nav-dropdown-link {
    padding: 0;
    border-bottom: none;
  }

  .nav-dropdown-arrow {
    font-size: 1.2em;
    padding: 4px 6px;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--surface-alt);
    padding: 0;
    transition: max-height .3s ease, visibility .3s;
  }

  .nav-dropdown.open .nav-submenu {
    visibility: visible;
    max-height: 200px;
  }

  .nav-submenu a {
    padding: 12px 4px 12px 22px;
    font-size: .88rem;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .nav-submenu a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .pillar-grid,
  .property-grid,
  .location-grid,
  .testimonial-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .hero-inner {
    padding: 64px 24px 80px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-values>div {
    border-left: none;
    border-top: 3px solid var(--gold);
    padding-left: 0;
    padding-top: 12px;
    text-align: center;
  }

  .about-leaf {
    padding: 32px 24px;
  }

  .about-leaf img {
    max-width: 200px;
  }

  .about-text .section-title,
  .about-text>p {
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Project Detail Page
   ═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────────────── */
.proj-breadcrumb {
  background: var(--navy-dark);
  padding: 13px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}

.breadcrumb-list a {
  color: rgba(255, 255, 255, .55);
  transition: color .2s;
}

.breadcrumb-list a:hover {
  color: var(--gold);
}

.breadcrumb-list .sep {
  color: rgba(255, 255, 255, .25);
}

.breadcrumb-list .current {
  color: #fff;
  font-weight: 600;
}

/* ── Property header ────────────────────────────────────────── */
.proj-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.proj-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.proj-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
}

.proj-tagline {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.5;
}

.proj-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 12px;
}

.proj-location svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.proj-status-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 700;
}

.proj-price-box {
  flex-shrink: 0;
  background: var(--navy-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  min-width: 200px;
}

.proj-price-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
  margin-bottom: 6px;
}

.proj-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}

/* ── Gallery slider ─────────────────────────────────────────── */
.proj-gallery {
  background: var(--navy-dark);
  padding-bottom: 16px;
}

.gallery-main {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .55s ease;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide:nth-child(1) {
  background: linear-gradient(135deg, #1a3344, #234156);
}

.gallery-slide:nth-child(2) {
  background: linear-gradient(135deg, #1e3d28, #2d5a38);
}

.gallery-slide:nth-child(3) {
  background: linear-gradient(135deg, #3d2a14, #6b4c24);
}

.gallery-slide:nth-child(4) {
  background: linear-gradient(135deg, #1a2d3d, #243e54);
}

.gallery-slide:nth-child(5) {
  background: linear-gradient(135deg, #2a1d38, #3d2a52);
}

.gallery-slide img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}

.gallery-slide-label {
  color: rgba(255, 255, 255, .35);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .22s;
  backdrop-filter: blur(4px);
}

.gallery-nav:hover {
  background: var(--gold);
}

.gallery-prev {
  left: 16px;
}

.gallery-next {
  right: 16px;
}

.gallery-counter {
  position: absolute;
  bottom: 14px;
  right: 16px;
  background: rgba(0, 0, 0, .45);
  color: rgba(255, 255, 255, .8);
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: none;
  width: 90px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .4);
  font-size: .72rem;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}

.gallery-thumb.active {
  border-color: var(--gold);
  background: rgba(194, 154, 91, .15);
  color: var(--gold);
}

.gallery-thumb:hover {
  border-color: rgba(194, 154, 91, .5);
}

/* ── Body layout ────────────────────────────────────────────── */
.proj-body {
  padding: 56px 0 80px;
  background: var(--bg);
}

.proj-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.proj-main {
  min-width: 0;
  overflow-x: hidden;
}

/* ── Overview bar ───────────────────────────────────────────── */
.overview-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.overview-spec {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.overview-spec:nth-child(3n) {
  border-right: none;
}

.overview-spec:nth-child(n+4) {
  border-bottom: none;
}

.ov-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ov-icon svg {
  width: 22px;
  height: 22px;
}

.ov-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .06em;
  margin-bottom: 3px;
}

.ov-value {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ── Detail section ─────────────────────────────────────────── */
.detail-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.detail-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.detail-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.detail-desc p {
  color: var(--text-body);
  line-height: 1.78;
  font-size: .97rem;
}

.detail-desc p+p {
  margin-top: 12px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 20px;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  font-size: .93rem;
  line-height: 1.4;
}

.feature-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
  width: 18px;
}

/* ── Details table ──────────────────────────────────────────── */
.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.details-table tr:nth-child(even) td {
  background: var(--surface-alt);
}

.details-table td {
  padding: 11px 14px;
  border: 1px solid var(--border);
  color: var(--text-body);
  vertical-align: top;
}

.details-table td.dt-label {
  font-weight: 600;
  color: var(--text);
  width: 22%;
  white-space: nowrap;
}

.details-table td.dt-value {
  width: 28%;
}

/* ── Payment methods ─────────────────────────────────────────── */
.payment-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.payment-img-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
}

.payment-img-item img {
  width: 100%;
  display: block;
  transition: transform .3s;
}

.payment-img-item:hover img {
  transform: scale(1.02);
}

/* ProjectList payment section */
.plist-payment-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.plist-payment-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.plist-payment-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}

@media (max-width: 720px) {
  .payment-img-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Floor plans ────────────────────────────────────────────── */
.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.floorplan-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.floorplan-box {
  height: 140px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floorplan-meta {
  padding: 12px 14px;
}

.floorplan-meta strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.floorplan-meta span {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Loan calculator ────────────────────────────────────────── */
.loan-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.loan-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}

.loan-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.loan-field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0;
  white-space: nowrap;
}

.loan-field input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .93rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
}

.loan-field input:focus {
  outline: none;
  border-color: var(--gold);
}

.loan-result {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loan-result-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.loan-result-item span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.loan-result-item strong {
  font-size: .95rem;
  color: var(--gold);
  font-weight: 700;
  text-align: right;
}

/* ── Nearby places ──────────────────────────────────────────── */
.nearby-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.nearby-tab {
  padding: 10px 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.nearby-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nearby-panel {
  display: none;
}

.nearby-panel.active {
  display: block;
}

.nearby-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.nearby-table th {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}

.nearby-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}

.nearby-table tr:last-child td {
  border-bottom: none;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.proj-sidebar {
  position: sticky;
  top: 88px;
  min-width: 0;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.sidebar-price-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.sidebar-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 10px;
}

.sidebar-status {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 50px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  font-size: .76rem;
  font-weight: 700;
}

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.agent-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.agent-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.agent-avatar svg {
  width: 26px;
  height: 26px;
}

.agent-name {
  font-weight: 700;
  color: var(--text);
  font-size: .95rem;
}

.agent-role {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.agent-phone {
  display: block;
  font-size: .88rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

.contact-mini-field {
  margin-bottom: 10px;
}

.contact-mini input,
.contact-mini textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .88rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
  resize: none;
}

.contact-mini input:focus,
.contact-mini textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-mini-note {
  text-align: center;
  margin-top: 10px;
  color: var(--gold-dark);
  font-size: .85rem;
  font-weight: 600;
}

/* ── Related section ────────────────────────────────────────── */
.related-section {
  padding: 80px 0;
  background: var(--surface-alt);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.related-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.related-img {
  height: 180px;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 14px;
  overflow: hidden;
}

.related-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.related-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  font-size: .74rem;
  font-weight: 700;
}

.related-body {
  padding: 18px 20px;
}

.related-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.related-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.related-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-price {
  font-weight: 800;
  color: var(--gold);
  font-size: 1rem;
}

.related-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s;
}

.related-card:hover .related-link {
  color: var(--gold);
}

/* ── Responsive — project detail ────────────────────────────── */
@media (max-width: 980px) {
  .proj-detail-grid {
    grid-template-columns: 1fr;
  }

  .proj-sidebar {
    position: static;
  }

  .overview-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-spec:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .overview-spec:nth-child(2n) {
    border-right: none;
  }

  .loan-calc {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 320px;
  }

  .floorplan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .proj-header-inner {
    flex-direction: column;
  }

  .proj-price-box {
    width: 100%;
    min-width: unset;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .loan-fields {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 240px;
  }

  .overview-bar {
    grid-template-columns: 1fr;
  }

  .overview-spec {
    border-right: none;
  }

  .overview-spec:nth-child(n) {
    border-right: none;
  }

  .detail-section {
    padding: 20px;
  }

  .floorplan-grid {
    grid-template-columns: 1fr;
  }

  /* Tables: nearby scrolls; details reflows label|value per row */
  .nearby-panel {
    overflow-x: auto;
  }

  .details-table {
    display: block;
  }

  /* tbody becomes the 2-col grid; tr becomes invisible (display:contents)
     so all td's auto-place as direct grid children in order */
  .details-table tbody {
    display: grid;
    grid-template-columns: minmax(96px, 36%) 1fr;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  .details-table tr {
    display: contents;
  }

  .details-table td {
    display: block;
    padding: 9px 12px;
    border: none;
    border-bottom: 1px solid var(--border);
    width: unset;
  }

  .details-table td.dt-label {
    background: var(--surface-alt);
    border-right: 1px solid var(--border);
    white-space: normal;
    font-size: 0.82rem;
    font-weight: 600;
    width: unset;
  }

  .details-table td.dt-value {
    width: unset;
  }

  /* reset even-row striping (was for 4-col desktop layout) */
  .details-table tr:nth-child(even) td {
    background: unset;
  }

  .details-table tr:nth-child(even) td.dt-label {
    background: var(--surface-alt);
  }
}

@media (max-width: 480px) {
  .detail-section {
    padding: 16px;
  }

  .nearby-tab {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .proj-header-inner {
    padding-bottom: 16px;
  }
}

/* ============================================================
   PROJECT LIST PAGE  (.plist-*)
   ============================================================ */

/* Breadcrumb */
.plist-breadcrumb {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.plist-breadcrumb a {
  color: var(--text-body);
  text-decoration: none;
}

.plist-breadcrumb a:hover {
  color: var(--gold);
}

.bc-sep {
  margin: 0 6px;
  color: var(--text-muted);
}

/* Hero */
.plist-hero {
  position: relative;
  min-height: 300px;
  background: var(--navy-dark) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.plist-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(24, 45, 60, .55) 0%, rgba(24, 45, 60, .88) 100%);
}

.plist-hero-inner {
  position: relative;
  padding: 40px 24px 44px;
}

.plist-status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: 12px;
}

.badge-active {
  background: var(--gold);
  color: #fff;
}

.badge-soon {
  background: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .3);
}

.plist-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: var(--leading-tight);
  margin-bottom: 8px;
}

.plist-hero-tag {
  color: rgba(255, 255, 255, .72);
  font-size: var(--text-base);
  margin-bottom: 10px;
}

.plist-hero-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Body layout */
.plist-body {
  background: var(--bg);
  padding: 40px 0 80px;
  overflow-x: hidden;
}

.plist-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sidebar */
.plist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 84px;
  min-width: 0;
}

.plist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.plist-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* Info list */
.plist-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plist-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.plist-info-label {
  color: var(--text-muted);
  flex-shrink: 0;
}

.plist-info-val {
  color: var(--text);
  text-align: right;
  font-weight: 600;
}

.plist-info-val.is-na {
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

.plist-price {
  color: var(--gold);
}

/* CTA card */
.plist-cta-card {
  background: var(--navy-dark);
  border-color: transparent;
  text-align: center;
}

.plist-cta-text {
  color: rgba(255, 255, 255, .72);
  font-size: var(--text-sm);
  margin-bottom: 16px;
  line-height: var(--leading-body);
}

.plist-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background .2s;
}

.plist-cta-btn:hover {
  background: var(--gold-dark);
}

.plist-detail-btn {
  display: block;
  width: 100%;
  padding: 10px 20px;
  text-align: center;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50px;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: border-color .2s, color .2s;
}

.plist-detail-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Related list in sidebar */
.plist-related-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plist-related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}

.plist-related-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.plist-related-dot {
  display: none;
}

.plist-related-thumb {
  width: 52px;
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--surface-alt);
}

.plist-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plist-related-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  opacity: .7;
}

.plist-related-item>div {
  flex: 1;
  min-width: 0;
}

.plist-related-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plist-related-item span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.plist-related-price {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Main content ── */
.plist-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  overflow-x: hidden;
}

/* Filter bar */
.plist-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.plist-filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.plist-filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-body);
  font-size: var(--text-sm);
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}

.plist-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.plist-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  font-weight: 700;
}


/* Unit list */
.plist-unit-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Zone section (Căn hộ / Nhà liền kề - Biệt thự) */
.plist-zone-section {
  margin-bottom: 32px;
}

.plist-zone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--surface-alt);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.plist-zone-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 3px 14px;
  font-size: .78rem;
  font-family: var(--font);
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}

.plist-zone-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* Collapse body — hidden by default, shown when section.is-open */
.plist-zone-body {
  display: none;
  padding-top: 16px;
}

.plist-zone-section.is-open .plist-zone-body {
  display: block;
}

.plist-zone-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.plist-zone-title[data-target] {
  cursor: pointer;
  user-select: none;
}

.plist-zone-title[data-target]:hover {
  color: var(--gold-dark);
}

.plist-zone-count {
  font-size: .78rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 50px;
}

.plist-zone-empty {
  padding: 28px 20px;
  color: var(--text-muted);
  font-style: italic;
  font-size: .9rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  margin-bottom: 0;
}

/* Stack cards inside each zone */
.plist-zone-section .unit-card+.unit-card {
  margin-top: 16px;
}

/* Unit card — horizontal */
.unit-card {
  display: grid;
  grid-template-columns: 315px 1fr;
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}

.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Unit image column */
.unit-card-img {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.unit-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

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

.unit-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 11px;
  border-radius: 50px;
  font-size: calc(var(--text-xs) * 0.9);
  font-weight: 700;
}

.us-active {
  background: var(--gold);
  color: #fff;
}

.us-soon {
  background: rgba(255, 255, 255, .85);
  color: var(--navy);
}

.unit-type-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  font-size: calc(var(--text-xs) * 0.9);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

/* Unit body */
.unit-card-body {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  gap: 6px;
}

.unit-name {
  font-size: calc(var(--text-xl) * 1.05);
  font-weight: 700;
  color: var(--text);
  line-height: var(--leading-tight);
}

.unit-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: 4px;
}

.unit-specs {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 4px 0;
}

.unit-specs li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  color: var(--text-body);
  font-weight: 600;
}

.unit-specs li svg {
  color: var(--gold);
  flex-shrink: 0;
}

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

.unit-price {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
}

.btn-unit-detail {
  padding: 8px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background .18s;
}

.btn-unit-detail:hover {
  background: var(--navy-mid);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .plist-layout {
    grid-template-columns: 1fr;
  }

  .plist-sidebar {
    position: static;
    order: 2;
  }

  .plist-main {
    order: 1;
  }
}

@media (max-width: 720px) {
  .unit-card {
    grid-template-columns: 1fr;
  }

  .unit-card-img {
    min-height: 200px;
    max-height: 220px;
  }

  .plist-hero {
    min-height: 240px;
  }

  .plist-zone-header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
  }

  .plist-zone-title {
    flex: 1 1 100%;
  }

  /* Bỏ margin-left: auto để nút không bị đẩy vào góc phải (nơi floating buttons đứng) */
  .plist-zone-toggle {
    margin-left: 0;
  }

  .plist-filter-btn {
    font-size: var(--text-xs);
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .unit-specs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .unit-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-unit-detail {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   NEWS / TIN TỨC PAGE  (.news-*)
   ============================================================ */

/* Breadcrumb — shared style reuse .plist-breadcrumb */
.news-breadcrumb {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.news-breadcrumb a {
  color: var(--text-body);
  text-decoration: none;
}

.news-breadcrumb a:hover {
  color: var(--gold);
}

/* Hero */
.news-hero {
  position: relative;
  background: var(--navy-dark);
  padding: 64px 0 56px;
  overflow: hidden;
}

.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(194, 154, 91, .12) 0%, transparent 70%);
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M0 0h40v1H0zM0 0v40h1V0z'/%3E%3C/g%3E%3C/svg%3E");
}

.news-hero-inner {
  position: relative;
  text-align: center;
}

.news-hero-inner .section-eyebrow {
  color: var(--gold);
  margin-bottom: 12px;
}

.news-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: var(--leading-tight);
  margin-bottom: 14px;
}

.news-hero-sub {
  color: rgba(255, 255, 255, .65);
  font-size: var(--text-lg);
  max-width: 560px;
  margin: 0 auto;
  line-height: var(--leading-body);
}

/* Body layout */
.news-body {
  background: var(--bg);
  padding: 48px 0 88px;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* ── Main ── */
.news-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-filter-active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gold-pale);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: var(--text-sm);
  color: var(--text-body);
}

.news-filter-clear {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
}

.news-filter-clear__x {
  margin-right: 0.35em;
}

.news-article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* News card — horizontal */
.news-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  position: relative;
  display: block;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

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

.news-cat-badge {
  position: absolute;
  top: -30px;
  left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
  gap: 10px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.news-author,
.news-date,
.news-read {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.news-author svg,
.news-date svg {
  color: var(--gold);
  flex-shrink: 0;
}

.news-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  line-height: var(--leading-tight);
  overflow: hidden;
}

.news-card-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}

.news-card-title a:hover {
  color: var(--gold);
}

.news-card-excerpt {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: var(--leading-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: gap .18s;
}

.news-read-more:hover {
  gap: 10px;
}

.news-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* ── Pagination ── */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 40px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-body);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
}

.page-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--navy);
}

.page-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  pointer-events: none;
}

.page-btn.disabled {
  opacity: .4;
  pointer-events: none;
  cursor: default;
}

.page-ellipsis {
  padding: 8px 4px;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.news-page-info {
  text-align: center;
  margin-top: 12px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ── Sidebar ── */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 84px;
}

.news-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.news-widget-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* Search */
.news-search-box {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: var(--text-sm);
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
}

.news-search-btn {
  background: var(--gold);
  border: none;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background .18s;
}

.news-search-btn:hover {
  background: var(--gold-dark);
}

/* Categories */
.news-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--text-body);
  font-weight: 500;
  transition: background .18s, color .18s;
}

.news-cat-link:hover,
.news-cat-link.active {
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.news-cat-count {
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.news-cat-link.active .news-cat-count {
  background: var(--gold);
  color: #fff;
}

/* Recent posts */
.news-recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-recent-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  align-items: flex-start;
}

.news-recent-img {
  width: 64px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.news-recent-item:hover .news-recent-img img {
  transform: scale(1.08);
}

.news-recent-body {
  flex: 1;
  min-width: 0;
}

.news-recent-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .18s;
}

.news-recent-item:hover .news-recent-title {
  color: var(--gold);
}

.news-recent-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Tags */
.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag {
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}

.news-tag:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* CTA widget */
.news-cta-widget {
  background: var(--navy-dark);
  border-color: transparent;
  text-align: center;
}

.news-cta-text {
  color: rgba(255, 255, 255, .72);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  margin-bottom: 16px;
}

.news-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: var(--text-base);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .news-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .news-card-img {
    min-height: 200px;
    max-height: 220px;
  }
}

/* ============================================================
   ARTICLE DETAIL PAGE  (.art-*)
   ============================================================ */

/* Hero */
.art-hero {
  position: relative;
  min-height: 380px;
  background: var(--navy-dark) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.art-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(24, 45, 60, .4) 0%, rgba(24, 45, 60, .92) 100%);
}

.art-hero-inner {
  position: relative;
  padding: 0 24px 48px;
  max-width: 760px;
}

.art-hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  right: auto;
  z-index: 2;
}

.art-hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: var(--leading-tight);
  margin: 12px 0 16px;
}

.art-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .65);
  font-size: var(--text-sm);
}

.art-hero-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.art-hero-meta svg {
  color: var(--gold);
}

/* Body */
.art-body {
  background: var(--bg);
  padding: 48px 0 88px;
}

.art-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* Article main */
.art-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.art-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.art-featured-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Article content typography */
.art-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  line-height: var(--leading-body);
  color: var(--text-body);
  font-size: var(--text-base);
}

.art-content p {
  margin-bottom: 20px;
  line-height: 1.85;
}

.art-content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 14px;
  line-height: var(--leading-tight);
}

.art-content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}

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

.art-content li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.art-content blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.art-content blockquote p {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.6;
}

.art-content blockquote cite {
  font-size: var(--text-sm);
  color: var(--gold-dark);
  font-weight: 600;
  font-style: normal;
}

/* Tags row */
.art-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.art-tags-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  margin-right: 4px;
  white-space: nowrap;
}

/* Share */
.art-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.art-share-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.art-share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .18s;
}

.share-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.share-fb {
  background: #1877f2;
  color: #fff;
}

.share-tw {
  background: #1da1f2;
  color: #fff;
}

.share-li {
  background: #0a66c2;
  color: #fff;
}

/* Author bio */
.art-author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.art-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--gold-soft);
  padding: 8px;
}

.art-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.art-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.art-author-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
}

.art-author-title {
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 600;
}

.art-author-desc {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: var(--leading-body);
  margin-top: 6px;
}

/* Related articles */
.art-related {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.art-related-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.art-related-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}

.art-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.art-related-img {
  height: 160px;
  overflow: hidden;
}

.art-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.art-related-card:hover .art-related-img img {
  transform: scale(1.06);
}

.art-related-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.art-related-card-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-related-card:hover .art-related-card-title {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 980px) {
  .art-layout {
    grid-template-columns: 1fr;
  }

  .art-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .art-content {
    padding: 24px 20px;
  }

  .art-featured-img img {
    height: 240px;
  }

  .art-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .art-related-grid {
    grid-template-columns: 1fr;
  }

  .art-hero {
    min-height: 300px;
  }

  .art-hero-inner {
    padding: 0 20px 36px;
  }

  .art-hero-title {
    word-break: break-word;
  }
}

/* ── Floating contact buttons ─────────────────────────────────── */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .38);
}

.float-btn--messenger {
  background: linear-gradient(135deg, #0084ff 0%, #a334fa 100%);
}

.float-btn--zalo {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.float-btn--phone {
  background: #25d366;
  animation: float-pulse 2.2s ease infinite;
}

.float-btn--phone:hover {
  animation: none;
}

@keyframes float-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 4px 16px rgba(0, 0, 0, .28);
  }

  60% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0), 0 4px 16px rgba(0, 0, 0, .28);
  }
}

@media (max-width: 480px) {
  .float-contact {
    bottom: 20px;
    right: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }
}

/* ============ LIGHTBOX ============ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  width: 52px;
  height: 80px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .75;
  transition: background .18s, opacity .18s;
  z-index: 2;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-nav:hover { background: rgba(255,255,255,.25); opacity: 1; }
.lightbox-nav:disabled { opacity: .2; cursor: default; }
.lightbox-nav[hidden] { display: none; }

@media (max-width: 480px) {
  .lightbox-nav { width: 38px; height: 60px; font-size: 2.2rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

.floorplan-item img {
  cursor: zoom-in;
}

.unit-card-img {
  cursor: zoom-in;
}

.payment-img-item {
  cursor: zoom-in;
}