/* =============================================
   CLEARFIELD — CSS THEME
   ============================================= */

:root {
  --bg: #faf8f5;
  --bg-warm: #f5efe6;
  --fg: #1a1a1a;
  --fg-muted: #5a5a5a;
  --accent: #1a3a2a;
  --accent-mid: #2d5a3d;
  --accent-light: #4a7c59;
  --sand: #e8d5b7;
  --sand-dark: #c9b48a;
  --stone: #8b7355;
  --error: #b94040;
  --border: #e0d9cc;
}

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

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

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.site-nav {
  display: flex;
  gap: 2.5rem;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--accent); }
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.btn-cta:hover { background: var(--accent-mid) !important; }

/* HERO */
.hero {
  padding: 5rem 2rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,213,183,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--sand-dark);
  padding-left: 0.75rem;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 44ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; align-items: center; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-mid); }

/* Hero visual — illustration */
.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 380px;
}
.property-illustration {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 340px;
}
/* House */
.house-shape {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
}
.house-body {
  width: 160px;
  height: 100px;
  background: #e8ddd0;
  border: 2px solid #c5b8a5;
  border-radius: 2px;
  position: relative;
}
.house-roof {
  position: absolute;
  top: -50px;
  left: -20px;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 55px solid #3d5a3a;
}
.house-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  background: var(--accent);
  border-radius: 1px;
}
.house-window {
  position: absolute;
  top: 20px;
  width: 24px;
  height: 24px;
  background: #a8d4e8;
  border: 2px solid #8ab8c8;
  border-radius: 1px;
}
.house-window-1 { left: 18px; }
.house-window-2 { right: 18px; }
/* Lawn stripes */
.lawn-area {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: #7db87d;
  border-radius: 4px;
  overflow: hidden;
}
.lawn-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(255,255,255,0.08);
}
.lawn-stripe-1 { left: 0; width: 25%; }
.lawn-stripe-2 { left: 50%; width: 25%; }
.lawn-stripe-3 { left: 0; width: 100%; height: 33%; top: auto; bottom: 0; background: rgba(0,0,0,0.08); }
/* Truck */
.truck-shape {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 110px;
  height: 50px;
}
.truck-cab {
  position: absolute;
  right: 0;
  bottom: 18px;
  width: 42px;
  height: 32px;
  background: #4a7c59;
  border-radius: 3px 6px 3px 3px;
}
.truck-bed {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 72px;
  height: 28px;
  background: #2d5a3d;
  border-radius: 3px;
}
.truck-wheel {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 18px;
  background: #333;
  border-radius: 50%;
}
.truck-wheel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 8px;
  height: 8px;
  background: #aaa;
  border-radius: 50%;
}
.truck-wheel-1 { right: 4px; }
.truck-wheel-2 { left: 26px; }
/* Trees */
.tree {
  position: absolute;
  bottom: 90px;
  width: 30px;
  background: none;
}
.tree::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 20px;
  background: #7a5c3a;
  border-radius: 2px;
}
.tree::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 36px solid #3d7a3d;
}
.tree-1 { left: 20px; }
.tree-2 { left: 200px; }

/* Hero badge */
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--stone);
  letter-spacing: 0.06em;
  max-width: 1160px;
  margin: 2.5rem auto 0;
  padding-left: 0.25rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #5cba7a;
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* SECTION SHARED */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* SERVICES */
.services {
  padding: 5rem 2rem;
  background: var(--bg-warm);
}
.services .section-label,
.services .section-heading {
  text-align: center;
}
.services .section-heading {
  margin-bottom: 3.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,58,42,0.08);
}
.service-icon {
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.service-card > p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-list li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--sand-dark);
  border-radius: 50%;
}

/* MANIFESTO */
.manifesto {
  padding: 5rem 2rem;
  background: var(--accent);
}
.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}
.manifesto-rule {
  width: 60px;
  height: 2px;
  background: var(--sand-dark);
  margin: 0 auto 2.5rem;
}
.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--sand);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}
.manifesto-body {
  font-size: 1rem;
  color: rgba(232,213,183,0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: center;
}
.manifesto-body:last-of-type { margin-bottom: 0; }
.manifesto .manifesto-rule:last-child { margin: 2.5rem auto 0; }

/* HOW IT WORKS */
.how-it-works {
  padding: 5rem 2rem;
  background: var(--bg);
}
.how-it-works .section-label,
.how-it-works .section-heading {
  text-align: center;
}
.how-it-works .section-heading { margin-bottom: 3.5rem; }
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  flex: 1;
  max-width: 260px;
}
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sand-dark);
  opacity: 0.7;
  margin-bottom: 1rem;
}
.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.step-divider {
  flex-shrink: 0;
  margin-top: 1.5rem;
}

/* PRICING */
.pricing {
  padding: 5rem 2rem;
  background: var(--bg-warm);
}
.pricing .section-label,
.pricing .section-heading {
  text-align: center;
}
.pricing .section-heading { margin-bottom: 3rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  position: relative;
}
.pricing-card--featured {
  border: 2px solid var(--accent);
  background: var(--accent);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sand);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 4px 4px;
}
.pricing-tier {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}
.pricing-card--featured .pricing-tier { color: var(--sand); }
.pricing-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-card--featured .pricing-amount { color: var(--sand); }
.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
  font-family: 'DM Sans', sans-serif;
}
.pricing-card--featured .pricing-period { color: rgba(232,213,183,0.7); }
.pricing-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pricing-card--featured .pricing-desc {
  color: rgba(232,213,183,0.75);
  border-bottom-color: rgba(232,213,183,0.2);
}
.pricing-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-includes li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1.5rem;
  position: relative;
}
.pricing-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent-light);
  border-radius: 50%;
}
.pricing-card--featured .pricing-includes li { color: rgba(232,213,183,0.8); }
.pricing-card--featured .pricing-includes li::before { border-color: rgba(232,213,183,0.5); }
.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
}

/* CLOSING */
.closing {
  padding: 6rem 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing-icon { margin-bottom: 2rem; }
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* FOOTER */
.site-footer {
  background: var(--accent);
  color: var(--sand);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer-info p {
  font-size: 0.875rem;
  opacity: 0.7;
  text-align: right;
}
.footer-note {
  margin-top: 0.5rem;
  font-size: 0.8rem !important;
  opacity: 0.5 !important;
}
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(232,213,183,0.15);
}
.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .services-grid,
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .steps { flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 480px; }
  .step-divider { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; }
  .footer-info p { text-align: left; }
}
@media (max-width: 600px) {
  .site-nav { gap: 1.5rem; }
  .site-nav a { font-size: 0.8rem; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .services,
  .manifesto,
  .how-it-works,
  .pricing,
  .closing { padding: 3rem 1.5rem; }
  .pricing-grid,
  .services-grid { max-width: 100%; }
}