@font-face{font-family:Onest;src:url(assets/onest-cyrillic-400-normal.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Onest;src:url(assets/onest-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF,U+2190-21FF}
@font-face{font-family:Onest;src:url(assets/onest-cyrillic-600-normal.woff2) format("woff2");font-weight:600 900;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Onest;src:url(assets/onest-latin-600-normal.woff2) format("woff2");font-weight:600 900;font-display:swap;unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF,U+2190-21FF}
@font-face{font-family:Montserrat;src:url(assets/montserrat-cyrillic-900.woff2) format("woff2");font-weight:900;font-display:swap;unicode-range:U+0400-052F,U+2116}
@font-face{font-family:Montserrat;src:url(assets/montserrat-latin-900.woff2) format("woff2");font-weight:900;font-display:swap;unicode-range:U+0000-024F,U+2000-206F}
:root {
  --paper: #f6f7f1;
  --ink: #1b2420;
  --muted: #506055;
  --line: #c9d0c4;
  --yellow: #ffda36;
  --green: #51752a;
  --lime: #bce34f;
  --masthead-height: 55px;
  font: 16px/1.49 Onest, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
html:not(.quiz-opening) main:has(> .hero:not([hidden])) { flex: none; }
.offer-opening #podbor,
.quiz-opening #start,
.quiz-opening .step:not(:first-of-type),
.quiz-opening #submit { display: none; }
.quiz-opening .form-actions { min-height: 72px; }
a { color: inherit; }
button, input { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid #47711f; outline-offset: 4px; }
h2:focus { outline: none; }
h1, h2, h3, p, ul, dl, dd, figure, fieldset { margin: 0; }
.wrap { width: min(1320px, calc(100% - clamp(40px, 8vw, 128px))); margin-inline: auto; }
.hero-wrap { width: min(1440px, calc(100% - clamp(36px, 15.4vw, 220px))); margin-inline: auto; }
.icon { display: block; flex: none; width: 1em; height: 1em; }
.masthead { color: #fff; background: #18221e; }
.masthead-inner { min-height: var(--masthead-height); display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.brand { display: inline-flex; align-items: center; flex: none; padding: 6px 10px; border-radius: 4px; background: #fff; text-decoration: none; }
.brand img { display: block; width: clamp(110px, 9.75vw, 148px); height: auto; }
.dealer { border-inline-start: 1px solid #688070; padding: 6px 0 6px clamp(14px, 2vw, 28px); font-size: 12px; font-weight: 600; white-space: nowrap; }
.masthead-phone {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  background: var(--lime);
  color: #192517;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.masthead-phone .icon { width: 15px; height: 15px; }
.hero-stage {
  position: relative;
  display: grid;
  grid-template: "banner" / minmax(0, 1fr);
  align-items: center;
  max-width: 1964px;
  margin-inline: auto;
  background: #f7f2eb;
}
.hero-stage::before, .hero-stage::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(82px, 9vw, 136px);
  height: clamp(100px, 10.5vw, 155px);
  background: #b4dc3b;
  pointer-events: none;
}
.hero-stage::before { clip-path: polygon(63% 0, 100% 0, 37% 78%, 0 78%); }
.hero-stage::after { clip-path: polygon(100% 30%, 100% 68%, 76% 100%, 44% 100%); }
.offer-copy {
  grid-area: banner;
  z-index: 1;
  width: min(30%, 428px);
  margin-inline-start: max(clamp(18px, 7.7vw, 110px), calc((100% - 1440px) / 2));
  padding-block: 10px;
}
.hero-picture {
  grid-area: banner;
  display: block;
  width: 100%;
  height: auto;
}
.warranty { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.warranty strong { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 12px; background: var(--lime); font-size: 16px; }
.warranty .icon { width: 24px; height: 24px; }
.warranty small { font-size: 12px; }
.offer-copy h1, .price { font: 900 clamp(34px, 4.31vw, 63px)/.8 Montserrat, Onest, Arial, sans-serif; letter-spacing: -.012em; }
.offer-copy h1 { margin-top: 12px; letter-spacing: 0; }
.offer-copy h1 span { display: block; }
.offer-copy h1 span:last-child { font-size: 1.04em; line-height: .77; }
.offer-intro { max-width: 370px; margin-top: 8px; color: #343c37; font-size: clamp(16px, 1.57vw, 22px); font-weight: 600; line-height: 1; }
.price { margin-top: 5px; font-size: clamp(26px, 2.82vw, 41px); line-height: .96; white-space: nowrap; }
.price strong { color: #6f9718; font-size: 1.4em; font-weight: inherit; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 4px; font-size: clamp(11px, .92vw, 13px); line-height: 1.25; }
.offer-gift {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 12px;
  align-items: center;
  gap: clamp(8px, 1.3vw, 17px);
  width: min(100%, 400px);
  min-height: 62px;
  margin-top: 8px;
  padding: 8px clamp(10px, 1.4vw, 17px);
  border-radius: 12px;
  background: #e0efb9;
  color: var(--ink);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.25;
  text-decoration: none;
}
.offer-gift:hover { background: #d7eba5; }
.offer-gift strong { display: block; font-size: clamp(14px, 1.25vw, 18px); }
.offer-gift .icon { width: clamp(32px, 3.4vw, 47px); height: clamp(32px, 3.4vw, 47px); }
.offer-gift::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.offer-note { margin-top: 6px; color: #353d37; font-size: 12px; line-height: 1.2; text-align: center; width: min(100%, 332px); }
.button { border: 0; border-radius: 5px; padding: 15px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 51px; line-height: 1.25; text-decoration: none; font-weight: 600; }
.primary { color: #182017; background: var(--yellow); }
.primary:hover:enabled, a.primary:hover { background: #ffd222; }
.button:disabled { cursor: default; color: #55604f; background: #e0e4d9; }
.action { width: min(100%, 332px); min-height: 46px; margin-top: 8px; padding: 10px 12px; border-radius: 11px; background: #ffd522; }
.arrow { position: relative; width: 18px; height: 2px; background: currentColor; flex: none; }
.arrow::after { content: ''; position: absolute; right: 0; bottom: -3px; width: 7px; height: 7px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-block: 19px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.footer a, .consent a { text-underline-offset: .17em; }
.quiz { padding-block: clamp(20px, 3.8vw, 54px); scroll-margin-block-start: var(--masthead-height); }
.js .quiz:not([hidden]) { display: block; }
.quiz-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr); gap: clamp(20px, 3vw, 42px); align-items: start; }
.quiz-main { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: clamp(21px, 3.3vw, 50px); }
.quiz-top, .form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quiz-top { color: var(--muted); font-size: 14px; }
.text-link { padding: 4px 0; min-height: 34px; display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--ink); border: none; text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.progress { display: flex; gap: 5px; margin: 14px 0 clamp(25px, 3.5vw, 48px); }
.progress i { height: 5px; background: #e0e4d9; border-radius: 2px; flex: 1; }
.progress .filled { background: var(--green); }
.step { min-width: 0; padding: 0; border: none; }
.step h2, .success h2 { font-size: clamp(28px, 3.2vw, 47px); line-height: 1.12; letter-spacing: -.05em; text-wrap: balance; overflow-wrap: break-word; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 27px; }
.engine-choices { grid-template-columns: 1fr; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 15px; cursor: pointer; border: 1px solid #afbaad; border-radius: 5px; background: #fcfcf8; }
.choice:hover { border-color: var(--green); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.radio-mark { box-sizing: border-box; flex: 0 0 19px; height: 19px; border: 1.5px solid #73816f; border-radius: 50%; display: grid; place-items: center; }
.choice input:checked + .radio-mark::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.choice:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f1f6e8; }
.choice small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.form-actions { margin-top: 27px; border-top: 1px solid var(--line); padding-top: 20px; }
.form-actions .primary { margin-left: auto; }
.form-actions .text-link { flex-shrink: 0; white-space: nowrap; }
.summary { overflow: hidden; background: #e9eee2; border-radius: 8px; }
.summary img { display: block; width: 100%; height: auto; }
.summary-content { padding: 18px 22px; }
.summary h3 { font-size: 22px; letter-spacing: -.04em; }
.summary dl { margin-top: 10px; }
.summary dl div { padding: 9px 0; display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid #c8d2c1; font-size: 13px; }
.summary dd { text-align: right; color: var(--muted); }
.summary dd.answered { color: var(--ink); font-weight: 600; }
.contact-desc, .success p { margin-top: 14px; color: var(--muted); }
.test-note { margin: 16px 0 0; padding: 9px 12px; border-left: 3px solid #8a9b70; background: #f3f5ef; font-size: 13px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.contact-fields label { min-width: 0; font-size: 14px; font-weight: 600; }
.contact-fields label > span, .contact-fields small { color: var(--muted); }
.contact-fields label input { display: block; width: 100%; color: var(--ink); border: 1px solid #9fae9e; background: #fff; border-radius: 4px; min-height: 46px; padding: 9px 11px; margin-top: 5px; font-weight: 400; font-size: 16px; }
.contact-fields .city { grid-column: 1 / -1; }
.consent { gap: 10px; align-items: start; display: flex; margin-top: 18px; font-size: 13px; }
.consent input { width: 19px; height: 19px; accent-color: var(--green); flex: 0 0 auto; margin: 0; }
.consent label { cursor: pointer; }
.consent a { display: inline-block; }
.error { margin: 14px 0 0; color: #983b2d; }
.success .text-link { margin-top: 22px; }
.plain-result { padding-block: 55px; }
.plain-result p { margin-block: 16px; }
.sr-only { height: 1px; width: 1px; position: absolute; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not(.js) .quiz-top, html:not(.js) .progress, html:not(.js) .summary { display: none; }
html:not(.js) .step + .step { margin-top: 32px; }
@media (min-width: 761px) and (max-width: 1240px) {
  .warranty strong { padding: 5px 10px; font-size: 13px; }
  .warranty .icon { width: 20px; height: 20px; }
  .offer-copy h1 { margin-top: 9px; }
  .offer-intro { margin-top: 7px; }
  .offer-gift { min-height: 51px; margin-top: 7px; padding-block: 5px; }
  .action { min-height: 44px; margin-top: 7px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .offer-copy {
    z-index: 2;
    width: clamp(270px, 30vw, 380px);
  }
  .hero-picture {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    object-position: right;
  }
  .hero-stage::before {
    inset: 0;
    width: auto;
    height: auto;
    z-index: 1;
    clip-path: none;
    background: linear-gradient(90deg, #f7f2eb 27%, #f7f2ebdb 39%, transparent 58%);
  }
  .hero-stage::after { display: none; }
}
@media (max-width: 970px) {
}
@media (max-width: 860px) {
}
@media (max-width: 760px) {
  .hero-wrap { width: calc(100% - 36px); }
  .hero-stage { display: block; background: #f7f2eb; }
  .hero-stage::before, .hero-stage::after { display: none; }
  .offer-copy {
    width: min(100% - 36px, 620px);
    padding-block: 17px 18px;
    margin-inline: auto;
  }
  .offer-copy h1 { font-size: clamp(35px, 10vw, 55px); line-height: .87; }
  .offer-copy h1 span:last-child { line-height: inherit; }
  .price { font-size: clamp(27px, 8vw, 38px); }
  .hero-picture {
    aspect-ratio: 8 / 5;
    object-fit: cover;
    object-position: right;
  }
  .wrap { width: calc(100% - 36px); }
  .action { width: 100%; min-height: 48px; }
  .offer-note { width: 100%; }
  .quiz-layout { grid-template-columns: 1fr; }
  .quiz-main { padding: 20px 17px 18px; }
  .summary img { display: none; }
  .summary-content { padding: 13px 17px; }
  .summary h3 { font-size: 18px; }
  .summary dl { margin-top: 6px; }
  .summary dl div { padding: 6px 0; }
  .choices { gap: 8px; margin-top: 20px; }
  .choice { padding: 12px; gap: 10px; min-height: 56px; }
}
@media (max-width: 540px) {
  .dealer { display: none; }
  .brand { padding: 6px 8px; }
  .brand img { width: clamp(92px, 27vw, 122px); }
  .masthead-phone { padding-inline: 8px; gap: 4px; }
  .warranty { gap: 4px 7px; }
  .warranty strong { padding: 5px 9px; font-size: 13px; }
  .warranty .icon { width: 20px; height: 20px; }
  .warranty small { font-size: 11px; }
}
@media (max-width: 480px) {
  .choices, .contact-fields { grid-template-columns: 1fr; }
  .quiz { width: calc(100% - 24px); padding-top: 12px; }
  .form-actions .primary { padding: 12px 15px; gap: 9px; }
  .footer { align-items: flex-start; }
}
