:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --surface-2: #eef3f4;
  --text: #172126;
  --muted: #647178;
  --line: #d9e2e5;
  --brand: #0b6b5f;
  --brand-dark: #075046;
  --accent: #d9f25f;
  --danger: #a32929;
  --shadow: 0 18px 50px rgba(22, 37, 43, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; }

button, input, select, textarea { font: inherit; }

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
  letter-spacing: -.03em;
}

.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); margin-top: 1px; }

.header-link {
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 750;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

.intro {
  max-width: 760px;
  margin: 26px 0 34px;
}

.eyebrow, .step-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
}

.intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 900px;
}

.intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 20px 0 0;
}

.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.wizard-card, .estimate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.wizard-card { padding: clamp(22px, 4vw, 42px); }

.estimate-card {
  position: sticky;
  top: 20px;
  padding: 28px;
}

.progress-wrap { margin-bottom: 34px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 8px;
}

.progress-track {
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 20%;
  background: var(--brand);
  border-radius: inherit;
  transition: width .25s ease;
}

.step { display: none; }
.step.is-active { display: block; animation: fade .2s ease; }

@keyframes fade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.step h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -.035em;
  line-height: 1.05;
}

.choice-grid {
  display: grid;
  gap: 14px;
}
.choice-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.choice-card {
  position: relative;
  min-height: 142px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  cursor: pointer;
  transition: .18s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.choice-card:hover { border-color: #9db2b6; transform: translateY(-1px); }

.choice-card:has(input:checked) {
  border-color: var(--brand);
  background: #f1fbf8;
  box-shadow: 0 0 0 3px rgba(11, 107, 95, .08);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.choice-card strong { font-size: 1.05rem; }
.choice-card small { color: var(--muted); margin-top: 3px; }

.project-panel { display: none; }
.project-panel.is-active { display: block; }

.field-group { margin: 0 0 24px; }

.field-label {
  display: block;
  font-weight: 760;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
  transition: .15s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 107, 95, .10);
}

textarea { resize: vertical; }

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.choice-row label {
  position: relative;
  cursor: pointer;
}

.choice-row input {
  position: absolute;
  opacity: 0;
}

.choice-row span {
  display: inline-block;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
}

.choice-row input:checked + span {
  border-color: var(--brand);
  background: #f1fbf8;
  color: var(--brand-dark);
  font-weight: 750;
}

.muted { color: var(--muted); }

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.upload-box {
  border: 1.5px dashed #aab9bd;
  background: #fbfdfd;
  border-radius: 15px;
  min-height: 128px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.upload-box small { color: var(--muted); margin: 2px 0 10px; }
.upload-box input { max-width: 100%; }

.notice {
  border-left: 4px solid var(--brand);
  background: #eef8f5;
  padding: 12px 14px;
  border-radius: 9px;
  margin-bottom: 24px;
  font-size: .92rem;
}

.notice.is-error {
  border-color: var(--danger);
  background: #fff0f0;
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.contact-span { grid-column: 1 / -1; }

.final-summary {
  margin: 4px 0 22px;
  padding: 18px;
  border-radius: 15px;
  background: var(--surface-2);
}

.final-summary strong { display: block; margin-bottom: 6px; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: .95rem;
}

.consent input { margin-top: 4px; }

.fineprint {
  color: var(--muted);
  font-size: .82rem;
  margin: 16px 0 0;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: .15s ease;
}

.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--surface-2); color: var(--text); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.is-hidden { display: none !important; }

.estimate-label {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.estimate-price {
  margin: 10px 0 8px;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -.05em;
}

.estimate-text {
  color: var(--muted);
  margin: 0;
}

.estimate-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.estimate-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: .92rem;
}
.estimate-list li + li { margin-top: 8px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: .9rem;
}

.bot-field {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

@media (max-width: 900px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .estimate-card {
    position: static;
    grid-row: 1;
    box-shadow: none;
    padding: 18px 20px;
  }
  .estimate-price { font-size: 1.65rem; }
  .estimate-divider, .estimate-list { display: none; }
}

@media (max-width: 640px) {
  .site-header { padding: 16px; }
  .header-link { display: none; }
  .page-shell { padding: 12px 14px 60px; }
  .intro { margin-top: 10px; }
  .intro h1 { font-size: 2.55rem; }
  .choice-grid-2, .contact-grid { grid-template-columns: 1fr; }
  .contact-span { grid-column: auto; }
  .choice-card { min-height: 112px; }
  .upload-grid { grid-template-columns: 1fr; }
  .upload-box { min-height: 105px; }
  .wizard-card { border-radius: 18px; }
  .wizard-actions { position: sticky; bottom: 0; background: #fff; margin-inline: -4px; padding: 14px 4px 2px; }
  .btn { flex: 1; }
  .site-footer { flex-direction: column; gap: 5px; align-items: center; }
}
