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

:root {
  --forest: #1a3d2b;
  --green: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #d8f3dc;
  --sage: #b7e4c7;
  --earth: #6b4226;
  --stone: #f5f0eb;
  --cream: #fefcf9;
  --text: #1c2b1e;
  --gray: #6b7a6e;
  --border: #d4e6d8;
  --white: #ffffff;
  --red: #c81e1e;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

/* NAV */
nav {
  background: var(--forest);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-logo {
  color: white;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.5px;
  z-index: 1001;
}
.nav-logo span { color: #74c69d; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--sage); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.nav-cta {
  background: var(--green-mid) !important;
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.nav-cta:hover { background: var(--green) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--forest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }
  .nav-cta { padding: 14px 32px; font-size: 16px !important; }
}

/* HERO */
.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 24px 70px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 15, 0.65);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 20px;
  letter-spacing: -1px;
}
.hero h1 .highlight { color: #74c69d; }
.hero > p {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* WIZARD */
.hero-form {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  border: 1.5px solid var(--border);
}
.hero-form h3 { color: var(--text); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.hero-form > p { color: var(--gray); font-size: 14px; margin-bottom: 20px; }

.wizard-progress {
  height: 5px;
  background: var(--green-light);
  border-radius: 100px;
  margin-bottom: 10px;
  overflow: hidden;
}
.wizard-progress-bar {
  height: 100%;
  background: var(--green-mid);
  border-radius: 100px;
  transition: width 0.4s ease;
  width: 33%;
}
.wizard-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step h3 { color: var(--text); font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.wizard-step > p { color: var(--gray); font-size: 14px; margin-bottom: 18px; }
.option-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  background: white;
}
.option-card:hover { border-color: var(--green); background: var(--green-light); }
.option-card.selected { border-color: var(--green); background: var(--green-light); }
.option-card.selected .option-text { color: var(--forest); font-weight: 600; }
.option-icon { font-size: 20px; flex-shrink: 0; }
.option-text { font-size: 15px; color: var(--text); }

.btn-primary {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}
.btn-primary:hover { background: var(--forest); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--green-mid); opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-back {
  width: 100%;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.btn-back:hover { border-color: var(--forest); color: var(--forest); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-row.single { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--green-mid); }
.form-group input.invalid { border-color: var(--red); background: #fef2f2; }
.form-group input.valid { border-color: var(--green); }
.field-hint { font-size: 11px; color: var(--red); margin-top: 2px; min-height: 14px; }

.form-disclaimer {
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* TRUST BAR */
.trust-bar {
  background: var(--forest);
  border-top: 3px solid var(--green-mid);
  padding: 20px 24px;
}
.trust-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
}
.trust-item span { font-size: 20px; }

/* STATS */
.stats {
  background: var(--stone);
  padding: 60px 24px;
  text-align: center;
}
.stats-inner { max-width: 900px; margin: 0 auto; }
.stats h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.stats-sub { color: var(--gray); font-size: 16px; margin-bottom: 48px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1.5px solid var(--border);
}
.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}
.stat-label { font-size: 15px; color: var(--gray); font-weight: 500; }

/* HOW IT WORKS */
.how {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--cream);
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.section-sub { color: var(--gray); font-size: 17px; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step {
  padding: 32px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: white;
}
.step-number {
  width: 44px; height: 44px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.step p { color: var(--gray); font-size: 15px; }

/* SERVICES GRID */
.services-section {
  padding: 80px 24px;
  background: var(--stone);
}
.services-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.service-card {
  background: white;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
  overflow: hidden;
}
.service-card:hover { border-color: var(--green); box-shadow: 0 4px 20px rgba(45,106,79,0.12); }
.service-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.service-card-body {
  padding: 20px 20px 24px;
}
.service-card .emoji { font-size: 28px; margin-bottom: 12px; }
.service-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.5; }

/* WHY CERTIFIED */
.certified-section {
  padding: 80px 24px;
  background: var(--forest);
  color: white;
}
.certified-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.certified-section .section-label { color: var(--sage); }
.certified-section .section-title { color: white; }
.certified-section .section-sub { color: rgba(255,255,255,0.7); }
.certified-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}
.certified-item {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 24px 20px;
}
.certified-item .icon { font-size: 28px; margin-bottom: 12px; color: var(--sage); }
.certified-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: white; }
.certified-item p { color: rgba(255,255,255,0.65); font-size: 14px; }

/* REVIEWS */
.reviews {
  padding: 80px 24px;
  background: var(--stone);
}
.reviews-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.stars { color: #f4a261; font-size: 22px; letter-spacing: 2px; margin-bottom: 6px; }
.reviews-meta { color: var(--gray); font-size: 14px; margin-bottom: 48px; }
.reviews-meta strong { color: var(--text); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.review-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--green-mid);
}
.review-stars { color: #f4a261; font-size: 14px; margin-bottom: 14px; }
.review-text { font-size: 15px; line-height: 1.7; color: #374151; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--text); }
.reviewer-meta { font-size: 12px; color: var(--gray); }

/* FAQ */
.faq {
  padding: 80px 24px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--cream);
}
.faq-item { border-bottom: 1.5px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  color: var(--text);
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--green); flex-shrink: 0; }
.faq-q.open::after { content: '−'; }
.faq-a { color: var(--gray); font-size: 15px; line-height: 1.7; margin-top: 10px; display: none; background: var(--green-light); padding: 16px; border-radius: 10px; }
.faq-a.open { display: block; }
.faq-a a { color: var(--green); }

/* BOTTOM CTA */
.bottom-cta {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 24px;
  text-align: center;
}
.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 40, 20, 0.75);
  z-index: 0;
}
.bottom-cta > * { position: relative; z-index: 1; }
.bottom-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.bottom-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 36px;
}
.btn-white {
  display: inline-block;
  background: var(--green-mid);
  color: white;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.1s, background 0.2s;
}
.btn-white:hover { transform: translateY(-2px); background: var(--forest); }

/* CONTENT SECTIONS */
.content-section {
  padding: 64px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.content-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.content-section h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.content-section p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.content-section ul { color: var(--gray); font-size: 16px; line-height: 1.8; padding-left: 24px; margin-bottom: 16px; }
.content-section ul li { margin-bottom: 8px; }
.content-section ol { color: var(--gray); font-size: 16px; line-height: 1.8; padding-left: 24px; margin-bottom: 16px; }
.content-section ol li { margin-bottom: 10px; }
.content-section strong { color: var(--text); }

/* CONTENT IMAGE BREAK */
.content-image-break {
  height: 320px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  margin: 48px 0;
}

/* COST TABLE */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.cost-table th {
  background: var(--forest);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
}
.cost-table td { padding: 14px 18px; border-bottom: 1.5px solid var(--border); color: var(--text); }
.cost-table tr:nth-child(even) td { background: var(--stone); }
.cost-table tr:last-child td { border-bottom: none; }

/* FOOTER */
footer {
  background: var(--forest);
  color: var(--sage);
  padding: 40px 24px;
  text-align: center;
  font-size: 13px;
}
footer a { color: var(--sage); text-decoration: none; }
footer a:hover { color: white; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-disclaimer { max-width: 700px; margin: 16px auto 0; font-size: 11px; color: rgba(183,228,199,0.6); line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .stats-grid, .steps, .review-grid, .services-grid { grid-template-columns: 1fr; }
  .certified-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { gap: 16px; }
  .hero { padding: 60px 16px 50px; }
  .hero-form { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .certified-grid { grid-template-columns: 1fr; }
}

/* THANK YOU PAGE */
.thankyou-hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 24px;
  text-align: center;
}
.thankyou-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 15, 0.7);
  z-index: 0;
}
.thankyou-hero > * { position: relative; z-index: 1; }
.thankyou-hero .check { font-size: 72px; margin-bottom: 24px; }
.thankyou-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; margin-bottom: 16px; }
.thankyou-hero p { font-size: 20px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }
.next-steps {
  padding: 64px 24px;
  max-width: 800px;
  margin: 0 auto;
}
.next-steps h2 { font-size: 26px; font-weight: 800; margin-bottom: 28px; color: var(--text); }
.step-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
}
.step-badge {
  width: 36px; height: 36px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}
.step-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.step-item p { font-size: 14px; color: var(--gray); }
.while-wait {
  background: var(--stone);
  padding: 64px 24px;
  text-align: center;
}
.while-wait h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.while-wait p { color: var(--gray); font-size: 16px; margin-bottom: 28px; }
.link-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.link-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.link-card:hover { border-color: var(--green); }

/* SUBPAGE HERO VARIANTS */
.hero-installation {
  background-image: url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600&auto=format&fit=crop&q=80');
}
.hero-cost {
  background-image: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1600&auto=format&fit=crop&q=80');
}
.hero-interior {
  background-image: url('https://images.unsplash.com/photo-1558904541-efa843a96f01?w=1600&auto=format&fit=crop&q=80');
}
.hero-exterior {
  background-image: url('https://images.unsplash.com/photo-1523348837708-15d4a09cfac2?w=1600&auto=format&fit=crop&q=80');
}
.hero-yard {
  background-image: url('https://images.unsplash.com/photo-1592595896616-c37162298647?w=1600&auto=format&fit=crop&q=80');
}
.hero-basement {
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&auto=format&fit=crop&q=80');
}
.hero-find {
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&auto=format&fit=crop&q=80');
}

/* FIND A CONTRACTOR page specific */
.find-hero { padding: 80px 24px; }
.find-hero .hero-form { max-width: 580px; padding: 40px; }
.cert-standards {
  padding: 64px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.cert-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.cert-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
}
.cert-check { font-size: 22px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.cert-list-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.cert-list-item p { font-size: 14px; color: var(--gray); }
.process-section {
  background: var(--stone);
  padding: 64px 24px;
}
.process-inner { max-width: 900px; margin: 0 auto; }
