/* ═══════════════════════════════════════════════════════════════════════
   Kaad PMS — Main Stylesheet
   Fonts: Instrument Serif (display) + DM Sans (body) + JetBrains Mono (data)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────────────── */
:root {
  --navy:        #0d1b2e;
  --navy-mid:    #152438;
  --navy-card:   #1a2d42;
  --blue:        #2b6cb8;
  --blue-light:  #4a8fd4;
  --blue-glow:   rgba(43,108,184,0.18);
  --amber:       #e8a838;
  --amber-light: #f5c46a;
  --green:       #2a9d6b;
  --red:         #d94f3d;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --border:      #e2e8f0;
  --border-dark: rgba(255,255,255,0.08);
  --text:        #1a2d42;
  --text-2:      #4a5e75;
  --text-3:      #8a9ab0;
  --text-inv:    rgba(255,255,255,0.7);

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-card: 0 2px 8px rgba(13,27,46,0.08);

  --nav-h: 64px;
}

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

/* ── UTILITY ─────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.w-full { width: 100%; }
.mt-8 { margin-top: 8px; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--blue-light);
  margin-bottom: 16px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}
.eyebrow-dark { color: var(--blue); }
.eyebrow-dark .eyebrow-dot { background: var(--blue); }

.section-h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-2);
  max-width: 600px; line-height: 1.7;
  margin-bottom: 0;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head .section-sub { margin: 0 auto; }

/* ── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--r-md); }
.btn-primary {
  background: var(--blue); color: white;
  box-shadow: 0 2px 8px rgba(43,108,184,0.35);
}
.btn-primary:hover {
  background: #2560a8;
  box-shadow: 0 4px 16px rgba(43,108,184,0.45);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: white; }
.btn-outline-light {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--navy); }
.btn-dark { color: var(--navy); }
.btn-dark:hover { color: var(--blue); }
/* Owner-login button sits on the dark hero nav — keep it light & visible */
.nav .btn-ghost {
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.25);
}
.nav .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }
/* On the light marketplace nav, revert to dark text */
.nav-light .btn-ghost { color: var(--navy); border-color: var(--border); }
.nav-light .btn-ghost:hover { color: var(--blue); background: var(--off-white); border-color: var(--blue); }

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,46,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(13,27,46,0.98); }
.nav-light {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
}
.nav-light.scrolled { background: rgba(255,255,255,0.99); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img { height: 38px; width: auto; display: block; }
.footer-brand .nav-logo-img { height: 40px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px; color: white;
  flex-shrink: 0;
}
.logo-mark-sm { width: 28px; height: 28px; font-size: 14px; }
.logo-text span { display: block; font-size: 15px; font-weight: 700; color: white; line-height: 1; }
.logo-text small { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; }
.nav-light .logo-text span { color: var(--navy); }
.nav-light .logo-text small { color: var(--text-3); }
.nav-links { display: flex; gap: 4px; margin-left: 16px; }
.nav-links a {
  padding: 6px 14px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.nav-active { color: white; background: rgba(255,255,255,0.1); }
.nav-light .nav-links a { color: var(--text-2); }
.nav-light .nav-links a:hover, .nav-light .nav-links a.nav-active { color: var(--navy); background: var(--off-white); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; align-items: center; gap: 4px; }
.lang-sep { color: var(--text-3); font-size: 12px; }
.lang-btn {
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 4px;
  color: rgba(255,255,255,0.5);
  transition: all 0.15s;
}
.lang-btn:hover, .lang-btn.active { color: white; background: rgba(255,255,255,0.12); }
.nav-light .lang-btn { color: var(--text-3); }
.nav-light .lang-btn:hover, .nav-light .lang-btn.active { color: var(--navy); background: var(--off-white); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: all 0.2s; }
.nav-light .nav-burger span { background: var(--navy); }
.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-dark);
}
.nav-mobile.open { display: flex; }
.nav-mobile a, .nav-mobile button { padding: 10px 12px; border-radius: var(--r-sm); color: rgba(255,255,255,0.8); font-size: 15px; font-weight: 500; }
.nav-mobile a:hover { background: rgba(255,255,255,0.08); }

/* ── HERO ────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-image {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center right / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg,
      rgba(13,27,46,0.97) 0%,
      rgba(13,27,46,0.93) 38%,
      rgba(13,27,46,0.78) 68%,
      rgba(13,27,46,0.55) 100%),
    linear-gradient(to top, rgba(13,27,46,0.85) 0%, rgba(13,27,46,0) 45%);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(43,108,184,0.2) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  bottom: -50px; right: 10%;
  background: radial-gradient(circle, rgba(232,168,56,0.1) 0%, transparent 70%);
}
.hero-inner {
  display: flex; align-items: center; justify-content: flex-start;
  padding-top: 60px; padding-bottom: 100px;
  position: relative; z-index: 1;
  min-height: 78vh;
}
.hero-content { max-width: 940px; margin-right: auto; }
.hero-content .hero-sub { max-width: 660px; }
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08; color: white;
  margin-bottom: 22px;
}
.hero-line { display: block; }
.hero-accent { display: block; color: var(--blue-light); font-style: italic; }
.hero-sub { font-size: 19px; color: var(--text-inv); line-height: 1.7; margin-bottom: 32px; max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-trust { font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.3px; }

/* Dashboard mockup */
.dashboard-mockup {
  background: var(--navy-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.2);
  animation: floatUp 6s ease-in-out infinite;
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.dash-topbar {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border-dark);
}
.dash-dots { display: flex; gap: 5px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.dash-dots span:first-child { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:last-child { background: #28c840; }
.dash-title { font-size: 12px; color: rgba(255,255,255,0.3); font-family: var(--font-mono); }
.dash-body { padding: 20px; }
.dash-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.dash-stat { padding: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-dark); border-radius: var(--r-md); }
.dash-stat-val { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: white; margin-bottom: 4px; }
.dash-green { color: var(--green); }
.dash-amber { color: var(--amber); }
.dash-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: 0.5px; }
.dash-tenant-list { margin-bottom: 16px; }
.dash-tenant-row {
  display: grid; grid-template-columns: 1fr 60px 80px;
  padding: 8px 10px; gap: 8px; align-items: center;
  font-size: 12px; border-radius: var(--r-sm);
}
.dash-tenant-row:not(.dash-tenant-head):hover { background: rgba(255,255,255,0.04); }
.dash-tenant-head { color: rgba(255,255,255,0.3); font-size: 10px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; }
.dash-tenant-row:not(.dash-tenant-head) { color: rgba(255,255,255,0.75); }
.dash-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 600; }
.dash-badge-green { background: rgba(42,157,107,0.2); color: var(--green); }
.dash-badge-amber { background: rgba(232,168,56,0.2); color: var(--amber); }
.dash-badge-red { background: rgba(217,79,61,0.2); color: var(--red); }
.dash-sms-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(43,108,184,0.15);
  border: 1px solid rgba(43,108,184,0.3);
  border-radius: var(--r-sm);
}
.dash-sms-icon { font-size: 14px; opacity: 0.7; }
.dash-sms-text { font-size: 12px; color: var(--blue-light); flex: 1; }
.dash-sms-text strong { color: white; }
.dash-sms-btn {
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; background: var(--blue);
  color: white; border-radius: 4px;
}

/* ── STATS BAR ───────────────────────────────────────────────────────── */
.stats-bar {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 24px; gap: 0;
}
.stat-item { text-align: center; padding: 0 48px; flex: 1; max-width: 200px; }
.stat-val { font-family: var(--font-serif); font-size: 36px; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-size: 12px; color: var(--text-3); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* ── PROBLEM ─────────────────────────────────────────────────────────── */
.problem { background: var(--navy); }
.problem-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.problem-text .section-h2 { color: white; }
.problem-text p { color: var(--text-inv); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.problem-cta-line { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.problem-cta-rule { flex: 1; height: 1px; background: rgba(255,255,255,0.15); }
.problem-cta-line strong { color: var(--amber); font-size: 16px; font-weight: 700; white-space: nowrap; }

/* Chaos card */
.chaos-card {
  background: #1a2435;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.chaos-header {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chaos-app { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }
.chaos-label { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; letter-spacing: 0.8px; text-transform: uppercase; }
.chaos-red { background: rgba(217,79,61,0.2); color: #ff6b5b; }
.chaos-messages { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
.chaos-msg {
  max-width: 80%; padding: 8px 12px; border-radius: 12px;
  font-size: 13px; line-height: 1.4;
}
.chaos-msg-r { align-self: flex-end; background: rgba(43,108,184,0.4); color: rgba(255,255,255,0.9); border-bottom-right-radius: 4px; }
.chaos-msg-l { align-self: flex-start; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border-bottom-left-radius: 4px; }
.chaos-footer {
  padding: 10px 16px;
  font-size: 11px; color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
}

/* ── FEATURES ────────────────────────────────────────────────────────── */
.features { background: white; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}
.feat-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-card-tall { grid-row: span 1; }
.feat-card-accent { background: var(--navy); border-color: transparent; }
.feat-card-dark { background: var(--navy-mid); border-color: transparent; }
.feat-icon {
  width: 44px; height: 44px;
  background: rgba(43,108,184,0.1);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 16px;
}
.feat-card-accent .feat-icon, .feat-card-dark .feat-icon {
  background: rgba(255,255,255,0.1); color: white;
}
.feat-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.feat-card-accent h3, .feat-card-dark h3 { color: white; }
.feat-card-accent p, .feat-card-dark p { color: var(--text-inv); }
.feat-visual-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-top: 20px;
}
.fv-unit {
  padding: 10px 8px; border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: 11px;
  font-weight: 600; text-align: center; line-height: 1.4;
}
.fv-unit small { font-size: 9px; font-weight: 400; display: block; font-family: var(--font-sans); }
.fv-green { background: rgba(42,157,107,0.1); color: var(--green); }
.fv-amber { background: rgba(232,168,56,0.1); color: var(--amber); }
.fv-blue  { background: rgba(43,108,184,0.1); color: var(--blue); }
.feat-sms-demo { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.feat-sms-recipients { font-size: 11px; color: rgba(255,255,255,0.5); font-family: var(--font-mono); }
.feat-sms-msg {
  background: rgba(255,255,255,0.08); border-radius: var(--r-sm);
  padding: 10px 14px; font-size: 13px; color: white;
  border-left: 3px solid var(--blue-light);
}
.feat-sms-send {
  font-size: 12px; font-weight: 700; color: var(--green);
  display: flex; align-items: center; gap: 4px;
}
.feat-mkt-link {
  display: inline-block; margin-top: 16px;
  font-size: 13px; font-weight: 600; color: var(--blue-light);
  transition: color 0.15s;
}
.feat-mkt-link:hover { color: white; }

/* ── MARKETPLACE PREVIEW ─────────────────────────────────────────────── */
.mkt-preview { background: var(--off-white); }
.mkt-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 40px; }
.mkt-unit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.mkt-unit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.muc-image {
  position: relative; height: 180px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.muc-illustration { width: 100%; height: 100%; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.muc-illustration svg { width: 100%; height: 100%; }
.muc-type-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  color: white; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; letter-spacing: 0.8px;
  text-transform: uppercase; z-index: 1;
}
.muc-available {
  position: absolute; top: 12px; right: 12px;
  background: var(--green); color: white;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  z-index: 1;
}
.muc-body { padding: 18px; }
.muc-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.muc-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-3); margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.muc-meta span { display: flex; align-items: center; gap: 3px; }
.muc-amenities { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.muc-amenity { font-size: 11px; padding: 2px 8px; background: var(--off-white); border: 1px solid var(--border); border-radius: 20px; color: var(--text-2); }
.muc-footer { display: flex; justify-content: space-between; align-items: center; }
.muc-price { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--navy); }
.muc-price span { font-size: 13px; color: var(--text-3); font-weight: 400; }
.muc-view { font-size: 13px; font-weight: 600; color: var(--blue); }
.mkt-preview-cta { text-align: center; }

/* ── HOW IT WORKS ────────────────────────────────────────────────────── */
.how { background: white; }
.how-steps {
  display: flex; align-items: flex-start;
  gap: 24px;
}
.how-step { flex: 1; }
.how-num {
  font-family: var(--font-mono); font-size: 42px; font-weight: 500;
  color: var(--border); line-height: 1;
  margin-bottom: 16px;
}
.how-step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.how-step p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.how-arrow { color: var(--border); flex-shrink: 0; margin-top: 12px; }

/* ── PRICING ─────────────────────────────────────────────────────────── */
.pricing { background: var(--off-white); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-bottom: 28px;
  align-items: stretch; max-width: 1040px;
  margin-left: auto; margin-right: auto;
}
.plan-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(43,108,184,0.35); }
.plan-card-featured {
  border-color: transparent;
  background: linear-gradient(180deg, #102a4c 0%, var(--navy) 100%);
  box-shadow: 0 20px 50px rgba(13,27,46,0.28);
  transform: translateY(-12px);
}
.plan-card-featured:hover { transform: translateY(-16px); box-shadow: 0 28px 60px rgba(13,27,46,0.34); }
.plan-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--navy);
  font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
  padding: 5px 16px; border-radius: 20px; text-transform: uppercase;
  white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.plan-name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; color: var(--blue); margin-bottom: 8px; }
.plan-card-featured .plan-name { color: var(--blue-light); }
.plan-desc { font-size: 13px; color: var(--text-2); margin-bottom: 24px; line-height: 1.55; min-height: 38px; }
.plan-card-featured .plan-desc { color: rgba(255,255,255,0.65); }
.plan-price {
  font-family: var(--font-serif); font-weight: 400;
  font-size: 56px; color: var(--navy); line-height: 1;
  margin-bottom: 6px; display: flex; align-items: baseline; gap: 2px;
}
.plan-card-featured .plan-price { color: white; }
.plan-currency { font-size: 26px; color: var(--text-3); align-self: flex-start; margin-top: 8px; }
.plan-card-featured .plan-currency { color: rgba(255,255,255,0.55); }
.plan-period { font-family: var(--font-sans); font-size: 15px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.plan-card-featured .plan-period { color: rgba(255,255,255,0.55); }
.plan-units { font-size: 13px; font-weight: 500; color: var(--text-3); margin-bottom: 26px; border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.plan-card-featured .plan-units { color: rgba(255,255,255,0.6); border-bottom-color: rgba(255,255,255,0.12); }
.plan-features { margin-bottom: 30px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan-features li {
  font-size: 14px; color: var(--text-2);
  padding-left: 28px; position: relative; line-height: 1.4;
}
.plan-card-featured .plan-features li { color: rgba(255,255,255,0.85); }
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(42,157,107,0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' stroke='%232a9d6b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.plan-card-featured .plan-features li::before { background-color: rgba(96,165,250,0.18); }
.plan-btn { width: 100%; justify-content: center; margin-top: auto; }
.plan-card-featured .plan-btn.btn-primary { background: white; color: var(--navy); box-shadow: none; }
.plan-card-featured .plan-btn.btn-primary:hover { background: var(--off-white); transform: translateY(-1px); }
.pricing-annual { text-align: center; font-size: 13px; color: var(--text-3); }

/* ── TESTIMONIALS ────────────────────────────────────────────────────── */
.testimonials { background: white; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.testi-card-dark { background: var(--navy); border-color: transparent; }
.testi-quote {
  font-size: 15px; line-height: 1.7; color: var(--text-2);
  font-style: italic; margin-bottom: 20px;
}
.testi-card-dark .testi-quote { color: var(--text-inv); }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-card-dark .testi-name { color: white; }
.testi-role { font-size: 12px; color: var(--text-3); }

/* ── FINAL CTA ───────────────────────────────────────────────────────── */
.final-cta { background: var(--navy); padding: 100px 0; }
.final-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.final-cta h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 42px); color: white; margin-bottom: 16px; }
.final-cta p { font-size: 17px; color: var(--text-inv); line-height: 1.7; margin-bottom: 36px; }
.final-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.footer { background: var(--navy-mid); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 60px 24px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 260px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); padding: 3px 0; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; font-size: 12px; color: rgba(255,255,255,0.3);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.3); font-size: 12px; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }
.footer-compact .footer-bottom-inner { justify-content: space-between; }

/* ── MODAL ───────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,27,46,0.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--navy-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-xl);
  padding: 40px;
  width: 100%; max-width: 480px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.2s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 22px; color: rgba(255,255,255,0.4);
  padding: 4px; transition: color 0.15s;
}
.modal-close:hover { color: white; }
.modal-title { font-family: var(--font-serif); font-size: 26px; color: white; margin-bottom: 24px; }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md); color: white; font-size: 14px;
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue-light);
  background: rgba(255,255,255,0.09);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.modal-submit { margin-top: 4px; justify-content: center; }
.modal-login { text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }
.modal-login a { color: var(--blue-light); font-weight: 600; }
.modal-note { text-align: center; font-size: 11px; color: rgba(255,255,255,0.25); margin-top: -4px; }

/* ── MARKETPLACE PAGE ────────────────────────────────────────────────── */
.mkt-page { background: var(--off-white); }
.mkt-header {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: calc(var(--nav-h) + 40px) 0 40px;
}
.mkt-header-inner {}
.mkt-header h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 48px); color: var(--navy); margin-bottom: 8px; }
.mkt-header p { font-size: 16px; color: var(--text-2); }

.mkt-body { padding: 40px 0 80px; }
.mkt-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }

/* Sidebar */
.mkt-sidebar {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  height: fit-content; position: sticky; top: calc(var(--nav-h) + 20px);
}
.mkt-sidebar-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.mkt-reset { font-size: 12px; color: var(--blue); font-weight: 500; }
.mkt-reset:hover { text-decoration: underline; }
.filter-group { margin-bottom: 20px; }
.filter-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-3); margin-bottom: 8px; }
.filter-select {
  width: 100%; padding: 9px 12px;
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: 13px; color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9ab0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 30px;
}
.filter-range {
  width: 100%; accent-color: var(--blue);
}
.filter-checks { display: flex; flex-direction: column; gap: 8px; }
.filter-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2); cursor: pointer;
}
.filter-check input { accent-color: var(--blue); width: 15px; height: 15px; cursor: pointer; }

/* Listings area */
.mkt-topbar {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 16px; flex-wrap: wrap;
}
.mkt-search-wrap { position: relative; flex: 1; min-width: 200px; }
.mkt-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.mkt-search {
  width: 100%; padding: 10px 12px 10px 38px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-md); font-size: 14px; color: var(--text);
  transition: border-color 0.15s;
}
.mkt-search:focus { outline: none; border-color: var(--blue); }
.mkt-topbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.mkt-count { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.mkt-count span { font-weight: 700; color: var(--navy); }
.mkt-sort-wrap { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.mkt-sort-wrap .filter-select { width: auto; }
.mkt-filter-toggle {
  display: none; align-items: center; gap: 6px;
  padding: 9px 14px; background: white;
  border: 1px solid var(--border); border-radius: var(--r-md);
  font-size: 13px; font-weight: 600; color: var(--text-2);
}

/* Tabs */
.mkt-tabs { display: flex; gap: 4px; margin-bottom: 20px; }
.mkt-tab {
  padding: 7px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  transition: all 0.15s;
}
.mkt-tab:hover { background: white; }
.mkt-tab.active { background: var(--navy); color: white; }

/* Grid */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Pagination */
.mkt-pagination {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 40px;
}
.pag-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  background: white; border: 1px solid var(--border);
  color: var(--text-2); transition: all 0.15s;
}
.pag-btn:hover { border-color: var(--blue); color: var(--blue); }
.pag-btn.active { background: var(--navy); border-color: var(--navy); color: white; }
.pag-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── UNIT DETAIL PAGE ────────────────────────────────────────────────── */
.unit-page { background: var(--off-white); }
.unit-container { max-width: 1200px; margin: 0 auto; padding: calc(var(--nav-h) + 24px) 24px 60px; }
.unit-breadcrumb { margin-bottom: 24px; }
.unit-breadcrumb a { font-size: 14px; color: var(--blue); font-weight: 500; }
.unit-breadcrumb a:hover { text-decoration: underline; }
.unit-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }

/* Gallery */
.unit-gallery { margin-bottom: 24px; }
.unit-gallery-main {
  border-radius: var(--r-lg); overflow: hidden;
  height: 340px; position: relative; margin-bottom: 8px;
}
.unit-gallery-illustration { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.unit-gallery-illustration svg { width: 100%; height: 100%; }
.unit-type-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  color: white; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase;
  z-index: 1;
}
.unit-gallery-nav {
  position: absolute; bottom: 14px; right: 14px;
  display: flex; align-items: center; gap: 6px; z-index: 1;
}
.gal-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.5); color: white;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.gal-btn:hover { background: rgba(0,0,0,0.8); }
.gal-counter { font-size: 11px; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.4); padding: 3px 8px; border-radius: 20px; }
.unit-gallery-thumbs { display: flex; gap: 8px; }
.unit-gallery-thumb { flex: 1; height: 72px; border-radius: var(--r-md); overflow: hidden; cursor: pointer; transition: opacity 0.15s; }
.unit-gallery-thumb.active { opacity: 1 !important; outline: 2px solid var(--blue); }
.unit-gallery-thumb svg { width: 100%; height: 100%; }

/* Unit meta */
.unit-meta-card { background: white; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; margin-bottom: 24px; }
.unit-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; background: rgba(43,108,184,0.08); color: var(--blue); padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
.unit-title { font-family: var(--font-serif); font-size: 26px; color: var(--navy); margin-bottom: 8px; line-height: 1.2; }
.unit-location { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.unit-about-section h3, .unit-amenities-section h3, .unit-building-section h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.unit-about-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.unit-about-section p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.unit-specs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.unit-spec { padding: 14px 12px; background: var(--off-white); border-radius: var(--r-md); text-align: center; }
.unit-spec-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-3); margin-bottom: 4px; }
.unit-spec-val { font-size: 15px; font-weight: 700; color: var(--navy); }
.unit-amenities-section { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.unit-amenities-list { display: flex; gap: 10px; flex-wrap: wrap; }
.unit-amenity { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-2); padding: 6px 12px; background: var(--off-white); border: 1px solid var(--border); border-radius: 20px; }
.unit-amenity svg { color: var(--green); }
.unit-building-section {}
.unit-building-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-md); }
.unit-building-icon { color: var(--blue); flex-shrink: 0; }
.unit-building-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.unit-building-addr { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.unit-building-type { font-size: 11px; color: var(--blue); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.8px; }

/* Other units */
.unit-others { margin-bottom: 32px; }
.unit-others h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.unit-others-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.unit-other-card { background: white; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: box-shadow 0.2s; }
.unit-other-card:hover { box-shadow: var(--shadow-md); }
.uoc-image { height: 90px; position: relative; display: flex; align-items: center; justify-content: center; }
.uoc-image svg { width: 100%; height: 100%; }
.uoc-type { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; padding: 2px 6px; background: rgba(0,0,0,0.4); color: white; border-radius: 20px; }
.uoc-body { padding: 12px; }
.uoc-title { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.uoc-meta { display: flex; gap: 8px; font-size: 11px; color: var(--text-3); }

/* Enquiry form */
.unit-enquiry-section { background: white; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.unit-enquiry-section h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.unit-enquiry-sub { font-size: 14px; color: var(--text-2); margin-bottom: 20px; }
.unit-form { display: flex; flex-direction: column; gap: 16px; }
.unit-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.unit-form .form-group label { color: var(--text); font-size: 13px; }
.unit-form .form-group input, .unit-form .form-group textarea {
  background: var(--off-white); border: 1px solid var(--border); color: var(--text);
}
.unit-form .form-group input::placeholder, .unit-form .form-group textarea::placeholder { color: var(--text-3); }
.unit-form .form-group input:focus, .unit-form .form-group textarea:focus { background: white; border-color: var(--blue); outline: none; }

/* Sticky panel */
.unit-sticky-panel { position: sticky; top: calc(var(--nav-h) + 20px); }
.usp-card { background: var(--navy); border-radius: var(--r-xl); padding: 28px; margin-bottom: 16px; }
.usp-availability { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 16px; }
.usp-dot { width: 6px; height: 6px; border-radius: 50%; }
.usp-available { background: rgba(42,157,107,0.2); color: var(--green); }
.usp-available .usp-dot { background: var(--green); }
.usp-let { background: rgba(232,168,56,0.2); color: var(--amber); }
.usp-rent-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.usp-price { font-family: var(--font-mono); font-size: 44px; color: white; line-height: 1; }
.usp-per-month { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.usp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.06); border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; }
.usp-spec { padding: 12px; background: rgba(255,255,255,0.04); }
.usp-spec-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.35); margin-bottom: 2px; }
.usp-spec-val { font-size: 14px; font-weight: 600; color: white; }
.usp-amenities { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.usp-amenity { font-size: 13px; color: rgba(255,255,255,0.6); }
.usp-contact { margin-bottom: 20px; padding: 16px; background: rgba(255,255,255,0.05); border-radius: var(--r-md); }
.usp-contact-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.35); margin-bottom: 10px; }
.usp-contact-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; color: rgba(255,255,255,0.7); }
.usp-contact-row a { color: var(--blue-light); }
.usp-contact-row svg { flex-shrink: 0; color: rgba(255,255,255,0.4); }
.usp-enquire-btn { margin-bottom: 10px; justify-content: center; }
.usp-share-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: var(--r-md); font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.1); transition: all 0.15s; }
.usp-share-btn:hover { color: white; border-color: rgba(255,255,255,0.25); }
.usp-promo { background: white; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.usp-promo-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.usp-promo-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.usp-promo-brand .logo-text span { color: var(--navy); font-size: 14px; }
.usp-promo p { font-size: 13px; color: var(--text-2); }
.usp-promo a { color: var(--blue); font-weight: 600; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .feat-card-tall { grid-row: span 1; }
  .mkt-preview-grid { grid-template-columns: repeat(2,1fr); }
  .mkt-preview-grid .mkt-unit-card:last-child { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .unit-layout { grid-template-columns: 1fr; }
  .unit-sticky-panel { position: static; }
  .usp-card { background: var(--navy-mid); }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .nav-links, .nav-actions .btn, .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .stats-inner { flex-wrap: wrap; gap: 0; }
  .stat-item { min-width: 50%; padding: 20px; }
  .stat-divider { display: none; }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .mkt-preview-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; gap: 16px; }
  .how-arrow { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card-featured { transform: none; }
  .plan-card-featured:hover { transform: translateY(-4px); }
  .testi-grid { grid-template-columns: 1fr; }
  .final-cta-btns { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }

  /* Marketplace mobile */
  .mkt-layout { grid-template-columns: 1fr; }
  .mkt-sidebar { display: none; position: fixed; inset: 0; z-index: 150; border-radius: 0; overflow-y: auto; }
  .mkt-sidebar.mobile-open { display: block; }
  .mkt-filter-toggle { display: flex; }
  .mkt-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .unit-specs-grid { grid-template-columns: repeat(2,1fr); }
  .unit-others-grid { grid-template-columns: repeat(2,1fr); }
  .unit-form-row { grid-template-columns: 1fr; }

  /* Unit detail — single consolidated flow on mobile:
     images → price/contact card → description → other units → enquiry.
     Flatten the two columns so we can reorder across them. */
  .unit-left, .unit-sticky-panel { display: contents; }
  .unit-gallery        { order: 1; margin-bottom: 16px; }
  .usp-card            { order: 2; margin-bottom: 16px; }
  .unit-meta-card      { order: 3; }
  .unit-others         { order: 4; }
  .unit-enquiry-section{ order: 5; }
  .usp-promo           { order: 6; margin-top: 16px; }
  /* Kill the duplicated specs + amenities (the price card already shows them) */
  .unit-meta-card .unit-specs-grid,
  .unit-meta-card .unit-amenities-section { display: none; }
  /* The meta block is no longer a competing card — it flows as the description */
  .unit-meta-card { background: transparent; border: none; box-shadow: none; padding: 0; margin-bottom: 8px; }
  .unit-meta-card .unit-tag { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-h1 { font-size: 32px; }
  .plan-card { padding: 24px; }
}

/* ── MARKETPLACE EXTRAS ─────────────────────────────────────────────── */
.mkt-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-2);
  font-size: 16px;
}

/* Sidebar close button (mobile) */
.mkt-sidebar-close {
  display: none;
  position: absolute; top: 16px; right: 16px;
  font-size: 20px; color: var(--text-3); padding: 4px;
}
@media (max-width: 768px) {
  .mkt-sidebar { padding-top: 52px; position: relative; }
  .mkt-sidebar-close { display: block; }
}

/* Listing page — full-width listing grid on landing preview */
.mkt-preview-grid .muc-image { height: 160px; }

/* Unit page form light inputs override */
.unit-form .form-group input,
.unit-form .form-group textarea,
.unit-form .form-group select {
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--r-md);
}
.unit-form .form-group input:focus,
.unit-form .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,108,184,0.08);
}
.unit-form .form-group label { color: var(--text); }
.unit-form .form-group input::placeholder,
.unit-form .form-group textarea::placeholder { color: var(--text-3); }

/* Nav active dot indicator on marketplace page */
.nav-light .nav-links a.nav-active {
  color: var(--navy);
  background: rgba(43,108,184,0.08);
}

/* ── PRINT / MISC ───────────────────────────────────────────────────── */
@media print {
  .nav, .modal-overlay, .usp-card .btn, footer { display: none; }
  .unit-layout { grid-template-columns: 1fr; }
}
