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

:root {
  --bg: #FAF7F2;
  --bg-2: #F0EBE1;
  --fg: #1C1917;
  --fg-2: #57534E;
  --fg-3: #A8A29E;
  --accent: #C9622F;
  --accent-light: #F4E4D9;
  --sage: #7A8C6E;
  --sage-light: #EDF1E8;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

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

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; }

em { font-style: italic; color: var(--accent); }

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

/* ─── Top Nav ─── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

/* ─── Section Helpers ─── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--fg-2);
  max-width: 540px;
  margin-top: 0.8rem;
}

/* ─── Hero ─── */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-text h1 {
  margin-bottom: 1.2rem;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-2);
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--sage-light);
  color: var(--sage);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ─── Hero Art ─── */
.hero-art {
  position: relative;
  height: 380px;
}

.art-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.1), 0 1px 4px rgba(28, 25, 23, 0.06);
  border: 1px solid rgba(28, 25, 23, 0.06);
}

.card-1 {
  top: 20px;
  left: 20px;
  width: 200px;
  transform: rotate(-2deg);
  animation: float 4s ease-in-out infinite;
}

.card-2 {
  top: 160px;
  right: 0;
  width: 180px;
  transform: rotate(2deg);
  animation: float 4s ease-in-out 1s infinite;
}

.card-3 {
  bottom: 20px;
  left: 60px;
  width: 200px;
  transform: rotate(-1deg);
  animation: float 4s ease-in-out 2s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

.card-2 { animation-name: float2; }
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.card-3 { animation-name: float3; }
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

.card-icon {
  margin-bottom: 0.8rem;
}

.card-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.card-line {
  height: 8px;
  background: var(--bg-2);
  border-radius: 4px;
}

.card-line.long { width: 100%; }
.card-line.medium { width: 75%; }
.card-line.short { width: 55%; }

.card-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 0.2rem;
}

.card-sub {
  font-size: 0.78rem;
  color: var(--fg-3);
}

.worker-avatar {
  display: flex;
  gap: -4px;
  margin-bottom: 0.8rem;
}

.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
}

.avatar-circle:first-child { margin-left: 0; }

.c1 { background: #D4A574; }
.c2 { background: #8B9DC3; }
.c3 { background: #9BC49D; }

.star-row {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
}

/* ─── Hero Stats ─── */
.hero-stats {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(28, 25, 23, 0.06);
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-2);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(28, 25, 23, 0.1);
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-2);
}

.how-it-works h2 {
  margin-bottom: 3.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 1rem;
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.step p {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ─── Services ─── */
.services {
  padding: 6rem 0;
}

.services h2 {
  margin-bottom: 0.8rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(28, 25, 23, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(28, 25, 23, 0.08);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.service-card h4 {
  margin-bottom: 0.5rem;
  color: var(--fg);
}

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

/* ─── Pricing Model ─── */
.pricing-model {
  padding: 6rem 0;
  background: var(--fg);
  color: var(--white);
}

.pricing-model .section-kicker {
  color: var(--accent);
}

.pricing-model h2 {
  color: var(--white);
}

.pricing-model .section-lede {
  color: rgba(255,255,255,0.65);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.price-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.price-card.featured {
  background: rgba(201, 98, 47, 0.15);
  border-color: rgba(201, 98, 47, 0.4);
}

.price-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.price-card h3 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.price-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ─── Trust ─── */
.trust {
  padding: 6rem 0;
  background: var(--sage-light);
}

.trust h2 {
  margin-bottom: 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.trust-badge {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(122, 140, 110, 0.15);
}

.trust-item h4 {
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ─── Closing ─── */
.closing {
  padding: 8rem 0;
  background: var(--bg);
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.closing h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.closing p {
  color: var(--fg-2);
  font-size: 1rem;
  line-height: 1.8;
}

/* ─── Neighborhood Art ─── */
.neighborhood-art {
  position: relative;
  width: 100%;
  height: 300px;
}

.house {
  position: absolute;
  background: var(--accent);
  border-radius: 4px 4px 2px 2px;
}

.h1 { width: 70px; height: 60px; bottom: 40px; left: 20px; }
.h2 { width: 50px; height: 45px; bottom: 40px; left: 110px; }
.h3 { width: 80px; height: 70px; bottom: 40px; left: 180px; background: var(--sage); }
.h4 { width: 55px; height: 50px; bottom: 40px; right: 110px; }
.h5 { width: 60px; height: 55px; bottom: 40px; right: 20px; }

/* Chimneys */
.h1::before, .h3::before {
  content: '';
  position: absolute;
  top: -16px;
  width: 12px;
  height: 16px;
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
}
.h1::before { left: 10px; }
.h3::before { right: 12px; }

/* Roofs */
.house::after {
  content: '';
  position: absolute;
  top: -24px;
  left: -5px;
  width: 0;
  height: 0;
  border-left: calc(50% + 2px) solid transparent;
  border-right: calc(50% + 2px) solid transparent;
  border-bottom: 24px solid var(--accent);
}
.h4::after, .h5::after {
  border-bottom-color: var(--sage);
}

/* Connector lines (roads) */
.connector {
  position: absolute;
  bottom: 20px;
  height: 4px;
  background: rgba(28, 25, 23, 0.12);
  border-radius: 2px;
}
.c1 { left: 50px; width: 150px; }
.c2 { left: 170px; width: 80px; }
.c3 { right: 100px; width: 120px; }
.c4 { right: 50px; width: 40px; }

/* ─── Footer ─── */
footer {
  background: var(--fg);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

.footer-brand .wordmark {
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero-inner,
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-art {
    height: 260px;
    margin-top: 1rem;
  }

  .card-1 { width: 160px; left: 0; }
  .card-2 { right: 0; top: 130px; width: 150px; }
  .card-3 { left: 20px; bottom: 0; width: 160px; }

  .steps,
  .service-grid,
  .pricing-cards,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider { display: none; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links { display: none; }
}


/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
