@font-face {
  font-family: "OpenSans";
  src: url("../assets/fonts/opensans-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("../assets/fonts/opensans-semibold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("../assets/fonts/opensans-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body.ft-fire-page {
  margin: 0;
  min-width: 320px;
  color: #292929;
  background: #f7f7f7;
  font-family: "OpenSans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.ft-fire-page__container {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.ft-fire-page__header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}

.ft-fire-page__header-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 18px;
}

.ft-fire-page__brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.ft-fire-page__brand img {
  display: block;
  width: 232px;
  height: auto;
}

.ft-fire-page__service,
.ft-fire-page__mode,
.ft-fire-page__footer p {
  margin: 0;
}

.ft-fire-page__service {
  max-width: 280px;
  color: #292929;
  font-size: 14px;
  line-height: 1.4;
}

.ft-fire-page__mode {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  color: #6b6b6b;
  font-size: 13px;
}

.ft-fire-page__mode span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dbf08;
}

.ft-fire-page__main {
  min-height: calc(100vh - 180px);
}

.ft-fire-page__footer {
  padding: 24px 0;
  color: #ffffff;
  background: #222e40;
  font-size: 13px;
}

.ft-fire-quiz,
.ft-fire-quiz * {
  box-sizing: border-box;
}

.ft-fire-quiz {
  --ft-accent: #d1224b;
  --ft-accent-bright: #f31e4b;
  --ft-accent-hover: #f74f73;
  --ft-ink: #292929;
  --ft-navy: #222e40;
  --ft-blue: #426876;
  --ft-line: #dfe2e4;
  --ft-muted: #6b6b6b;
  --ft-bg: #f7f7f7;
  --ft-soft: #f0f0f0;
  width: 100%;
  color: var(--ft-ink);
}

.ft-fire-quiz button,
.ft-fire-quiz input,
.ft-fire-quiz textarea {
  font: inherit;
}

.ft-fire-quiz button,
.ft-fire-quiz summary,
.ft-fire-quiz label {
  -webkit-tap-highlight-color: transparent;
}

.ft-fire-quiz fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ft-fire-quiz legend {
  margin: 0 0 18px;
  padding: 0;
  color: var(--ft-navy);
  font-size: 18px;
  font-weight: 700;
}

.ft-fire-quiz__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ft-fire-quiz__intro {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: #ffffff;
  background: #203543 url("../assets/fire-hero.jpg") center / cover no-repeat;
}

.ft-fire-quiz__intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 41, 54, 0.97) 0%, rgba(25, 49, 63, 0.91) 49%, rgba(25, 49, 63, 0.45) 100%);
}

.ft-fire-quiz__intro-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 74px;
}

.ft-fire-quiz__badge {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ft-fire-quiz__intro h1 {
  max-width: 940px;
  margin: 25px 0 20px;
  color: inherit;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.09;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.ft-fire-quiz__intro-lead {
  max-width: 790px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.55;
}

.ft-fire-quiz__intro-spacer {
  height: 59px;
}

.ft-fire-quiz__normative {
  display: grid;
  max-width: 900px;
  margin-top: 34px;
  padding: 22px 25px;
  border-left: 5px solid var(--ft-accent-bright);
  grid-template-columns: 34px 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ft-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.ft-fire-quiz__normative-icon {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ft-accent);
  border-radius: 50%;
  color: var(--ft-accent);
  font-weight: 700;
}

.ft-fire-quiz__normative h2 {
  margin: 0 0 8px;
  color: var(--ft-navy);
  font-size: 20px;
  line-height: 1.35;
}

.ft-fire-quiz__normative p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.ft-fire-quiz__normative details {
  margin-top: 10px;
  font-size: 14px;
}

.ft-fire-quiz__normative summary {
  width: fit-content;
  color: var(--ft-accent);
  font-weight: 700;
  cursor: pointer;
}

.ft-fire-quiz__normative ul {
  margin: 12px 0;
  padding-left: 20px;
}

.ft-fire-quiz__normative li + li {
  margin-top: 6px;
}

.ft-fire-quiz__normative a {
  color: var(--ft-accent);
  font-size: 12px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ft-fire-quiz__external {
  margin-left: 5px;
}

.ft-fire-quiz__intro-actions {
  display: flex;
  max-width: 900px;
  margin-top: 28px;
  align-items: center;
  gap: 25px;
}

.ft-fire-quiz__intro-actions p {
  display: flex;
  max-width: 540px;
  margin: 0;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.55;
}

.ft-fire-quiz__intro-actions p span {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
}

.ft-fire-quiz__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 25px;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ft-fire-quiz__button:hover {
  transform: translateY(-1px);
}

.ft-fire-quiz__button:focus-visible,
.ft-fire-quiz input:focus-visible,
.ft-fire-quiz textarea:focus-visible,
.ft-fire-quiz summary:focus-visible,
.ft-fire-quiz a:focus-visible {
  outline: 3px solid #ffcc38;
  outline-offset: 3px;
}

.ft-fire-quiz__button--primary {
  border-color: var(--ft-accent);
  color: #ffffff;
  background: var(--ft-accent);
}

.ft-fire-quiz__button--primary:hover {
  border-color: var(--ft-accent-hover);
  background: var(--ft-accent-hover);
}

.ft-fire-quiz__button--secondary {
  border-color: #b7bec2;
  color: var(--ft-navy);
  background: transparent;
}

.ft-fire-quiz__button--secondary:hover {
  border-color: var(--ft-navy);
  background: #ffffff;
}

.ft-fire-quiz__panel {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 60px;
  padding: 38px 44px 34px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 9px 30px rgba(34, 46, 64, 0.08);
}

.ft-fire-quiz__panel--question {
  min-height: 610px;
}

.ft-fire-quiz__progress-head {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 13px;
}

.ft-fire-quiz__step-count {
  color: var(--ft-accent);
  font-weight: 700;
  text-transform: uppercase;
}

.ft-fire-quiz__step-label {
  color: var(--ft-muted);
}

.ft-fire-quiz__substep {
  margin-left: auto;
  color: var(--ft-blue);
  font-weight: 700;
}

.ft-fire-quiz__progress {
  height: 5px;
  margin: 12px 0 39px;
  overflow: hidden;
  background: #e7e9ea;
}

.ft-fire-quiz__progress span {
  display: block;
  height: 100%;
  background: var(--ft-accent-bright);
  transition: width 0.22s ease;
}

.ft-fire-quiz__question-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 0.85fr);
  gap: 42px;
}

.ft-fire-quiz__question-layout--wide {
  grid-template-columns: minmax(0, 1fr);
}

.ft-fire-quiz__question-layout--wide .ft-fire-quiz__question-main {
  max-width: 940px;
}

.ft-fire-quiz__eyebrow,
.ft-fire-quiz__zone-tag {
  margin-bottom: 11px;
  color: var(--ft-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ft-fire-quiz__zone-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 11px;
  border-left: 3px solid var(--ft-accent);
  color: var(--ft-navy);
  background: #f4f5f5;
}

.ft-fire-quiz__question-main > h2,
.ft-fire-quiz__consultation h2 {
  margin: 0 0 12px;
  color: var(--ft-navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ft-fire-quiz__lead {
  max-width: 760px;
  margin: 0 0 27px;
  color: var(--ft-muted);
  font-size: 15px;
}

.ft-fire-quiz__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.ft-fire-quiz__options--compact {
  grid-template-columns: minmax(0, 1fr);
}

.ft-fire-quiz__option {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border: 1px solid #d5d9db;
  border-radius: 3px;
  color: var(--ft-ink);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ft-fire-quiz__option:hover {
  border-color: #9aa9af;
  box-shadow: 0 3px 10px rgba(34, 46, 64, 0.07);
}

.ft-fire-quiz__option.is-selected {
  border-color: var(--ft-accent);
  background: #fff8fa;
  box-shadow: inset 4px 0 0 var(--ft-accent);
}

.ft-fire-quiz__option:focus-within {
  outline: 3px solid rgba(209, 34, 75, 0.25);
  outline-offset: 2px;
}

.ft-fire-quiz__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ft-fire-quiz__control {
  position: relative;
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid #aab2b6;
  background: #ffffff;
}

.ft-fire-quiz__option input[type="radio"] + .ft-fire-quiz__control {
  border-radius: 50%;
}

.ft-fire-quiz__option input:checked + .ft-fire-quiz__control {
  border-color: var(--ft-accent);
  background: var(--ft-accent);
}

.ft-fire-quiz__option input[type="checkbox"]:checked + .ft-fire-quiz__control::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ft-fire-quiz__option input[type="radio"]:checked + .ft-fire-quiz__control::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #ffffff;
}

.ft-fire-quiz__option-index {
  color: #a1a8ab;
  font-size: 11px;
  font-weight: 700;
}

.ft-fire-quiz__option-label {
  font-size: 14px;
  line-height: 1.42;
}

.ft-fire-quiz__inline-note {
  display: flex;
  margin-top: 20px;
  align-items: flex-start;
  gap: 10px;
  color: var(--ft-blue);
  font-size: 13px;
}

.ft-fire-quiz__inline-note span {
  display: inline-flex;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.ft-fire-quiz__inline-note p {
  margin: 0;
}

.ft-fire-quiz__expert {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px 23px;
  border-top: 4px solid var(--ft-accent);
  background: #f0f0f0;
}

.ft-fire-quiz__expert-mark {
  height: 30px;
  color: var(--ft-accent);
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 0.8;
}

.ft-fire-quiz__expert blockquote {
  margin: 12px 0 20px;
  color: #3e484d;
  font-size: 14px;
  line-height: 1.58;
}

.ft-fire-quiz__expert-person {
  display: flex;
  align-items: center;
  gap: 13px;
}

.ft-fire-quiz__expert-person img {
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.8);
}

.ft-fire-quiz__expert-person strong,
.ft-fire-quiz__expert-person span {
  display: block;
}

.ft-fire-quiz__expert-person strong {
  color: var(--ft-navy);
  font-size: 13px;
}

.ft-fire-quiz__expert-person span {
  margin-top: 3px;
  color: var(--ft-muted);
  font-size: 11px;
}

.ft-fire-quiz__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ft-fire-quiz__field--followup {
  max-width: 680px;
  margin-top: 20px;
  padding: 18px;
  border-left: 3px solid var(--ft-accent);
  background: #f7f7f7;
}

.ft-fire-quiz__field label {
  color: var(--ft-navy);
  font-size: 13px;
  font-weight: 700;
}

.ft-fire-quiz__field label span {
  color: var(--ft-muted);
  font-size: 11px;
  font-weight: 400;
}

.ft-fire-quiz__field label b {
  color: var(--ft-accent);
}

.ft-fire-quiz__field input,
.ft-fire-quiz__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #bfc6ca;
  border-radius: 2px;
  color: var(--ft-ink);
  background: #ffffff;
  font-size: 15px;
}

.ft-fire-quiz__field textarea {
  min-height: 110px;
  resize: vertical;
}

.ft-fire-quiz__field input:disabled,
.ft-fire-quiz__field textarea:disabled {
  color: #8c9396;
  background: #eeeeee;
}

.ft-fire-quiz__field input[aria-invalid="true"],
.ft-fire-quiz__field textarea[aria-invalid="true"] {
  border-color: #b00020;
  box-shadow: 0 0 0 2px rgba(176, 0, 32, 0.12);
}

.ft-fire-quiz__plain-check,
.ft-fire-quiz__unknown {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 14px;
}

.ft-fire-quiz__plain-check {
  margin-top: 12px;
}

.ft-fire-quiz__plain-check input,
.ft-fire-quiz__unknown input {
  width: 19px;
  height: 19px;
  accent-color: var(--ft-accent);
}

.ft-fire-quiz__numbers {
  display: grid;
  margin: 25px 0 30px;
  gap: 12px;
}

.ft-fire-quiz__number-row {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(200px, 330px) auto;
  gap: 18px;
}

.ft-fire-quiz__number-input {
  display: grid;
  grid-template-columns: 1fr 52px;
}

.ft-fire-quiz__number-input input {
  border-right: 0;
}

.ft-fire-quiz__number-input span {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfc6ca;
  color: var(--ft-muted);
  background: #f0f0f0;
  font-size: 13px;
}

.ft-fire-quiz__fieldset-spaced,
.ft-fire-quiz__people-group {
  margin-top: 26px !important;
}

.ft-fire-quiz__people-group + .ft-fire-quiz__people-group {
  margin-top: 34px !important;
  padding-top: 30px;
  border-top: 1px solid var(--ft-line);
}

.ft-fire-quiz__hint {
  max-width: 760px;
  margin: -7px 0 17px;
  color: var(--ft-muted);
  font-size: 13px;
}

.ft-fire-quiz__error {
  min-height: 22px;
  margin: 20px 0 0;
  color: #a41632;
  font-size: 13px;
  font-weight: 600;
}

.ft-fire-quiz__actions {
  display: flex;
  margin-top: 23px;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--ft-line);
  padding-top: 24px;
}

.ft-fire-quiz__results {
  padding: 38px 44px 34px;
  color: var(--ft-ink);
  background: #ffffff;
}

.ft-fire-quiz__results-head {
  max-width: 940px;
}

.ft-fire-quiz__results-head h2 {
  margin: 0 0 12px;
  color: var(--ft-navy);
  font-size: clamp(26px, 2.7vw, 34px);
  line-height: 1.18;
  font-weight: 600;
}

.ft-fire-quiz__results-head > p {
  max-width: 780px;
  margin: 0;
  color: #4e5660;
  font-size: 16px;
}

.ft-fire-quiz__result-list {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ft-fire-quiz__result-list:has(.ft-fire-quiz__result-card:only-child) {
  grid-template-columns: minmax(0, 800px);
}

.ft-fire-quiz__result-list:has(.ft-fire-quiz__result-card.is-review:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.ft-fire-quiz__result-card {
  position: relative;
  padding: 25px;
  border: 1px solid var(--ft-line);
  border-top: 4px solid #39a862;
  color: var(--ft-ink);
  background: #fbfcfc;
  box-shadow: none;
}

.ft-fire-quiz__result-card.is-review {
  grid-column: 1 / -1;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.ft-fire-quiz__result-zone {
  margin-bottom: 9px;
  color: var(--ft-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ft-fire-quiz__result-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 8px;
  color: #176b36;
  background: #e9f7ee;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ft-fire-quiz__result-card.is-review .ft-fire-quiz__result-badge {
  color: #83580d;
  background: #fff5df;
}

.ft-fire-quiz__result-card > h2 {
  margin: 16px 0 12px;
  color: var(--ft-navy);
  font-size: 22px;
  line-height: 1.25;
}

.ft-fire-quiz__result-card > p {
  margin: 0;
  color: #4c5559;
  font-size: 13px;
  line-height: 1.55;
}

.ft-fire-quiz__result-columns {
  display: grid;
  margin-top: 22px;
  gap: 18px;
}

.ft-fire-quiz__result-columns h3,
.ft-fire-quiz__files h3 {
  margin: 0 0 8px;
  color: var(--ft-navy);
  font-size: 13px;
  text-transform: uppercase;
}

.ft-fire-quiz__result-columns ul {
  margin: 0;
  padding-left: 18px;
  color: #4c5559;
  font-size: 12px;
  line-height: 1.5;
}

.ft-fire-quiz__result-columns li + li {
  margin-top: 5px;
}

.ft-fire-quiz__optional {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--ft-blue);
  background: #eef3f5;
}

.ft-fire-quiz__optional p {
  margin: 0;
  color: #36434f;
  font-size: 11px;
}

.ft-fire-quiz__optional p + p {
  margin-top: 7px;
}

.ft-fire-quiz__card-disclaimer {
  margin-top: 18px !important;
  padding-top: 12px;
  border-top: 1px solid var(--ft-line);
  color: #888f92 !important;
  font-size: 10px !important;
}

.ft-fire-quiz__result-disclaimer {
  display: flex;
  max-width: 990px;
  margin-top: 27px;
  align-items: flex-start;
  gap: 12px;
  color: #4e5660;
}

.ft-fire-quiz__result-disclaimer span {
  display: inline-flex;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ft-accent-hover);
  border-radius: 50%;
  color: var(--ft-accent-hover);
  font-weight: 700;
}

.ft-fire-quiz__result-disclaimer p {
  margin: 2px 0 0;
  font-size: 12px;
}

.ft-fire-quiz__result-actions {
  display: flex;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ft-line);
  justify-content: space-between;
  gap: 14px;
}

.ft-fire-quiz__results .ft-fire-quiz__button--secondary {
  border-color: #b7bec2;
  color: var(--ft-navy);
}

.ft-fire-quiz__results .ft-fire-quiz__button--secondary:hover {
  border-color: var(--ft-navy);
  color: var(--ft-navy);
}

.ft-fire-quiz__consultation {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 80px;
}

.ft-fire-quiz__consultation-head {
  max-width: 840px;
  margin-bottom: 32px;
}

.ft-fire-quiz__consultation-head > p {
  margin: 0;
  color: var(--ft-muted);
  font-size: 15px;
}

.ft-fire-quiz__consultation form {
  padding: 34px;
  border: 1px solid #e0e3e5;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(34, 46, 64, 0.07);
}

.ft-fire-quiz__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.ft-fire-quiz__field--wide {
  grid-column: 1 / -1;
}

.ft-fire-quiz__files {
  display: grid;
  margin-top: 30px;
  padding: 24px;
  border: 1px dashed #9eabb1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 25px;
  background: #f7f7f7;
}

.ft-fire-quiz__files p {
  max-width: 730px;
  margin: 0;
  color: var(--ft-muted);
  font-size: 12px;
}

.ft-fire-quiz__file-button {
  display: inline-flex;
  min-height: 48px;
  padding: 9px 16px;
  align-items: center;
  align-self: center;
  gap: 8px;
  border: 2px solid var(--ft-blue);
  color: var(--ft-blue);
  background: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ft-fire-quiz__file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ft-fire-quiz__file-button:focus-within {
  outline: 3px solid #ffcc38;
  outline-offset: 3px;
}

.ft-fire-quiz__file-types {
  grid-column: 1 / -1;
  color: #8a9295 !important;
  font-size: 10px !important;
  letter-spacing: 0.04em;
}

.ft-fire-quiz__file-list {
  display: flex;
  grid-column: 1 / -1;
  margin: 5px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.ft-fire-quiz__file-list li {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 9px;
  align-items: center;
  gap: 8px;
  border: 1px solid #d3d8da;
  background: #ffffff;
  font-size: 11px;
}

.ft-fire-quiz__file-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ft-fire-quiz__file-list small {
  flex: 0 0 auto;
  color: var(--ft-muted);
}

.ft-fire-quiz__submit-row {
  display: flex;
  margin-top: 5px;
  align-items: center;
  gap: 20px;
}

.ft-fire-quiz__submit-row p {
  margin: 0;
  color: var(--ft-muted);
  font-size: 11px;
}

.ft-fire-quiz__success {
  display: flex;
  margin-top: 28px;
  padding: 18px 20px;
  align-items: flex-start;
  gap: 13px;
  border-left: 4px solid #2b9c54;
  background: #ecf8f0;
}

.ft-fire-quiz__success[hidden],
.ft-fire-quiz__payload[hidden] {
  display: none;
}

.ft-fire-quiz__success > span {
  display: inline-flex;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #2b9c54;
  font-weight: 700;
}

.ft-fire-quiz__success h3,
.ft-fire-quiz__success p {
  margin: 0;
}

.ft-fire-quiz__success h3 {
  color: #176b36;
  font-size: 15px;
}

.ft-fire-quiz__success p {
  margin-top: 4px;
  color: #3f5d49;
  font-size: 12px;
}

.ft-fire-quiz__payload {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #d5d9db;
  background: #f7f7f7;
}

.ft-fire-quiz__payload summary {
  cursor: pointer;
  color: var(--ft-blue);
  font-size: 12px;
  font-weight: 700;
}

.ft-fire-quiz__payload pre {
  max-height: 440px;
  overflow: auto;
  padding: 14px;
  color: #dbe7ee;
  background: #1f2b32;
  font-family: Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 1024px) {
  .ft-fire-quiz__question-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.8fr);
    gap: 25px;
  }

  .ft-fire-quiz__result-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ft-fire-page__header-inner {
    min-height: 86px;
  }

  .ft-fire-page__brand img {
    width: 190px;
  }

  .ft-fire-page__service {
    display: none;
  }

  .ft-fire-quiz__intro {
    min-height: auto;
  }

  .ft-fire-quiz__intro-overlay {
    background: rgba(25, 49, 63, 0.9);
  }

  .ft-fire-quiz__question-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ft-fire-quiz__expert {
    position: static;
    display: grid;
    padding: 18px;
    grid-template-columns: 32px 1fr;
    gap: 0 10px;
  }

  .ft-fire-quiz__expert blockquote {
    margin: 0 0 13px;
  }

  .ft-fire-quiz__expert-person {
    grid-column: 2;
  }

  .ft-fire-quiz__expert-person img {
    width: 48px;
    height: 48px;
  }

  .ft-fire-quiz__result-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ft-fire-quiz__result-card {
    max-width: 780px;
  }
}

@media (max-width: 600px) {
  .ft-fire-page__container,
  .ft-fire-quiz__intro-inner,
  .ft-fire-quiz__panel,
  .ft-fire-quiz__consultation {
    width: min(100% - 20px, 1200px);
  }

  .ft-fire-page__header-inner {
    min-height: 72px;
  }

  .ft-fire-page__brand img {
    width: 152px;
  }

  .ft-fire-page__mode {
    max-width: 150px;
    font-size: 9px;
    line-height: 1.3;
  }

  .ft-fire-page__mode span {
    width: 8px;
    height: 8px;
  }

  .ft-fire-quiz__intro-inner {
    padding: 45px 0 50px;
  }

  .ft-fire-quiz__intro h1 {
    margin-top: 19px;
    font-size: 30px;
    line-height: 1.15;
  }

  .ft-fire-quiz__intro-lead {
    font-size: 15px;
    line-height: 1.5;
  }

  .ft-fire-quiz__intro-spacer {
    height: 90px;
  }

  .ft-fire-quiz__normative {
    margin-top: 25px;
    padding: 17px 15px;
    grid-template-columns: 27px 1fr;
  }

  .ft-fire-quiz__normative-icon {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .ft-fire-quiz__normative h2 {
    font-size: 15px;
  }

  .ft-fire-quiz__normative p,
  .ft-fire-quiz__normative details {
    font-size: 12px;
  }

  .ft-fire-quiz__intro-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .ft-fire-quiz__panel {
    min-height: auto;
    margin: 20px auto 35px;
    padding: 22px 16px 18px;
  }

  .ft-fire-quiz__progress-head {
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  .ft-fire-quiz__substep {
    width: 100%;
    margin: 3px 0 0;
  }

  .ft-fire-quiz__progress {
    margin-bottom: 28px;
  }

  .ft-fire-quiz__question-main > h2,
  .ft-fire-quiz__consultation h2 {
    font-size: 25px;
    line-height: 1.22;
  }

  .ft-fire-quiz__lead {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .ft-fire-quiz__options {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .ft-fire-quiz__option {
    min-height: 58px;
    padding: 10px 12px;
  }

  .ft-fire-quiz__option-label {
    font-size: 13px;
  }

  .ft-fire-quiz__number-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .ft-fire-quiz__unknown {
    width: fit-content;
  }

  .ft-fire-quiz__actions,
  .ft-fire-quiz__result-actions,
  .ft-fire-quiz__submit-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .ft-fire-quiz__button {
    width: 100%;
    min-height: 50px;
    padding-inline: 14px;
  }

  .ft-fire-quiz__results-head > p {
    font-size: 14px;
  }

  .ft-fire-quiz__results {
    padding: 22px 16px 18px;
  }

  .ft-fire-quiz__results-head h2 {
    font-size: 25px;
  }

  .ft-fire-quiz__result-list {
    margin-top: 25px;
  }

  .ft-fire-quiz__result-card {
    padding: 20px 17px;
  }

  .ft-fire-quiz__result-card > h2 {
    font-size: 19px;
  }

  .ft-fire-quiz__consultation {
    padding: 45px 0 50px;
  }

  .ft-fire-quiz__consultation form {
    padding: 20px 14px;
  }

  .ft-fire-quiz__form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ft-fire-quiz__field--wide {
    grid-column: auto;
  }

  .ft-fire-quiz__files {
    padding: 18px 14px;
    grid-template-columns: minmax(0, 1fr);
  }

  .ft-fire-quiz__file-button {
    width: 100%;
    justify-content: center;
  }

  .ft-fire-quiz__submit-row p {
    text-align: center;
  }
}

@media (max-width: 375px) {
  .ft-fire-page__brand img {
    width: 137px;
  }

  .ft-fire-page__mode {
    max-width: 130px;
  }

  .ft-fire-quiz__intro h1 {
    font-size: 27px;
  }

  .ft-fire-quiz__results-head h2 {
    font-size: 23px;
  }

  .ft-fire-quiz__question-main > h2,
  .ft-fire-quiz__consultation h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-fire-quiz *,
  .ft-fire-quiz *::before,
  .ft-fire-quiz *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
