/*
Theme Name: SM Real – Căn Hộ Quận 2 SEO
Theme URI: https://smreal.vn
Author: SM Real
Description: WordPress theme chuyên bất động sản căn hộ Quận 2 và Thạnh Mỹ Lợi, giao diện sáng chuyên nghiệp, landing page dự án, schema và SEO tích hợp.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: smreal
*/

/* ════════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════ */
:root {
  /* ── PRIMARY PALETTE ── */
  --c-cream:      #F9F6F1;
  --c-cream-dark: #F0EBE3;
  --c-sand:       #E8DFD0;
  --c-sand-mid:   #D4C5B0;
  --c-warm-white: #FDFCFA;
  --c-black:      #111110;
  --c-ink:        #1C1C1A;
  --c-ink-mid:    #3A3935;
  --c-ink-light:  #6B6860;
  --c-ink-pale:   #9B9890;
  --c-gold:       #B8965A;
  --c-gold-light: #D4AF78;
  --c-gold-pale:  #F2EAD8;

  /* ── TYPOGRAPHY ── */
  --f-display: "Times New Roman", Times, serif;
  --f-body:    "Times New Roman", Times, serif;

  /* ── SPACING ── */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 9rem;

  /* ── CONTAINER ── */
  --container: 1320px;
  --gutter:    2rem;

  /* ── MOTION ── */
  --ease:      cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --dur-fast:  180ms;
  --dur-base:  300ms;
  --dur-slow:  550ms;

  /* ── BACKWARD COMPAT ALIASES (legacy inline styles) ── */
  --navy:        #0D1B3E;
  --navy-dark:   var(--c-ink);
  --navy-light:  #162654;
  --gold:        var(--c-gold);
  --gold-light:  var(--c-gold-light);
  --gold-pale:   var(--c-gold-pale);
  --white:       var(--c-warm-white);
  --off-white:   var(--c-cream);
  --gray-50:     var(--c-cream);
  --gray-100:    var(--c-sand);
  --gray-200:    var(--c-sand);
  --gray-300:    var(--c-sand-mid);
  --gray-400:    var(--c-ink-pale);
  --gray-500:    var(--c-ink-pale);
  --gray-600:    var(--c-ink-light);
  --gray-700:    var(--c-ink-mid);
  --gray-800:    var(--c-ink);
  --gray-900:    var(--c-black);
  --green:       #16A34A;
  --red:         #DC2626;
  --orange:      #D97706;
  --font-display: var(--f-display);
  --font-body:    var(--f-body);
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.14);
  --shadow-xl:   0 16px 48px rgba(0,0,0,.18);
  --shadow-gold: 0 4px 20px rgba(184,150,90,.25);
  --transition:      0.25s ease;
  --transition-slow: 0.40s ease;
}

/* ════════════════════════════════════════════
   RESET
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-warm-white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 400; }

.label {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
}
.label-gold { color: var(--c-gold); }

/* ════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--sp-3xl) 0; }
.section-md { padding: var(--sp-2xl) 0; }
.section-sm { padding: var(--sp-xl) 0; }

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding: 1.25rem 0;
  transition: background var(--dur-slow) var(--ease),
              padding var(--dur-base) var(--ease),
              border-bottom-color var(--dur-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(253,252,250,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom-color: var(--c-sand);
}
.site-header.scrolled .logo-img {
  height: 60px;
}
.site-header.scrolled .logo-brand { color: var(--c-ink); }
.site-header.scrolled .logo-mark  { background: var(--c-ink); color: var(--c-warm-white); }
.site-header.scrolled .nav-link   { color: var(--c-ink-mid); }
.site-header.scrolled .nav-link:hover { color: var(--c-gold); }
.site-header.scrolled .header-cta-phone { color: var(--c-ink); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  display: block;
  width: auto;
  height: 72px;
  max-height: 72px;
  max-width: 260px;
  object-fit: contain;
}
.logo-img-footer {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}
.site-header .site-logo {
  min-width: 160px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--c-warm-white);
  color: var(--c-ink);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background var(--dur-base), color var(--dur-base);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; gap: 0; }
.logo-brand {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--c-warm-white);
  line-height: 1;
  transition: color var(--dur-base);
}
.logo-tagline {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur-base);
}
.site-header.scrolled .logo-tagline { color: var(--c-ink-pale); }

/* Nav */
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  display: block;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.78);
  transition: color var(--dur-fast);
}
.nav-link:hover { color: var(--c-warm-white); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-cta-phone {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-cta-phone:hover { color: var(--c-warm-white); }
.header-cta-phone svg { opacity: 0.6; }

.btn-header {
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--c-warm-white);
  border-radius: 2px;
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.btn-header:hover {
  background: var(--c-warm-white);
  border-color: var(--c-warm-white);
  color: var(--c-ink);
}
.site-header.scrolled .btn-header {
  border-color: var(--c-ink);
  color: var(--c-ink);
}
.site-header.scrolled .btn-header:hover {
  background: var(--c-ink);
  color: var(--c-warm-white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-warm-white);
  transition: all var(--dur-base);
}
.site-header.scrolled .hamburger span { background: var(--c-ink); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-warm-white);
  z-index: 850;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 3rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-sand);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.mobile-nav a:hover { color: var(--c-gold); padding-left: 0.5rem; }
.mobile-nav-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.mobile-nav-contact a {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  padding: 0;
  color: var(--c-ink-light);
}

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 14px; height: 14px; transition: transform var(--dur-base); }
.btn:hover svg { transform: translateX(3px); }

.btn-dark {
  background: var(--c-ink);
  color: var(--c-warm-white);
  border-color: var(--c-ink);
}
.btn-dark:hover {
  background: var(--c-ink-mid);
  border-color: var(--c-ink-mid);
}

.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-outline:hover {
  background: var(--c-ink);
  color: var(--c-warm-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--c-warm-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--c-warm-white);
  color: var(--c-ink);
  border-color: var(--c-warm-white);
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-warm-white);
  border-color: var(--c-gold);
}
.btn-gold:hover {
  background: var(--c-gold-light);
  border-color: var(--c-gold-light);
}

.btn-ghost {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-gold);
}
.btn-ghost:hover {
  background: var(--c-gold);
  color: var(--c-warm-white);
}

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.68rem; }
.btn-lg { padding: 1rem 2.75rem; font-size: 0.78rem; }

/* ════════════════════════════════════════════
   HERO  – Navy xanh sáng, không tối đen
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  background: #10233f;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 42, 0.78) 0%, rgba(8, 23, 42, 0.42) 42%, rgba(8, 23, 42, 0.10) 100%),
    radial-gradient(ellipse 50% 45% at 12% 82%, rgba(194, 138, 52, 0.16) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.92;
  transform: scale(1.01);
  animation: heroReveal 1.8s var(--ease-out) forwards;
}
@keyframes heroReveal {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 0.92; transform: scale(1.01); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 23, 42, 0.18) 0%, rgba(8, 23, 42, 0.48) 100%),
    linear-gradient(90deg, rgba(8, 23, 42, 0.70) 0%, rgba(8, 23, 42, 0.34) 44%, rgba(8, 23, 42, 0.08) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 1s 0.6s var(--ease-out) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-gold);
}
.hero-eyebrow span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-warm-white);
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  color: var(--c-gold-light);
}

.hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-actions-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.2);
}

.hero-phone-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast);
}
.hero-phone-link strong { color: var(--c-warm-white); font-weight: 500; }
.hero-phone-link:hover { color: var(--c-warm-white); }

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  display: flex;
  background: rgba(249,246,241,0.06);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: 1px solid rgba(255,255,255,0.08);
  animation: fadeUp 1s 1s var(--ease-out) forwards;
  opacity: 0;
}
.hero-stat {
  padding: 1.5rem 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-warm-white);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero-stat-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s 1.2s var(--ease-out) forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollLine 1.8s 1.5s ease infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.5); transform-origin: top; }
}
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}

/* ════════════════════════════════════════════
   SEARCH BAR
════════════════════════════════════════════ */
.search-section {
  background: var(--c-cream);
  border-bottom: 1px solid var(--c-sand);
  padding: 0;
}
.search-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  border-left: 1px solid var(--c-sand);
}
.search-cell {
  padding: 1.5rem 1.5rem;
  border-right: 1px solid var(--c-sand);
  position: relative;
}
.search-cell label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
  margin-bottom: 0.4rem;
}
.search-cell select,
.search-cell input {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--c-ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.search-cell select option { background: var(--c-warm-white); }
.search-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base);
}
.search-cell:focus-within::after { transform: scaleX(1); }

.search-tabs {
  display: flex;
  border-bottom: 1px solid var(--c-sand);
}
.search-tab {
  padding: 1rem 1.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
  transition: all var(--dur-fast);
}
.search-tab.active {
  color: var(--c-ink);
  border-bottom-color: var(--c-ink);
}
.search-submit {
  background: var(--c-ink);
  color: var(--c-warm-white);
  padding: 0 2rem;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.search-submit:hover { background: var(--c-gold); }

/* ════════════════════════════════════════════
   SECTION HEADERS
════════════════════════════════════════════ */
.sh {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-sand);
}
.sh-left {}
.sh-number {
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-ink-pale);
  margin-bottom: 0.75rem;
}
.sh-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.sh-title em { font-style: italic; color: var(--c-gold); }
.sh-link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--dur-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.sh-link svg { width: 12px; height: 12px; transition: transform var(--dur-base); }
.sh-link:hover { color: var(--c-gold); }
.sh-link:hover svg { transform: translateX(4px); }

/* ════════════════════════════════════════════
   PROJECT CARDS – Kiểu Khang Điền
════════════════════════════════════════════ */
.projects-grid {
  display: grid;
  /* 2 cột trái lớn + 2×2 phải – cân đối, gọn hơn */
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 3px;
  background: #E2D9CC;
}

.pj-card {
  position: relative;
  overflow: hidden;
  background: #1A2F4A;
  /* Tất cả card cùng tỉ lệ – không tràn viền */
  aspect-ratio: 4/5;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
/* Card đầu tiên cao hơn – chiếm 2 hàng */
.pj-card:first-child {
  aspect-ratio: auto;
  grid-row: span 2;
}
.pj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25,0.1,0.25,1);
  filter: saturate(0.85) brightness(0.9);
}
.pj-card:hover img {
  transform: scale(1.07);
  filter: saturate(1) brightness(0.95);
}

/* Overlay – navy xanh sáng thay đen thuần */
.pj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 55, 0.90) 0%,
    rgba(10, 25, 55, 0.35) 50%,
    rgba(10, 25, 55, 0.05) 100%
  );
  transition: all 0.4s ease;
}
.pj-card:hover .pj-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 25, 55, 0.95) 0%,
    rgba(10, 25, 55, 0.55) 60%,
    rgba(10, 25, 55, 0.15) 100%
  );
}

/* Chữ tên lớn mờ ở giữa – chỉ decoration, KHÔNG overflow */
.pj-watermark {
  position: absolute;
  /* Chỉ hiện ở giữa card, overflow hidden do parent */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-display);
  font-weight: 600;
  /* Kích thước tương đối theo chiều rộng card */
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: rgba(184,150,90, 0.22);
  white-space: nowrap;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  /* Clip trong card – không tràn ra ngoài */
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  /* Transition đẹp khi hover */
  transition: color 0.4s ease, transform 0.4s ease;
}
.pj-card:hover .pj-watermark {
  color: rgba(212,175,120, 0.3);
  transform: translate(-50%, -50%) scale(1.04);
}

/* SEO article block for project landing pages */
.project-seo-section {
  background: #fff;
  border-top: 1px solid var(--c-sand);
}
.project-seo-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.project-seo-media {
  position: sticky;
  top: 110px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--c-cream);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}
.project-seo-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.project-seo-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 23, 42, 0.18), rgba(8, 23, 42, 0.72));
  backdrop-filter: blur(7px);
}
.project-seo-caption strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.55rem;
  line-height: 1;
}
.project-seo-caption span {
  display: block;
  margin-top: .45rem;
  font-size: .72rem;
  color: rgba(255,255,255,.75);
}
.project-seo-article h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: .4rem 0 1rem;
}
.project-seo-article h3 {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 2rem 0 .75rem;
}
.project-seo-article p {
  color: var(--c-ink-light);
  font-size: .98rem;
  line-height: 1.9;
}
.project-seo-lead {
  color: var(--c-ink) !important;
  font-size: 1.08rem !important;
}
.project-seo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.75rem 0;
}
.project-seo-stats div {
  padding: 1rem;
  border: 1px solid var(--c-sand);
  border-radius: 10px;
  background: var(--c-cream);
}
.project-seo-stats span {
  display: block;
  margin-bottom: .35rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
}
.project-seo-stats strong {
  color: var(--c-ink);
  font-size: 1rem;
}
.project-seo-list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 1.75rem;
}
.project-seo-list li {
  position: relative;
  padding: .85rem 1rem .85rem 2.35rem;
  border: 1px solid var(--c-sand);
  border-radius: 10px;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: .94rem;
  line-height: 1.65;
}
.project-seo-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.35rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--c-gold);
}
.project-seo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.project-seo-faq {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--c-sand);
}
.project-seo-faq h3 {
  margin-bottom: 1rem;
}
.project-seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.project-seo-faq-grid div {
  padding: 1.25rem;
  border: 1px solid var(--c-sand);
  border-radius: 10px;
  background: var(--c-warm-white);
}
.project-seo-faq-grid strong {
  display: block;
  margin-bottom: .5rem;
  color: var(--c-ink);
}
.project-seo-faq-grid p {
  margin: 0;
  color: var(--c-ink-light);
  font-size: .9rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .project-seo-layout,
  .project-seo-faq-grid,
  .project-seo-stats {
    grid-template-columns: 1fr;
  }
  .project-seo-media {
    position: relative;
    top: auto;
  }
}

.pj-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  /* Ngăn nội dung tràn chiều cao */
  z-index: 2;
}
/* Card to – padding lớn hơn */
.pj-card:first-child .pj-body {
  padding: 2.5rem 2.25rem 2.25rem;
}

.pj-tag {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* Màu xanh teal sáng – mới mẻ hơn vàng thuần */
  color: #8EC8D8;
  margin-bottom: 0.2rem;
}

.pj-name {
  font-family: var(--f-display);
  font-weight: 300;
  /* Kích thước vừa phải, không tràn */
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: #F8F5F0;
  line-height: 1.2;
  letter-spacing: -0.01em;
  /* QUAN TRỌNG: ngăn tràn viền */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pj-card:first-child .pj-name {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  -webkit-line-clamp: 3;
}

.pj-location {
  font-size: 0.72rem;
  color: rgba(240,235,225,0.5);
  letter-spacing: 0.04em;
}

.pj-prices {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.pj-card:hover .pj-prices { opacity: 1; transform: translateY(0); }

.pj-price { text-align: left; }
.pj-price-lbl {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.18rem;
}
.pj-price-val {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 400;
  /* Vàng ấm – readable trên navy */
  color: #D4AF78;
}

.pj-cta {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.25s ease;
  z-index: 3;
}
.pj-card:hover .pj-cta { opacity: 1; transform: scale(1); }
.pj-cta:hover {
  background: #B8965A;
  border-color: #B8965A;
  color: #fff;
}

/* ════════════════════════════════════════════
   LISTING CARDS
════════════════════════════════════════════ */
.listings-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-sand);
}

.listing-row {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 0;
  border-bottom: 1px solid var(--c-sand);
  transition: background var(--dur-fast);
  text-decoration: none;
  color: inherit;
}
.listing-row:hover { background: var(--c-cream); }

.lr-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.lr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.listing-row:hover .lr-img img { transform: scale(1.05); }

.lr-body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lr-project {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.4rem;
}

.lr-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--c-ink);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.lr-specs {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.lr-spec {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--c-ink-light);
}
.lr-spec svg { width: 13px; height: 13px; color: var(--c-sand-mid); }

.lr-badges {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 1px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-ok     { background: #ECFDF5; color: #065F46; }
.badge-dep    { background: #FEF3C7; color: #92400E; }
.badge-sold   { background: #FEF2F2; color: #991B1B; }
.badge-legal  { background: var(--c-gold-pale); color: var(--c-gold); }

.lr-price-col {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  border-left: 1px solid var(--c-sand);
  min-width: 180px;
  flex-shrink: 0;
}
.lr-price-val {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-ink);
  line-height: 1;
  text-align: right;
}
.lr-price-lbl {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
  margin-top: 0.25rem;
  text-align: right;
}
.lr-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

/* ════════════════════════════════════════════
   KÝ GỬI SECTION
════════════════════════════════════════════ */
.consign-section {
  background: var(--c-ink);
  color: var(--c-warm-white);
  position: relative;
  overflow: hidden;
}
.consign-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}
.consign-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.consign-info h2 {
  color: var(--c-warm-white);
  margin-bottom: 1.5rem;
}
.consign-info p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}
.consign-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.cf-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.cf-icon {
  width: 1px;
  height: 20px;
  background: var(--c-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.cf-item strong { color: var(--c-warm-white); display: block; font-weight: 500; }

/* Consign form card */
.consign-form {
  background: var(--c-warm-white);
  padding: 2.5rem;
}
.consign-form h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--c-ink);
  margin-bottom: 0.35rem;
}
.consign-form-sub {
  font-size: 0.78rem;
  color: var(--c-ink-pale);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-sand);
}

/* ════════════════════════════════════════════
   WHY SECTION
════════════════════════════════════════════ */
.why-section { background: var(--c-cream); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--c-sand);
  border-bottom: none;
}
.why-item {
  padding: 3rem 2.5rem;
  border-bottom: 1px solid var(--c-sand);
  border-right: 1px solid var(--c-sand);
  transition: background var(--dur-base);
}
.why-item:nth-child(3n) { border-right: none; }
.why-item:hover { background: var(--c-warm-white); }
.why-num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--c-sand-mid);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.why-title {
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  margin-bottom: 0.75rem;
}
.why-desc {
  font-size: 0.825rem;
  color: var(--c-ink-light);
  line-height: 1.8;
}

/* ════════════════════════════════════════════
   AREAS SECTION
════════════════════════════════════════════ */
.areas-scroll {
  display: flex;
  gap: 1px;
  background: var(--c-sand);
  overflow-x: auto;
  scrollbar-width: none;
}
.areas-scroll::-webkit-scrollbar { display: none; }

.area-card {
  flex-shrink: 0;
  width: 220px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--c-cream-dark);
  cursor: pointer;
  text-decoration: none;
}
.area-card:first-child { width: 320px; }
.area-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: grayscale(20%);
}
.area-card:hover img { transform: scale(1.07); filter: grayscale(0%); }
.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,16,0.75) 0%, transparent 60%);
}
.area-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
}
.area-name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--c-warm-white);
  line-height: 1.15;
}
.area-count {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  margin-top: 0.3rem;
}

/* ════════════════════════════════════════════
   BLOG SECTION
════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--c-sand);
  border: 1px solid var(--c-sand);
}
.blog-card {
  background: var(--c-warm-white);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background var(--dur-fast);
}
.blog-card:hover { background: var(--c-cream); }
.blog-card-img {
  overflow: hidden;
}
.blog-card:first-child .blog-card-img { aspect-ratio: 16/9; }
.blog-card:not(:first-child) .blog-card-img { aspect-ratio: 4/3; }
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.75rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.65rem;
}
.blog-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--c-ink);
  line-height: 1.4;
  flex: 1;
}
.blog-card:first-child .blog-title { font-size: 1.4rem; }
.blog-meta {
  font-size: 0.7rem;
  color: var(--c-ink-pale);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-sand);
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════
   FORMS
════════════════════════════════════════════ */
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.7rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-sand-mid);
  border-radius: 0;
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--c-ink);
  outline: none;
  transition: border-color var(--dur-fast);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus { border-bottom-color: var(--c-ink); }
.form-control::placeholder { color: var(--c-ink-pale); }

/* Dark form (trên nền tối) */
.form-dark .form-label { color: rgba(255,255,255,0.4); }
.form-dark .form-control {
  color: var(--c-warm-white);
  border-bottom-color: rgba(255,255,255,0.15);
}
.form-dark .form-control:focus { border-bottom-color: var(--c-gold); }
.form-dark .form-control::placeholder { color: rgba(255,255,255,0.25); }
.form-dark select.form-control option { background: var(--c-ink); color: var(--c-warm-white); }

/* Grid 2 col trong form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Select arrow */
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B9890' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.25rem;
  cursor: pointer;
}

/* Pill radio */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.pill input { display: none; }
.pill label {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--c-sand-mid);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-ink-light);
  cursor: pointer;
  border-radius: 1px;
  transition: all var(--dur-fast);
}
.pill input:checked + label {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-warm-white);
}
.pill label:hover { border-color: var(--c-ink-mid); color: var(--c-ink); }

/* Alert */
.alert {
  padding: 0.875rem 1rem;
  font-size: 0.82rem;
  border-left: 3px solid;
  margin-bottom: 1rem;
}
.alert-success { background: #F0FDF4; color: #166534; border-color: #22C55E; }
.alert-error   { background: #FEF2F2; color: #991B1B; border-color: #EF4444; }

/* ════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-sand);
  border: 1px solid var(--c-sand);
}
.testi-card {
  background: var(--c-warm-white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background var(--dur-fast);
}
.testi-card:hover { background: var(--c-cream); }
.testi-stars { color: var(--c-gold); font-size: 0.75rem; letter-spacing: 0.1em; }
.testi-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--c-ink);
  line-height: 1.65;
  flex: 1;
}
.testi-author {
  padding-top: 1rem;
  border-top: 1px solid var(--c-sand);
}
.testi-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: 0.04em;
}
.testi-meta {
  font-size: 0.7rem;
  color: var(--c-gold);
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.45);
  padding: 5rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo-brand { color: var(--c-warm-white); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.35); }
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.35);
  margin: 1.5rem 0;
}
.footer-contact { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-contact a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--dur-fast);
}
.footer-contact a:hover { color: var(--c-gold-light); }
.footer-col-title {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.5rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur-fast);
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: var(--c-warm-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.2);
}
.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color var(--dur-fast);
}
.footer-bottom a:hover { color: var(--c-warm-white); }

/* ════════════════════════════════════════════
   FLOATING BUTTONS
════════════════════════════════════════════ */
.float-wrap {
  position: fixed;
  right: 1.75rem;
  bottom: 2rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
  position: relative;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,0.2); }
.float-btn-phone { background: var(--c-gold); color: var(--c-warm-white); }
.float-btn-zalo  { background: #0068FF; color: var(--c-warm-white); }
.float-btn-consign { background: var(--c-ink); color: var(--c-warm-white); }

.float-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-ink);
  color: var(--c-warm-white);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast);
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ════════════════════════════════════════════
   MOBILE CTA BAR
════════════════════════════════════════════ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--c-ink);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.mobile-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur-fast);
  text-decoration: none;
}
.mobile-cta-btn:hover, .mobile-cta-btn.active { color: var(--c-gold); }
.mobile-cta-btn svg { width: 20px; height: 20px; }

/* ════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--c-ink-pale);
  padding: 1rem 0;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb-sep { color: var(--c-sand-mid); }
.breadcrumb-current { color: var(--c-ink-light); }

/* ════════════════════════════════════════════
   ARCHIVE HEADER
════════════════════════════════════════════ */
.archive-header {
  background: var(--c-ink);
  padding: 8rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184,150,90,0.08) 0%, transparent 65%);
}
.archive-header h1 { color: var(--c-warm-white); }
.archive-header p  { color: rgba(255,255,255,0.45); font-size: 0.875rem; margin-top: 0.75rem; }

/* ════════════════════════════════════════════
   FILTER SIDEBAR
════════════════════════════════════════════ */
.archive-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.filter-sidebar {
  background: var(--c-cream);
  border: 1px solid var(--c-sand);
  padding: 2rem;
  position: sticky;
  top: 80px;
}
.filter-heading {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-sand);
  margin-bottom: 1.5rem;
}
.filter-group { margin-bottom: 1.5rem; }
.filter-group > label {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-pale);
  margin-bottom: 0.5rem;
}

/* ════════════════════════════════════════════
   UTILITIES
════════════════════════════════════════════ */
.sr-only {
  position: absolute; width:1px; height:1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.text-center { text-align: center; }
.text-gold { color: var(--c-gold); }
.text-ink { color: var(--c-ink); }
.text-muted { color: var(--c-ink-pale); }
.bg-cream { background: var(--c-cream); }
.bg-ink { background: var(--c-ink); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.divider { width: 40px; height: 1px; background: var(--c-gold); }
.divider-center { margin: 0 auto; }

/* ════════════════════════════════════════════
   PAGE LOADER
════════════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--c-ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: loaderFadeIn 0.4s ease forwards;
}
.loader-inner img,
.loader-inner picture {
  animation: loaderPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(184,150,90,.45));
}
.loader-inner::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
  background-size: 200% 100%;
  animation: loaderBar 1.4s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loaderPulse {
  0%,100% { opacity: 0.75; transform: scale(0.97); }
  50%     { opacity: 1;    transform: scale(1.02); }
}
@keyframes loaderBar {
  0%   { background-position: 200% 0; opacity: 0.4; }
  50%  { background-position: 0% 0;   opacity: 1;   }
  100% { background-position: -200% 0; opacity: 0.4; }
}

/* ════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .pj-card:first-child { grid-row: auto; aspect-ratio: 3/4; }
  .pj-card:first-child .pj-name { font-size: 1.6rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card:first-child { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .consign-inner { gap: 4rem; }
}
@media (max-width: 900px) {
  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .search-inner { grid-template-columns: 1fr 1fr; }
  .search-cell:nth-child(n+3) { display: none; }
  .archive-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .consign-inner { grid-template-columns: 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .listing-row { grid-template-columns: 180px 1fr; }
  .lr-price-col { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
  .section { padding: var(--sp-2xl) 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:first-child { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; }
  .search-inner { grid-template-columns: 1fr; }
  .search-cell { border-right: none; }
  .sh { grid-template-columns: 1fr; }
  .sh-link { display: none; }
  .hero-stats { display: none; }
  .hero-scroll { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .listing-row { grid-template-columns: 1fr; }
  .lr-img { aspect-ratio: 16/9; }
  .mobile-cta { display: block; }
  body { padding-bottom: 60px; }
  .float-wrap { bottom: 5rem; right: 1rem; }
  .float-btn { width: 42px; height: 42px; }
}

/* Professional landing inventory cards */
.landing-units-section {
  background: linear-gradient(180deg, #fff 0%, var(--c-cream) 100%);
  border-top: 1px solid var(--c-sand);
}
.landing-units-block { margin-top: 2rem; }
.landing-units-block + .landing-units-block { margin-top: 3rem; }
.landing-units-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.landing-units-head h3 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  color: var(--c-ink);
}
.landing-units-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.landing-unit-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}
.landing-unit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .9rem;
}
.landing-unit-top span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.landing-unit-top strong { color: var(--c-ink); font-size: 1rem; }
.landing-unit-card h4 {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .85rem;
}
.landing-unit-card ul {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
  color: var(--c-ink-light);
  font-size: .9rem;
}
.landing-unit-card li::before {
  content: "";
  display: inline-block;
  width: .42rem;
  height: .42rem;
  margin-right: .5rem;
  border-radius: 50%;
  background: var(--c-gold);
  vertical-align: middle;
}
@media (max-width: 900px) {
  .landing-units-grid { grid-template-columns: 1fr; }
  .landing-units-head { display: block; }
  .logo-img { height: 56px; max-width: 200px; }
  .site-header .site-logo { min-width: 140px; }
}

/* Project cards should show real imagery, not oversized name shadows */
.pj-card { background: #d8dee8; }
.pj-card img {
  filter: saturate(1.02) brightness(1) !important;
}
.pj-card:hover img {
  filter: saturate(1.08) brightness(1.03) !important;
}
.pj-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 25, 55, 0.76) 0%,
    rgba(10, 25, 55, 0.28) 48%,
    rgba(10, 25, 55, 0.02) 100%
  ) !important;
}
.pj-card:hover .pj-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 25, 55, 0.84) 0%,
    rgba(10, 25, 55, 0.38) 60%,
    rgba(10, 25, 55, 0.08) 100%
  ) !important;
}
.pj-watermark { display: none !important; }

/* Highlight sale price and call CTA on listing rows */
.listing-row .lr-price-col {
  justify-content: flex-end;
  align-items: stretch;
  gap: 1rem;
  padding: 2.25rem 2rem 1.9rem;
  min-width: 210px;
}
.listing-row .lr-price-col > div:first-child {
  background: #fff;
  border: 1px solid rgba(194, 138, 52, 0.32);
  border-radius: 8px;
  padding: .95rem 1rem .85rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.listing-row .lr-price-lbl {
  color: var(--c-gold);
  font-weight: 700;
  margin: 0 0 .35rem;
}
.listing-row .lr-price-val {
  color: var(--c-ink);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0;
}
.listing-row .lr-actions {
  width: 100%;
}
.listing-row .lr-actions .btn {
  width: 100%;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  background: var(--c-gold);
  color: #fff;
  border: 1px solid var(--c-gold);
  font-weight: 800;
  letter-spacing: .12em;
  box-shadow: 0 14px 30px rgba(194, 138, 52, 0.28);
}
.listing-row .lr-actions .btn:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
  transform: translateY(-1px);
}

/* Stronger project identity on image cards */
.projects-grid .pj-body {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1.25rem 1.25rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 23, 42, 0.18), rgba(8, 23, 42, 0.62));
  backdrop-filter: blur(6px);
}
.projects-grid .pj-tag {
  display: inline-flex;
  width: max-content;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: rgba(194, 138, 52, 0.18);
  color: #f4d18a;
  font-weight: 800;
}
.projects-grid .pj-name {
  color: #fff;
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
  font-weight: 500;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.48);
}
.projects-grid .pj-location {
  color: rgba(255, 255, 255, 0.82);
}
.projects-grid .pj-prices {
  opacity: 1;
  transform: none;
}

/* Move sale price and call button lower, then make them the clear CTA */
.listing-row {
  min-height: 198px;
}
.listing-row .lr-price-col {
  justify-content: flex-end !important;
  padding: 4.6rem 2rem 1.35rem !important;
}
.listing-row .lr-price-col > div:first-child {
  margin-top: auto;
}

/* Correct listing price placement: compact, aligned with the listing content */
.listings-list .listing-row {
  min-height: 0 !important;
  align-items: stretch;
}
.listings-list .lr-price-col {
  justify-content: center !important;
  align-items: stretch !important;
  gap: .7rem !important;
  padding: 1.35rem 1.6rem !important;
  min-width: 220px;
}
.listings-list .lr-price-col > div:first-child {
  margin-top: 0 !important;
  text-align: right;
}
.listings-list .lr-price-val {
  font-size: clamp(1.55rem, 2.1vw, 1.95rem);
}
.listings-list .lr-actions {
  margin-top: 0;
}
.listings-list .lr-actions .btn {
  min-height: 42px;
}

/* Final listing layout: keep price/call inside the marked right-side area */
.listings-list .listing-row {
  position: relative !important;
  display: grid !important;
  grid-template-columns: clamp(250px, 26vw, 328px) minmax(0, 1fr) !important;
  min-height: 214px !important;
  padding-right: clamp(235px, 24vw, 300px) !important;
  background: var(--c-warm-white);
}
.listings-list .lr-img {
  aspect-ratio: auto !important;
  min-height: 214px;
}
.listings-list .lr-body {
  min-width: 0;
  justify-content: center;
  padding: 2rem 2.35rem;
}
.listings-list .lr-price-col {
  position: absolute !important;
  top: 50% !important;
  right: clamp(1.25rem, 3vw, 2.25rem) !important;
  width: clamp(180px, 18vw, 235px) !important;
  transform: translateY(-50%);
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: .75rem !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-left: 0 !important;
}
.listings-list .lr-price-col > div:first-child {
  padding: 1rem 1.1rem .95rem !important;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(194, 138, 52, 0.32);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}
.listings-list .lr-price-lbl,
.listings-list .lr-price-val {
  text-align: center;
}
.listings-list .lr-actions .btn {
  border-radius: 10px;
  min-height: 44px;
}

@media (max-width: 900px) {
  .listings-list .listing-row {
    grid-template-columns: 1fr !important;
    padding-right: 0 !important;
  }
  .listings-list .lr-price-col {
    position: static !important;
    transform: none;
    width: auto !important;
    padding: 0 1.25rem 1.25rem !important;
  }
}

/* Hide sale price on homepage listing rows; keep the call CTA visible and clean. */
.listings-list .lr-price-col > div:first-child {
  display: none !important;
}
.listings-list .lr-price-col {
  width: clamp(112px, 12vw, 150px) !important;
  align-items: stretch !important;
}
.listings-list .lr-actions .btn {
  width: 100%;
  justify-content: center;
}

/* Final online polish: stronger primary CTAs and tighter listing rows after hiding prices. */
.listings-list .listing-row {
  padding-right: clamp(155px, 17vw, 205px) !important;
}
.listings-list .lr-price-col {
  width: clamp(118px, 12vw, 158px) !important;
}
.btn-primary,
.btn-gold,
.smr-submit,
.project-seo-cta .btn-primary,
.landing-unit-card .btn-primary,
.contact-form-box .btn-primary {
  background: linear-gradient(135deg, #c28a34 0%, #dfb86a 100%) !important;
  border-color: #c28a34 !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(194, 138, 52, 0.28);
  font-weight: 800;
}
.btn-primary:hover,
.btn-gold:hover,
.smr-submit:hover,
.project-seo-cta .btn-primary:hover,
.landing-unit-card .btn-primary:hover,
.contact-form-box .btn-primary:hover {
  background: linear-gradient(135deg, #111827 0%, #22314f 100%) !important;
  border-color: #111827 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.24);
}
.hero-actions .btn-primary,
.project-seo-cta .btn-primary {
  min-height: 50px;
}
.landing-unit-card .btn-block,
.contact-form-box .btn-block {
  min-height: 46px;
}
.btn:focus-visible,
.smr-submit:focus-visible,
.smr-close:focus-visible {
  outline: 3px solid rgba(194, 138, 52, 0.42);
  outline-offset: 3px;
}

/* Final correction: remove homepage listing price/call area and separate floating CTAs. */
.listing-row .lr-price-col,
.listings-list .lr-price-col {
  display: none !important;
}
.listing-row,
.listings-list .listing-row {
  padding-right: 0 !important;
  grid-template-columns: clamp(250px, 26vw, 328px) minmax(0, 1fr) !important;
}
.float-wrap {
  right: clamp(1rem, 2vw, 1.75rem) !important;
  bottom: clamp(5.75rem, 10vh, 7.25rem) !important;
  gap: 1rem !important;
  z-index: 850 !important;
}
.float-btn {
  width: 52px !important;
  height: 52px !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22) !important;
}
.float-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 640px) {
  .listing-row,
  .listings-list .listing-row {
    grid-template-columns: 1fr !important;
  }
  .float-wrap {
    right: .9rem !important;
    bottom: 5.25rem !important;
    gap: .9rem !important;
  }
  .float-btn {
    width: 50px !important;
    height: 50px !important;
  }
}

/* Keep only the theme CTA stack visible: phone, Zalo, consign. */
.zalo-chat-widget,
.smr-zalo-widget,
#smrChat,
#smrChatToggle {
  display: none !important;
}
.float-wrap {
  display: grid !important;
  grid-template-rows: repeat(3, 52px);
  align-items: center;
}
.float-btn-consign {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Premium header and footer contrast polish. */
.site-header {
  background: linear-gradient(180deg, rgba(14, 17, 14, 0.82), rgba(14, 17, 14, 0.46), rgba(14, 17, 14, 0)) !important;
}
.site-header:not(.scrolled) .header-inner {
  min-height: 58px;
}
.site-header:not(.scrolled) .nav-list {
  padding: .32rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}
.nav-link {
  position: relative;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 700 !important;
  letter-spacing: .055em !important;
}
.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(194, 138, 52, 0.18);
  color: #fff !important;
}
.site-header.scrolled .nav-link {
  color: #1f2937 !important;
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link:focus-visible {
  background: rgba(194, 138, 52, 0.12);
  color: #9a6420 !important;
}
.header-cta-phone {
  padding: .58rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-weight: 800 !important;
}
.header-cta-phone svg {
  color: #d9b46a;
  opacity: 1 !important;
}
.site-header.scrolled .header-cta-phone {
  background: rgba(17, 24, 39, 0.05);
  border-color: rgba(17, 24, 39, 0.1);
  color: #111827 !important;
}
.btn-header {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.35rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(223, 184, 106, 0.7) !important;
  background: linear-gradient(135deg, #c28a34 0%, #edcd86 100%) !important;
  color: #111827 !important;
  box-shadow: 0 16px 34px rgba(194, 138, 52, 0.28);
  font-weight: 900 !important;
}
.btn-header:hover,
.site-header.scrolled .btn-header:hover {
  background: linear-gradient(135deg, #111827 0%, #24304a 100%) !important;
  color: #fff !important;
  border-color: #111827 !important;
  transform: translateY(-1px);
}
.site-header.scrolled .btn-header {
  color: #111827 !important;
}

.site-footer {
  background:
    radial-gradient(circle at 18% 0%, rgba(194, 138, 52, 0.14), transparent 32%),
    linear-gradient(180deg, #171713 0%, #11120f 100%) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}
.site-footer .footer-top {
  border-top: 1px solid rgba(223, 184, 106, 0.14);
  border-bottom-color: rgba(223, 184, 106, 0.16) !important;
}
.footer-logo {
  padding: .55rem .7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  display: inline-flex;
}
.footer-logo .logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
}
.logo-img-footer {
  filter: none !important;
  opacity: 1 !important;
}
.footer-desc {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: .9rem !important;
}
.footer-contact {
  gap: .8rem !important;
}
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 600;
}
.footer-contact svg {
  color: #dfb86a;
  stroke-width: 2;
}
.footer-col-title {
  color: #dfb86a !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
}
.footer-links {
  gap: .72rem !important;
}
.footer-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.76) !important;
  font-weight: 650;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.22rem;
  width: 0;
  height: 1px;
  background: #dfb86a;
  transition: width .22s ease;
}
.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: #fff !important;
}
.footer-links a:hover::after {
  width: 100%;
}
.footer-bottom {
  color: rgba(255, 255, 255, 0.48) !important;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.62) !important;
}
@media (max-width: 1100px) {
  .site-header:not(.scrolled) .nav-list {
    border-radius: 14px;
  }
  .nav-link {
    padding: .42rem .7rem !important;
  }
}

/* Header should stay clean and readable: white premium bar over imagery. */
.site-header,
.site-header:not(.scrolled),
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(194, 138, 52, 0.18) !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}
.site-header:not(.scrolled) {
  padding: 1rem 0 !important;
}
.site-header.scrolled {
  padding: .82rem 0 !important;
}
.site-header:not(.scrolled) .nav-list {
  background: transparent !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}
.nav-link,
.site-header:not(.scrolled) .nav-link,
.site-header.scrolled .nav-link {
  color: #1f2937 !important;
  font-weight: 800 !important;
}
.nav-link:hover,
.nav-link:focus-visible,
.site-header:not(.scrolled) .nav-link:hover,
.site-header.scrolled .nav-link:hover {
  background: rgba(194, 138, 52, 0.12) !important;
  color: #9a6420 !important;
}
.header-cta-phone,
.site-header:not(.scrolled) .header-cta-phone,
.site-header.scrolled .header-cta-phone {
  background: #f7f3ea !important;
  border-color: rgba(194, 138, 52, 0.22) !important;
  color: #111827 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.site-header .site-logo {
  filter: none !important;
}

/* Final typography pass: one readable system serif across the site. */
html {
  text-rendering: optimizeLegibility;
}
body,
button,
input,
select,
textarea {
  font-family: "Times New Roman", Times, serif !important;
}
body {
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.7;
}
p,
li,
a,
button,
input,
select,
textarea {
  letter-spacing: 0;
}
.hero-title,
.page-hero-title,
.section-title,
.card-title,
.listing-title {
  font-weight: 400;
  letter-spacing: 0 !important;
}
.hero-title,
.page-hero-title {
  line-height: 1.06;
}
.nav-link {
  font-size: .98rem;
  letter-spacing: 0 !important;
}
.btn,
.btn-header,
.label,
.section-label,
.footer-col-title {
  letter-spacing: .04em !important;
}
.footer-desc,
.footer-links a,
.footer-contact a,
.footer-contact span {
  font-size: .96rem !important;
  line-height: 1.65;
}

/* Standard pages and blog listing. */
.generic-page {
  background: var(--c-warm-white);
}
.generic-page-hero {
  padding: 10rem 0 4.5rem;
  color: #fff;
  background: #171b22;
}
.generic-page-hero .breadcrumb,
.generic-page-hero .breadcrumb a {
  color: rgba(255, 255, 255, .7);
}
.generic-page-hero .section-label {
  margin-top: 2rem;
  color: var(--c-gold-light);
}
.generic-page-hero .page-hero-title {
  max-width: 960px;
  margin-top: .6rem;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5rem);
}
.generic-page-body {
  padding: 5rem 0 7rem;
}
.generic-page-container {
  max-width: 900px;
}
.generic-page-content {
  color: var(--c-ink-mid);
  font-size: 1.08rem;
  line-height: 1.8;
}
.generic-page-content h2 {
  margin: 2.5rem 0 .8rem;
  color: var(--c-ink);
  font-size: 2rem;
}
.generic-page-content h2:first-child {
  margin-top: 0;
}
.generic-page-content a {
  color: #8a5a1d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.post-list-card {
  overflow: hidden;
  border: 1px solid var(--c-sand);
  background: #fff;
}
.post-list-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.post-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.post-list-card:hover .post-list-image img {
  transform: scale(1.035);
}
.post-list-content {
  padding: 1.5rem;
}
.post-list-meta {
  margin-bottom: .55rem;
  color: var(--c-gold);
  font-size: .82rem;
  font-weight: 700;
}
.post-list-content h2 {
  margin-bottom: .7rem;
  font-size: 1.5rem;
  line-height: 1.25;
}
.post-list-content h2 a {
  color: var(--c-ink);
}
.post-list-content p {
  color: var(--c-ink-light);
}
.post-list-link {
  display: inline-block;
  margin-top: 1rem;
  color: #8a5a1d;
  font-weight: 700;
}
.pagination {
  margin-top: 3rem;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pagination .page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: .5rem .8rem;
  border: 1px solid var(--c-sand);
  color: var(--c-ink);
  background: #fff;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--c-gold);
  color: #fff;
  background: var(--c-gold);
}
.empty-state {
  max-width: 680px;
  padding: 3rem;
  border: 1px solid var(--c-sand);
  background: #fff;
}
@media (max-width: 900px) {
  .post-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .generic-page-hero {
    padding: 8rem 0 3rem;
  }
  .generic-page-body {
    padding: 3.5rem 0 5rem;
  }
  .post-list-grid {
    grid-template-columns: 1fr;
  }
  .empty-state {
    padding: 2rem 1.25rem;
  }
}
