/* =========================================
   GlowLocal — Theme CSS
   Palette: Forest green / warm cream
   Typography: Playfair Display + DM Sans
   ========================================= */

:root {
  --bg: #f8f3ec;
  --fg: #1a2e1e;
  --accent: #2d5a3f;
  --accent-mid: #3d7a56;
  --sage: #8faa7f;
  --cream-dark: #ece5d6;
  --white: #ffffff;
  --text-mid: #4a5e4a;
  --text-light: #7a8a7a;
  --highlight: #d4e8c8;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 243, 236, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 90, 63, 0.08);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Hero ───────────────────────────────── */
.hero {
  position: relative;
  padding: 6rem 2.5rem 5rem;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(143, 170, 127, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  max-width: 760px;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

/* Search window mockup */
.hero-search-demo {
  margin-bottom: 3.5rem;
}

.search-window {
  background: var(--fg);
  border-radius: 16px;
  padding: 1.5rem 2rem 2rem;
  max-width: 540px;
  box-shadow: 0 24px 64px rgba(26, 46, 30, 0.25);
}

.search-bar {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.search-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.map-results { display: flex; flex-direction: column; gap: 1rem; }

.result { display: flex; align-items: flex-start; gap: 0.875rem; }
.result-highlighted { background: rgba(143,170,127,0.12); border-radius: 10px; padding: 0.875rem; }

.result-pin { display: flex; flex-direction: column; align-items: center; gap: 0; padding-top: 0.25rem; }
.pin-dot { width: 10px; height: 10px; background: var(--sage); border-radius: 50%; }
.pin-dot-sm { width: 7px; height: 7px; background: rgba(255,255,255,0.25); }
.pin-line { width: 1px; height: 20px; background: rgba(255,255,255,0.15); }
.pin-line-sm { height: 14px; }

.result-name { font-size: 0.9375rem; font-weight: 500; color: var(--white); }
.result-dimmed { color: rgba(255,255,255,0.4); }
.result-address { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.1rem; }
.result-rating { color: #f4c542; font-size: 0.75rem; margin-top: 0.25rem; letter-spacing: 0.05em; }
.result-tag { display: inline-block; font-size: 0.625rem; background: var(--accent-mid); color: var(--white); padding: 0.2rem 0.5rem; border-radius: 4px; margin-top: 0.35rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* Metrics row */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric {}
.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.metric-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.metric-divider { width: 1px; height: 40px; background: rgba(45, 90, 63, 0.15); }

/* ── Proof ──────────────────────────────── */
.proof {
  background: var(--fg);
  color: var(--bg);
  padding: 5rem 2.5rem;
}

.proof-overline, .how-overline, .services-overline, .dallas-overline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.proof-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 720px;
  margin-bottom: 3rem;
  color: var(--bg);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.proof-stat {}

.proof-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-desc {
  font-size: 0.875rem;
  color: rgba(248, 243, 236, 0.65);
  line-height: 1.5;
}

.proof-quote {
  border-left: 2px solid var(--sage);
  padding-left: 1.5rem;
  max-width: 540px;
}

.proof-quote p {
  font-size: 1rem;
  color: rgba(248, 243, 236, 0.8);
  font-style: italic;
  line-height: 1.6;
}

.proof-source {
  display: block;
  font-size: 0.75rem;
  color: rgba(248, 243, 236, 0.4);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── How ────────────────────────────────── */
.how {
  padding: 6rem 2.5rem;
  background: var(--cream-dark);
}

.how-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 560px;
  margin-bottom: 3.5rem;
  color: var(--fg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

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

/* ── Services ───────────────────────────── */
.services {
  padding: 6rem 2.5rem;
  background: var(--bg);
}

.services-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 620px;
  margin-bottom: 3rem;
  color: var(--fg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--cream-dark);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(45, 90, 63, 0.08);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
}

.service-icon {
  color: var(--accent-mid);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

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

/* ── Dallas ──────────────────────────────── */
.dallas {
  padding: 6rem 2.5rem;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.dallas-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--bg);
  margin-bottom: 1.5rem;
}

.dallas-body {
  font-size: 0.9375rem;
  color: rgba(248, 243, 236, 0.75);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.dallas-rules { margin-top: 2rem; }
.rules-title { font-size: 0.8125rem; color: var(--sage); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.rules-list { list-style: none; }
.rules-list li { font-size: 0.875rem; color: rgba(248, 243, 236, 0.6); padding: 0.4rem 0; padding-left: 1.25rem; position: relative; }
.rules-list li::before { content: '—'; position: absolute; left: 0; color: var(--sage); }

.map-illustration {
  background: rgba(248, 243, 236, 0.06);
  border-radius: 16px;
  height: 280px;
  position: relative;
  border: 1px solid rgba(248, 243, 236, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.map-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  color: rgba(248, 243, 236, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-dots { position: absolute; inset: 0; }

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(248, 243, 236, 0.15);
}
.map-dot-active {
  background: var(--sage);
  box-shadow: 0 0 12px rgba(143, 170, 127, 0.5);
  width: 14px;
  height: 14px;
}

.dallas-stat-callout {
  background: rgba(248, 243, 236, 0.06);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(248, 243, 236, 0.1);
}

.callout-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.callout-text {
  font-size: 0.875rem;
  color: rgba(248, 243, 236, 0.6);
  line-height: 1.5;
}

/* ── Closing ────────────────────────────── */
.closing {
  padding: 8rem 2.5rem;
  background: var(--cream-dark);
  text-align: center;
}

.closing-inner { max-width: 680px; margin: 0 auto; }

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.closing-vibe {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  background: var(--accent);
  border-radius: 999px;
}

.vibe-icon { color: var(--sage); font-size: 1rem; }
.vibe-text { font-size: 0.9375rem; color: var(--bg); font-weight: 400; }

/* ── Footer ──────────────────────────────── */
.footer {
  background: var(--fg);
  color: rgba(248, 243, 236, 0.5);
  padding: 4rem 2.5rem 3rem;
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  margin-bottom: 2.5rem;
}

.footer-sep { opacity: 0.4; }

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-headline { font-size: 2.25rem; }
  .search-window { padding: 1.25rem 1.5rem 1.5rem; }
  .hero-metrics { gap: 1.25rem; }
  .metric-divider { display: none; }
  .proof { padding: 4rem 1.5rem; }
  .proof-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .how { padding: 4rem 1.5rem; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .dallas { padding: 4rem 1.5rem; grid-template-columns: 1fr; gap: 3rem; }
  .dallas-right { order: -1; }
  .closing { padding: 5rem 1.5rem; }
  .footer { padding: 3rem 1.5rem 2rem; }
}