.funnel [hidden],
.quiz-form [hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.quiz-section {
  
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--yellow);
}
.advertorial .quiz-section > h2 {
  margin: 0 0 16px;
  text-align: center;
}
.quiz-section > p {
  font-size: 16px;
  text-align: left;
}
.quiz-card {
  margin: 0;
  padding: 32px 24px 34px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
}
.quiz-progress {
  margin-bottom: 8px;
}
.quiz-progress__track {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #ffe7c5;
}
.quiz-progress__value {
  height: 100%;
  background: var(--yellow);
  transition: width 0.2s ease;
}
.quiz-step {
  display: none;
}
.quiz-step.is-active {
  display: block;
}
.quiz-step__question {
  margin: 0 0 14px !important;
  color: #c99700 !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
  text-align: center;
}
.quiz-step__question:focus {
  outline: 0;
}
.quiz-step__answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.quiz-step__answers--icons {
  grid-template-columns: 136px 136px 84px;
  justify-content: center;
  gap: 20px;
}
.quiz-step__answers--single {
  grid-template-columns: 1fr;
}
.quiz-option {
  min-height: 48px;
  padding: 9px;
  border: 0;
  border-radius: 2px;
  background: #fff6d8;
  color: #000;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}
.quiz-option:hover,
.quiz-option.is-selected {
  background: #ffe784;
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.quiz-option--icon {
  min-height: 76px;
}
.quiz-option__icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 4px;
}
.quiz-option__label {
  display: block;
  font-weight: 700;
}
.quiz-location {
  display: block;
  margin-bottom: 8px;
  color: #aaa;
  font-size: 14px;
}
.quiz-contact-copy {
  margin: 0 auto 12px !important;
  max-width: 530px;
  color: #999;
  font-size: 14px;
  text-align: center;
}
.quiz-contact-fields {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.quiz-field {
  position: relative;
  display: block;
}
.quiz-field input,
.quiz-field select {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  color: #171717;
  font-size: 16px;
  outline: none;
}
.quiz-field input::placeholder {
  color: #b8b8b8;
}
.quiz-field input:focus,
.quiz-field select:focus {
  border-color: #d2a500;
  box-shadow: 0 0 0 2px rgb(255 208 0 / 15%);
}
.quiz-field input.is-invalid {
  border-color: #b42318;
}
.quiz-field-error {
  display: block;
  padding-top: 3px;
  color: #b42318;
  font-size: 14px;
}
.quiz-field--phone {
  display: grid;
  grid-template-columns: 88px 1fr;
}
.quiz-field--phone .phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  font-size: 11px;
}
.quiz-field--phone input {
  border-radius: 0 2px 2px 0;
}
.quiz-field--phone .quiz-field-error {
  grid-column: 1/-1;
}
.quiz-next {
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-radius: 2px;
  background: var(--yellow);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}
.quiz-next:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.quiz-back {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 16px;
  cursor: pointer;
}
.quiz-consent {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 0 !important;
  padding-top: 12px;
  color: #aaa;
  font-size: 14px !important;
  line-height: 1.35;
}
.quiz-consent img {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
.quiz-error {
  margin: 0 0 10px !important;
  padding-top: 10px;
  color: #b42318;
  font-size: 14px !important;
  text-align: center;
}
.quiz-page {
  min-height: calc(100vh - 170px);
  display: grid;
  place-items: center;
  padding: 40px 16px;
}
.quiz-page .quiz-card {
  width: min(590px, 100%);
  margin: 0;
}
.quiz-page .quiz-section {
  width: min(650px, 100%);
}
.quiz-success {
  padding: 20px 10px 28px;
  text-align: center;
}
.quiz-success:focus {
  outline: 0;
}
.quiz-success img {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}
.quiz-success h2 {
  margin: 0 0 10px !important;
  color: #000;
  font-size: 24px !important;
}
.quiz-success p {
  max-width: 520px;
  margin: 0 auto !important;
  color: #999;
  font-size: 16px !important;
}
.thank-you-page {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 50px 16px;
}
.thank-you-card {
  width: min(620px, 100%);
  padding: 45px 32px;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}
.thank-you-illustration {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
}
.thank-you-card h1 {
  margin: 0 0 10px;
  color: #000;
  font-size: 24px;
}
.thank-you-card p {
  margin: 0;
  color: #999;
  font-size: 16px;
}
@media (max-width: 600px) {
  .quiz-section {
    padding: 24px;
  }
  .quiz-card {
    padding: 32px 24px 34px;
  }
  .quiz-step__answers {
    gap: 16px;
  }
  .quiz-step__answers--icons {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
  }
  .quiz-step__answers--icons .quiz-option:nth-child(1),
  .quiz-step__answers--icons .quiz-option:nth-child(2) {
    width: 150px;
  }
  .quiz-step__answers--icons .quiz-option:nth-child(3) {
    width: 92px;
  }
  .quiz-field--phone {
    grid-template-columns: 78px 1fr;
  }
}
.quiz-step__question,
.quiz-success h2 {
  font-weight: 700 !important;
}
