.impact-map,
.impact-contact-card {
  --map-navy: #004a82;
  --map-ink: #121820;
  --map-muted: #5f6c78;
  --map-brass: #f1a026;
  --map-line: #d9e3ef;
  --map-ivory: #f4f7fb;
  --map-white: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px);
  color: var(--map-ink);
  background: var(--map-white);
  border: 1px solid rgba(0,74,130,.11);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,74,130,.09);
}

.impact-map__progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  background: #e6edf6;
}

.impact-map__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--map-brass), #8ba8da, #004a82);
  transition: width 360ms ease;
}

.impact-map__step {
  display: none;
}

.impact-map__step.is-active {
  display: block;
  animation: impactMapIn 320ms ease both;
}

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

.impact-map__intro-grid,
.impact-map__result-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,.52fr);
  gap: clamp(34px,7vw,90px);
  align-items: start;
  margin-bottom: 34px;
}

.impact-map__kicker,
.impact-map__step-heading > span {
  display: block;
  margin-bottom: 14px;
  color: var(--map-brass);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.impact-map h3 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--map-navy);
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(2rem,4vw,3.55rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.impact-map h4 {
  margin: 0 0 14px;
  color: var(--map-navy);
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(1.55rem,2.7vw,2.35rem);
  font-weight: 500;
  line-height: 1.1;
}

.impact-map p {
  color: var(--map-muted);
}

.impact-map__legend {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 6px 0 0;
  list-style: none;
}

.impact-map__legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--map-navy);
  font-size: .9rem;
  font-weight: 700;
}

.impact-map__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--map-brass);
  box-shadow: 0 0 0 6px rgba(241,160,38,.12);
}

.impact-map__legend-dot--finance { background:#8ba8da; box-shadow:0 0 0 6px rgba(139,168,218,.13); }
.impact-map__legend-dot--process { background:#2f6e55; box-shadow:0 0 0 6px rgba(47,110,85,.11); }
.impact-map__legend-dot--people { background:#8069a8; box-shadow:0 0 0 6px rgba(128,105,168,.11); }

.impact-map__button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  color: #fff;
  background: var(--map-navy);
  border: 1px solid var(--map-navy);
  border-radius: 999px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.impact-map__button:hover,
.impact-map__button:focus-visible {
  background: #2a63aa;
  box-shadow: 0 10px 25px rgba(0,74,130,.18);
  transform: translateY(-1px);
}

.impact-map__button:disabled {
  opacity: .58;
  cursor: wait;
  transform: none;
}

.impact-map__button--ghost {
  color: var(--map-navy);
  background: transparent;
  border-color: var(--map-line);
}

.impact-map__button--ghost:hover {
  color: var(--map-navy);
  background: var(--map-ivory);
  border-color: var(--map-navy);
}

.impact-map__disclaimer {
  margin: 20px 0 0;
  font-size: .72rem;
}

.impact-map__step-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.impact-map__questions {
  display: grid;
  gap: 16px;
}

.impact-map__question {
  padding: clamp(20px,3vw,32px);
  margin: 0;
  background: #fff;
  border: 1px solid var(--map-line);
  border-radius: 18px;
}

.impact-map__question legend {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-bottom: 24px;
  color: var(--map-navy);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.45;
}

.impact-map__question legend span {
  color: var(--map-brass);
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: 1.1rem;
}

.impact-map__scale {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
}

.impact-map__scale label {
  position: relative;
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 8px 4px;
  cursor: pointer;
  text-align: center;
}

.impact-map__scale input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.impact-map__scale label > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--map-navy);
  background: var(--map-ivory);
  border: 1px solid var(--map-line);
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 800;
  transition: all 160ms ease;
}

.impact-map__scale input:checked + span {
  color: #fff;
  background: var(--map-navy);
  border-color: var(--map-navy);
  box-shadow: 0 0 0 5px rgba(18,35,63,.1);
  transform: scale(1.06);
}

.impact-map__scale input:focus-visible + span {
  outline: 3px solid rgba(110,158,207,.7);
  outline-offset: 3px;
}

.impact-map__scale small {
  min-height: 18px;
  margin-top: 7px;
  color: var(--map-muted);
  font-size: .58rem;
  line-height: 1.15;
}

.impact-map__navigation,
.impact-map__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 30px;
}

.impact-map__result-actions {
  justify-content: flex-start;
}

.impact-map__validation {
  min-height: 24px;
  margin-top: 15px;
  color: #a13b3b;
  font-size: .82rem;
  font-weight: 700;
}

.impact-map__result-heading {
  max-width: 850px;
  margin-bottom: 40px;
}

.impact-map__chart {
  display: grid;
  gap: 24px;
}

.impact-map__result-row-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.impact-map__result-row-heading strong {
  color: var(--map-navy);
  font-size: .88rem;
}

.impact-map__result-row-heading span {
  color: var(--map-navy);
  font-family: "Iowan Old Style", Baskerville, serif;
  font-size: 1.45rem;
}

.impact-map__bar {
  height: 10px;
  overflow: hidden;
  background: #ebe7df;
  border-radius: 999px;
}

.impact-map__bar span {
  display: block;
  height: 100%;
  background: var(--map-brass);
  border-radius: inherit;
  transition: width 800ms cubic-bezier(.2,.8,.2,1);
}

.impact-map__result-row--finance .impact-map__bar span { background:#6e9ecf; }
.impact-map__result-row--process .impact-map__bar span { background:#2f6e55; }
.impact-map__result-row--people .impact-map__bar span { background:#8069a8; }

.impact-map__result-row small {
  display: block;
  margin-top: 7px;
  color: var(--map-muted);
  font-size: .68rem;
}

.impact-map__recommendation {
  padding: clamp(24px,4vw,38px);
  background: var(--map-ivory);
  border-radius: 22px;
}

.impact-map__recommendation ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.impact-map__recommendation li {
  position: relative;
  padding-left: 22px;
  color: var(--map-navy);
  font-size: .84rem;
  font-weight: 700;
}

.impact-map__recommendation li::before {
  position: absolute;
  top: .6em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--map-brass);
  border-radius: 50%;
  content: "";
}

.impact-map__lead-panel {
  display: grid;
  grid-template-columns: minmax(230px,.48fr) minmax(0,1fr);
  gap: clamp(30px,6vw,80px);
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--map-line);
}

.impact-map__lead-panel[hidden] {
  display: none;
}

.impact-form {
  display: grid;
  gap: 18px;
}

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

.impact-form label {
  display: grid;
  gap: 7px;
  color: var(--map-navy);
  font-size: .78rem;
  font-weight: 700;
}

.impact-form input[type="text"],
.impact-form input[type="email"],
.impact-form input[type="tel"],
.impact-form select,
.impact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  color: var(--map-ink);
  background: #fff;
  border: 1px solid var(--map-line);
  border-radius: 10px;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.impact-form textarea {
  resize: vertical;
}

.impact-form input:focus,
.impact-form select:focus,
.impact-form textarea:focus {
  border-color: #6e9ecf;
  box-shadow: 0 0 0 4px rgba(110,158,207,.13);
}

.impact-form__full {
  grid-column: 1 / -1;
}

.impact-form__check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  align-items: start;
  color: var(--map-muted) !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.impact-form__check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--map-navy);
}

.impact-form__status {
  min-height: 24px;
  color: var(--map-muted);
  font-size: .82rem;
  font-weight: 700;
}

.impact-form__status[data-status="success"] { color:#2f6e55; }
.impact-form__status[data-status="error"] { color:#a13b3b; }

.impact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px) !important;
}

.impact-contact-card {
  max-width: 900px;
  margin: 30px auto;
}

@media (max-width: 760px) {
  .impact-map__intro-grid,
  .impact-map__result-grid,
  .impact-map__lead-panel,
  .impact-form__grid {
    grid-template-columns: 1fr;
  }

  .impact-map__scale label {
    min-height: 82px;
  }

  .impact-map__navigation,
  .impact-map__result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .impact-map__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .impact-map,
  .impact-contact-card {
    padding: 25px 18px;
    border-radius: 20px;
  }

  .impact-map__question {
    padding: 20px 12px;
  }

  .impact-map__scale {
    gap: 2px;
  }

  .impact-map__scale label > span {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .impact-map__step.is-active { animation: none; }
  .impact-map__progress span,
  .impact-map__bar span { transition: none; }
}

@media print {
  body.impact-map-print-mode > *:not(.site-main):not(main),
  body.impact-map-print-mode .site-header,
  body.impact-map-print-mode .site-footer,
  body.impact-map-print-mode main > *:not(:has(.impact-map.is-printing)),
  body.impact-map-print-mode .impact-map:not(.is-printing) {
    display: none !important;
  }

  .impact-map.is-printing {
    box-shadow: none;
    border: 0;
    padding: 20px;
  }

  .impact-map.is-printing .impact-map__step:not([data-map-step="result"]),
  .impact-map.is-printing .impact-map__progress,
  .impact-map.is-printing .impact-map__result-actions,
  .impact-map.is-printing .impact-map__lead-panel {
    display: none !important;
  }

  .impact-map.is-printing [data-map-step="result"] {
    display: block !important;
  }
}
