.mapa-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 185, 129, .11), transparent 29rem),
    radial-gradient(circle at 88% 80%, rgba(245, 158, 11, .16), transparent 31rem),
    #fffbeb;
}

.mapa-shell {
  max-width: 860px;
  min-height: 590px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #fde7c5;
  border-radius: 1.5rem;
  box-shadow: 0 24px 70px rgba(120, 53, 15, .12);
  overflow: hidden;
}

.mapa-screen {
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
}

.mapa-screen[hidden] { display: none !important; }

.mapa-mark {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: .36rem;
  height: 3rem;
  margin-bottom: 1.25rem;
}

.mapa-mark span {
  display: block;
  width: .38rem;
  border-radius: 999px;
  background: #047857;
  transform-origin: bottom;
}

.mapa-mark span:nth-child(1) { height: 1.55rem; transform: rotate(-28deg); }
.mapa-mark span:nth-child(2) { height: 2.7rem; }
.mapa-mark span:nth-child(3) { height: 1.55rem; transform: rotate(28deg); }

.mapa-eyebrow {
  margin-bottom: .8rem;
  color: #047857;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.mapa-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin: 0 auto 2rem;
}

.mapa-facts span {
  padding: .5rem .85rem;
  border: 1px solid #fde7c5;
  border-radius: 999px;
  background: #fffbeb;
  color: #78350f;
  font-size: .88rem;
  font-weight: 700;
}

.mapa-main-button,
.mapa-action-primary,
.mapa-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .78rem 1.45rem;
  border-radius: .7rem;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.mapa-main-button,
.mapa-action-primary {
  border: 1px solid #ea580c;
  background: #ea580c;
  color: #fff;
  box-shadow: 0 8px 22px rgba(234, 88, 12, .17);
}

.mapa-action-secondary {
  border: 1px solid #047857;
  background: #fff;
  color: #047857;
}

.mapa-main-button:hover,
.mapa-action-primary:hover,
.mapa-action-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(120, 53, 15, .16);
}

.mapa-main-button:focus-visible,
.mapa-action-primary:focus-visible,
.mapa-action-secondary:focus-visible,
.mapa-option:focus-visible,
.mapa-text-button:focus-visible {
  outline: 3px solid rgba(217, 119, 6, .42);
  outline-offset: 3px;
}

.mapa-small-note {
  margin-top: 1.15rem;
  color: #78716c;
  font-size: .88rem;
}

.mapa-step-heading { margin-bottom: 2rem; }

.mapa-options {
  display: grid;
  gap: .78rem;
  max-width: 670px;
  margin: 0 auto 1.5rem;
}

.mapa-option {
  width: 100%;
  min-height: 3.4rem;
  padding: .85rem 1rem;
  border: 1px solid #fed7aa;
  border-radius: .8rem;
  background: #fffaf3;
  color: #451a03;
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.mapa-option:hover,
.mapa-option[aria-pressed="true"] {
  border-color: #d97706;
  background: #fff2dd;
  transform: translateY(-1px);
}

.mapa-answer-options {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: none;
}

.mapa-answer-options .mapa-option {
  min-height: 5rem;
  text-align: center;
  font-size: .94rem;
}

.mapa-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.mapa-progress-row .mapa-eyebrow { margin-bottom: 0; }

.mapa-dimension-label {
  color: #78716c;
  font-size: .84rem;
  font-weight: 650;
}

.mapa-progress {
  height: .42rem;
  margin: .85rem 0 2.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: #f5e7d3;
}

.mapa-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #d97706, #047857);
  transition: width .28s ease;
}

.mapa-question-block {
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mapa-context {
  max-width: 620px;
  margin: 0 auto 1.2rem;
  color: #78716c;
  font-size: .9rem;
}

.mapa-question-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
}

.mapa-text-button {
  padding: .45rem .2rem;
  border: 0;
  background: transparent;
  color: #92400e;
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .22rem;
}

.mapa-personal-note {
  margin: 0 0 1.6rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #d97706;
  background: #fffbeb;
  color: #78350f;
  text-align: left;
  line-height: 1.65;
}

.mapa-focus-card {
  margin: 2rem 0;
  padding: 1.7rem;
  border: 1px solid #a7f3d0;
  border-radius: 1rem;
  background: #f0fdf4;
  text-align: left;
}

.mapa-suggestions {
  margin: 2rem 0;
  text-align: left;
}

.mapa-suggestions ul {
  display: grid;
  gap: .8rem;
  padding: 0;
  list-style: none;
}

.mapa-suggestions li {
  position: relative;
  padding-left: 1.7rem;
  color: #44403c;
  line-height: 1.6;
}

.mapa-suggestions li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .65rem;
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: #d97706;
}

.mapa-closing {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-top: 1px solid #fde7c5;
  border-bottom: 1px solid #fde7c5;
  color: #78350f;
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.65;
}

.mapa-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 1.7rem;
}

.mapa-restart { margin-top: 1.3rem; }

.mapa-info-card {
  padding: 1.55rem;
  border-top: 4px solid #047857;
  border-radius: .85rem;
  background: #fffbeb;
}

.mapa-info-card h3 {
  margin-bottom: .55rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.mapa-info-card p {
  color: #57534e;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .mapa-shell { min-height: 0; border-radius: 1.1rem; }
  .mapa-answer-options { grid-template-columns: 1fr; }
  .mapa-answer-options .mapa-option { min-height: 3.4rem; }
  .mapa-question-block { min-height: 10.5rem; }
  .mapa-progress-row { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .mapa-question-nav { flex-wrap: wrap; }
  .mapa-result-actions { flex-direction: column; }
  .mapa-action-primary, .mapa-action-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mapa-main-button,
  .mapa-action-primary,
  .mapa-action-secondary,
  .mapa-option,
  .mapa-progress span { transition: none; }
}
