/* ============================================================
   KAEL & CO — style.css
   All pages: index.html, form.html, contractor-apply.html
   Fonts served from /fonts/ directory in repo root
   ============================================================ */

/* ── Fonts ── */
@font-face {
  font-family: 'Wildest';
  src: url('/fonts/Wildest.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AppleGaramond';
  src: url('/fonts/AppleGaramond-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AppleGaramond';
  src: url('/fonts/AppleGaramond-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'AppleGaramond';
  src: url('/fonts/AppleGaramond-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ── Design Tokens ── */
:root {
  --ink:        #0f0e0c;
  --cream:      #f7f3ec;
  --rust:       #c4531a;
  --rust-dark:  #8c3a10;
  --rust-light: #f0ddd4;
  --gold:       #c49a1a;
  --sage:       #4a6b4a;
  --sage-light: #dde8dd;
  --dust:       #d4c9b8;
  --mid:        #7a6e60;
  --white:      #faf8f4;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'AppleGaramond', Georgia, serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 64px;
  background: rgba(15,14,12,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-logo {
  font-family: 'Wildest', serif;
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo em { color: var(--rust); font-style: normal; }
.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'AppleGaramond', serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--rust) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  letter-spacing: 0.14em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--rust-dark) !important; }

/* ── Site header (forms) ── */
.site-header {
  background: var(--ink);
  padding: 0 48px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo {
  font-family: 'Wildest', serif;
  font-size: 26px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo em { color: var(--rust); font-style: normal; }
.header-back {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}
.header-back:hover { color: var(--white); }

/* ============================================================
   HERO — INDEX
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 56px 80px;
  background: var(--ink);
}
.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero-accent {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, var(--rust), var(--gold));
  z-index: 3;
}
.hero-bg-text {
  position: absolute;
  bottom: -40px; right: -20px;
  font-family: 'Wildest', serif;
  font-size: 280px;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
}
.hero-eyebrow {
  font-family: 'AppleGaramond', serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--rust);
}
.hero-h1 {
  font-family: 'Wildest', serif;
  font-size: clamp(72px, 10vw, 148px);
  color: var(--white);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.hero-h1-sub {
  font-family: 'AppleGaramond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 62px);
  color: var(--rust);
  line-height: 1.1;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 52px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  position: absolute;
  bottom: 64px; right: 56px;
  display: flex;
  gap: 48px;
  z-index: 4;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: 'Wildest', serif;
  font-size: 42px;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  font-weight: 300;
}

/* ── Hero — forms ── */
.hero-form {
  background: var(--ink);
  padding: 64px 48px 56px;
  border-bottom: 3px solid var(--rust);
  position: relative;
  overflow: hidden;
}
.hero-form::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,83,26,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-form .hero-eyebrow { margin-bottom: 18px; }
.hero-form h1 {
  font-family: 'Wildest', serif;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-form h1 em {
  font-family: 'AppleGaramond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--rust);
}
.hero-form .hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  line-height: 1.75;
  font-weight: 300;
  margin-top: 12px;
}
.trust-row { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 300;
}
.trust-dot { width: 5px; height: 5px; background: var(--sage); border-radius: 50%; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--rust);
  color: var(--white);
  border: none;
  padding: 18px 44px;
  font-family: 'AppleGaramond', serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--rust-dark); }
.btn-primary:disabled { background: var(--dust); cursor: not-allowed; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  padding: 17px 40px;
  font-family: 'AppleGaramond', serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
  background: transparent;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--rust);
  border: none;
  padding: 18px 44px;
  font-family: 'AppleGaramond', serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s;
}
.btn-white:hover { background: var(--cream); }
.btn-back {
  background: transparent;
  color: var(--mid);
  border: 2px solid var(--dust);
  padding: 14px 24px;
  font-family: 'AppleGaramond', serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 300;
}
.btn-back:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; gap: 12px; align-items: center; margin-top: 32px; }

/* ============================================================
   SECTION ELEMENTS — INDEX
   ============================================================ */
section { padding: 120px 56px; }

.section-eyebrow {
  font-family: 'AppleGaramond', serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--rust); }
.section-eyebrow.sage-eye { color: var(--sage); }
.section-eyebrow.sage-eye::before { background: var(--sage); }

.section-title {
  font-family: 'Wildest', serif;
  font-size: clamp(44px, 5.5vw, 80px);
  color: var(--ink);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-title em {
  font-family: 'AppleGaramond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--rust);
}
.section-title.white { color: var(--white); }

/* ── Image strips & mosaics ── */
.img-strip { width: 100%; overflow: hidden; position: relative; }
.img-strip img { width: 100%; height: 340px; object-fit: cover; display: block; }
.img-strip.tall img { height: 520px; }
.img-strip.short img { height: 240px; }

.img-mosaic { display: grid; gap: 3px; }
.img-mosaic.split-2   { grid-template-columns: 1fr 1fr; }
.img-mosaic.split-2-3 { grid-template-columns: 2fr 3fr; }
.img-mosaic.split-3-2 { grid-template-columns: 3fr 2fr; }
.img-mosaic img { width: 100%; height: 480px; object-fit: cover; display: block; }

.img-mosaic-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; }
.img-mosaic-3 img { width: 100%; height: 360px; object-fit: cover; display: block; }

/* ── How it works ── */
.how-section { background: var(--white); }
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; margin-top: 64px; }
.how-steps { display: flex; flex-direction: column; }
.how-step { display: flex; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--dust); align-items: flex-start; }
.how-step:last-child { border-bottom: none; }
.step-num-large {
  font-family: 'Wildest', serif;
  font-size: 48px;
  color: var(--rust);
  opacity: 0.18;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
}
.step-body-title { font-family: 'AppleGaramond', serif; font-weight: 300; font-size: 20px; color: var(--ink); letter-spacing: 0.02em; margin-bottom: 6px; }
.step-body-desc { font-size: 14px; color: var(--mid); line-height: 1.7; font-weight: 300; }

.how-visual { background: var(--ink); padding: 52px 44px; position: relative; overflow: hidden; }
.how-visual::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--rust), var(--gold)); }
.how-visual-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rust); margin-bottom: 20px; font-weight: 300; }
.sample-lead { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }
.lead-badge { display: inline-block; background: var(--rust); color: var(--white); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 12px; margin-bottom: 16px; }
.lead-name { font-family: 'AppleGaramond', serif; font-size: 22px; color: var(--white); margin-bottom: 20px; font-weight: 300; letter-spacing: 0.02em; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-field-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); margin-bottom: 3px; font-weight: 300; }
.lead-field-val { font-size: 13px; color: var(--white); font-weight: 300; }

/* ── Photo pull ── */
.photo-pull { display: grid; }
.photo-pull.img-left  { grid-template-columns: 1fr 1fr; }
.photo-pull.img-right { grid-template-columns: 1fr 1fr; }
.photo-pull-img { overflow: hidden; }
.photo-pull-img img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; display: block; }
.photo-pull-text { background: var(--ink); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.photo-pull-text.cream { background: var(--cream); }
.photo-pull-text.rust  { background: var(--rust); }
.photo-pull-quote {
  font-family: 'AppleGaramond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 34px);
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.photo-pull-text.cream .photo-pull-quote { color: var(--ink); }
.photo-pull-sub { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; font-weight: 300; max-width: 380px; }
.photo-pull-text.cream .photo-pull-sub { color: var(--mid); }

/* ── Contractors ── */
.contractors-section { background: var(--cream); }
.contractors-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 32px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid var(--dust);
  background: var(--white);
  padding: 8px 20px;
  font-family: 'AppleGaramond', serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--rust); border-color: var(--rust); color: var(--white); }
.contractors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.contractor-card { background: var(--white); position: relative; overflow: hidden; transition: all 0.25s; border-top: 3px solid var(--dust); }
.contractor-card:hover { border-top-color: var(--rust); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.card-inner { padding: 32px 28px; }
.card-category { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); background: var(--rust-light); display: inline-block; padding: 4px 10px; margin-bottom: 16px; font-weight: 300; margin-right: 4px; }
.card-verified { position: absolute; top: 16px; right: 16px; background: var(--sage); color: var(--white); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 9px; font-weight: 300; }
.card-name { font-family: 'AppleGaramond', serif; font-size: 22px; color: var(--ink); font-weight: 300; letter-spacing: 0.01em; line-height: 1.2; margin-bottom: 8px; }
.card-owner { font-size: 12px; color: var(--mid); margin-bottom: 14px; font-weight: 300; letter-spacing: 0.06em; }
.card-counties { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.county-tag { font-size: 10px; letter-spacing: 0.08em; color: var(--mid); border: 1px solid var(--dust); padding: 3px 8px; font-weight: 300; }
.card-desc { font-size: 13px; color: var(--mid); line-height: 1.65; font-weight: 300; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { border-top: 1px solid var(--dust); padding: 18px 28px; display: flex; gap: 8px; }
.btn-quote { flex: 1; background: var(--rust); color: var(--white); border: none; padding: 10px; font-family: 'AppleGaramond', serif; font-weight: 300; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; text-align: center; text-decoration: none; display: block; transition: background 0.2s; }
.btn-quote:hover { background: var(--rust-dark); }
.btn-call { border: 1px solid var(--dust); background: transparent; color: var(--mid); padding: 10px 16px; font-family: 'AppleGaramond', serif; font-weight: 300; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: block; transition: all 0.2s; }
.btn-call:hover { border-color: var(--ink); color: var(--ink); }

/* ── Services ── */
.services-section { background: var(--ink); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 64px; }
.service-card { background: rgba(255,255,255,0.03); padding: 40px 32px; border-top: 2px solid rgba(255,255,255,0.06); transition: all 0.2s; }
.service-card:hover { background: rgba(255,255,255,0.06); border-top-color: var(--rust); }
.service-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.service-name { font-family: 'AppleGaramond', serif; font-size: 22px; color: var(--white); font-weight: 300; margin-bottom: 10px; letter-spacing: 0.02em; }
.service-desc { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; font-weight: 300; }

/* ── For Contractors CTA ── */
.contractors-cta { background: var(--rust); padding: 120px 56px; position: relative; overflow: hidden; }
.contractors-cta::before { content: 'CONTRACTORS'; position: absolute; right: -40px; bottom: -60px; font-family: 'Wildest', serif; font-size: 220px; color: rgba(255,255,255,0.07); letter-spacing: -0.03em; pointer-events: none; white-space: nowrap; line-height: 1; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.cta-title { font-family: 'Wildest', serif; font-size: clamp(48px,6vw,92px); color: var(--white); line-height: 0.9; letter-spacing: -0.01em; margin-bottom: 20px; }
.cta-subtitle { font-family: 'AppleGaramond', serif; font-style: italic; font-weight: 300; font-size: 22px; color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.cta-perks { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.cta-perk { display: flex; gap: 16px; align-items: flex-start; }
.perk-dot { width: 8px; height: 8px; background: var(--white); flex-shrink: 0; margin-top: 6px; opacity: 0.6; }
.perk-text { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; font-weight: 300; }
.cta-right { display: flex; flex-direction: column; gap: 2px; }
.cta-stat-card { background: rgba(255,255,255,0.1); padding: 28px 32px; }
.cta-stat-num { font-family: 'Wildest', serif; font-size: 52px; color: var(--white); line-height: 1; letter-spacing: -0.02em; margin-bottom: 6px; }
.cta-stat-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 300; }

/* ── Footer ── */
footer { background: var(--ink); padding: 72px 56px 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 64px; }
.footer-logo { font-family: 'Wildest', serif; font-size: 36px; color: var(--white); letter-spacing: 0.02em; margin-bottom: 16px; }
.footer-logo em { color: var(--rust); font-style: normal; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 280px; font-weight: 300; }
.footer-col-title { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mid); margin-bottom: 20px; font-weight: 300; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; font-weight: 300; letter-spacing: 0.03em; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; font-weight: 300; }
.footer-counties { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; font-weight: 300; }

/* ============================================================
   MULTI-STEP FORM — SHARED (form.html, contractor-apply.html)
   ============================================================ */
.progress-wrap { background: var(--white); border-bottom: 1px solid var(--dust); padding: 0 48px; }
.progress-inner { max-width: 760px; margin: 0 auto; padding: 18px 0; display: flex; align-items: center; }
.step-item { display: flex; align-items: center; gap: 10px; flex: 1; }
.step-item:last-child { flex: 0; }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--dust);
  display: flex; align-items: center; justify-content: center;
  font-family: 'AppleGaramond', serif;
  font-size: 10px;
  color: var(--mid);
  background: var(--white);
  transition: all 0.3s;
  flex-shrink: 0;
}
.step-num.active { border-color: var(--rust); background: var(--rust); color: var(--white); }
.step-num.done   { border-color: var(--sage); background: var(--sage); color: var(--white); }
.step-label { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); white-space: nowrap; font-weight: 300; }
.step-label.active { color: var(--rust); }
.step-label.done   { color: var(--sage); }
.step-connector { flex: 1; height: 1px; background: var(--dust); margin: 0 8px; transition: background 0.3s; }
.step-connector.done { background: var(--sage); }

.form-wrap { max-width: 760px; margin: 0 auto; padding: 48px 48px 80px; }
.step-panel { display: none; animation: fadeUp 0.3s ease; }
.step-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.step-eyebrow { font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rust); margin-bottom: 10px; font-weight: 300; }
.step-title { font-family: 'Wildest', serif; font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--mid); line-height: 1.65; margin-bottom: 36px; font-weight: 300; }

/* ── Select cards ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 10px; margin-bottom: 6px; }
.card-grid.two-col   { grid-template-columns: 1fr 1fr; }
.card-grid.three-col { grid-template-columns: repeat(3,1fr); }
.select-card {
  border: 2px solid var(--dust);
  background: var(--white);
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
  position: relative;
}
.select-card:hover { border-color: var(--rust); background: var(--rust-light); }
.select-card.selected { border-color: var(--rust); background: var(--rust-light); }
.select-card.selected::after { content: '✓'; position: absolute; top: 10px; right: 12px; font-size: 10px; color: var(--rust); font-weight: 600; }
.card-icon { font-size: 20px; margin-bottom: 8px; display: block; }
.card-title { font-family: 'AppleGaramond', serif; font-size: 15px; font-weight: 300; color: var(--ink); margin-bottom: 3px; }
.card-desc  { font-size: 12px; color: var(--mid); line-height: 1.5; font-weight: 300; }
.card-badge { display: inline-block; margin-top: 6px; padding: 2px 8px; background: var(--rust); color: var(--white); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 300; }
.card-badge.gold { background: var(--gold); }
.card-badge.sage { background: var(--sage); }

/* ── Check cards (contractor form) ── */
.multi-check { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 10px; }
.check-card {
  border: 2px solid var(--dust);
  background: var(--white);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-card:hover { border-color: var(--rust); background: var(--rust-light); }
.check-card.selected { border-color: var(--rust); background: var(--rust-light); }
.check-box { width: 16px; height: 16px; border: 2px solid var(--dust); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--rust); transition: all 0.15s; }
.check-card.selected .check-box { border-color: var(--rust); background: var(--rust); color: var(--white); }
.check-label { font-size: 13px; color: var(--ink); font-weight: 300; }

/* ── Qualify alert ── */
.qualify-alert { padding: 14px 18px; margin-bottom: 20px; border-left: 3px solid; font-size: 13px; line-height: 1.6; display: none; font-weight: 300; }
.qualify-alert.hot  { background: rgba(196,83,26,0.08);  border-color: var(--rust); color: var(--rust-dark); display: block; }
.qualify-alert.warm { background: rgba(196,154,26,0.08); border-color: var(--gold); color: #7a5c00; display: block; }
.qualify-alert.cold { background: rgba(122,110,96,0.08); border-color: var(--dust); color: var(--mid);      display: block; }

/* ── Fields ── */
.field-group { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mid); margin-bottom: 7px; font-weight: 300; }
label .req { color: var(--rust); margin-left: 2px; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--dust);
  padding: 12px 14px;
  font-family: 'AppleGaramond', serif;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  border-radius: 0;
  font-weight: 300;
}
input:focus, select:focus, textarea:focus { border-color: var(--rust); }
input.error, select.error, textarea.error { border-color: #b91c1c; }
textarea { resize: vertical; min-height: 100px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6e60' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ── Acreage slider ── */
.acreage-display { font-family: 'Wildest', serif; font-size: 48px; color: var(--rust); margin-bottom: 10px; line-height: 1; }
.acreage-display span { font-size: 16px; color: var(--mid); font-family: 'AppleGaramond', serif; font-weight: 300; }
input[type="range"] { width: 100%; appearance: none; height: 3px; background: var(--dust); outline: none; border: none; padding: 0; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; background: var(--rust); cursor: pointer; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--rust); }
.range-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 9px; color: var(--mid); letter-spacing: 0.1em; font-weight: 300; }

/* ── Upsell banner ── */
.upsell-banner { background: var(--ink); border-left: 4px solid var(--gold); padding: 18px 22px; margin-bottom: 22px; display: flex; align-items: flex-start; gap: 14px; }
.upsell-banner-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.upsell-label { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-weight: 300; }
.upsell-msg { font-size: 13px; color: var(--white); line-height: 1.6; font-weight: 300; }
.upsell-msg strong { color: var(--gold); }

/* ── Summary box ── */
.summary-box { background: var(--ink); padding: 28px; margin-bottom: 28px; }
.summary-title { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rust); margin-bottom: 18px; font-weight: 300; }
.summary-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); gap: 16px; }
.summary-row:last-child { border-bottom: none; }
.summary-key { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); flex-shrink: 0; font-weight: 300; }
.summary-val { font-size: 13px; color: var(--white); text-align: right; line-height: 1.5; font-weight: 300; }
.pipeline-tag { display: inline-block; padding: 3px 10px; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 300; }
.pipeline-tag.hot  { background: var(--rust); color: var(--white); }
.pipeline-tag.warm { background: var(--gold); color: var(--ink); }
.pipeline-tag.cold { background: var(--dust); color: var(--ink); }

/* ── Value box (contractor form) ── */
.value-box { background: var(--ink); border-left: 4px solid var(--rust); padding: 20px 24px; margin-bottom: 28px; }
.value-box-title { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rust); margin-bottom: 12px; font-weight: 300; }
.value-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.value-item { display: flex; align-items: flex-start; gap: 10px; }
.value-dot { width: 6px; height: 6px; background: var(--rust); flex-shrink: 0; margin-top: 5px; }
.value-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; font-weight: 300; }

/* ── Error messages ── */
.err-msg { font-size: 11px; color: #b91c1c; margin-top: 5px; font-weight: 300; letter-spacing: 0.04em; display: none; }

/* ── Spinner ── */
.spinner { display: inline-block; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Success panel ── */
.success-panel { display: none; text-align: center; padding: 80px 40px; }
.success-panel.active { display: block; animation: fadeUp 0.4s ease; }
.success-check { width: 60px; height: 60px; background: var(--sage); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 24px; }
.success-title { font-family: 'Wildest', serif; font-size: 52px; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; }
.success-sub { font-size: 15px; color: var(--mid); max-width: 440px; margin: 0 auto; line-height: 1.7; font-weight: 300; }
.success-record { display: inline-block; margin-top: 20px; padding: 10px 22px; background: var(--ink); font-size: 11px; letter-spacing: 0.15em; color: var(--sage); font-weight: 300; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  nav .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-h1 { font-size: 72px; }
  .hero-stats { position: static; margin-top: 48px; justify-content: flex-start; }
  section { padding: 80px 24px; }
  .services-section, .contractors-cta { padding: 80px 24px; }
  footer { padding: 56px 24px 32px; }
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .photo-pull.img-left, .photo-pull.img-right { grid-template-columns: 1fr; }
  .photo-pull-img img { min-height: 300px; }
  .photo-pull-text { padding: 48px 32px; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .contractors-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .img-mosaic.split-2,
  .img-mosaic.split-2-3,
  .img-mosaic.split-3-2 { grid-template-columns: 1fr; }
  .img-mosaic img { height: 280px; }
  .img-mosaic-3 { grid-template-columns: 1fr; }
  .img-mosaic-3 img { height: 240px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .value-items { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 20px; }
  .hero-form { padding: 40px 20px; }
  .form-wrap { padding: 28px 20px 56px; }
  .progress-wrap { padding: 0 20px; }
  .field-row { grid-template-columns: 1fr; }
  .card-grid.two-col, .card-grid.three-col { grid-template-columns: 1fr 1fr; }
  .contractors-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .multi-check { grid-template-columns: 1fr 1fr; }
}
