:root {
  --page: #f5f2ec;
  --text: #2c2c2c;
  --quiz: #e5d4c0;
  --accent: #8b5e3c;
  --accent-hover: #a77550;
  --line: rgba(86, 62, 45, .26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: Roboto, Arial, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.hero { padding: 25px 24px 71px; }
.hero__inner { width: min(1200px, 100%); min-height: 832px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 590px) minmax(0, 540px); gap: 70px; align-items: start; }
.hero__copy { min-width: 0; }
.brand-card { width: fit-content; max-width: 100%; min-height: 58px; padding: 7px 13px 7px 8px; border: 1px solid var(--accent); border-radius: 16px; display: flex; align-items: center; gap: 11px; }
.brand-card__logo { width: 58px; height: 42px; object-fit: cover; object-position: center; border-radius: 1px; }
.brand-card__name { color: var(--accent); font-size: 17px; font-weight: 700; line-height: 1.15; }
.brand-card__tagline { margin-top: 2px; font-size: 13px; font-weight: 300; line-height: 1.2; white-space: nowrap; }
.showroom { margin: 20px 0 12px; font-size: 24px; font-weight: 300; }
h1 { margin: 0; font-size: clamp(52px, 5.1vw, 66px); line-height: 1.12; letter-spacing: -.7px; font-weight: 700; }
.hero__lead { margin: 13px 0 23px; font-size: 28px; font-weight: 300; line-height: 1.5; }
.hero__lead span { color: var(--accent); }
.benefits { list-style: none; margin: 0 0 27px; padding: 0; display: grid; gap: 15px; font-size: 26px; font-weight: 300; line-height: 1.25; }
.benefits li { position: relative; padding-left: 40px; }
.benefits li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 18px; font-weight: 700; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; min-height: 65px; padding: 15px 40px; border-radius: 10px; background: var(--accent); color: var(--page); text-decoration: none; text-transform: uppercase; font-size: 23px; line-height: 1.2; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.primary-button:hover { background: var(--accent-hover); }
.primary-button:active { transform: translateY(1px); }
.under-button { margin-top: 14px; font-size: 20px; font-weight: 300; }

.slider { position: relative; width: 100%; aspect-ratio: 1 / 1; margin-top: 147px; overflow: hidden; border-radius: 20px; background: #ddd1c2; }
.slider__track, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity .55s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider__arrow { position: absolute; z-index: 2; top: 50%; width: 42px; height: 64px; margin-top: -32px; border: 0; background: transparent; color: rgba(139,94,60,.72); font-size: 52px; font-weight: 200; cursor: pointer; opacity: 0; transition: opacity .2s; }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
.slider__arrow--prev { left: 9px; }
.slider__arrow--next { right: 9px; }
.slider__dots { position: absolute; z-index: 2; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(139,94,60,.38); cursor: pointer; }
.slider__dots button.is-active { background: var(--accent); }

.quiz-shell { margin: 0 34px 39px; min-height: 796px; border-radius: 22px; background: var(--quiz); }
.quiz { position: relative; width: min(600px, calc(100% - 40px)); min-height: 796px; margin: 0 auto; padding: 30px 0 70px; }
.progress { width: 100%; height: 8px; margin-bottom: 15px; overflow: hidden; border-radius: 9px; background: rgba(139,94,60,.1); }
.progress__fill { width: 10%; height: 100%; border-radius: inherit; background: var(--accent); transition: width .3s ease; }
.quiz-step { display: none; animation: fade .25s ease; }
.quiz-step.is-active { display: block; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.quiz h2 { margin: 0 0 10px; font-size: 34px; line-height: 1.18; font-weight: 400; }
.image-options, .text-options { display: grid; gap: 10px; }
.image-option { width: 100%; min-height: 176px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--text); display: flex; align-items: center; gap: 15px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.image-option:hover, .text-options button:hover { border-color: var(--accent); background: rgba(245,242,236,.25); }
.image-option img { width: 145px; height: 145px; object-fit: cover; border-radius: 9px; }
.image-option span { font-size: 20px; }
.image-option--skip { min-height: 55px; padding: 14px; }
.image-option--skip span { font-size: 18px; }
.text-options button { min-height: 66px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--text); font-size: 20px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.quiz-step--form p, .quiz-step--result p { font-size: 19px; line-height: 1.5; font-weight: 300; }
.fields { display: grid; gap: 12px; margin-top: 23px; }
.fields input { width: 100%; height: 58px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; outline: none; background: rgba(245,242,236,.34); color: var(--text); font-size: 18px; }
.fields input:focus { border-color: var(--accent); background: rgba(245,242,236,.55); }
.fields input.is-error { border-color: #a12929; }
.submit-button { width: 100%; min-height: 61px; margin-top: 15px; border: 0; border-radius: 9px; background: var(--accent); color: var(--page); font-size: 20px; font-weight: 700; cursor: pointer; }
.submit-button:hover { background: var(--accent-hover); }
.submit-button:disabled { opacity: .65; cursor: not-allowed; }
.form-error { min-height: 20px; margin-top: 8px; color: #8c2525; font-size: 14px; }
.result-button { margin-top: 13px; }
.back-button { position: absolute; left: -64px; bottom: 27px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(245,242,236,.45); color: var(--accent); font-size: 24px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.quiz[data-step="2"] .back-button, .quiz[data-step="3"] .back-button, .quiz[data-step="4"] .back-button { opacity: 1; pointer-events: auto; }

@media (max-width: 1050px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero__lead { font-size: 23px; }
  .benefits { font-size: 21px; }
  .primary-button { padding-inline: 24px; font-size: 19px; }
}

@media (max-width: 760px) {
  .hero { padding: 15px 18px 42px; }
  .hero__inner { min-height: 0; display: flex; flex-direction: column; gap: 28px; }
  .brand-card { min-height: 52px; border-radius: 13px; }
  .brand-card__logo { width: 50px; height: 36px; }
  .brand-card__name { font-size: 15px; }
  .brand-card__tagline { font-size: 10px; white-space: normal; }
  .showroom { margin: 18px 0 10px; font-size: 18px; }
  h1 { font-size: clamp(42px, 13.5vw, 58px); line-height: 1.05; letter-spacing: -.4px; }
  .hero__lead { margin: 16px 0 21px; font-size: 20px; line-height: 1.45; }
  .benefits { gap: 12px; font-size: 18px; }
  .benefits li { padding-left: 35px; }
  .benefits li::before { width: 25px; height: 25px; font-size: 16px; }
  .desktop-only { display: none; }
  .primary-button { width: 100%; min-height: 58px; padding: 14px 18px; font-size: 17px; text-align: center; }
  .under-button { font-size: 16px; }
  .slider { margin-top: 0; }
  .slider__arrow { display: none; }
  .quiz-shell { margin: 0 10px 16px; min-height: 690px; border-radius: 17px; }
  .quiz { width: calc(100% - 28px); min-height: 690px; padding-top: 22px; }
  .progress { margin-bottom: 13px; }
  .quiz h2 { font-size: 27px; }
  .image-option { min-height: 118px; padding: 10px; }
  .image-option img { width: 98px; height: 98px; }
  .image-option span, .text-options button { font-size: 17px; }
  .image-option--skip { min-height: 52px; }
  .back-button { left: 0; bottom: 17px; }
}

@media (max-width: 390px) {
  .hero { padding-inline: 14px; }
  h1 { font-size: 41px; }
  .brand-card__tagline { max-width: 240px; }
  .image-option { min-height: 102px; }
  .image-option img { width: 82px; height: 82px; }
}
