/* ═══════════════════════════════════════════════════════════════
   TitanListing — Old Money Green Palette
   ═══════════════════════════════════════════════════════════════ */

:root {
  --color-dark:        #0A1A10;
  --color-forest:      #1B3D2A;
  --color-green:       #2D6A4F;
  --color-gold:        #B8962E;
  --color-gold-light:  #D4AF5A;
  --color-cream:       #F4F0E6;
  --color-cream-dark:  #E8E0CC;
  --color-white:       #FFFFFF;
  --color-text-dark:   #0A1A10;
  --color-text-light:  #F4F0E6;
  --color-muted-dark:  #3D5C47;
  --color-muted-light: #6B7B6E;
  --color-maroon:      #7A1F2E;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: #0A1A10; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #F4F0E6;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

/* ── Global Navigation ─────────────────────────────────────── */
/* ─── Site nav ─────────────────────────────────────────────────
   Three breakpoints:
     ≥1024px : full nav inline (logo left, links + sign-in right)
     640–1023: hamburger panel contains nav links + sign-in button
     <640px  : hamburger panel contains nav links only — no sign-in
   The Sign In button has a static, intrinsic size everywhere — no
   width:100% override anywhere makes it stretch.
   ──────────────────────────────────────────────────────────── */
/* ── Professional access banner (below nav) ──────────────── */
.pro-access-bar {
  background: #0a0a0a;
  text-align: right;
  padding: 5px 40px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .01em;
}
.pro-access-bar a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.pro-access-bar a:hover { color: var(--color-gold); }
@media(max-width: 768px) {
  .pro-access-bar { text-align: center; padding: 5px 16px; }
}

.site-nav {
  background: #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-gold);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
  position: relative;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}
.nav-t {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--color-white);
}
.nav-l {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-gold);
}

/* Wrapper around nav-links + nav-auth. Created by nav-auth.js at
   runtime so the existing HTML in every page stays untouched. */
.nav-collapse {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: .84rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--color-gold); }
.nav-link.active { color: var(--color-gold); font-weight: 600; }

/* Auth section — sign in / user name + sign out. Static sized. */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-signin {
  display: inline-block;
  padding: 6px 16px;
  width: auto;
  max-width: none;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  background: transparent;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.nav-signin:hover { background: #c9a84c; color: #0a0a0a; }
.nav-user-name {
  color: #c9a84c;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.nav-user-name:hover { color: #D4AF5A; }
.nav-signout {
  color: rgba(244,240,230,.55);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 6px;
  transition: color .2s;
}
.nav-signout:hover { color: rgba(244,240,230,.9); }

/* Hamburger button — hidden by default, shown <1024px. Pinned to
   the right side of the bar by the .nav-inner flex layout, with the
   24px (16px on narrow) inner padding giving it the requested
   "little padding from the edge". */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  border-radius: 1px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Tablet + mobile: collapse to hamburger ──────────────── */
@media (max-width: 1023px) {
  .nav-inner { padding: 0 16px; }
  .nav-collapse { display: none; }
  .nav-hamburger { display: flex; }

  /* Open dropdown panel — pinned to the right with 16px padding. */
  .nav-collapse.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 60px;
    right: 16px;
    left: auto;
    background: #0a0a0a;
    border: 1px solid rgba(184,150,46,.25);
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(0,0,0,.45);
    min-width: 220px;
    max-width: calc(100vw - 32px);
    padding: 8px 0;
    z-index: 999;
  }
  .nav-collapse.open .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-collapse.open .nav-link {
    padding: 11px 22px;
    border-radius: 0;
    font-size: .92rem;
  }
  .nav-collapse.open .nav-link:hover {
    background: rgba(184,150,46,.08);
    color: var(--color-gold);
  }
  /* Auth section inside the dropdown — visually divided from links. */
  .nav-collapse.open .nav-auth {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 22px 6px;
    margin-top: 6px;
    border-top: 1px solid rgba(184,150,46,.15);
  }
  .nav-collapse.open .nav-signin {
    /* Static size — never stretched. */
    width: auto;
    align-self: center;
  }
  .nav-collapse.open .nav-user-name { text-align: center; }
  .nav-collapse.open .nav-signout { text-align: center; }
}

/* ─── Mobile (<640px): hide sign-in entirely, hamburger only ── */
@media (max-width: 639px) {
  .nav-collapse.open .nav-auth { display: none; }
}

/* ── Gold section divider ───────────────────────────────────── */
.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,46,0.4), transparent);
  margin: 0;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 680px;
  background: var(--color-dark);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0' stroke='%23ffffff' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.04;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-left { flex: 55; min-width: 0; }
.hero-right { flex: 45; min-width: 0; }

/* Logo */
.hero-logo {
  margin-bottom: 6px;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo-titan {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: inherit;
  color: var(--color-cream);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.logo-listing {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: inherit;
  color: var(--color-gold);
  text-shadow: 0 2px 20px rgba(184,150,46,0.2);
}

/* Marketplace label */
.hero-marketplace-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-marketplace-label::before,
.hero-marketplace-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 32px;
  background: var(--color-gold);
  opacity: 0.5;
}

/* Trust line */
.trust-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: rgba(184,150,46,0.55);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.trust-dot { color: rgba(184,150,46,0.3); }

/* Tagline */
.hero-tagline {
  font-size: clamp(1.055rem, 1.986vw, 1.489rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 600px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(244,240,230,.85);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Hero search box */
.hero-search-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(184,150,46,0.3);
  border-radius: 10px;
  padding: 20px 20px 16px;
  margin-bottom: 24px;
}
.hero-search-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.8;
  margin-bottom: 12px;
  font-weight: 600;
}
.hero-search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}
.hero-search-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(184,150,46,0.25);
  border-radius: 6px;
  color: rgba(244,240,230,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 10px 12px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  width: 100%;
}
.hero-search-select:focus {
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.1);
}
.hero-search-select option {
  background: var(--color-forest);
  color: white;
}
.hero-search-btn {
  background: var(--color-gold);
  color: var(--color-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.hero-search-btn:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}
.hero-search-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: rgba(184,150,46,0.45);
  margin-top: 10px;
}

/* Browse listings button */
.btn-browse-listings {
  display: inline-block;
  padding: 13px 28px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
.btn-browse-listings:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(184,150,46,0.35);
}

/* Hero divider + List button */
.hero-divider {
  width: 60px;
  height: 1px;
  background: rgba(184,150,46,0.3);
  margin: 32px 0;
}
.btn-list-business {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid rgba(184,150,46,0.6);
  color: var(--color-gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-list-business:hover {
  background: rgba(184,150,46,0.08);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

/* Success message */
.success-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gold);
  padding: 16px 0;
}
.bottom-cta .success-msg {
  color: var(--color-forest);
  justify-content: center;
}

/* Partner cards (hero right column) */
.partner-card {
  background: rgba(244,240,230,0.05);
  border: 1px solid rgba(184,150,46,0.2);
  border-radius: 10px;
  padding: 28px 28px 24px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}
.partner-card:last-child { margin-bottom: 0; }
.partner-card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,46,0.2), transparent);
  margin: 4px 0 20px;
}
.partner-card:hover {
  background: rgba(244,240,230,0.08);
  border-color: rgba(184,150,46,0.4);
  transform: translateY(-2px);
}
.partner-card-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-card-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}
.partner-card-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 12px;
}
.partner-card-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(244,240,230,0.85);
  line-height: 1.6;
  margin-bottom: 18px;
}
.partner-card-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(184,150,46,0.3);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}
.partner-card-cta:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

/* ── Mobile valuation calculator card ─────────────────────────
   Shown only below 900px. Mirrors the desktop card that lives
   in .hero-right (which is display:none at that breakpoint).
   Visually matches .diff-card so it leads into the
   differentiators section below. */
.mobile-val-card { display: none; }
@media (max-width: 900px) {
  .mobile-val-card {
    display: block;
    max-width: 560px;
    margin: 24px 24px 0;
    padding: 22px 24px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-cream-dark);
    border-top: 4px solid var(--color-forest);
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(10,26,16,.08);
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
  }
  .mobile-val-card:hover,
  .mobile-val-card:active {
    box-shadow: 0 8px 32px rgba(10,26,16,.14);
    transform: translateY(-1px);
  }
  .mobile-val-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-val-eyebrow::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--color-gold);
    flex-shrink: 0;
  }
  .mobile-val-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-forest);
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .mobile-val-body {
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    color: rgba(10,26,16,.75);
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .mobile-val-cta {
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: .03em;
  }
  /* Center on the body width; wider than a hero card, narrower than full. */
  @media (min-width: 560px) {
    .mobile-val-card { margin-left: auto; margin-right: auto; }
  }
}


/* ── Differentiators ────────────────────────────────────────── */
.differentiators {
  background: var(--color-cream);
  padding: 80px 0;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.diff-card {
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-top: 4px solid var(--color-forest);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(10,26,16,.08);
  transition: box-shadow .2s ease, transform .2s ease;
}
.diff-card:hover {
  box-shadow: 0 8px 32px rgba(10,26,16,.14);
  transform: translateY(-2px);
}
.diff-icon {
  color: var(--color-gold);
  margin-bottom: 20px;
}
.diff-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 12px;
}
.diff-card p {
  font-size: .95rem;
  color: rgba(10,26,16,.8);
  line-height: 1.65;
}

/* ── Contrast Block ─────────────────────────────────────────── */
.contrast {
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 80px 0;
}
.contrast h2 {
  font-size: 2.2rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 48px;
}
.compare-table {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(184,150,46,.2);
}
.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-col { padding: 16px 24px; }
.compare-old-head {
  background: rgba(0,0,0,.2);
  color: rgba(244,240,230,.4);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.compare-new-head {
  background: rgba(184,150,46,.15);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-gold);
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(184,150,46,.1);
  transition: background .2s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(184,150,46,.05); }
.compare-old {
  color: rgba(244,240,230,.35);
  font-size: .9rem;
  font-style: italic;
}
.compare-new {
  color: var(--color-white);
  font-weight: 600;
  font-size: .9rem;
}

/* ── Bottom CTA ─────────────────────────────────────────────── */
.bottom-cta {
  background: var(--color-cream);
  padding: 80px 0;
}
.cta-center { text-align: center; }
.bottom-cta h2 {
  font-size: 2.2rem;
  color: var(--color-forest);
  margin-bottom: 16px;
}
.cta-body {
  font-size: 1.1rem;
  color: rgba(10,26,16,.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-form { max-width: 600px; margin: 0 auto; }
.cta-inputs {
  display: flex;
  gap: 0;
}
.cta-inputs input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--color-cream-dark);
  background: var(--color-white);
  color: var(--color-text-dark);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cta-inputs input:first-child { border-radius: 4px 0 0 4px; border-right: none; }
.cta-inputs input:nth-child(2) { border-right: none; }
.cta-inputs input:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(27,61,42,.12);
}
.cta-inputs input::placeholder { color: var(--color-muted-light); }
.cta-inputs button {
  padding: 14px 24px;
  background: var(--color-forest);
  color: var(--color-cream);
  border: 1px solid var(--color-forest);
  border-radius: 0 4px 4px 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .1s, box-shadow .2s;
}
.cta-inputs button:hover {
  background: var(--color-dark);
  box-shadow: 0 4px 20px rgba(10,26,16,.3);
}
.cta-inputs button:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.interest-selector {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-size: .88rem;
  color: rgba(10,26,16,.8);
}
.interest-selector label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.interest-selector input[type="radio"] { accent-color: var(--color-forest); }

/* ── Listings Preview ───────────────────────────────────────── */
.listings-preview {
  background: var(--color-cream);
  padding: 40px 0 32px;
}
.section-eyebrow {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.section-heading {
  text-align: center;
  font-size: 2.2rem;
  color: var(--color-forest);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  font-size: 1rem;
  color: rgba(10,26,16,.65);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.listings-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.listings-preview-actions {
  text-align: center;
  margin-top: 36px;
}
.listing-card {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border: 1px solid #e8e0d0;
  border-radius: 8px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, border-color .2s ease;
  gap: 20px;
}
.listing-card:hover {
  box-shadow: 0 4px 20px rgba(10,26,16,.10);
  border-color: #B8962E;
}
.listing-card-photo {
  flex-shrink: 0;
  width: 160px;
  height: 110px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-forest);
}
.listing-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-card-body {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 24px;
}
.listing-card-info {
  flex: 1;
  min-width: 0;
}
.listing-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.listing-card-industry {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-forest);
  color: var(--color-cream);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 999px;
  text-transform: uppercase;
}
.listing-nda-badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(184,150,46,.4);
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: .04em;
}
.listing-card-location {
  font-size: .8rem;
  color: var(--color-muted-light);
}
.listing-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-forest);
  margin: 4px 0 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-card-city {
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  color: var(--color-muted-light);
  margin-bottom: 0;
}
.listing-card-financials {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-shrink: 0;
}
.listing-fin-item {
  text-align: center;
}
.listing-fin-label {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-muted-light);
  margin-bottom: 2px;
}
.listing-fin-value {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--color-forest);
}
.listing-card-link {
  font-size: .8rem;
  color: var(--color-gold);
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}
.listing-card:hover .listing-card-link { text-decoration: underline; }

/* View all button */
.view-all-wrap {
  text-align: center;
  margin-top: 40px;
}
.btn-view-all {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid rgba(27,61,42,0.4);
  color: var(--color-forest);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.btn-view-all:hover {
  background: var(--color-forest);
  color: var(--color-cream);
  border-color: var(--color-forest);
}

/* Listings empty state */
.listings-empty {
  text-align: center;
  padding: 60px 24px;
  grid-column: 1 / -1;
}
.listings-empty h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--color-forest);
  margin-bottom: 12px;
}
.listings-empty p {
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--color-muted-light);
  max-width: 400px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  color: var(--color-white);
  padding: 32px 0 24px;
  font-size: .85rem;
  border-top: 1px solid var(--color-gold);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-center a { color: var(--color-gold); }
.footer-center a:hover { color: var(--color-gold-light); }
.footer-right a { color: var(--color-gold); }
.footer-right a:hover { color: var(--color-gold-light); }
.footer-nav {
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-top: 12px;
}
.footer-nav a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--color-gold); }
.listings-note {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  color: var(--color-muted-light);
  margin-top: 12px;
  opacity: .6;
}
.footer-pro-access {
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin-top: 10px;
}
.footer-pro-label {
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .65rem;
  margin-right: 10px;
  color: rgba(255,255,255,.3);
}
.footer-pro-access a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-pro-access a:hover { color: var(--color-gold); }
.footer-legal {
  text-align: center;
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  margin-top: 16px;
}

/* ── Toast ──────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  color: var(--color-white);
  background: var(--color-forest);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  animation: toastIn .3s ease;
}
.toast-error { background: var(--color-maroon); }
.toast-success { background: var(--color-green); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .listing-card { flex-wrap: wrap; }
  .listing-card-financials { gap: 16px; }
}
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; padding: 60px 24px 48px; gap: 32px; }
  .hero-left, .hero-right { flex: none; width: 100%; }
  .hero-right { display: none; }
  .hero-logo { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-tagline { font-size: clamp(1.117rem, 3.723vw, 1.551rem); }
  .hero-marketplace-label { font-size: 0.72rem; letter-spacing: 0.2em; }
  .hero-search-fields { grid-template-columns: 1fr 1fr; }
  .hero-search-btn { grid-column: 1 / -1; }
  .trust-line {
    font-size: 0.7rem;
    justify-content: center;
    text-align: center;
  }
  .differentiators, .contrast, .bottom-cta, .listings-preview { padding: 48px 0; }
  .diff-cards { grid-template-columns: 1fr; }
  .listing-card { flex-direction: column; align-items: stretch; }
  .listing-card-photo { width: 100%; height: 160px; }
  .listing-card-body { flex-direction: column; align-items: flex-start; }
  .listing-card-financials { width: 100%; justify-content: space-around; }
  .compare-table { font-size: .85rem; }
  .compare-col { padding: 12px 16px; }
  .contrast h2, .bottom-cta h2 { font-size: 1.7rem; }
  .section-inner { padding: 0 24px; }
  .cta-inputs {
    flex-direction: column;
    gap: 0;
  }
  .cta-inputs input:first-child { border-radius: 4px 4px 0 0; border-right: 1px solid var(--color-cream-dark); }
  .cta-inputs input:nth-child(2) { border-right: 1px solid var(--color-cream-dark); border-radius: 0; }
  .cta-inputs button { border-radius: 0 0 4px 4px; }
  .hero-search-fields { grid-template-columns: 1fr; }
  .hero-search-btn { width: 100%; }
  .interest-selector {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-inner { flex-direction: column; text-align: center; }
}
