/* ========================================
   ClearTrack Property Cleanup — Design System
   ======================================== */

/* --- Variables --- */
:root {
  --orange: #E8601C;
  --orange-light: #F08A48;
  --slate: #1A1A1A;
  --slate-mid: #2E2E2E;
  --sand: #F5F2ED;
  --cream: #FAF8F4;
  --warm-gray: #8C8C8C;
  --text-mid: #5A5A5A;
  --border: #E0DCD4;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 220, 212, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--slate);
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--warm-gray);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--slate);
  background: var(--sand);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  background: var(--orange);
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--orange-light); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 2.5rem 5rem;
  background: var(--slate);
}

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

.hero-slant {
  position: absolute;
  top: -10%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: var(--orange);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.12;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* --- Niches --- */
.niches {
  padding: 6rem 2.5rem;
  background: var(--cream);
}

.niches-header {
  max-width: 600px;
  margin: 0 auto 4rem;
  text-align: center;
}

.niches-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--slate);
  margin-bottom: 1rem;
}

.niches-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
}

.niches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.niche-card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.niche-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--orange);
}

.niche-card--landlords::before { background: var(--orange); }
.niche-card--managers::before { background: #C84B1A; }
.niche-card--realtors::before { background: var(--orange); }
.niche-card--homeowners::before { background: #C84B1A; }

.niche-icon {
  color: var(--orange);
  margin-bottom: 1rem;
}

.niche-name {
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
  font-family: 'Syne', sans-serif;
}

.niche-body {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --- Services --- */
.services {
  padding: 6rem 2.5rem;
  background: var(--sand);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.services-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--slate);
  margin-bottom: 1rem;
}

.services-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-mid);
  font-weight: 500;
}

.service-check {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* --- Process --- */
.process {
  padding: 6rem 2.5rem;
  background: var(--cream);
  text-align: center;
}

.process-header {
  margin-bottom: 4rem;
}

.process-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--slate);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.step {
  flex: 1;
  padding: 0 2rem;
  text-align: center;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.25;
  margin-bottom: 1rem;
  display: block;
}

.step-title {
  font-size: 1.15rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
  font-family: 'Syne', sans-serif;
}

.step-body {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3.5rem;
}

.connector-line {
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
}

.connector-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--border);
  border-top: 2px solid var(--border);
  transform: rotate(45deg);
}

/* --- Differentiators --- */
.diff {
  padding: 6rem 2.5rem;
  background: var(--slate);
}

.diff-content {
  max-width: 900px;
  margin: 0 auto;
}

.diff-content .section-label {
  text-align: center;
}

.diff-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  text-align: center;
  margin-bottom: 3.5rem;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.diff-item {
  padding: 1.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}

.diff-icon {
  color: var(--orange);
  margin-bottom: 1rem;
}

.diff-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.diff-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* --- Closing --- */
.closing {
  padding: 8rem 2.5rem;
  background: var(--sand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(232,96,28,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.closing-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--slate);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  padding: 2rem 2.5rem;
  background: var(--slate);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 4rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-stat-divider { height: 28px; }

  .niches-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.25rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .step { padding: 0; }
  .step-connector { display: none; }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .closing { padding: 5rem 1.25rem; }

  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-stat-divider { width: 40px; height: 1px; }
}