/* Nexa Properties — Realtor.com inspired UI */

:root {
  --white: #ffffff;
  --bg: #ffffff;
  --bg-subtle: #f2f0ef;
  --text: #1a1816;
  --text-secondary: #3f3b36;
  --muted: #696461;
  --border: #e2dedc;
  --border-strong: #c9c5c2;
  --black: #000000;
  --shadow: 0 1px 3px rgba(26, 24, 22, 0.08), 0 4px 12px rgba(26, 24, 22, 0.06);
  --shadow-hover: 0 4px 16px rgba(26, 24, 22, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

::selection { background: rgba(0, 0, 0, 0.12); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

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

/* Top utility bar */
.top-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px 0;
  color: var(--text-secondary);
}

.top-bar a:hover { text-decoration: underline; }

.top-bar-badge {
  margin-right: auto;
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.top-bar-tagline {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 12px;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--text, #111);
  background: #f3f4f6;
  transition: background 0.15s ease, transform 0.15s ease;
}

.back-home:hover {
  background: #e5e7eb;
}

.back-home:active {
  transform: scale(0.96);
}

.back-home svg {
  width: 20px;
  height: 20px;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 88px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 130px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.nav-main {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
  margin: 0 16px;
}

.nav-main a {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-main a:hover { background: var(--bg-subtle); }

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-main .nav-dropdown {
  position: relative;
  list-style: none;
}

.nav-main-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-main-link:hover,
.nav-main .nav-dropdown.open .nav-main-link {
  background: var(--bg-subtle);
}

.nav-main .nav-dropdown-menu {
  left: 0;
  right: auto;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
  background: var(--bg-subtle);
}

.nav-chevron {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 8px 0;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-subtle);
}

.btn-auth {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.mobile-nav-group {
  padding: 8px 0 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.mobile-nav-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 8px 0 4px;
}

/* Auth & static pages */
.auth-page,
.static-page {
  min-height: calc(100vh - 120px);
}

.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.auth-form .form-group {
  margin-bottom: 16px;
}

.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 15px;
}

.auth-form .form-submit {
  width: 100%;
  margin-top: 8px;
}

.auth-footer {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.auth-footer a {
  font-weight: 600;
  text-decoration: underline;
}

.static-content {
  max-width: 720px;
}

.static-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.static-lead {
  color: var(--muted);
  margin-bottom: 24px;
}

.inventory-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.inventory-contact-page {
  display: flex;
  align-items: center;
}

.inventory-contact-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
  background:
    radial-gradient(circle at top left, rgba(37, 211, 102, 0.12), transparent 45%),
    linear-gradient(180deg, #f7faf8 0%, #ffffff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.inventory-contact-panel h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.inventory-contact-panel .static-lead {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.inventory-contact-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.inventory-contact-meta a {
  font-weight: 600;
  color: inherit;
}

/* Rent lead capture — minimal WhatsApp handoff */
.rent-lead-page {
  min-height: 100vh;
  background: #0f1419;
}

.rent-lead {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 56px;
  overflow: hidden;
}

.rent-lead-bg {
  position: absolute;
  inset: 0;
}

.rent-lead-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.95);
}

.rent-lead-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 20, 28, 0.55) 0%,
    rgba(15, 20, 28, 0.35) 45%,
    rgba(15, 20, 28, 0.62) 100%
  );
}

.rent-lead-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: clamp(28px, 5vw, 40px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.rent-lead-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.rent-lead-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 4.5vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.rent-lead-cta {
  margin: 0 0 28px;
  font-size: clamp(15px, 2.4vw, 17px);
  font-weight: 500;
  line-height: 1.45;
  color: #4b5563;
}

.rent-lead-form {
  text-align: left;
}

.rent-lead-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.rent-lead-form label[for="rent-phone"] {
  margin-top: 14px;
}

.rent-lead-form input[type="text"] {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rent-lead-form input[type="text"]:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.rent-phone-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rent-phone-row:focus-within {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.rent-phone-prefix {
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #6b7280;
  border-right: 1px solid #e5e7eb;
  background: #f8fafc;
  line-height: 52px;
  flex-shrink: 0;
}

.rent-phone-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.rent-lead-status {
  min-height: 20px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.rent-lead-status.is-ok {
  color: #15803d;
}

.rent-wa-fallback {
  margin: 14px 0 0;
  text-align: center;
}

.rent-wa-fallback-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #128c7e;
  text-decoration: underline;
}

.rent-lead-status.is-error {
  color: #b91c1c;
}

.rent-lead-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 15px 20px;
  border: 0;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.rent-lead-submit:hover {
  background: #1ebe57;
}

.rent-lead-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 640px) {
  .rent-lead {
    min-height: calc(100vh - 76px);
    padding: 28px 16px 40px;
  }

  .rent-lead-card {
    padding: 24px 20px;
  }
}

.location-grid {
  display: none;
}

.location-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 70%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.location-card:hover {
  border-color: rgba(15, 23, 42, 0.28);
  transform: translateY(-2px);
}

.location-card-name {
  font-size: 18px;
  font-weight: 700;
}

.location-card-hint {
  font-size: 13px;
  color: var(--muted);
}

.inventory-contact-inline {
  margin-top: 40px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f7faf8;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.inventory-contact-inline p {
  margin: 0;
  font-weight: 600;
}

.gallery-page .gallery-hero {
  padding: 32px 0 12px;
}

.gallery-page .gallery-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}

.gallery-strip {
  padding: 8px 0 24px;
}

.gallery-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 280px;
  margin: 0 auto;
}

.gallery-item {
  margin: 0;
  background: #0f172a;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  max-height: 180px;
  height: 180px;
  object-fit: cover;
}

.buy-cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  gap: 20px;
}

.buy-cover-card {
  display: block;
  max-width: 280px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.buy-cover-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, 0.22);
}

.buy-cover-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.buy-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.buy-cover-body {
  padding: 14px 16px 16px;
}

.buy-cover-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.buy-cover-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
}

.buy-cover-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.gallery-item figcaption {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  background: #0f172a;
}

.know-more {
  padding: 28px 0 64px;
}

.know-more-panel {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px;
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.14), transparent 50%),
    #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  opacity: 0.92;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.3s ease;
}

.know-more.is-visible .know-more-panel {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(37, 211, 102, 0.35);
}

.know-more-panel h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}

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

.lead-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.lead-form .optional {
  font-weight: 500;
  color: var(--muted);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
  min-height: 84px;
}

.lead-status {
  min-height: 20px;
  font-size: 14px;
  margin: 4px 0 12px;
  color: var(--muted);
}

.lead-status--ok {
  color: #128c7e;
  font-weight: 600;
}

.lead-status--error {
  color: #b42318;
  font-weight: 600;
}

.static-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 10px;
}

.static-content p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.static-content a {
  font-weight: 600;
  text-decoration: underline;
}

.btn-text {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.btn-text:hover { background: var(--bg-subtle); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--black);
  transition: all 0.2s;
}

.btn-dark:hover { background: var(--text-secondary); border-color: var(--text-secondary); }

.btn-wa-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid #25D366;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-wa-consult:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

.btn-wa-consult svg {
  flex-shrink: 0;
}

.btn-wa-consult--block {
  width: 100%;
}

.btn-wa-consult--lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-strong);
  transition: all 0.2s;
}

.btn-outline-dark:hover { border-color: var(--text); }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 10px 12px;
  font-size: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
}

.header-contact-mobile {
  display: none;
  margin-left: auto;
  margin-right: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--black);
  color: var(--white);
}

@media (min-width: 768px) {
  .nav-main { display: flex; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .header-contact-mobile { display: none !important; }
}

@media (max-width: 767px) {
  .header-contact-mobile { display: inline-flex; align-items: center; }
  .menu-toggle { margin-left: 0; }
  .header-inner { gap: 12px; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 16px 0 20px;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) and (max-width: 1100px) {
  .nav-main a { padding: 10px 10px; font-size: 14px; }
  .header-actions { gap: 6px; }
  .btn-auth { padding: 8px 12px; font-size: 13px; }
  .header-actions .btn-dark:last-child { display: none; }
}

/* Hero — full-bleed */
.hero-fullbleed {
  position: relative;
  min-height: clamp(560px, 88vh, 820px);
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.22) 34%,
    rgba(12, 18, 28, 0.08) 62%,
    rgba(12, 18, 28, 0.18) 100%
  );
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
}

.hero-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: inherit;
  padding: clamp(36px, 7vh, 64px) 0 clamp(36px, 6vh, 56px);
  transform: translateY(-3vh);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(8px, 2vh, 24px);
}

.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tagline {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #000000;
  margin-bottom: 12px;
  max-width: 900px;
  text-shadow: none;
}

.hero-subtag {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 600;
  color: #000000;
  margin-bottom: 36px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: none;
}

.hero-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.hero-tab {
  background: none;
  border: none;
  padding: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-shadow: none;
}

.hero-tab:hover {
  color: #000000;
}

.hero-tab.active {
  color: #000000;
  border-bottom-color: #000000;
}

.search-module {
  width: 100%;
  max-width: 920px;
}

.hero-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(26, 24, 22, 0.12);
  border: 1px solid rgba(26, 24, 22, 0.08);
  overflow: hidden;
  padding: 8px 8px 8px 28px;
}

.hero-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 17px;
  color: var(--text);
  min-width: 0;
  padding: 14px 0;
  background: transparent;
}

.hero-search-bar input::placeholder { color: var(--muted); }

.hero-search-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.hero-search-btn span {
  font-size: 20px;
  line-height: 1;
  margin-top: -1px;
}

.hero-search-btn:hover {
  background: var(--text-secondary);
}

.hero-search-empty {
  margin-top: 14px;
  padding: 18px 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 24, 22, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(26, 24, 22, 0.12);
}

.hero-search-empty[hidden] {
  display: none !important;
}

.hero-search-empty-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
}

.hero-search-empty-copy {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5b5b5b;
}

.hero-search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

/* Legacy hero headline classes (kept for compatibility) */
.hero-brand {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 36px;
  max-width: 820px;
}

.hero-word {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
}

.hero-word:hover { color: rgba(255, 255, 255, 0.85); }

.hero-word.active {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.hero-word-long { white-space: nowrap; }

.hero-search-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}

.hero-search-icon:hover { background: var(--bg-subtle); }

.hero-consult-panel { max-width: 640px; }

.hero-consult-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-consult-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-consult-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}

.hero-consult-cta:hover { background: var(--text-secondary); }

.hero-consult-email {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-size: 14px !important;
  color: var(--muted) !important;
}

.hero-consult-email a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quick chips — used below hero in inventory area */
.quick-chips-wrap {
  padding: 20px 0 8px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.quick-chips-wrap .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.quick-chips-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
}

.quick-chips-wrap .quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  flex: 1;
}

@media (max-width: 640px) {
  .logo-img {
    height: 72px;
  }

  .logo-img-footer {
    height: 110px;
  }

  .header-brand {
    gap: 6px;
  }

  .back-home {
    width: 36px;
    height: 36px;
  }

  .header-inner {
    padding: 10px 0;
  }

  .hero-fullbleed {
    min-height: clamp(520px, 92vh, 740px);
    padding: 0;
  }

  .hero-tagline {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 10px;
  }

  .hero-subtag {
    margin-bottom: 28px;
    font-size: 14px;
  }

  .hero-tabs {
    gap: 20px;
    margin-bottom: 12px;
  }

  .hero-tab {
    font-size: 15px;
  }

  .hero-search-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 12px 12px 20px;
    border-radius: var(--radius-md);
  }

  .hero-search-bar input {
    font-size: 15px;
    padding: 8px 0;
  }

  .hero-search-btn {
    justify-content: center;
    width: 100%;
  }

  .hero-headline {
    font-size: clamp(30px, 9vw, 44px);
    margin-bottom: 28px;
  }

  .hero-word-long { white-space: normal; }
}

/* Trusted developers — directly under search (~3%) */
.developers-band {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 3vh;
  padding: 8px 0 4px;
  color: #ffffff;
  background: none;
}

.developers-band-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.developers-band-title {
  margin: 0 0 16px;
  font-size: clamp(16px, 2.31vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.developers-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.developers-marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: developers-marquee-scroll 42s linear infinite;
  will-change: transform;
}

.developers-marquee:hover .developers-marquee-track {
  animation-play-state: running;
}

.developers-marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5.5vw, 64px);
  padding: 0 clamp(16px, 3vw, 36px);
  flex-shrink: 0;
}

.developer-logo {
  height: clamp(30px, 4.33vw, 45px);
  width: auto;
  max-width: 184px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  opacity: 1;
  user-select: none;
  pointer-events: none;
}

.developer-logo-text {
  display: none;
}

@keyframes developers-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .developers-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    row-gap: 14px;
  }

  .developers-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-fullbleed {
    min-height: clamp(520px, 92vh, 740px);
  }

  .hero-stack {
    transform: translateY(-2vh);
    padding-bottom: 28px;
  }

  .developers-band {
    margin-top: 3vh;
  }

  .developers-band-title {
    margin-bottom: 12px;
    padding: 0 16px;
    font-size: 15px;
    color: #ffffff;
  }

  .developer-logo {
    height: 28px;
    max-width: 141px;
  }
}

/* Legacy hero (unused) */
.hero {
  padding: 48px 0 40px;
  background: var(--white);
}

.hero-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-consult-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 20px;
}

.hero-consult-btn {
  display: inline-flex;
  padding: 14px 28px;
  font-size: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 720px;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}

/* Search module — filters elsewhere */

/* Quick chips */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
  cursor: pointer;
}

.chip:hover {
  border-color: var(--text);
  box-shadow: var(--shadow);
}

.chip-count {
  color: var(--muted);
  font-weight: 500;
}

.chip.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.chip.active .chip-count { color: rgba(255,255,255,0.7); }

/* Section */
.section { padding: 56px 0; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-link:hover { color: var(--muted); }

.section-subtle { background: var(--bg-subtle); }

/* Horizontal scroll row */
.scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

/* Property card — realtor.com style */
.property-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.property-card.grid-card { flex: unset; }

.property-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-subtle);
}

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

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

.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.property-save {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-size: 18px;
  line-height: 1;
}

.property-body { padding: 14px 16px 16px; }

.property-price {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.property-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.property-meta span + span::before { content: ' · '; }

.property-address {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Filters bar */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.filter-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text);
  transition: all 0.2s;
}

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

.filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.results-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.results-meta strong { color: var(--text); font-weight: 600; }

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Agent section */
.agent-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agent-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.agent-section .subtitle {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 16px;
}

.agent-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.agent-card-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.agent-card-mini:hover { box-shadow: var(--shadow-hover); }

.agent-card-mini.featured {
  border-color: var(--text);
  box-shadow: var(--shadow);
}

.agent-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-subtle);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 2px solid var(--border);
}

.agent-card-mini h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }

.agent-card-mini .role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.agent-stat-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Help / resources */
.help-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.help-tab {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}

.help-tab.active {
  color: var(--text);
  border-bottom-color: var(--black);
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.help-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s;
}

.help-card:hover { box-shadow: var(--shadow); }

.help-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.help-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.help-card a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-card a.btn-wa-consult {
  text-decoration: none;
  margin-top: 4px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.testimonial-stars { color: var(--text); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* Contact — compact */
.contact-section {
  background: var(--bg-subtle);
}

.contact-wrap {
  max-width: 820px;
}

.contact-header {
  text-align: center;
  margin-bottom: 28px;
}

.contact-header h2 {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-header p {
  font-size: 15px;
  color: var(--muted);
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-chip:hover {
  border-color: var(--text);
  box-shadow: var(--shadow);
}

.contact-chip-wa:hover {
  border-color: #25D366;
}

.contact-consult-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.contact-consult-lead {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-compact {
  padding: 24px;
}

.contact-form-compact .form-row {
  margin-bottom: 12px;
}

.contact-form-compact .form-group {
  margin-bottom: 0;
}

.contact-form-compact textarea {
  min-height: 80px;
}

.contact-form-compact .form-submit {
  margin-top: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
}

.contact-info-list { display: flex; flex-direction: column; gap: 12px; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.contact-info-item:hover { border-color: var(--text); }

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-info-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info-value { font-size: 15px; font-weight: 600; margin-top: 2px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

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

@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--text); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; margin-top: 8px; padding: 14px; font-size: 16px; }

/* Footer — realtor.com style */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 10px; }

.footer a, .footer li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

.footer a:hover { color: var(--white); text-decoration: underline; }

.footer-brand { grid-column: span 1; }

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 260px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.footer-bottom-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-footer-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 2px solid #ffffff;
  text-decoration: none;
  transition: none;
}

.btn-footer-about:hover,
.btn-footer-about:focus,
.btn-footer-about:active {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  text-decoration: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 4px;
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-social-link:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: none;
  opacity: 0.9;
}

.footer-social-link svg {
  display: block;
  width: 36px;
  height: 36px;
}

@media (max-width: 560px) {
  .footer-bottom-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 24, 22, 0.6);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-md);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.modal-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.modal-body { padding: 24px; }

.modal-price { font-size: 28px; font-weight: 700; margin: 8px 0; }

.modal-meta { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }

.modal-desc { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }

.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.modal-tag {
  padding: 4px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn-wa-consult,
.modal-actions .btn-dark,
.modal-actions .btn-outline-dark { flex: 1; min-width: 140px; justify-content: center; }

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-hover);
  transition: transform 0.2s;
}

.wa-fab:hover { transform: scale(1.06); }

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}

.empty-state p { margin-bottom: 16px; font-size: 16px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal { animation: fadeIn 0.25s ease-out; }

/* Consultation */
.consultation-banner {
  background: var(--black);
  color: var(--white);
  padding: 48px 0;
}

.consultation-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.consultation-banner h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.consultation-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 520px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid var(--white);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
}

.consultation-wa-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0;
}

.consultation-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.consultation-form-wrap {
  max-width: 640px;
}

.consultation-form-wrap .consultation-form {
  max-width: 100%;
}

.consultation-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.consultation-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.consultation-perk-icon {
  width: 28px;
  height: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.consultation-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow);
}

.consultation-form h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.consultation-form .form-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-slot {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}

.time-slot:hover { border-color: var(--text); }

.time-slot.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.consultation-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.consultation-success.visible { display: block; }

.consultation-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.consultation-success p { color: var(--muted); font-size: 15px; }

.hidden { display: none !important; }

.success-check {
  width: 56px;
  height: 56px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto;
}

/* Advertise */
.advertise-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.advertise-intro {
  max-width: 720px;
  margin-bottom: 32px;
}

.advertise-intro p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.advertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.advertise-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.advertise-card.featured {
  border-color: var(--black);
  box-shadow: var(--shadow);
}

.advertise-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--black);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
}

.advertise-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.advertise-fee {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.advertise-card ul {
  list-style: none;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.advertise-card li {
  padding-left: 18px;
  position: relative;
}

.advertise-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--text);
  font-weight: 700;
}

.advertise-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.advertise-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.advertise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Jugyah-inspired sections */

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

.trust-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.trust-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

.neighbourhood-group h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.neighbourhood-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.neighbourhood-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  transition: all 0.2s;
}

.neighbourhood-link:hover {
  border-color: var(--black);
  background: var(--bg-subtle);
}

.neighbourhood-link span {
  color: var(--muted);
  font-weight: 500;
}

.property-save.saved {
  color: #e11d48;
}

.section-header button.section-link {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.section-header button.section-link:hover {
  opacity: 0.7;
}

.list-home-banner {
  background: var(--black);
  color: var(--white);
}

/* Property owners CTA — Jugyah-style split banner */
.owner-cta {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.owner-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(420px, 50vw);
  max-width: var(--container);
  margin: 0 auto;
}

.owner-cta-content {
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.owner-cta-badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.owner-cta-content h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 480px;
}

.owner-cta-content p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 28px;
}

.owner-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 14px 28px;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s;
}

.owner-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.owner-cta-btn span {
  font-size: 18px;
  line-height: 1;
}

.owner-cta-visual {
  position: relative;
  min-height: 280px;
}

.owner-cta-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, rgba(0, 0, 0, 0.35) 28%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.owner-cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.08) saturate(1.05);
}

.list-home-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.list-home-inner h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.list-home-inner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.6;
}

.list-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.list-home-banner .btn-dark {
  background: var(--white);
  color: var(--black);
}

.list-home-banner .btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.list-home-banner .btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.loans-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.loans-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.loans-benefits {
  list-style: none;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}

.loans-benefits li {
  padding-left: 22px;
  position: relative;
}

.loans-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.emi-calculator {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.emi-calculator h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.emi-field {
  margin-bottom: 20px;
}

.emi-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.emi-field input[type="range"] {
  width: 100%;
  margin-bottom: 6px;
  accent-color: var(--black);
}

.emi-field output {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.emi-result-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.emi-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.emi-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.emi-total {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.emi-disclaimer {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .neighbourhoods-grid { grid-template-columns: 1fr; }
  .loans-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .owner-cta-inner {
    grid-template-columns: 1fr;
  }

  .owner-cta-visual {
    order: -1;
    min-height: 220px;
    max-height: 280px;
  }

  .owner-cta-visual::before {
    background: linear-gradient(180deg, transparent 40%, var(--black) 100%);
  }
}

@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .list-home-inner h2 { font-size: 22px; }
}

/* ===== Manual listings (Jugyah-inspired browse) ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.listings-empty {
  grid-column: 1 / -1;
  padding: 28px 20px;
  background: #f8fafc;
  border: 1px dashed rgba(15, 23, 42, 0.15);
  text-align: center;
}

.listings-empty p { margin: 0; font-weight: 600; }

.listings-empty-hint {
  margin-top: 6px !important;
  font-weight: 500 !important;
  color: var(--muted);
  font-size: 14px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.listing-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #e2e8f0;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.listing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card-premium {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #6d28d9;
  color: #fff;
  box-shadow: 0 3px 10px rgba(109, 40, 217, 0.25);
}

.listing-premium-icon {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.listing-card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (hover: none) {
  .listing-card-nav { opacity: 1; }
}

.listing-card:hover .listing-card-nav,
.listing-card-media:focus-within .listing-card-nav {
  opacity: 1;
}

.listing-card-nav-prev { left: 10px; }
.listing-card-nav-next { right: 10px; }

.listing-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
}

.listing-card-photos {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

.listing-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.listing-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.listing-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #6b7280;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.listing-status-badge--commercial {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.listing-badge-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: #9ca3af;
}

.listing-card-price {
  margin: 8px 0 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.01em;
}

.listing-card-title {
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #000000;
  letter-spacing: -0.015em;
}

.listing-card-meta,
.listing-card-location {
  margin: 4px 0 0;
  font-family: inherit;
  font-size: 12px;
  color: #757575;
  font-weight: 400;
}

.listing-card-divider {
  border: 0;
  border-top: 1px solid #eceff3;
  margin: 12px 0;
}

.listing-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.listing-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #000000;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.25;
}

.listing-stat-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #374151;
}

.listing-stat-value {
  font-weight: 700;
  color: #000000;
}

.listing-stat-unit {
  font-weight: 400;
  color: #9ca3af;
}

.property-summary { padding: 28px 0 8px; }
.property-summary-inner { max-width: 720px; }

.property-summary h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.property-summary-price {
  margin: 10px 0 0;
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.property-summary-meta,
.property-summary-location {
  margin: 4px 0 0;
  color: #757575;
  font-size: 15px;
  font-weight: 500;
}

.property-summary-badges {
  margin-bottom: 14px;
}

.property-summary-stats {
  margin-bottom: 8px;
}

.property-summary-desc {
  margin: 18px 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
}

.property-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.property-amenity {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
}

.property-gallery { padding: 16px 0 8px; }

.property-gallery-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.property-shot {
  margin: 0;
  background: #0f172a;
  overflow: hidden;
}

.property-shot img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.property-shot video {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #0f172a;
}

.property-shot figcaption {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.join-cta { padding: 24px 0 64px; }

.join-cta-panel {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 24px;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(15, 23, 42, 0.06), transparent 55%),
    #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  opacity: 0.9;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.join-cta.is-visible .join-cta-panel {
  opacity: 1;
  transform: translateY(0);
}

.join-cta-panel h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
}

.join-cta-panel p {
  margin: 0 auto 18px;
  max-width: 400px;
  color: var(--text-secondary);
}

.join-cta-btn {
  min-width: 160px;
  justify-content: center;
}

.join-cta-alt {
  margin-top: 14px !important;
  font-size: 13px;
}

.join-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.join-modal.open { display: flex; }

.join-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.join-modal-panel {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  padding: 28px 24px 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.join-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.join-modal-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.join-modal-panel h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
}

.join-modal-copy {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.join-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.join-form label[for="join-phone"] {
  margin-top: 12px;
}

.join-form input[type="text"] {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  background: #fff;
  box-sizing: border-box;
}

.join-form input[type="text"]:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.join-phone-row {
  display: flex;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.join-phone-prefix {
  padding: 12px;
  font-weight: 700;
  background: #f8fafc;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
}

.join-phone-row input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

.join-status {
  min-height: 18px;
  margin: 10px 0;
  font-size: 13px;
  color: var(--muted);
}

.join-status--ok { color: #128c7e; font-weight: 600; }
.join-status--error { color: #b42318; font-weight: 600; }

.join-submit {
  width: 100%;
  justify-content: center;
}

.join-modal-fine {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== Auto-rotating listing cards & slider ===== */
.listings-slider {
  display: block;
}

.listings-slider-viewport {
  overflow: hidden;
  margin: 0 -4px;
  padding: 4px;
}

.listings-slider-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.listings-slider .listing-card {
  flex: 0 0 min(340px, 84vw);
  max-width: 340px;
}

.listings-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.listings-slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
}

.listings-slider-btn:hover {
  border-color: rgba(15, 23, 42, 0.35);
}

.listings-slider-dots {
  display: flex;
  gap: 8px;
}

.listings-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
}

.listings-slider-dot.is-active {
  background: #0f172a;
  width: 18px;
}

.listing-card-slides {
  position: absolute;
  inset: 0;
}

.listing-card-media {
  position: relative;
}

.listing-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.45s ease, transform 0.55s ease;
}

.listing-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.listing-card-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 5px;
}

.listing-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.listing-dot.is-active {
  background: #fff;
  width: 14px;
}

.listing-card-photos {
  z-index: 2;
}

.listing-card-badge {
  z-index: 2;
}

/* ===== Gallery phone gate ===== */
.property-gallery {
  position: relative;
}

.property-gallery.is-gated .property-shot.is-blurred {
  filter: blur(8px);
  transform: scale(1.02);
  pointer-events: none;
  user-select: none;
}

.property-gallery.is-gated .property-shot.is-blurred::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
}

.property-shot {
  position: relative;
}

.property-gallery.is-unlocked .property-shot.is-blurred {
  filter: none;
  transform: none;
  pointer-events: auto;
}

.gallery-gate {
  position: sticky;
  bottom: 16px;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 0 16px 8px;
  margin-top: -120px;
  pointer-events: none;
}

.gallery-gate-card {
  pointer-events: auto;
  width: min(420px, 100%);
  padding: 20px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(8px);
}

.gallery-gate-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.gallery-gate-card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
}

.join-modal.is-gated .join-modal-backdrop {
  background: rgba(15, 23, 42, 0.62);
}

@media (max-width: 640px) {
  .listings-slider .listing-card {
    flex-basis: min(320px, 86vw);
    max-width: 320px;
  }

  .listing-card-title {
    font-size: 13px;
  }

  .listing-card-price {
    font-size: 14px;
  }

  .property-shot img {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-slide,
  .listings-slider-track {
    transition: none !important;
  }
}

/* ===== Location-wise inventory ===== */
.location-inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.location-inventory-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.location-inventory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, 0.22);
}

.location-inventory-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.location-inventory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.location-inventory-media--fit {
  background: #0f172a;
}

.location-inventory-media--fit img {
  object-fit: contain;
}

.location-inventory-card:hover .location-inventory-media img {
  transform: scale(1.04);
}

.location-inventory-body {
  padding: 14px 16px 16px;
}

.location-inventory-body h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.location-inventory-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.location-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0f172a;
}

.location-hero-media {
  position: absolute;
  inset: 0;
}

.location-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.location-hero--fit .location-hero-media img {
  object-fit: contain;
}

.location-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.location-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 0 32px;
}

.location-hero-content .inventory-eyebrow,
.location-hero-content .static-lead {
  color: rgba(255, 255, 255, 0.82);
}

.location-hero-content h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
}

@media (max-width: 640px) {
  .location-inventory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .location-inventory-body {
    padding: 10px 12px 12px;
  }

  .location-inventory-body h3 {
    font-size: 15px;
  }
}
