/* Samara quiz only. The homepage and the other campaign quizzes keep their styles. */
.smr-quiz-page {
  height: auto;
  min-height: 100svh;
  overflow-y: auto;
  background: #fff;
}
.smr-quiz-page main { height: auto; min-height: 100svh; display: block; overflow: visible; }
.smr-quiz-page .quiz-traffic { width: 100%; height: auto; min-height: 100svh; }
.smr-quiz-page .quiz-landing-free:not(.is-quiz-active) { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.smr-quiz-page .quiz-landing-stage { height: auto; min-height: 100svh; padding: 24px clamp(28px, 3.3vw, 64px); }
.smr-quiz-page .quiz-landing-visual { height: 100%; min-height: 100svh; }
.smr-quiz-page .quiz-intro { padding-block: 32px 94px; }
.smr-quiz-page .quiz-intro h1 { font-size: clamp(32px, 2.6vw, 46px); }
.smr-quiz-page .quiz-hero-list { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; font-weight: 700; }
.smr-quiz-page .quiz-start-btn { box-shadow: none; font-size: 18px; }
.smr-quiz-page .quiz-landing-footer { left: clamp(28px, 3.3vw, 64px); right: clamp(28px, 3.3vw, 64px); }
.smr-quiz-page .quiz-traffic.is-quiz-active { display: block; }
.smr-quiz-page .quiz-traffic.is-quiz-active .quiz-landing-stage {
  width: 100%; height: auto; min-height: 100svh; display: block; padding: 0; overflow: visible;
}
.smr-quiz-page .quiz-traffic.is-quiz-active > .quiz-landing-visual { display: none; }
.smr-quiz-view { max-width: 1440px; min-height: 100svh; margin-inline: auto; padding: 0 40px; }
.smr-flow-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e4e6e9; }
.smr-flow-brand { display: flex; align-items: center; gap: 20px; }
.smr-flow-brand img { width: 132px; height: auto; }
.smr-flow-brand span { color: #4d5663; font-size: 14px; font-weight: 600; }
.smr-flow-header > p { font-size: 14px; color: #5d687a; }
.smr-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 24px 0; margin: 0; list-style: none; }
.smr-stages li { display: flex; gap: 10px; align-items: center; color: #667285; font-size: 13px; font-weight: 600; }
.smr-stages li > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid #b6bfcb; border-radius: 50%; font-size: 12px; }
.smr-stages .is-current, .smr-stages [aria-current="step"] { color: var(--accent-action); font-weight: 800; }
.smr-stages .is-current > span, .smr-stages [aria-current="step"] > span { color: #fff; background: var(--accent-action); border-color: var(--accent-action); }
.smr-stages .is-complete { color: #303f34; }
.smr-stages .is-complete > span { background: #edf4ef; border-color: #86a38e; }
.smr-flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) 254px; gap: 36px; min-height: calc(100svh - 180px); padding-bottom: 28px; }
.smr-workspace { min-width: 0; display: flex; flex-direction: column; }
.smr-question-count { margin: 6px 0 14px; color: #5d687a; font-size: 13px; font-weight: 600; }
.smr-auto-hint { margin: -6px 0 20px; color: #5d687a; font-size: 13px; line-height: 1.5; }
.smr-step h2, .smr-contact h2, .smr-success h2 { margin: 0; color: var(--text); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.17; letter-spacing: -.035em; font-weight: 800; }
.smr-step h2:focus, .smr-contact h2:focus, .smr-success h2:focus { outline: none; }
.smr-step-intro { margin-top: 12px; color: #5d687a; font-size: 16px; line-height: 1.5; }
.smr-question-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .87fr); align-items: start; gap: 28px; margin-top: 28px; }
.smr-answers { min-width: 0; display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.smr-answer { min-width: 0; min-height: 60px; display: flex; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #bec6d1; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color 120ms ease, background-color 120ms ease; }
.smr-answer:hover { border-color: var(--accent-action); background: #fffaf7; }
.smr-answer.is-selected, .smr-answer:has(input:checked) { border-color: var(--accent-action); background: #fff1ea; }
.smr-answer:has(input:focus-visible) { outline: 3px solid var(--accent-action); outline-offset: 3px; }
.smr-answer input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--accent-action); cursor: pointer; }
.smr-answer > span { min-width: 0; }
.smr-answer strong { display: block; font-size: 16px; line-height: 1.35; font-weight: 700; color: #253040; }
.smr-answer small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: #5d687a; }
.smr-step-photo { width: 100%; height: auto; aspect-ratio: 760 / 614; object-fit: cover; border-radius: 14px; }
.smr-step-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 32px; }
.smr-quiz-view .btn { min-height: 52px; box-shadow: none; border-radius: 999px; font-size: 15px; font-weight: 700; }
.smr-step-nav .btn { min-width: 130px; }
.smr-step-nav .btn:not(.btn-secondary) { min-width: 194px; }
.smr-quiz-view .btn-secondary { border-color: #bec6d1; }
.smr-quiz-view .btn:disabled { opacity: 1; background: #e7e9ed; border-color: #e7e9ed; color: #657080; cursor: not-allowed; }
.smr-sidebar { display: flex; flex-direction: column; align-self: stretch; gap: 28px; padding: 20px; border-radius: 16px; background: #f6f7f8; }
.smr-rewards > h2 { margin: 0 0 14px; color: #4d5663; font-size: 14px; font-weight: 600; }
.smr-reward { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.smr-reward + .smr-reward { border-top: 1px solid #dde2e8; }
.smr-reward img { width: 44px; height: 44px; flex-shrink: 0; }
.smr-reward strong { font-size: 14px; line-height: 1.45; font-weight: 700; color: #303a48; }
.smr-help { margin-top: auto; }
.smr-help h3 { font-size: 15px; line-height: 1.4; font-weight: 800; }
.smr-help p { margin-top: 8px; color: #5d687a; font-size: 14px; line-height: 1.6; }
.smr-support { font-size: 12px; color: #4d5663; text-decoration: underline; text-underline-offset: 3px; }
.is-result-active .smr-flow-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.is-result-active .smr-sidebar { display: none; }
.smr-contact { width: min(960px, 100%); margin: 24px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr); grid-template-areas: "copy form" "rewards form" "selection form"; align-items: start; gap: 24px 64px; }
.smr-contact-copy { grid-area: copy; }
.smr-contact h2 { font-size: clamp(28px, 2.5vw, 36px); }
.smr-contact-description { margin-top: 16px; font-size: 16px; line-height: 1.6; color: #5d687a; }
.smr-contact-rewards { grid-area: rewards; display: grid; gap: 10px; }
.smr-contact-rewards .smr-reward { padding: 0; border: 0; }
.smr-contact-rewards .smr-reward img { width: 36px; height: 36px; }
.smr-contact-rewards .smr-reward strong { font-size: 14px; }
.smr-selection { grid-area: selection; margin: 0; padding-top: 6px; border-top: 1px solid #dde2e8; }
.smr-selection summary { min-height: 44px; padding-block: 10px; font-size: 14px; font-weight: 700; color: var(--accent-action); cursor: pointer; }
.smr-selection summary:focus-visible { outline: 3px solid var(--accent-action); outline-offset: 3px; }
.smr-selection dl { margin: 14px 0 8px; display: grid; gap: 8px; font-size: 13px; }
.smr-selection dl > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
.smr-selection dt { color: #5d687a; }
.smr-selection dd { margin: 0; font-weight: 600; }
.smr-text-button { display: inline-block; min-height: 44px; padding: 10px 0; border: 0; background: none; color: var(--accent-action); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.smr-contact-form { grid-area: form; margin: 0; gap: 18px; padding: 28px; border: 1px solid #e4e6e9; border-radius: 16px; background: #f6f7f8; }
.smr-contact-form .field { gap: 7px; }
.smr-contact-form .field > label { font-size: 14px; font-weight: 700; }
.smr-contact-form .input { min-height: 54px; border-color: #aeb8c6; border-radius: 8px; padding: 14px 16px; font-size: 16px; background: #fff; }
.smr-contact-form .input::placeholder { color: #657080; }
.smr-contact-form .input:focus { border-color: var(--accent-action); }
.smr-contact-form .field-error .input { border-color: var(--danger); }
.smr-contact-next { color: #5d687a; font-size: 13px; line-height: 1.5; }
.smr-contact-form .btn { width: 100%; }
.smr-contact-form .consent-note { color: #5d687a; font-size: 12px; line-height: 1.5; margin: 0; }
.smr-contact-form .consent-note a { text-decoration: underline; text-underline-offset: 2px; }
.smr-contact-form .error-text { font-size: 13px; }
.smr-contact-form .error-text:empty, .smr-contact-form .form-status:empty { display: none; }
.smr-quiz-view .form-status { margin: 0; line-height: 1.5; font-size: 14px; }
.smr-quiz-view .form-status.is-error { color: var(--danger); }
.smr-quiz-page .is-success-active .smr-flow-layout { grid-template-columns: 1fr; }
.smr-success { width: min(560px, 100%); margin: auto; padding: 56px 0; text-align: center; }
.smr-success-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #edf4ef; color: #18794e; font-size: 30px; margin: 0 auto 24px; }
.smr-success > p { margin-top: 20px; font-size: 16px; color: #5d687a; line-height: 1.6; }
.smr-success > .smr-success-phone { margin-top: 12px; font-weight: 700; }
.smr-success > .btn { margin-top: 28px; }
.smr-success > .smr-text-button { display: block; margin-top: 12px; }
.smr-quiz-view a:focus-visible, .smr-text-button:focus-visible { outline: 3px solid var(--accent-action); outline-offset: 3px; }
@media (min-width: 761px) and (max-width: 1060px) {
  .smr-quiz-page .quiz-landing-free:not(.is-quiz-active) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .smr-quiz-page .quiz-landing-visual { max-height: none; }
  .smr-quiz-page .quiz-intro h1 { font-size: 30px; }
  .smr-quiz-page .quiz-landing-stage { padding-inline: 24px; }
  .smr-quiz-page .quiz-landing-brand-dark span { white-space: normal; font-size: 12px; }
  .smr-quiz-view { padding-inline: 28px; }
  .smr-flow-layout { grid-template-columns: minmax(0, 1fr) 216px; gap: 24px; }
  .smr-question-layout { grid-template-columns: 1fr; }
  .smr-step-photo { display: none; }
  .smr-sidebar { padding: 18px; }
  .smr-flow-header > p { display: none; }
  .smr-contact { grid-template-columns: minmax(0, 1fr) minmax(290px, .95fr); gap: 24px 28px; margin-top: 16px; }
  .smr-contact-form { padding: 22px; }
  .smr-contact-description { max-width: 50ch; }
}
@media (max-width: 760px) {
  .smr-quiz-page .quiz-landing-free:not(.is-quiz-active) { display: block; }
  .smr-quiz-page .quiz-landing-visual { min-height: 0; height: min(66vw, 260px); max-height: 260px; }
  .smr-quiz-page .quiz-landing-visual img { object-position: center 38%; }
  .smr-quiz-page .quiz-landing-stage { min-height: 0; padding: 20px; }
  .smr-quiz-page .quiz-landing-brand-dark { gap: 12px; margin-bottom: 22px; }
  .smr-quiz-page .quiz-landing-brand-dark img { width: 100px; }
  .smr-quiz-page .quiz-landing-brand-dark span { font-size: 12px; }
  .smr-quiz-page .quiz-intro { padding: 0; }
  .smr-quiz-page .quiz-intro h1 { font-size: 29px; }
  .smr-quiz-page .quiz-hero-list { font-size: 15px; line-height: 1.45; margin-top: 18px; }
  .smr-quiz-page .quiz-landing-footer { margin-top: 24px; }
  .smr-quiz-page .quiz-bonuses-marquiz .quiz-bonus-card strong { font-size: 12px; }
  .smr-quiz-view { padding-inline: 20px; }
  .smr-flow-header { min-height: 72px; }
  .smr-flow-brand { gap: 16px; }
  .smr-flow-brand img { width: 96px; }
  .smr-flow-brand span { font-size: 12px; }
  .smr-flow-header > p { display: none; }
  .smr-stages { gap: 8px; padding-block: 18px 22px; }
  .smr-stages li { flex-direction: column; align-items: flex-start; gap: 7px; font-size: 11px; white-space: nowrap; }
  .smr-stages li > span { width: 25px; height: 25px; flex-basis: 25px; }
  .smr-flow-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; padding-bottom: 24px; }
  .smr-question-count { font-size: 12px; margin: 0 0 10px; }
  .smr-auto-hint { margin: -2px 0 16px; font-size: 12px; }
  .smr-step h2, .smr-contact h2 { font-size: 28px; line-height: 1.17; }
  .smr-step-intro { margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .smr-question-layout { grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
  .smr-step-photo { display: none; }
  .smr-answers { gap: 9px; }
  .smr-answer { min-height: 56px; padding: 13px 15px; gap: 12px; }
  .smr-answer strong { font-size: 15px; }
  .smr-answer small { font-size: 13px; }
  .smr-step-nav { position: sticky; bottom: 0; padding: 16px 0 12px; margin-top: 20px; background: #fff; z-index: 2; }
  .smr-step-nav .btn { width: auto; min-width: 104px; padding-inline: 18px; }
  .smr-step-nav .btn:not(.btn-secondary) { min-width: 0; flex: 1; max-width: 220px; }
  .smr-sidebar { gap: 18px; padding: 18px; border-radius: 12px; }
  .smr-rewards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .smr-rewards > h2 { grid-column: 1 / -1; font-size: 13px; margin-bottom: 12px; }
  .smr-reward { align-items: flex-start; gap: 8px; padding: 0; }
  .smr-reward + .smr-reward { border: 0; }
  .smr-reward img { width: 28px; height: 28px; }
  .smr-reward strong { font-size: 12px; }
  .smr-help { padding-top: 16px; border-top: 1px solid #dde2e8; }
  .smr-help h3 { font-size: 14px; }
  .smr-help p { font-size: 13px; margin-top: 6px; }
  .smr-support { min-height: 32px; display: flex; align-items: center; }
  .smr-contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "rewards" "selection"; margin-top: 0; gap: 22px; }
  .smr-contact-description { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .smr-contact-rewards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .smr-contact-rewards .smr-reward { gap: 8px; }
  .smr-contact-rewards .smr-reward img { width: 30px; height: 30px; }
  .smr-contact-rewards .smr-reward strong { font-size: 12px; }
  .smr-selection { margin-top: 0; padding-top: 6px; }
  .smr-selection dl { margin-top: 10px; gap: 5px; }
  .smr-contact-form { gap: 14px; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .smr-contact-form .consent-note { font-size: 12px; }
  .smr-contact-next { font-size: 12px; }
  .smr-success { padding: 40px 0; }
  .smr-success > .btn { width: 100%; padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .smr-quiz-page *, .smr-quiz-page *::before, .smr-quiz-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
