/* Crosser Realty — desert pastel theme */

:root {
  --sage: #a8b5a0;
  --sage-dark: #8a9985;
  --blush: #e8c5b0;
  --blush-dark: #d4a890;
  --sky: #bfd4db;
  --sky-dark: #9ab9c4;
  --cream: #f5efe6;
  --cream-soft: #faf6ee;
  --charcoal: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e4dccf;
  --shadow: 0 6px 24px rgba(58, 58, 58, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

a { color: var(--sage-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blush-dark); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 22px 0;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
}

.nav a:hover { color: var(--sage-dark); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--sage);
  color: white;
}

.btn-primary:hover {
  background: var(--sage-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--cream);
}

/* Hero */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--sage) 100%);
  color: white;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(58, 58, 58, 0.25);
  z-index: 1;
}

.hero[data-bg]::before {
  background: linear-gradient(rgba(58, 58, 58, 0.4), rgba(58, 58, 58, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: white;
  margin-bottom: 0.4em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero .lede {
  font-size: 1.2rem;
  margin-bottom: 1.8em;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary { background: var(--cream); color: var(--charcoal); }
.hero .btn-primary:hover { background: white; color: var(--charcoal); }

/* Sections */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title .eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
  font-weight: 500;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}

.stat {
  text-align: center;
  padding: 24px 12px;
}

.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  color: var(--sage-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* City tile grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.city-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.city-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.city-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(58, 58, 58, 0.75) 100%);
  z-index: 1;
}

.city-tile-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.city-tile-label small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 4px;
}

.city-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(58, 58, 58, 0.18); }
.city-tile:hover img { transform: scale(1.06); }

/* CTA card pair */
.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.cta-card {
  padding: 48px 36px;
  border-radius: var(--radius);
  text-align: center;
}

.cta-card.buyers { background: var(--sky); }
.cta-card.sellers { background: var(--blush); }

.cta-card h3 { font-size: 1.8rem; margin-bottom: 0.4em; }
.cta-card p { margin-bottom: 1.6em; color: var(--charcoal); }

/* POI / lifestyle columns */
.poi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.poi-card {
  background: var(--cream-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
}

.poi-card h3 {
  font-size: 1.3rem;
  color: var(--sage-dark);
  margin-bottom: 0.6em;
}

.poi-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poi-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.poi-card li:last-child { border-bottom: none; }

/* Neighbor cities footer-strip */
.neighbors {
  background: var(--cream-soft);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.neighbors h3 {
  text-align: center;
  margin-bottom: 28px;
}

.neighbor-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.neighbor-pills a {
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--charcoal);
  transition: all 0.2s;
}

.neighbor-pills a:hover {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}

/* Forms */
.form-wrap {
  background: white;
  padding: 48px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 40px 0;
}

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

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream-soft);
  color: var(--charcoal);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: white;
}

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

.form-group .hint {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 60px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: rgba(245, 239, 230, 0.78);
  padding: 4px 0;
  font-size: 0.94rem;
}

.footer-col a:hover { color: var(--blush); }

.footer-col p { color: rgba(245, 239, 230, 0.78); font-size: 0.94rem; }

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 230, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(245, 239, 230, 0.55);
}

.disclaimer {
  font-size: 0.78rem;
  color: rgba(245, 239, 230, 0.5);
  max-width: 720px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 880px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-pair { grid-template-columns: 1fr; }
  .poi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav { gap: 18px; }
  .nav a { font-size: 0.88rem; }
  section { padding: 56px 0; }
  .hero { min-height: 440px; padding: 60px 24px; }
  .form-wrap { padding: 32px 24px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr; }
  .brand { font-size: 1.4rem; }
}
