:root {
  --investigadores-black: #212121;
  --investigadores-blue: #003cc5;
  --investigadores-blue-hover: #0033a7;
  --investigadores-turquoise: #bcfff3;
}

.investigadores-flow {
  box-sizing: border-box;
  margin: 0;
  padding: 48px;
  border-radius: 40px;
  background: var(--investigadores-turquoise);
  color: var(--investigadores-black);
  font-family: "Hanken Grotesk", sans-serif;
}

.investigadores-flow,
.investigadores-flow * {
  box-sizing: border-box;
}

.investigadores-flow__step {
  display: inline-block;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--investigadores-black);
  color: var(--investigadores-black);
  font-family: "Funnel Display", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  text-transform: uppercase;
}

.investigadores-flow__question,
.investigadores-flow__result-title {
  max-width: 860px;
  margin: 0 0 32px;
  color: var(--investigadores-black);
  font-family: "Funnel Display", sans-serif;
  font-weight: 300;
}

.investigadores-flow__question {
  font-size: 28px;
  line-height: 1.25;
}

.investigadores-flow__result-title {
  margin-bottom: 24px;
  font-size: 36px;
  line-height: 1.2;
}

.investigadores-flow__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.investigadores-flow .investigadores-flow__option {
  flex: 0 0 calc(50% - 6px);
  width: calc(50% - 6px);
  min-height: 92px;
  padding: 16px 20px;
  border: 1px solid var(--investigadores-blue);
  background-color: var(--investigadores-blue);
  color: #ffffff;
  font-size: 18px;
  text-align: center;
}

.investigadores-flow .investigadores-flow__option,
.investigadores-flow .form-actions .button {
  box-sizing: border-box;
  display: block;
  margin: 0;
  border-radius: 4px;
  font-family: "Funnel Display", sans-serif;
  font-weight: 300;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.investigadores-flow .investigadores-flow__option-label {
  display: block;
}

.investigadores-flow .investigadores-flow__option:hover,
.investigadores-flow .investigadores-flow__option:focus-visible {
  border-color: var(--investigadores-blue-hover);
  background-color: var(--investigadores-blue-hover);
  color: #ffffff;
  box-shadow: none;
}

.investigadores-flow .investigadores-flow__option:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.investigadores-flow .form-actions {
  display: flex;
  justify-content: flex-start;
  margin: 32px 0 0;
  padding: 0;
}

.investigadores-flow .form-actions .button {
  min-height: 55px;
  padding: 14px 20px;
  border: 1px solid var(--investigadores-black);
  background-color: transparent;
  color: var(--investigadores-black);
  font-size: 18px;
}

.investigadores-flow .form-actions .button:hover,
.investigadores-flow .form-actions .button:focus-visible {
  border-color: var(--investigadores-black);
  background-color: var(--investigadores-black);
  color: #ffffff;
  box-shadow: none;
}

.investigadores-flow__result-body {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--investigadores-black);
  font-size: 18px;
  line-height: 1.55;
}

.investigadores-flow__result-body > :first-child {
  margin-top: 0;
}

.investigadores-flow__result-body > :last-child {
  margin-bottom: 0;
}

.investigadores-flow__result-body h2,
.investigadores-flow__result-body h3,
.investigadores-flow__result-body h4 {
  font-family: "Funnel Display", sans-serif;
  font-weight: 300;
}

.investigadores-flow__result-body a {
  color: var(--investigadores-black);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.investigadores-flow__summary {
  max-width: 760px;
  margin: 32px 0 0;
  padding: 24px;
  border: 1px solid var(--investigadores-black);
  border-radius: 4px;
  background: #ffffff;
}

.investigadores-flow__summary-title {
  margin: 0 0 12px;
  font-family: "Funnel Display", sans-serif;
  font-weight: 700;
}

.investigadores-flow__summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.investigadores-flow__summary li {
  margin-bottom: 0.35rem;
}

@media (max-width: 767px) {
  .investigadores-flow {
    padding: 28px 20px;
    border-radius: 28px;
  }

  .investigadores-flow__step {
    margin-bottom: 16px;
  }

  .investigadores-flow__question {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .investigadores-flow .investigadores-flow__option {
    flex-basis: 100%;
    width: 100%;
    min-height: 76px;
    font-size: 16px;
  }

  .investigadores-flow__result-title {
    font-size: 28px;
  }

  .investigadores-flow__result-body {
    font-size: 16px;
  }
}

.investigadores-flow .investigadores-flow__option:focus-visible,
.investigadores-flow .form-actions .button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .investigadores-flow .investigadores-flow__option,
  .investigadores-flow .form-actions .button {
    transition: none;
  }
}
