:root {
  --nav-ink: #07203a;
  --nav-navy: #0e3a63;
  --nav-emerald: #10a972;
  --nav-emerald-dark: #0d7f58;
  --nav-paper: #f6faf8;
  --nav-mist: #edf6f1;
  --nav-line: #d8e6df;
  --nav-text: #0f2233;
  --nav-muted: #526575;
  --nav-white: #fff;
  --nav-shadow: 0 24px 64px rgba(7, 32, 58, .11);
}

.svc-cat main {
  overflow: clip;
}

.nav-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.nav-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--nav-emerald-dark);
  font: 700 11px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-kicker > span {
  width: 34px;
  height: 2px;
  background: currentColor;
}

.nav-button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 800 14px/1 Manrope, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.nav-button:hover {
  transform: translateY(-2px);
}

.nav-button:focus-visible,
.nav-quick a:focus-visible,
.route-options label:focus-within,
.route-match:focus-visible,
.nav-field input:focus-visible,
.nav-field select:focus-visible {
  outline: 3px solid rgba(16, 169, 114, .32);
  outline-offset: 3px;
}

.nav-button--primary {
  background: var(--nav-emerald);
  color: #fff;
}

.nav-button--primary:hover {
  background: #0e9565;
  color: #fff;
}

.nav-button--ghost {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.nav-button--ghost:hover {
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.nav-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 5vw, 70px) 0 30px;
  background:
    radial-gradient(circle at 83% 14%, rgba(16, 169, 114, .22), transparent 26%),
    radial-gradient(circle at 7% 88%, rgba(38, 108, 166, .24), transparent 34%),
    var(--nav-ink);
  color: #fff;
}

.nav-hero::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(255, 255, 255, .025), 0 0 0 128px rgba(255, 255, 255, .018);
  content: "";
}

.nav-hero__gridlines {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .65;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 92%);
}

.nav-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(34px, 5vw, 68px);
  color: rgba(255, 255, 255, .58);
  font: 500 12px/1.4 "IBM Plex Mono", monospace;
}

.nav-breadcrumbs a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

.nav-breadcrumbs .ms {
  color: var(--nav-emerald);
  font-size: 16px;
}

.nav-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(285px, 350px);
  gap: clamp(44px, 8vw, 112px);
  align-items: end;
}

.nav-hero__copy .nav-kicker {
  color: #60ddb0;
}

.nav-hero__copy h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font: 750 clamp(42px, 6.3vw, 78px)/.98 "IBM Plex Sans Condensed", sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.nav-hero__copy > p:not(.nav-kicker) {
  max-width: 780px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .73);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.72;
}

.nav-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.nav-route-card {
  position: relative;
  border: 1px solid rgba(115, 223, 183, .32);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.nav-route-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .54);
  font: 600 10px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-route-card__live {
  color: #72e4b9;
}

.nav-route-card__line {
  position: relative;
  height: 34px;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-route-card__line::before {
  position: absolute;
  left: 5px;
  right: 5px;
  height: 1px;
  background: linear-gradient(90deg, #60ddb0, rgba(96, 221, 176, .18));
  content: "";
}

.nav-route-card__line i {
  position: relative;
  width: 10px;
  height: 10px;
  border: 2px solid #60ddb0;
  border-radius: 50%;
  background: var(--nav-ink);
}

.nav-route-card__line i:first-child {
  box-shadow: 0 0 0 5px rgba(96, 221, 176, .12);
}

.nav-route-card dl {
  margin: 0;
}

.nav-route-card dl > div {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.nav-route-card dt {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}

.nav-route-card dd {
  margin: 0;
  color: #fff;
  font: 700 20px/1 "IBM Plex Sans Condensed", sans-serif;
}

.nav-route-card > p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .57);
  font-size: 11px;
  line-height: 1.6;
}

.nav-quick {
  margin-top: clamp(42px, 6vw, 76px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-quick > span {
  margin-right: 8px;
  color: rgba(255, 255, 255, .48);
  font: 600 10px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav-quick a {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.nav-quick a:hover {
  border-color: rgba(96, 221, 176, .7);
  background: rgba(96, 221, 176, .08);
  color: #fff;
}

.route-studio {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    linear-gradient(90deg, transparent 49.94%, rgba(7, 32, 58, .045) 50%, transparent 50.06%),
    var(--nav-paper);
}

.route-studio::before {
  position: absolute;
  top: 0;
  left: 7vw;
  width: 1px;
  height: 90px;
  background: var(--nav-emerald);
  content: "";
}

.route-studio__layout {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(500px, 1.32fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.route-studio__story {
  position: sticky;
  top: 110px;
}

.route-studio__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  margin-bottom: 34px;
  border-radius: 22px;
  background: var(--nav-ink);
  box-shadow: var(--nav-shadow);
}

.route-studio__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 32, 58, .72));
  content: "";
}

.route-studio__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.route-studio__image > span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  color: #fff;
  font: 600 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.route-studio__story h2,
.nav-catalog__heading h2,
.route-result__head h2 {
  margin: 0;
  color: var(--nav-text);
  font: 750 clamp(32px, 4.3vw, 52px)/1.06 "IBM Plex Sans Condensed", sans-serif;
  letter-spacing: -.025em;
}

.route-studio__story > p:not(.nav-kicker) {
  margin: 20px 0 0;
  color: var(--nav-muted);
  font-size: 15px;
  line-height: 1.75;
}

.route-studio__story ul {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  color: var(--nav-text);
  font-size: 13px;
}

.route-studio__story li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.route-studio__story li .ms {
  color: var(--nav-emerald);
  font-size: 17px;
}

.route-quiz {
  position: relative;
  min-height: 620px;
  padding: clamp(28px, 4.5vw, 52px);
  border: 1px solid var(--nav-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}

.route-quiz::before {
  position: absolute;
  top: -1px;
  left: 46px;
  width: 100px;
  height: 4px;
  background: var(--nav-emerald);
  content: "";
}

.route-quiz__head {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.route-quiz__head > div:first-child {
  display: grid;
  gap: 6px;
}

.route-quiz__head span {
  color: var(--nav-emerald-dark);
  font: 700 10px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.route-quiz__head strong {
  color: var(--nav-text);
  font: 700 18px/1.3 "IBM Plex Sans Condensed", sans-serif;
}

.route-quiz__progress {
  width: min(190px, 34%);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--nav-mist);
}

.route-quiz__progress i {
  width: 25%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--nav-emerald);
  transition: width .35s ease;
}

.route-quiz fieldset {
  min-width: 0;
  margin: 0 0 34px;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid var(--nav-line);
}

.route-quiz.is-enhanced fieldset {
  display: none;
  margin-bottom: 0;
}

.route-quiz.is-enhanced fieldset.is-current {
  display: block;
  animation: route-in .34s ease both;
}

.route-quiz legend {
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--nav-text);
  font: 750 clamp(26px, 3.5vw, 38px)/1.1 "IBM Plex Sans Condensed", sans-serif;
  letter-spacing: -.02em;
}

.route-quiz fieldset > p {
  margin: 12px 0 26px;
  color: var(--nav-muted);
  font-size: 14px;
  line-height: 1.65;
}

.route-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.route-options label {
  position: relative;
  min-height: 82px;
  padding: 17px 17px 16px 50px;
  border: 1px solid var(--nav-line);
  border-radius: 15px;
  display: grid;
  align-content: center;
  gap: 5px;
  background: var(--nav-paper);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.route-options--two label {
  min-height: 126px;
}

.route-options label:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 169, 114, .56);
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 32, 58, .07);
}

.route-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.route-options label > .ms {
  position: absolute;
  top: 19px;
  left: 17px;
  color: var(--nav-emerald-dark);
  font-size: 23px;
}

.route-options label > strong {
  color: var(--nav-text);
  font-size: 13px;
  line-height: 1.35;
}

.route-options label > small {
  color: var(--nav-muted);
  font-size: 11px;
  line-height: 1.45;
}

.route-options label:has(input:checked) {
  border-color: var(--nav-emerald);
  background: rgba(16, 169, 114, .075);
  box-shadow: inset 0 0 0 1px var(--nav-emerald);
}

.route-options label:has(input:checked)::after {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--nav-emerald);
  color: #fff;
  content: "✓";
  font: 800 11px/18px Manrope, sans-serif;
  text-align: center;
}

.route-options [hidden] {
  display: none;
}

.route-quiz__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-quiz__back,
.route-quiz__controls [data-quiz-next] {
  display: none;
}

.route-quiz.is-enhanced .route-quiz__back,
.route-quiz.is-enhanced .route-quiz__controls [data-quiz-next] {
  display: inline-flex;
}

.route-quiz.is-enhanced [data-quiz-submit] {
  display: none;
}

.route-quiz.is-enhanced.is-last-step [data-quiz-next] {
  display: none;
}

.route-quiz.is-enhanced.is-last-step [data-quiz-submit] {
  display: inline-flex;
}

.route-quiz__back {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--nav-muted);
  align-items: center;
  gap: 7px;
  font: 700 13px/1 Manrope, sans-serif;
  cursor: pointer;
}

.route-quiz__back[disabled] {
  opacity: .35;
  cursor: default;
}

.route-quiz__hint {
  margin: 16px 0 0;
  color: var(--nav-muted);
  font-size: 11px;
}

/* Кнопка «пропустить» в модалке лида после квиза (добавляется JS) */
.route-quiz__skip {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--nav-muted, #5b6b7c);
  font: 600 13px/1.4 Manrope, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.route-quiz__skip:hover {
  color: var(--nav-navy, #1f3a5f);
}

.route-result {
  padding: clamp(68px, 9vw, 112px) 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(16, 169, 114, .2), transparent 26%),
    var(--nav-ink);
  color: #fff;
}

.route-result .nav-kicker {
  color: #60ddb0;
}

.route-result__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: 48px;
  align-items: end;
}

.route-result__head h2 {
  color: #fff;
}

.route-result__head > div:first-child > p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .67);
  line-height: 1.7;
}

.route-result__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.route-result__summary span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}

.route-result__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.route-match {
  position: relative;
  min-height: 174px;
  padding: 24px 54px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .045);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.route-match:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 221, 176, .65);
  background: rgba(255, 255, 255, .075);
  color: #fff;
}

.route-match > span {
  color: #60ddb0;
  font: 700 9px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.route-match > strong {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.route-match > small {
  margin-top: auto;
  padding-top: 20px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
}

.route-match > .ms {
  position: absolute;
  top: 22px;
  right: 21px;
  color: rgba(255, 255, 255, .54);
}

.route-result__empty {
  margin-top: 36px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  color: rgba(255, 255, 255, .72);
}

.route-result__actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.route-result__actions > a {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.nav-catalog {
  padding: clamp(72px, 9vw, 116px) 0;
  background: var(--nav-mist);
}

.nav-catalog__heading {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: end;
}

.nav-catalog__heading > p {
  margin: 0;
  color: var(--nav-muted);
  font-size: 14px;
  line-height: 1.7;
}

.nav-filters {
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--nav-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 32, 58, .07);
}

.nav-filters__fields {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(2, minmax(210px, .8fr));
  gap: 14px;
}

.nav-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.nav-field > span:first-child,
.nav-filter-goals legend {
  color: var(--nav-muted);
  font: 700 10px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-field__control {
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--nav-line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--nav-paper);
}

.nav-field__control > .ms {
  flex: 0 0 auto;
  color: var(--nav-emerald-dark);
  font-size: 19px;
}

.nav-field input,
.nav-field select {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nav-text);
  font: 600 13px/1.3 Manrope, sans-serif;
}

.nav-filter-goals {
  margin: 24px 0 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--nav-line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-filter-goals legend {
  width: auto;
  margin-right: 8px;
  float: left;
}

.nav-filter-goals label {
  position: relative;
  cursor: pointer;
}

.nav-filter-goals input {
  position: absolute;
  opacity: 0;
}

.nav-filter-goals label span {
  padding: 8px 12px;
  border: 1px solid var(--nav-line);
  border-radius: 999px;
  display: block;
  color: var(--nav-muted);
  font-size: 11px;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.nav-filter-goals label:hover span,
.nav-filter-goals label:has(input:checked) span {
  border-color: var(--nav-emerald);
  background: rgba(16, 169, 114, .08);
  color: var(--nav-emerald-dark);
}

.nav-filters__actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-filters__actions > a {
  color: var(--nav-navy);
  font-size: 12px;
  font-weight: 800;
}

.nav-filters__actions > span {
  margin-left: auto;
  color: var(--nav-muted);
  font: 600 11px/1.3 "IBM Plex Mono", monospace;
}

.nav-filter-summary {
  margin-bottom: 24px;
  padding: 14px 17px;
  border: 1px solid var(--nav-line);
  border-left: 3px solid var(--nav-emerald);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  background: rgba(255, 255, 255, .72);
  color: var(--nav-text);
  font-size: 12px;
}

.nav-filter-summary > a {
  margin-left: auto;
  color: var(--nav-navy);
  font-weight: 800;
}

.nav-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nav-service-card {
  min-height: 100%;
}

.nav-service-card .svc-card__body {
  min-height: 260px;
}

@keyframes route-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
  .nav-hero__layout,
  .route-studio__layout,
  .nav-catalog__heading,
  .route-result__head {
    grid-template-columns: 1fr;
  }

  .nav-route-card {
    max-width: 560px;
  }

  .route-studio__story {
    position: static;
  }

  .route-studio__image {
    max-width: 620px;
    aspect-ratio: 16 / 8;
  }

  .route-studio__story > p:not(.nav-kicker),
  .route-studio__story ul {
    max-width: 720px;
  }

  .route-result__summary {
    justify-content: flex-start;
  }

  .nav-filters__fields {
    grid-template-columns: 1fr 1fr;
  }

  .nav-field--search {
    grid-column: 1 / -1;
  }

  .route-result__grid,
  .nav-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-shell {
    width: min(100% - 28px, 1240px);
  }

  .nav-hero {
    padding-top: 24px;
  }

  .nav-breadcrumbs {
    margin-bottom: 34px;
  }

  .nav-hero__copy h1 {
    font-size: clamp(40px, 12.6vw, 58px);
  }

  .nav-hero__actions,
  .route-result__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-button {
    width: 100%;
  }

  .nav-quick {
    align-items: flex-start;
  }

  .nav-quick > span {
    width: 100%;
  }

  .route-studio {
    padding-block: 66px;
  }

  .route-studio__image {
    aspect-ratio: 4 / 3;
    margin-bottom: 28px;
  }

  .route-quiz {
    min-height: 0;
    padding: 28px 18px 24px;
    border-radius: 20px;
  }

  .route-quiz::before {
    left: 22px;
  }

  .route-quiz__head {
    margin-bottom: 32px;
    align-items: start;
    flex-direction: column;
  }

  .route-quiz__progress {
    width: 100%;
  }

  .route-options,
  .route-options--two {
    grid-template-columns: 1fr;
  }

  .route-options label,
  .route-options--two label {
    min-height: 78px;
  }

  .route-quiz__controls {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .route-quiz__back {
    justify-content: center;
  }

  .route-result__grid,
  .nav-card-grid,
  .nav-filters__fields {
    grid-template-columns: 1fr;
  }

  .nav-field--search {
    grid-column: auto;
  }

  .nav-filter-goals {
    align-items: flex-start;
  }

  .nav-filter-goals legend {
    width: 100%;
    margin: 0 0 6px;
  }

  .nav-filters__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-filters__actions > span {
    margin-left: 0;
    text-align: center;
  }

  .nav-filter-summary > a {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-button,
  .nav-quick a,
  .route-options label,
  .route-match,
  .svc-card,
  .svc-card__media img,
  .route-quiz__progress i {
    transition: none !important;
  }

  .route-quiz.is-enhanced fieldset.is-current {
    animation: none;
  }
}
