:root{
  --ink:#0c2f45;
  --text:#526b79;
  --red:#e93d4f;
  --red-dark:#d7182d;
  --pink:#ee7482;
  --line:#dde3e7;
  --muted:#f6f8f9;
  --white:#fff;
  --shadow:0 10px 28px rgba(8,43,65,.12);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff}
button,input{font:inherit}
button{cursor:pointer}
a{color:var(--red)}
.hidden{display:none!important}
.app-shell{min-height:100vh;min-height:100dvh}
.landing{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,58.9fr) minmax(420px,41.1fr);background:#fff}
.landing__visual{min-height:100vh;background:url('./hero.jpg') center center/cover no-repeat}
.landing__content{display:flex;align-items:center;padding:48px clamp(32px,5vw,86px)}
.landing__content-inner{max-width:650px}
.eyebrow{display:none;font-weight:800;color:var(--red);letter-spacing:.02em}
h1,h2{margin:0;color:var(--ink);letter-spacing:-.035em}
h1{font-size:clamp(30px,2.4vw,46px);line-height:1.08;margin-bottom:18px}
.lead{font-size:clamp(17px,1.2vw,22px);line-height:1.5;color:var(--text);margin:0 0 22px}
.microcopy{max-width:530px;font-size:13px;line-height:1.45;color:#8b9aa2;margin-top:18px}
.btn{border:0;border-radius:4px;padding:15px 24px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.18s ease;min-height:52px}
.btn:disabled{cursor:not-allowed;opacity:.38;filter:grayscale(.2)}
.btn--primary{color:#fff;background:linear-gradient(135deg,#ea5362,#e33d51);box-shadow:0 8px 18px rgba(226,54,76,.22)}
.btn--primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px rgba(226,54,76,.28)}
.btn--large{font-size:18px;padding:17px 30px}
.btn--ghost{background:#fff;color:#78909b;border:1px solid var(--line);box-shadow:none}
.btn--icon{width:46px;padding:0;font-size:22px}
.quiz{min-height:100vh;min-height:100dvh;background:#fff}
.quiz__inner{width:min(100%,1150px);min-height:100vh;min-height:100dvh;margin:0 auto;padding:24px 60px 18px;display:grid;grid-template-rows:auto 1fr auto}
.quiz__topline{display:flex;align-items:center;gap:10px;min-height:34px;opacity:.92}
.brand-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:white;font-size:14px}
.quiz__brand{font-size:14px;font-weight:800;color:#82949e}
.quiz__step{padding-top:20px}
.step-content{max-width:1020px}
.step-content--narrow{max-width:860px}
h2{font-size:clamp(32px,3.2vw,44px);line-height:1.1;margin-bottom:24px}
.choices{display:grid;gap:16px}
.choices--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.choices--schedule{grid-template-columns:repeat(2,minmax(0,1fr))}
.choices--schedule .choice:last-child{grid-column:1/2}
.choices--stack{grid-template-columns:1fr}
.choice{width:100%;min-height:64px;border:1px solid #dfe4e7;background:#fff;border-radius:5px;display:flex;align-items:center;gap:16px;text-align:left;color:var(--ink);padding:15px 18px;font-size:18px;transition:.15s ease}
.choice:hover{border-color:#ef9ba5;background:#fffafb}
.choice.selected{border-color:var(--red);box-shadow:0 0 0 1px var(--red) inset;background:#fffafb}
.radio{width:21px;height:21px;border-radius:50%;background:#e7e9eb;flex:0 0 auto;border:5px solid #e7e9eb;box-shadow:inset 0 0 0 4px #e7e9eb}
.choice.selected .radio{background:var(--red);border-color:#fff;box-shadow:0 0 0 2px var(--red)}
.choice--detail{min-height:78px}
.choice--detail b,.choice--detail small{display:block}
.choice--detail b{font-size:17px;margin-bottom:2px}
.choice--detail small{font-size:16px;line-height:1.28;color:var(--text);font-weight:400}
.quiz__footer{display:flex;align-items:end;justify-content:space-between;padding-top:24px}
.progress-wrap{display:flex;align-items:center;gap:10px;min-width:130px}
.progress-ring{width:31px;height:31px;border-radius:50%;background:conic-gradient(var(--red) var(--progress,0%),#e8ecee 0);position:relative}
.progress-ring:after{content:"";position:absolute;inset:3px;background:#fff;border-radius:50%}
.progress-copy{display:flex;flex-direction:column;font-size:13px;line-height:1.05;color:#71838d}
.progress-copy strong{color:var(--red);font-size:14px;margin-top:4px}
.footer-actions{display:grid;grid-template-columns:auto auto;gap:12px;align-items:center}
.enter-hint{grid-column:2;text-align:center;font-size:12px;color:#9ca9af;margin-top:-7px}
.lead-step{width:min(100%,650px);margin:52px auto 0;text-align:center}
.lead-step h2{font-size:32px;margin-bottom:16px}
.lead-step>p{font-size:16px;line-height:1.45;color:var(--text);font-weight:600;margin:0 auto 20px}
.lead-form{text-align:left}
.lead-form label>span:first-child{display:block;color:#526b79;font-size:17px;margin:14px 0 7px}
.input-wrap,.phone-wrap{display:flex;align-items:center;border:1px solid #d7dde0;border-radius:4px;min-height:58px;background:#fff;overflow:hidden}
.input-wrap:focus-within,.phone-wrap:focus-within{border-color:var(--red);box-shadow:0 0 0 1px rgba(233,61,79,.22)}
.input-icon{width:54px;display:grid;place-items:center;color:#b6bec2;font-size:10px}
.input-wrap input,.phone-wrap input{border:0;outline:0;min-width:0;flex:1;padding:0 14px;height:56px;font-size:18px;color:var(--ink)}
.phone-prefix{height:56px;display:flex!important;align-items:center;padding:0 12px;border-right:1px solid #d7dde0;color:#183f54!important;font-size:16px!important;margin:0!important;white-space:nowrap}
.btn--submit{width:100%;margin-top:20px;font-size:18px;background:#e98994;box-shadow:none}
.consent{display:flex!important;gap:9px;align-items:flex-start;margin-top:18px;font-size:13px!important;color:#617680!important;line-height:1.4}
.consent input{margin-top:2px;accent-color:var(--red)}
.consent span{display:inline!important;margin:0!important;font-size:13px!important;color:#617680!important}
.hp{position:absolute!important;left:-9999px!important;opacity:0!important}
.form-error{min-height:20px;color:#c51f34;font-size:13px;margin-top:10px;text-align:center}
.result-step{width:min(100%,760px);margin:38px auto 0;text-align:center}
.result-badge{display:inline-flex;background:#fff1f3;color:var(--red);font-weight:800;border-radius:999px;padding:8px 13px;margin-bottom:14px}
.result-step h2{font-size:38px}
.result-card{background:linear-gradient(135deg,#102f43,#0b3d57);color:#fff;border-radius:16px;padding:28px;margin:22px 0 18px;box-shadow:var(--shadow)}
.result-card__label{font-size:14px;opacity:.75;text-transform:uppercase;letter-spacing:.06em}
.result-card__value{font-size:clamp(38px,7vw,68px);font-weight:900;letter-spacing:-.05em;margin:6px 0}
.result-card__sub{font-size:16px;opacity:.8}
.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:left}
.result-grid>div{border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff}
.result-grid span,.result-grid strong{display:block}
.result-grid span{font-size:12px;color:#8a9aa2;margin-bottom:5px}.result-grid strong{font-size:15px;color:var(--ink)}
.result-note{font-size:13px;line-height:1.5;color:#7b8d96;margin:18px auto;max-width:690px}
.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
@media (max-width:900px){
  .landing{grid-template-columns:1fr;min-height:auto}
  .landing__visual{min-height:0;aspect-ratio:1121/816;background-size:cover;background-position:center}
  .landing__content{padding:32px 22px 40px}
  .landing__content-inner{max-width:none}
  .eyebrow{display:block;font-size:13px;margin:0 0 10px}
  .quiz__inner{padding:18px 24px 16px}
  h2{font-size:34px}
}
@media (max-width:640px){
  .landing__visual{aspect-ratio:1.18/1;background-size:auto 100%;background-position:42% center}
  .landing__content{padding:26px 18px 34px}
  h1{font-size:30px}
  .lead{font-size:16px}
  .btn--large{width:100%}
  .quiz__inner{padding:14px 16px 12px}
  .quiz__topline{min-height:28px}
  .quiz__step{padding-top:18px}
  h2{font-size:29px;margin-bottom:20px}
  .choices--two,.choices--schedule{grid-template-columns:1fr}
  .choices--schedule .choice:last-child{grid-column:auto}
  .choice{font-size:16px;min-height:60px;padding:13px 14px}
  .choice--detail{min-height:74px}.choice--detail b{font-size:16px}.choice--detail small{font-size:14px}
  .quiz__footer{gap:10px;align-items:end}
  .progress-wrap{min-width:auto}.progress-copy{display:none}
  .footer-actions{gap:8px}.btn{min-height:48px;padding:13px 18px}.btn--icon{width:46px;padding:0}
  .lead-step{margin-top:12px}.lead-step h2{font-size:29px}.lead-step>p{font-size:14px}.input-wrap,.phone-wrap{min-height:54px}.input-wrap input,.phone-wrap input,.phone-prefix{height:52px}.phone-prefix{font-size:14px!important}.input-wrap input,.phone-wrap input{font-size:16px}
  .result-step{margin-top:12px}.result-step h2{font-size:30px}.result-grid{grid-template-columns:1fr}.result-actions .btn{width:100%}
}

/* BEGIN CYW 1.0.2 */


/* =========================
   PROGRESS BAR
   ========================= */

.progress-wrap{
  width:min(360px,42vw);
  min-width:220px;

  display:flex;
  flex-direction:column;

  align-items:stretch;

  gap:7px;
}


.progress-copy{
  display:flex;

  flex-direction:row;

  align-items:center;
  justify-content:space-between;

  width:100%;

  font-size:12px;
  line-height:1;

  color:#71838d;
}


.progress-copy strong{
  margin:0;

  color:var(--red);

  font-size:13px;

  font-variant-numeric:
    tabular-nums;
}


.progress-track{
  position:relative;

  width:100%;
  height:7px;

  overflow:hidden;

  border-radius:999px;

  background:#e8ecee;
}


.progress-bar{
  width:0;
  height:100%;

  border-radius:inherit;

  background:
    linear-gradient(
      90deg,
      var(--red),
      var(--pink)
    );

  transition:
    width .55s
    cubic-bezier(.22,.61,.36,1);

  will-change:width;
}


/* Старый круг больше не используется */

.progress-ring{
  display:none !important;
}


/* =========================
   SMOOTH STEPS
   ========================= */

.step-content,
.result-step,
.lead-step{

  animation:
    cywStepIn
    .34s
    cubic-bezier(.22,.61,.36,1)
    both;
}


@keyframes cywStepIn{

  from{
    opacity:0;
    transform:translateY(10px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}


.choice{

  transition:
    border-color .22s ease,
    background-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}


.choice:hover{

  transform:
    translateY(-1px);
}


.choice:active{

  transform:
    translateY(0)
    scale(.995);
}


/* =========================
   LEAD AFTER RESULT
   ========================= */

.result-lead{

  width:min(100%,650px);

  margin:
    28px auto 22px;

  padding:22px;

  border:
    1px solid var(--line);

  border-radius:14px;

  background:#fafbfc;

  text-align:left;
}


.result-lead h3{

  margin:0 0 6px;

  color:var(--ink);

  font-size:22px;

  letter-spacing:-.02em;
}


.result-lead > p{

  margin:0 0 12px;

  color:var(--text);

  font-size:14px;

  line-height:1.45;
}


.lead-success{

  padding:20px;

  border-radius:10px;

  background:#f3f8f5;

  text-align:center;
}


.lead-success strong,
.lead-success span{

  display:block;
}


.lead-success strong{

  margin-bottom:5px;

  color:var(--ink);

  font-size:20px;
}


.lead-success span{

  color:var(--text);

  font-size:14px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width:640px){

  .progress-wrap{

    width:44vw;
    min-width:0;

    gap:6px;
  }


  .progress-copy{

    display:flex;

    font-size:11px;
  }


  .progress-copy strong{

    font-size:12px;
  }


  .progress-track{

    height:6px;
  }


  .result-lead{

    padding:16px;

    margin-top:22px;
  }

}


/* =========================
   ACCESSIBILITY
   ========================= */

@media (prefers-reduced-motion:reduce){

  .progress-bar,
  .choice,
  .btn{

    transition:none !important;
  }


  .step-content,
  .result-step,
  .lead-step{

    animation:none !important;
  }

}


/* END CYW 1.0.2 */

