/*
Theme Name: Lafayette Real Estate AI
Theme URI: https://www.lafayettelouisianarealestate.com/
Author: Lafayette Louisiana Real Estate
Description: A custom lead generation theme for Lafayette real estate with CRM, AI qualification, and marketing automation positioning.
Version: 1.0.0
Text Domain: lafayette-real-estate-ai
*/
:root {
  --ink: #17211d;
  --muted: #5e6a64;
  --line: #d7ded9;
  --paper: #f7f6ef;
  --white: #ffffff;
  --sage: #6c8b74;
  --pine: #194536;
  --gold: #cf9b3b;
  --clay: #b5604b;
  --sky: #dbe9ef;
  --shadow: 0 24px 70px rgba(23, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 246, 239, 0.9);
  border-bottom: 1px solid rgba(215, 222, 217, 0.8);
  backdrop-filter: blur(16px);
}

.brand,
nav,
.hero-actions,
.proof-strip,
.dashboard-header,
.lead-card,
.pricing,
.demo {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--pine);
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.topbar-cta,
.primary-button,
.secondary-button,
.demo-form button {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.topbar-cta,
.primary-button,
.demo-form button {
  color: var(--white);
  background: var(--pine);
  border: 1px solid var(--pine);
}

.topbar-cta {
  padding: 11px 16px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.86fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(48px, 7vw, 90px) clamp(18px, 6vw, 86px) 44px;
  background:
    linear-gradient(90deg, rgba(247, 246, 239, 0.92), rgba(247, 246, 239, 0.72)),
    url("assets/real-estate-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 790px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: #34413b;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
}

.secondary-button {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.proof-strip {
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}

.proof-strip div {
  width: 150px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.proof-strip dt {
  font-size: 28px;
  font-weight: 800;
}

.proof-strip dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.dashboard {
  width: min(100%, 520px);
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.dashboard-header {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: #35a66a;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.lead-card {
  justify-content: space-between;
  gap: 18px;
  min-height: 144px;
  padding: 22px;
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
}

.lead-source {
  color: #c9d8ce;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-card h2 {
  margin: 10px 0 8px;
  font-size: 30px;
}

.lead-card p {
  margin-bottom: 0;
  color: #e2e9e5;
  line-height: 1.45;
}

.lead-score {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  font-size: 22px;
  font-weight: 800;
}

.assistant-panel {
  margin: 14px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf7;
}

.assistant-label {
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-panel p:last-child {
  margin-bottom: 0;
  line-height: 1.5;
}

.pipeline-mini {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  height: 178px;
  padding: 16px 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pipeline-mini span {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  height: var(--height);
  min-height: 48px;
  border-radius: 8px 8px 0 0;
  background: var(--sky);
}

.pipeline-mini span:nth-child(2n) {
  background: #e5d5ba;
}

.pipeline-mini b {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 10px 0;
  font-size: 11px;
}

.section-grid,
.capabilities,
.pipeline-section,
.automation-board,
.pricing,
.demo {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 86px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-card,
.capability-card,
.board-column,
.calculator {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.workflow-card {
  min-height: 250px;
  padding: 22px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--clay);
  font-weight: 800;
}

.workflow-card h3,
.board-column h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.workflow-card p,
.capability-card p,
.board-column p,
.pipeline-copy p,
.pricing p,
.pricing li {
  color: var(--muted);
  line-height: 1.58;
}

.capabilities {
  background: #fbfbf7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  min-height: 236px;
  padding: 22px;
}

.capability-card.featured {
  color: var(--white);
  background: var(--pine);
  border-color: var(--pine);
}

.capability-card.featured p {
  color: #dbe7df;
}

.capability-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  margin-bottom: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--pine);
  background: var(--sky);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-card.featured .capability-kicker {
  color: var(--ink);
  background: var(--gold);
}

.capability-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.pipeline-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.76fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  background: #edf3ef;
}

.calculator {
  padding: 24px;
  box-shadow: 0 16px 44px rgba(23, 33, 29, 0.08);
}

.calculator label {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--pine);
}

.estimate {
  display: grid;
  gap: 7px;
  padding: 22px;
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
}

.estimate span {
  color: #cfddd5;
  font-size: 14px;
}

.estimate strong {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: 0;
}

.automation-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.board-column {
  min-height: 190px;
  padding: 22px;
  border-top: 6px solid var(--sage);
}

.board-column:nth-child(2) {
  border-top-color: var(--gold);
}

.board-column:nth-child(3) {
  border-top-color: var(--clay);
}

.board-column:nth-child(4) {
  border-top-color: var(--pine);
}

.pricing {
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
  background: var(--ink);
  color: var(--white);
}

.pricing > div {
  max-width: 650px;
}

.pricing p,
.pricing li {
  color: #d6dfd9;
}

.pricing ul {
  display: grid;
  gap: 14px;
  min-width: min(100%, 430px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.demo {
  justify-content: space-between;
  gap: clamp(24px, 5vw, 70px);
}

.demo > div {
  max-width: 540px;
}

.demo-form {
  display: grid;
  gap: 14px;
  width: min(100%, 520px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.demo-form button {
  border: 0;
  font-size: 15px;
}

#formMessage {
  min-height: 22px;
  margin: 0;
  color: var(--pine);
  font-weight: 800;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .pipeline-section,
  .pricing,
  .demo {
    grid-template-columns: 1fr;
  }

  .dashboard {
    margin-left: 0;
  }

  .workflow-grid,
  .capability-grid,
  .automation-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing,
  .demo {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 42px;
  }

  .workflow-grid,
  .capability-grid,
  .automation-board {
    grid-template-columns: 1fr;
  }

  .lead-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

