/* ===== FONTS ===== */
:root {
  --bg: #F9F7F2;
  --bg-dark: #141414;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --accent-dark: #B45309;
  --white: #FFFFFF;
  --border: #E5E0D8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--white);
  padding: 100px 32px 80px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Geometric atmosphere */
.hero-geo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-1 {
  width: 600px;
  height: 600px;
  right: -200px;
  top: -150px;
  background: radial-gradient(circle, rgba(217,119,6,0.12) 0%, transparent 70%);
}
.geo-2 {
  width: 400px;
  height: 400px;
  right: 100px;
  bottom: 0;
  background: radial-gradient(circle, rgba(217,119,6,0.06) 0%, transparent 70%);
}
.geo-3 {
  width: 2px;
  height: 100%;
  right: 30%;
  top: 0;
  background: linear-gradient(to bottom, transparent, rgba(217,119,6,0.15), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 40px;
  margin-top: 60px;
}
.stat {
  flex: 1;
  padding: 0 32px 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  margin-right: 32px;
  flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 32px;
  background: var(--bg);
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.panel {
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.panel-homeowner {
  background: var(--white);
}
.panel-contractor {
  background: var(--bg-dark);
  color: var(--white);
}
.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}
.panel-contractor .panel-icon {
  background: rgba(217,119,6,0.15);
}
.panel h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.panel p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.panel-contractor p {
  color: rgba(255,255,255,0.55);
}
.feature-list {
  list-style: none;
}
.feature-list li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.panel-contractor .feature-list li {
  border-bottom-color: rgba(255,255,255,0.08);
}

/* ===== PROOF ===== */
.proof {
  padding: 80px 32px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.proof-card {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.proof-card:last-child {
  border-right: none;
}
.proof-number {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.proof-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}
.proof-note {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* ===== FOR CONTRACTORS ===== */
.for-contractors {
  padding: 100px 32px;
  background: var(--bg-dark);
  color: var(--white);
}
.fc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.fc-left .section-label {
  color: var(--accent);
  text-align: left;
}
.fc-left .section-title {
  color: var(--white);
  margin-bottom: 24px;
}
.fc-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.fc-pricing {
  margin-top: 40px;
  padding: 32px;
  background: rgba(217,119,6,0.08);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 12px;
}
.price-block {
  margin-bottom: 12px;
}
.price {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
}
.price-label {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-left: 8px;
}
.price-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.contractor-quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}
.cq-text {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.cq-attribution {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.fc-list { display: flex; flex-direction: column; gap: 16px; }
.fc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}
.fc-item svg { color: var(--accent); flex-shrink: 0; }

/* ===== CITIES ===== */
.cities {
  padding: 100px 32px;
  background: var(--bg);
}
.cities .section-header {
  margin-bottom: 60px;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.city-group {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
}
.city-group:last-child { border-right: none; }
.city-region {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.city-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.city-list span {
  font-size: 15px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.city-list span::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--border);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 80px 32px;
  background: var(--accent);
  text-align: center;
}
.philosophy-quote {
  max-width: 780px;
  margin: 0 auto;
}
.philosophy-quote p {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  font-weight: 400;
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 32px;
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
}
.closing-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  margin-bottom: 48px;
}
.closing-brand {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 32px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.footer-meta p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ===== LEAD FORM ===== */
.lead-section {
  padding: 100px 32px;
  background: var(--bg);
}
.lead-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.lead-info .section-label { text-align: left; }
.lead-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.lead-sub {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.lead-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--fg);
}
.lead-benefits li svg { color: var(--accent); flex-shrink: 0; }

.lead-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.form-field .optional {
  font-weight: 400;
  color: var(--fg-muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-muted); opacity: 0.7; }

.btn-lead {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn-lead:hover:not(:disabled) { background: var(--accent-dark); }
.btn-lead:active:not(:disabled) { transform: scale(0.99); }
.btn-lead:disabled { opacity: 0.6; cursor: not-allowed; }

.form-privacy {
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.5;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: 10px;
  color: #166534;
  font-size: 15px;
  line-height: 1.5;
}
.form-success svg { color: #22C55E; flex-shrink: 0; }

.form-error {
  padding: 12px 16px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 10px;
  color: #991B1B;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 64px 24px 56px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .two-column { grid-template-columns: 1fr; }
  .fc-inner { grid-template-columns: 1fr; gap: 48px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { border-right: none; border-bottom: 1px solid var(--border); }
  .city-grid { grid-template-columns: 1fr; }
  .city-group { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr; }
  .section-header { text-align: left; }
  .fc-left .section-label { text-align: left; }
  .lead-inner { grid-template-columns: 1fr; gap: 48px; }
  .lead-form-wrap { padding: 28px; }
}