:root {
  --navy: #16233f;
  --navy-dark: #0f1829;
  --navy-light: #2c3d61;
  --gold: #b8935a;
  --gold-light: #d4b788;
  --cream: #fafafa;
  --cream-card: #ffffff;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --shadow: 0 10px 30px rgba(22, 35, 63, 0.06);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Rubik', 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(180deg, #fdfdfd 0%, #f7f7f8 60%, #f2f3f5 100%);
  background-attachment: fixed;
  color: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 56px;
  flex: 1;
}

/* Header */
.site-header {
  text-align: center;
  margin-bottom: 24px;
}

.site-header .logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
  border: 2px solid var(--navy);
  width: 56px;
  height: 56px;
  line-height: 52px;
  border-radius: 50%;
  margin: 0 auto 10px;
}

.site-header .firm-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy);
}

.site-header .firm-sub {
  font-size: 0.95rem;
  color: var(--gold);
  margin: 0;
  position: relative;
  display: inline-block;
  padding: 0 20px;
}

.site-header .firm-sub::before,
.site-header .firm-sub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.site-header .firm-sub::before { right: 0; }
.site-header .firm-sub::after { left: 0; }

/* Progress indicator */
.progress-indicator {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 110px;
}

.progress-step .circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border-soft);
  background: var(--cream-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.progress-step.active .circle {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 35, 63, 0.25);
}

.progress-step.done .circle {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.progress-step .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

.progress-step.active .label {
  color: var(--navy);
}

.progress-line {
  width: 40px;
  height: 2px;
  background: var(--border-soft);
  margin-top: 19px;
}

.progress-line.done {
  background: var(--gold);
}

/* Steps */
.step {
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.headline {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 2px;
  line-height: 1.2;
}

.subheadline {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--navy);
}

.accent {
  color: var(--gold);
}

.desc {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 4px;
}

.desc-bold {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin: 4px 0 24px;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .headline { font-size: 2rem; }
  .subheadline { font-size: 1.4rem; }
}

.feature {
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--gold);
}

.feature h3 {
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--navy);
}

.feature p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Service options (step 2) */
.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 480px;
  margin: 28px auto 32px;
}

.service-option {
  background: var(--cream-card);
  border: 2px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.service-option:hover {
  transform: translateY(-2px);
}

.service-option.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.15), var(--shadow);
}

.service-option .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  color: var(--gold);
}

.service-option h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--navy);
}

.service-option p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Price options (step 3) */
.price-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 560px;
  margin: 24px auto 24px;
}

@media (max-width: 560px) {
  .price-options { grid-template-columns: 1fr; }
}

.price-option {
  background: var(--cream-card);
  border: 2px solid var(--border-soft);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.price-option:hover {
  transform: translateY(-2px);
}

.price-option.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.15), var(--shadow);
}

.price-option h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--navy);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.price-old {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-new {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* Addon toggle (will offer) */
.addon-toggle {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 28px;
  background: var(--cream-card);
  border: 2px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.addon-toggle:hover {
  border-color: #d8dce2;
}

.addon-toggle.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 90, 0.12);
}

.addon-toggle-box {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 6px;
  border: 2px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.addon-toggle.active .addon-toggle-box {
  background: var(--gold);
  border-color: var(--gold);
}

.addon-check-icon {
  width: 14px;
  height: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.addon-toggle.active .addon-check-icon {
  opacity: 1;
}

.addon-toggle-text {
  flex: 1;
  min-width: 0;
}

.addon-toggle-text h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: var(--navy);
}

.addon-toggle-text .addon-disclaimer {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

/* Location field */
.location-field {
  max-width: 520px;
  margin: 0 auto 20px;
}

.location-field label {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.autocomplete {
  position: relative;
}

.autocomplete input {
  width: 100%;
  padding: 13px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s ease;
  text-align: right;
}

.autocomplete input:focus {
  border-color: var(--gold);
}

.autocomplete input.valid {
  border-color: #5a9d6d;
}

.suggestions {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  position: absolute;
  z-index: 20;
  top: 100%;
  right: 0;
  left: 0;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 260px;
  overflow-y: auto;
}

.suggestions li {
  padding: 13px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.98rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.suggestions li:hover,
.suggestions li.highlighted {
  background: var(--cream);
  color: var(--gold);
}

.suggestions .no-results {
  color: var(--text-muted);
  cursor: default;
  justify-content: center;
  font-size: 0.9rem;
}

.suggestions .no-results:hover {
  background: none;
  color: var(--text-muted);
}

/* CTA button */
.btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 24px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22, 35, 63, 0.25);
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.2s ease;
}

.btn-continue .arrow {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.btn-continue:not(:disabled):hover {
  transform: translateY(-2px);
  background: var(--navy-light);
}

.btn-continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-back {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
}

.placeholder-step {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Lead form (step 4) */
.lead-form {
  max-width: 480px;
  margin: 24px auto 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-field input {
  width: 100%;
  padding: 13px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  outline: none;
  text-align: right;
  transition: border-color 0.2s ease;
}

.form-field input:focus {
  border-color: var(--gold);
}

.form-error {
  max-width: 480px;
  margin: 0 auto 12px;
  color: #b3413b;
  font-size: 0.9rem;
  text-align: center;
}

/* Success message */
.success-box {
  text-align: center;
  padding: 40px 20px;
}

.success-box .icon-lg {
  width: 64px;
  height: 64px;
  color: var(--gold);
  margin: 0 auto 16px;
}

.success-box h2 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.success-box p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  text-align: center;
  padding: 16px 20px;
}

.site-footer p {
  margin: 0;
  color: #fff;
  opacity: 0.85;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
}

/* Mobile */
@media (max-width: 640px) {
  .page {
    padding: 20px 16px 40px;
  }

  .site-header {
    margin-bottom: 18px;
  }

  .site-header .logo {
    width: 46px;
    height: 46px;
    line-height: 42px;
    font-size: 1.7rem;
  }

  .site-header .firm-name {
    font-size: 1.2rem;
  }

  .site-header .firm-sub {
    font-size: 0.8rem;
  }

  .progress-indicator {
    margin-bottom: 18px;
  }

  .progress-step {
    width: 54px;
    gap: 6px;
  }

  .progress-step .circle {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    border-width: 1.5px;
  }

  .progress-step .label {
    display: none;
  }

  .progress-step.active .label {
    display: block;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .progress-line {
    width: 14px;
    margin-top: 14px;
  }

  .headline {
    font-size: 1.7rem;
  }

  .subheadline {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .desc-bold {
    font-size: 0.92rem;
    margin: 4px 0 18px;
  }

  .features {
    gap: 10px;
    margin-top: 20px;
  }

  .feature {
    padding: 14px 8px;
    border-radius: 12px;
  }

  .feature .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
  }

  .feature h3 {
    font-size: 0.85rem;
  }

  .feature p {
    font-size: 0.72rem;
  }

  .service-options {
    gap: 12px;
    margin: 20px auto 24px;
  }

  .service-option {
    padding: 16px 10px;
    border-radius: 14px;
  }

  .service-option .icon {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }

  .service-option h3 {
    font-size: 0.92rem;
  }

  .service-option p {
    font-size: 0.75rem;
  }

  .price-options {
    gap: 12px;
    margin: 18px auto 18px;
  }

  .price-option {
    padding: 18px 14px;
  }

  .price-new {
    font-size: 1.3rem;
  }

  .addon-toggle {
    padding: 14px;
    gap: 10px;
    margin-bottom: 20px;
  }

  .addon-toggle-text h4 {
    font-size: 0.9rem;
  }

  .location-field {
    margin-bottom: 16px;
  }

  .btn-continue {
    font-size: 1.05rem;
    padding: 13px 20px;
  }

  .success-box {
    padding: 24px 12px;
  }

  .success-box h2 {
    font-size: 1.35rem;
  }
}

@media (max-width: 360px) {
  .progress-step {
    width: 46px;
  }

  .progress-line {
    width: 8px;
  }

  .headline {
    font-size: 1.5rem;
  }

  .subheadline {
    font-size: 1.1rem;
  }
}
