/* PDX Fence Repair — Clean Funnel */
:root {
  --bg: #fafafa;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #666666;
  --accent: #8B6914;
  --accent-light: #faf3e0;
  --accent-dark: #6d5210;
  --border: #e5e5e5;
  --radius: 12px;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}
.nav-phone {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-full { width: 100%; }

/* Steps */
.steps {
  padding: 64px 0;
  background: var(--white);
}
.steps h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.step p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* Pricing */
.pricing {
  padding: 64px 0;
}
.pricing h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.price-card:hover {
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.price-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.price-card p {
  font-size: 0.95rem;
  color: var(--muted);
}
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 24px;
}

/* Estimate Form */
.quote {
  padding: 64px 0 80px;
  background: var(--white);
}
.quote h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.quote-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}
.form {
  max-width: 560px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field input[type="file"] {
  padding: 10px;
  background: var(--white);
}
.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
}
.form-status.success { color: var(--accent); }
.form-status.error { color: #c62828; }

/* Footer */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 8px;
}
.footer p {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-copy {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #aaa;
}

/* Mobile Call Bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  z-index: 200;
}

/* Responsive */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.75rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-bar { display: block; }
  .footer { padding-bottom: 80px; }
}
