:root {
  --background: #f4f0ea;
  --foreground: #321925;
  --primary: #c84f59;
  --primary-dark: #b8444e;
  --muted: #75656d;
  --border: #ded4d0;
  --soft: #faf7f4;
}

* { box-sizing: border-box; }
html { background: var(--background); }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }

.site-shell {
  min-height: 100vh;
  padding: 20px clamp(16px, 3vw, 52px) 18px;
  background: radial-gradient(circle at 8% 14%, rgba(200, 79, 89, .12), transparent 28%), var(--background);
}

.site-header { max-width: 1440px; margin: 0 auto 18px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--foreground); text-decoration: none; }
.brand-mark { font-weight: 900; font-size: 34px; letter-spacing: -2px; line-height: 1; }
.brand-copy { font-size: 10px; line-height: 1.15; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--foreground); text-decoration: none; font-weight: 800; font-size: 15px; }
.phone-icon { font-size: 18px; line-height: 1; }

.experience {
  max-width: 1440px;
  min-height: calc(100vh - 128px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(560px, 1.05fr);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(55, 25, 38, .13);
}

.visual-panel {
  position: relative;
  min-height: 680px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background-color: #6e4d59;
  background-image: url("https://im.cdnstroy.ru/m7wj797wsvx3m_59zpjb.jpeg");
  background-position: center;
  background-size: cover;
}
.visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 17, 27, .15), rgba(38, 17, 27, .08) 45%, rgba(38, 17, 27, .84)); }
.visual-panel::after { content: ""; position: absolute; right: -1px; top: 0; width: 9%; height: 100%; background: #fff; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.visual-topline, .visual-bottom { position: relative; z-index: 1; }
.visual-topline { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.visual-bottom { max-width: 430px; padding-right: 34px; }
.visual-bottom > span { display: inline-block; padding: 7px 11px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 99px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.visual-bottom p { margin: 0; font-size: clamp(25px, 3vw, 43px); line-height: 1.02; font-weight: 900; letter-spacing: -.045em; }

.content-panel { min-width: 0; display: flex; align-items: center; padding: clamp(40px, 5.5vw, 82px); }
.intro, .quiz, .result, .success-state { width: 100%; max-width: 670px; margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--primary); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(37px, 4.2vw, 64px); line-height: .98; letter-spacing: -.055em; font-weight: 900; }
.lead-copy { max-width: 610px; margin: 24px 0 0; color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 34px 0; overflow: hidden; border: 1px solid #e6dcda; border-radius: 15px; background: #e6dcda; }
.highlight { min-width: 0; padding: 19px 15px; display: flex; flex-direction: column; background: var(--soft); }
.highlight strong { font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.highlight span { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.25; }

.button { min-height: 54px; padding: 0 27px; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; transition: .18s ease; }
.button-primary { color: #fff; background: var(--primary); box-shadow: 7px 7px 0 var(--foreground); }
.button-primary:hover { background: var(--primary-dark); transform: translate(2px, 2px); box-shadow: 5px 5px 0 var(--foreground); }
.button-primary:focus-visible, .button-ghost:focus-visible, .option-card:focus-within, input:focus-visible { outline: 3px solid rgba(200,79,89,.32); outline-offset: 3px; }
.button-primary:disabled { opacity: .62; cursor: wait; transform: none; }
.button-ghost { color: var(--muted); background: transparent; box-shadow: none; padding-inline: 8px; }
.trust-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: #84757c; font-size: 12px; }
.trust-note strong { color: var(--primary); }

.quiz-meta { display: flex; justify-content: space-between; margin-bottom: 10px; color: #84757c; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.progress { height: 5px; margin-bottom: 35px; overflow: hidden; background: #efe8e2; }
.progress > span { display: block; height: 100%; width: var(--progress, 0%); background: var(--primary); transition: width .25s ease; }
.question-heading h1, .result-card h1, .success-state h1 { font-size: clamp(34px, 3.4vw, 53px); }
.question-heading p { margin: 15px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.option-list { display: grid; gap: 9px; }
.option-card { min-height: 58px; display: grid; grid-template-columns: 18px 34px 1fr 22px; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid var(--border); background: #fff; cursor: pointer; transition: .18s ease; }
.option-card:hover { border-color: var(--primary); transform: translateX(3px); }
.option-card.selected { border-color: var(--primary); background: #fff5f3; box-shadow: inset 4px 0 0 var(--primary); }
.option-card input { width: 16px; height: 16px; accent-color: var(--primary); }
.option-index { color: #b6a9ae; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.option-label { font-size: 15px; font-weight: 800; }
.option-check { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: white; opacity: 0; transform: scale(.7); transition: .18s ease; }
.option-card.selected .option-check { opacity: 1; transform: scale(1); }
.quiz-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; }

.result-card { padding: 27px; border: 1px solid #e3d8d4; background: var(--soft); }
.result-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; color: var(--primary); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.result-card p { margin: 17px 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.result-card ul { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.result-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; font-weight: 700; }
.result-card li::before { content: "✓"; flex: none; color: var(--primary); }
.lead-form { margin-top: 22px; }
.lead-form h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.lead-form > p { margin: 8px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.field input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--border); border-radius: 0; color: var(--foreground); background: #fff; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin: 13px 0 17px; color: #84757c; font-size: 10px; line-height: 1.4; cursor: pointer; }
.consent-row input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--primary); }
.consent-row a { color: #6f3340; text-underline-offset: 2px; }
.form-error { min-height: 17px; margin: 10px 0; color: #b42318; font-size: 12px; font-weight: 700; }
.back-link { display: flex; align-items: center; gap: 5px; margin-top: 18px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.success-icon { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 25px; background: var(--primary); color: #fff; border-radius: 50%; box-shadow: 7px 7px 0 var(--foreground); font-size: 34px; }
.success-card { display: flex; align-items: center; gap: 13px; margin: 28px 0; padding: 17px; border-left: 4px solid var(--primary); background: var(--soft); }
.success-card > span { font-size: 25px; color: var(--primary); }
.success-card div { display: flex; flex-direction: column; gap: 3px; }
.success-card strong { font-size: 13px; }
.success-card small { color: var(--muted); font-size: 12px; }

footer { max-width: 1440px; margin: 14px auto 0; display: flex; justify-content: space-between; color: #8a7b81; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .experience { grid-template-columns: 38% 62%; }
  .visual-panel { min-height: 650px; padding: 25px; }
  .visual-panel::after { display: none; }
  .content-panel { padding: 42px 34px; }
  .visual-bottom p { font-size: 28px; }
}

@media (max-width: 760px) {
  .site-shell { padding: 13px 12px; }
  .site-header { margin-bottom: 12px; }
  .header-phone > span:last-child { display: none; }
  .header-phone { width: 40px; height: 40px; justify-content: center; border: 1px solid #d8ceca; border-radius: 50%; }
  .experience { min-height: 0; grid-template-columns: 1fr; border-radius: 18px; }
  .visual-panel { min-height: 220px; padding: 21px; background-position: center 44%; }
  .experience.active .visual-panel { min-height: 96px; background-position: center 47%; }
  .experience.active .visual-bottom { display: none; }
  .visual-topline { font-size: 9px; }
  .visual-bottom p { max-width: 300px; font-size: 25px; }
  .content-panel { padding: 31px 22px 37px; align-items: flex-start; }
  h1 { font-size: 39px; }
  .lead-copy { margin-top: 17px; font-size: 15px; }
  .highlights { margin: 25px 0; }
  .highlight { padding: 14px 10px; }
  .highlight strong { font-size: 19px; }
  .highlight span { font-size: 9px; }
  .button-primary { width: 100%; }
  .question-heading h1, .result-card h1, .success-state h1 { font-size: 35px; }
  .progress { margin-bottom: 27px; }
  .option-card { min-height: 55px; grid-template-columns: 18px 27px 1fr 22px; padding: 10px 12px; }
  .option-label { font-size: 14px; }
  .quiz-actions { gap: 10px; }
  .quiz-actions .button-ghost { width: 46px; padding: 0; font-size: 0; }
  .quiz-actions .button-ghost::before { content: "←"; font-size: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

