.match-quiz {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.5rem 0 2.5rem;
}

.match-quiz.is-close {
  max-width: 48rem;
}

.match-quiz__chrome {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  margin-bottom: 1.15rem;
}

.match-quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.match-quiz__back[hidden] {
  display: none;
}

.match-quiz__back:hover,
.match-quiz__back:focus-visible {
  color: var(--color-ink);
}

.match-quiz__progress {
  display: grid;
  grid-template-columns: repeat(var(--match-seg, 11), minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0 0 1.5rem;
}

.match-quiz__seg {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: var(--border-default);
}

.match-quiz__seg.is-done {
  background: var(--navy-800);
}

.match-quiz__seg.is-current {
  background: var(--orange-500);
}

.match-quiz__heading {
  margin: 0 0 0.7rem;
  color: var(--navy-900);
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.match-quiz__heading em {
  font-style: normal;
  color: var(--orange-500);
}

.match-quiz__lead {
  margin: 0 auto 1.5rem;
  max-width: 38ch;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: center;
}

.match-quiz__card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.match-quiz__body {
  padding: 1.5rem 1.35rem 1.35rem;
}

@media (min-width: 640px) {
  .match-quiz__body {
    padding: 1.85rem 1.75rem 1.5rem;
  }
}

.match-quiz__question {
  margin: 0 0 1.15rem;
  color: var(--color-ink);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
}

.match-quiz__copy {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.match-quiz__pills {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-quiz__pill {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--navy-900);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}

.match-quiz__pill:hover,
.match-quiz__pill:focus-visible {
  background: #d7f0ee;
  outline: none;
}

.match-quiz__pill.is-selected {
  border-color: var(--orange-500);
  background: var(--orange-100);
  box-shadow: 0 0 0 3px rgba(243, 101, 42, 0.18);
}

.match-quiz__checks {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.match-quiz__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.65rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--color-ink);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.match-quiz__check:hover,
.match-quiz__check:focus-visible {
  background: var(--bg-soft);
  outline: none;
}

.match-quiz__box {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  border: 1.5px solid var(--border-control);
  border-radius: 0.22rem;
  background: var(--bg-main);
}

.match-quiz__check.is-selected .match-quiz__box {
  border-color: var(--orange-500);
  background: var(--orange-500);
  box-shadow: inset 0 0 0 2px #fff;
}

.match-quiz__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.15rem;
}

.match-quiz__next {
  min-width: 7.5rem;
  border-radius: 999px;
}

.match-quiz__next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.match-quiz__start {
  width: 100%;
}

.match-quiz__hint {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem 1.05rem;
  background: var(--teal-100);
  color: var(--navy-800);
  font-size: 0.88rem;
  line-height: 1.5;
}

.match-quiz__hint-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.inner-content .match-quiz .match-quiz__crisis {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 1.15rem 0 0;
  padding: 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.inner-content .match-quiz .match-quiz__crisis a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.inner-content .match-quiz .match-quiz__crisis a:hover {
  color: var(--navy-800);
}

.match-quiz__close-kicker {
  margin: 0.35rem 0 0.85rem;
  color: var(--navy-800);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.match-quiz__close-lead {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

.match-quiz__cols {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
  .match-quiz__cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.match-quiz__col {
  padding: 1rem 1rem 0.9rem;
  border-radius: 0.85rem;
  background: var(--bg-soft);
}

.match-quiz__col--ours {
  background: var(--teal-100);
}

.match-quiz__col h3 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}

.match-quiz__col ul {
  margin: 0;
  padding: 0 0 0 1.05rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.match-quiz__col li + li {
  margin-top: 0.4rem;
}

.match-quiz__note {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.match-quiz__cta-wrap {
  display: grid;
  gap: 0.65rem;
}

.match-quiz__phone {
  color: var(--navy-800);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.match-quiz__phone:hover {
  color: var(--orange-500);
}

.match-quiz__booking,
.match-quiz__booking-inner,
.match-quiz [data-booking-view="form"],
.match-quiz .booking-form,
.match-quiz .booking-form__scroll,
.match-quiz .booking-form__actions,
.match-quiz__booking-call {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.match-quiz__booking {
  margin: 1.25rem 0 0;
}

.match-quiz__booking-inner {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.match-quiz .booking-form__scroll {
  padding: 1.35rem 1.25rem 0.25rem;
  overflow-x: hidden;
  overflow-y: visible;
}

@media (min-width: 640px) {
  .match-quiz .booking-form__scroll {
    padding: 1.6rem 1.6rem 0.35rem;
  }
}

.match-quiz .booking-form__actions {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 0;
  background: transparent;
}

@media (min-width: 640px) {
  .match-quiz .booking-form__actions {
    padding: 1rem 1.6rem 1.5rem;
  }
}

.match-quiz .booking-form__submit {
  width: 100%;
}

.match-quiz__booking-title {
  margin: 0 0 1.25rem;
  color: var(--navy-800);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
}

.match-quiz__booking-call {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 1.25rem 1.35rem;
}

@media (min-width: 640px) {
  .match-quiz__booking-call {
    padding: 0 1.6rem 1.6rem;
  }
}

.match-quiz__or {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0.15rem 0 1rem;
  gap: 0.9rem;
}

.match-quiz__or::before,
.match-quiz__or::after {
  content: "";
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  background: var(--border-default);
}

.match-quiz__or span {
  flex: 0 0 auto;
  color: var(--navy-800);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}

.match-quiz__booking-call-copy {
  display: block;
  width: 100%;
  margin: 0 auto 1rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.match-quiz__booking-call .booking-modal__call {
  width: 100%;
}
