/* =============================================
   BESTCASHBUYERS.COM — STYLESHEET
   Playfair Display + DM Sans
   Warm editorial with dark accents
   ============================================= */

:root {
  --cream: #F7F4EF;
  --cream-dark: #EDE8DF;
  --ink: #1A1714;
  --ink-soft: #3D3730;
  --gold: #C8962A;
  --gold-light: #E8B84B;
  --rust: #B84C2A;
  --white: #FFFFFF;
  --border: rgba(26,23,20,0.12);
  --shadow-sm: 0 2px 8px rgba(26,23,20,0.08);
  --shadow-md: 0 8px 32px rgba(26,23,20,0.12);
  --shadow-lg: 0 20px 60px rgba(26,23,20,0.16);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- CONTAINER ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-mark { color: var(--gold); font-size: 16px; }
.logo-accent { color: var(--gold); }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--white); }
.btn-nav {
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--gold-light) !important; }

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 2rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ====================================
   HOMEPAGE STYLES
==================================== */

.home-hero {
  background: var(--ink);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
}
.home-hero .section-label { color: var(--gold); }
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.home-hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* SEARCH */
.search-bar {
  display: flex;
  gap: 0;
  max-width: 480px;
  border-radius: 99px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.15);
}
.search-bar input {
  flex: 1;
  padding: 14px 22px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.4); }
.search-bar button {
  padding: 14px 24px;
  background: var(--gold);
  border: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.search-bar button:hover { background: var(--gold-light); }

/* TRUST BAR */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2.5rem;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.trust-label {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 3px;
  text-align: center;
  letter-spacing: 0.02em;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* CITIES GRID */
.cities-section {
  padding: 80px 0;
  background: var(--cream);
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.city-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.city-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.city-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.city-card-state {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.city-card-price {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}
.city-card-arrow {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: auto;
  padding-top: 8px;
}

/* CTA BAND */
.cta-band {
  background: var(--ink);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.btn-primary-lg {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 16px 36px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary-lg:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ====================================
   CITY PAGE STYLES
==================================== */

/* CITY HERO */
.city-hero {
  background: var(--ink);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.city-hero .hero-bg-text {
  font-size: clamp(120px, 20vw, 280px);
  opacity: 1;
  color: rgba(255,255,255,0.03);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  font-weight: 500;
}
.breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.city-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.city-hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}
.stat-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 99px;
  padding: 8px 18px;
  display: flex;
  flex-direction: column;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.stat-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-top: 1px;
}

/* LISTINGS */
.listings-section {
  padding: 72px 0;
  background: var(--cream);
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
  position: relative;
  transition: box-shadow 0.2s;
}
.listing-card:hover { box-shadow: var(--shadow-md); }
.listing-featured {
  border-color: var(--gold);
  border-width: 2px;
}
.listing-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.listing-rank {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: rgba(26,23,20,0.06);
  line-height: 1;
  user-select: none;
}
.claim-rank {
  font-size: 60px;
  color: rgba(26,23,20,0.04);
}
.listing-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.listing-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.listing-info { flex: 1; min-width: 0; }
.listing-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.listing-url {
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  opacity: 0.6;
}
.listing-url:hover { opacity: 1; color: var(--gold); }
.listing-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.btn-call {
  background: var(--ink);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-call:hover { background: var(--ink-soft); }
.btn-visit {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.btn-visit:hover { border-color: var(--gold); color: var(--gold); }
.listing-blurb {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}
.listing-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--cream-dark);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* CLAIM CARD */
.listing-claim {
  border-style: dashed;
  border-color: rgba(26,23,20,0.2);
  background: transparent;
}
.claim-content { text-align: center; padding: 16px 0; }
.claim-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.claim-sub {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.7;
}
.btn-claim {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-claim:hover { background: var(--gold); color: var(--ink); }

/* MARKET DATA */
.market-section {
  padding: 72px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.market-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.market-icon { font-size: 24px; margin-bottom: 10px; }
.market-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 6px;
}
.market-value-sm { font-size: 14px; font-weight: 600; line-height: 1.5; }
.market-label {
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* HOW IT WORKS */
.how-section {
  padding: 80px 0;
  background: var(--cream);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* FOOTER */
.site-footer {
  background: var(--ink);
  padding: 48px 0 32px;
  color: rgba(255,255,255,0.5);
}
.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 400px;
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom p { font-size: 13px; }
.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--gold); }
.footer-legal {
  font-size: 11px !important;
  color: rgba(255,255,255,0.25) !important;
  line-height: 1.6;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .listing-header { flex-direction: column; }
  .listing-cta-wrap { flex-direction: row; }
  .trust-items { gap: 0; }
  .trust-item { padding: 0 1.25rem; }
  .trust-divider { height: 32px; }
  .hero-bg-text { display: none; }
  .container { padding: 0 1.25rem; }
}
