/* LeadLoop — Estate Agent AI Automation */

:root {
  --bg: #f8f6f0;
  --bg-alt: #eee9de;
  --fg: #1a1a1a;
  --fg-muted: #6b6b6b;
  --accent: #d4700a;
  --accent-light: #f5a623;
  --green: #1a3c2a;
  --green-light: #254d3a;
  --white: #ffffff;
  --border: #d9d3c8;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Layout */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

/* Hero */
.hero {
  position: relative;
  background: var(--green);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,112,10,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 800px;
}

.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px 32px;
}

.stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* Problem */
.problem { padding: 100px 0; background: var(--bg); }
.problem-inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.problem-header { margin-bottom: 56px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 4px;
}

.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.problem-statement {
  background: var(--green);
  color: var(--white);
  padding: 28px 36px;
  border-radius: 4px;
  max-width: 800px;
}

.problem-statement p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* Services */
.services { padding: 100px 0; background: var(--bg-alt); }
.services-inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--white);
  padding: 36px 32px;
}

.service-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Outcomes */
.outcomes { padding: 100px 0; background: var(--bg); }
.outcomes-inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.outcomes-text p { font-size: 1rem; color: var(--fg-muted); line-height: 1.7; }
.outcomes-lede { font-size: 1.05rem; margin-bottom: 20px; color: var(--fg) !important; }

.outcomes-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.outcome-stat {
  background: var(--green);
  padding: 32px 28px;
  color: var(--white);
}

.outcome-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.outcome-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* Packages */
.packages { padding: 100px 0; background: var(--bg-alt); }
.packages-inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.package-growth {
  border: 2px solid var(--green);
  box-shadow: 0 4px 24px rgba(26,60,42,0.12);
}

.package-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 0 0 0 12px;
}

.package-header { margin-bottom: 24px; }
.package-header h3 {
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 6px;
}
.package-header p { font-size: 0.85rem; color: var(--fg-muted); }

.package-price { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.price-setup { display: block; font-size: 0.82rem; color: var(--fg-muted); margin-bottom: 6px; }
.price-retainer { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--fg); }
.price-retainer span { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--fg-muted); }

.package-features { list-style: none; margin-bottom: 24px; }
.package-features li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-alt);
  line-height: 1.4;
}
.package-features li::before {
  content: '—';
  color: var(--accent);
  margin-right: 10px;
  font-size: 0.8rem;
}

.package-note { font-size: 0.78rem; color: var(--fg-muted); font-style: italic; }

.packages-footer {
  text-align: center;
  padding-top: 40px;
}
.packages-footer p { font-size: 0.9rem; color: var(--fg-muted); }

/* Closing */
.closing {
  background: var(--green);
  color: var(--white);
  padding: 100px 0;
}
.closing-inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.closing-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  max-width: 800px;
  margin-bottom: 28px;
  line-height: 1.2;
}
.closing-sub { font-size: 1.05rem; color: rgba(255,255,255,0.7); max-width: 660px; line-height: 1.7; }

/* Footer */
.site-footer { background: var(--fg); color: rgba(255,255,255,0.5); padding: 40px 0; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 8px; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.4); max-width: 340px; }
.footer-copy { font-size: 0.8rem; }

/* Mobile */
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 48px; }
  .outcomes-stats { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .hero-inner, .problem-inner, .services-inner, .outcomes-inner, .packages-inner, .closing-inner { padding: 0 24px; }
  .hero { padding: 60px 0 80px; }
}