: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:5px;padding:15px 24px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .22s ease,box-shadow .22s ease,background .22s ease,opacity .22s 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;min-height:42px}
.quiz__logo{display:block;width:190px;max-width:46vw;height:auto}
.quiz__step{padding-top:20px}
.step-content{max-width:1020px;animation:stepIn .34s cubic-bezier(.22,.61,.36,1) both}
.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}
.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:border-color .22s ease,background-color .22s ease,box-shadow .22s ease,transform .22s ease}
.choice:hover{border-color:#ef9ba5;background:#fffafb;transform:translateY(-1px)}
.choice:active{transform:translateY(0) scale(.995)}
.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;gap:24px;padding-top:24px}
.progress-wrap{width:min(360px,42vw);min-width:220px;display:flex;flex-direction:column;gap:7px}
.progress-copy{display:flex;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}
.footer-actions{display:flex;gap:12px;align-items:center}
.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:5px;min-height:58px;background:#fff;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}
.input-wrap:focus-within,.phone-wrap:focus-within{border-color:var(--red);box-shadow:0 0 0 2px rgba(233,61,79,.10)}
.input-icon{width:54px;display:grid;place-items:center;flex:0 0 54px}.input-icon img{display:block;width:22px;height:22px;object-fit:contain;opacity:.78}
.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;transition:background .24s ease,box-shadow .24s ease,transform .18s ease,filter .24s ease}
.btn--submit.btn--submit-ready{background:var(--red);box-shadow:0 9px 22px rgba(233,61,79,.22);filter:saturate(1.06)}
.btn--submit.btn--submit-ready:hover{background:var(--red-dark);box-shadow:0 11px 25px rgba(215,24,45,.26);transform:translateY(-1px)}
.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;animation:stepIn .34s cubic-bezier(.22,.61,.36,1) both}
.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-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 8px;color:var(--ink);font-size:22px;letter-spacing:-.02em}
.result-lead>p{margin:0 0 14px;color:var(--text);font-size:14px;line-height:1.55}
.call-time-box{margin-top:18px;padding:16px;border:1px solid #dfe4e7;border-radius:10px;background:#fff}
.call-time-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.call-time-head strong,.call-time-head span{display:block}
.call-time-head strong{font-size:16px;color:var(--ink);margin-bottom:3px}
.call-time-head span{font-size:12px;color:#82939c}
.call-time-output{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#fff1f3;color:var(--red-dark);font-weight:800;font-size:14px;font-variant-numeric:tabular-nums}
.range-slider{position:relative;height:30px;--from:0%;--to:100%}
.range-slider__rail,.range-slider__fill{position:absolute;left:0;right:0;top:13px;height:5px;border-radius:999px}
.range-slider__rail{background:#e6eaed}
.range-slider__fill{left:var(--from);right:calc(100% - var(--to));background:linear-gradient(90deg,var(--red),var(--pink));transition:left .18s ease,right .18s ease}
.range-slider__input{position:absolute;left:0;top:0;width:100%;height:30px;margin:0;background:transparent;appearance:none;-webkit-appearance:none;pointer-events:none;outline:none}
.range-slider__input::-webkit-slider-runnable-track{height:5px;background:transparent;border:0}
.range-slider__input::-moz-range-track{height:5px;background:transparent;border:0}
.range-slider__input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-8.5px;border:3px solid #fff;border-radius:50%;background:var(--red);box-shadow:0 1px 7px rgba(12,47,69,.25);pointer-events:auto;cursor:grab}
.range-slider__input::-moz-range-thumb{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:var(--red);box-shadow:0 1px 7px rgba(12,47,69,.25);pointer-events:auto;cursor:grab}
.range-slider__input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px rgba(233,61,79,.16)}
.range-slider__input:focus-visible::-moz-range-thumb{box-shadow:0 0 0 4px rgba(233,61,79,.16)}
.range-slider__input--from{z-index:2}
.range-slider__input--to{z-index:3}
.range-slider__ticks{display:flex;justify-content:space-between;margin-top:0;color:#98a6ad;font-size:11px;font-variant-numeric:tabular-nums}
.lead-success{padding:22px;border-radius:10px;background:#f2f8f4;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}
.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
@keyframes stepIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@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:34px}
  .quiz__logo{width:160px;max-width:55vw}
  .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{width:42vw;min-width:0;gap:6px}
  .progress-copy{font-size:11px}
  .progress-copy strong{font-size:12px}
  .progress-track{height:6px}
  .footer-actions{gap:8px}
  .btn{min-height:48px;padding:13px 18px}
  .btn--icon{width:46px;padding:0}
  .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-lead{padding:16px;margin-top:22px}
  .call-time-head{display:block}
  .call-time-output{display:inline-block;margin-top:10px}
  .result-actions .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .progress-bar,.choice,.btn,.range-slider__fill{transition:none!important}
  .step-content,.result-step{animation:none!important}
}

/* BEGIN CYW 1.0.4 THANKS */
.thanks-page{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:28px;background:linear-gradient(180deg,#fff 0%,#f7f8f9 100%)}
.thanks-card{width:min(100%,700px);background:#fff;border:1px solid var(--line);border-radius:20px;padding:clamp(28px,6vw,54px);text-align:center;box-shadow:var(--shadow);animation:stepIn .4s cubic-bezier(.22,.61,.36,1) both}
.thanks-logo{display:block;width:min(330px,72vw);height:auto;margin:0 auto 30px}
.thanks-icon{display:flex;width:64px;height:64px;align-items:center;justify-content:center;margin:0 auto 18px;border-radius:50%;background:#fff1f3;color:var(--red);font-size:34px;font-weight:900}
.thanks-card h1{margin:0 0 14px;color:var(--ink);font-size:clamp(32px,6vw,50px);line-height:1.03;letter-spacing:-.04em}
.thanks-card>p{max-width:590px;margin:0 auto;color:var(--text);font-size:16px;line-height:1.6}
.thanks-meta{margin:22px auto 0;color:#7b8d96;font-size:13px}.thanks-meta strong{color:var(--ink);font-variant-numeric:tabular-nums}
.thanks-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
@media(max-width:640px){.thanks-page{padding:14px}.thanks-card{padding:28px 18px;border-radius:16px}.thanks-actions .btn{width:100%}}
/* END CYW 1.0.4 THANKS */

/* BEGIN CYW 1.0.8 REAL TRACKING + MOBILE BRAND */
.mobile-brandline{display:none;color:#667b87;font-size:12px;line-height:1.35;text-align:center}
.mobile-brandline a{color:var(--red-dark);font-weight:800;text-decoration:none;border-bottom:1px solid rgba(190,22,34,.25)}
.mobile-brandline a:hover{border-bottom-color:currentColor}
@media(max-width:640px){
  .quiz__topline{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
  .mobile-brandline{display:block;text-align:left}
  .mobile-brandline--thanks{text-align:center;margin:-18px auto 22px}
}
/* END CYW 1.0.8 REAL TRACKING + MOBILE BRAND */

/* BEGIN CYW 1.0.9 CITIES */
.choices--cities{gap:12px 16px}
.choices--cities .choice{min-height:60px}
@media(max-width:640px){
  .choices--cities{gap:10px}
  .choices--cities .choice{min-height:56px}
}
/* END CYW 1.0.9 CITIES */

/* BEGIN CYW 1.0.11 MOBILE COMPACT */
@media (max-width:640px){
  html,body{min-height:100%;overflow-x:hidden}

  /* Стартовый экран: компактный и без лишнего вертикального воздуха */
  .landing{min-height:100dvh;display:flex;flex-direction:column}
  .landing__visual{flex:0 0 34dvh;height:34dvh;min-height:190px;max-height:300px;aspect-ratio:auto;background-size:cover;background-position:42% center}
  .landing__content{flex:1;align-items:flex-start;padding:16px 14px 18px}
  .landing__content-inner{width:100%}
  .eyebrow{font-size:11px;margin:0 0 6px}
  h1{font-size:27px;line-height:1.04;margin-bottom:10px}
  .lead{font-size:14px;line-height:1.38;margin-bottom:12px}
  .btn--large{min-height:46px;padding:11px 16px;font-size:16px}
  .microcopy{font-size:11px;line-height:1.35;margin-top:10px}

  /* Каркас каждого шага рассчитан на экран телефона */
  .quiz,.quiz__inner{min-height:100dvh;height:100dvh}
  .quiz__inner{padding:8px 11px 9px;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
  .quiz__topline{min-height:0;gap:3px}
  .quiz__logo{width:126px;max-width:42vw}
  .mobile-brandline{font-size:9.5px;line-height:1.2;white-space:nowrap}
  .quiz__step{min-height:0;padding-top:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
  .quiz__step::-webkit-scrollbar{display:none}
  .step-content,.step-content--narrow{max-width:none;width:100%}
  h2{font-size:22px;line-height:1.08;margin-bottom:12px;letter-spacing:-.03em}

  /* Общая сетка ответов */
  .choices{gap:7px}
  .choice{min-height:48px;padding:8px 10px;gap:9px;border-radius:7px;font-size:14px;line-height:1.2}
  .radio{width:16px;height:16px;border-width:4px;box-shadow:inset 0 0 0 3px #e7e9eb}
  .choice.selected .radio{box-shadow:0 0 0 2px var(--red)}

  /* ГОРОДА: строго два столбца на телефоне */
  .choices--cities{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px 8px}
  .choices--cities .choice{min-height:44px;padding:7px 8px;gap:7px;font-size:13.5px;white-space:nowrap}
  .choices--cities .radio{width:15px;height:15px;flex-basis:15px}

  /* Транспорт: четыре компактные карточки помещаются без прокрутки на большинстве экранов */
  .choices--stack{gap:6px}
  .choice--detail{min-height:53px;padding:7px 9px;gap:9px}
  .choice--detail b{font-size:14px;margin-bottom:1px}
  .choice--detail small{font-size:11px;line-height:1.18}

  /* График */
  .choices--schedule{grid-template-columns:1fr!important;gap:7px}
  .choices--schedule .choice{min-height:48px;padding:8px 10px;font-size:13.5px}

  /* Нижняя навигация всегда компактна и видна */
  .quiz__footer{padding-top:7px;gap:8px;align-items:end}
  .progress-wrap{width:35vw;min-width:105px;max-width:155px;gap:4px}
  .progress-copy{font-size:9.5px}
  .progress-copy strong{font-size:10.5px}
  .progress-track{height:5px}
  .footer-actions{gap:6px}
  .btn{min-height:43px;padding:10px 13px;border-radius:6px;font-size:14px}
  .btn--icon{width:41px;min-width:41px;padding:0;font-size:20px}

  /* Результат + форма: уплотнены так, чтобы требовался максимум короткий свайп */
  .result-step{margin:0 auto;text-align:center}
  .result-badge{padding:5px 9px;margin-bottom:5px;font-size:11px}
  .result-step h2{font-size:23px;margin-bottom:8px}
  .result-card{padding:13px 12px;margin:8px 0;border-radius:12px}
  .result-card__label{font-size:10px}
  .result-card__value{font-size:34px;margin:3px 0}
  .result-card__sub{font-size:12px}
  .result-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .result-grid>div{padding:7px 6px;border-radius:7px;min-width:0}
  .result-grid span{font-size:9px;margin-bottom:2px}
  .result-grid strong{font-size:10.5px;line-height:1.15;overflow-wrap:anywhere}
  .result-note{font-size:10px;line-height:1.3;margin:7px auto}

  .result-lead{margin:9px auto 7px;padding:11px;border-radius:10px}
  .result-lead h3{font-size:18px;margin-bottom:4px}
  .result-lead>p{font-size:11px;line-height:1.32;margin-bottom:6px}
  .lead-form label>span:first-child{font-size:12px;margin:6px 0 3px}
  .input-wrap,.phone-wrap{min-height:44px;border-radius:6px}
  .input-icon{width:38px;flex-basis:38px}.input-icon img{width:18px;height:18px}
  .input-wrap input,.phone-wrap input,.phone-prefix{height:42px}
  .input-wrap input,.phone-wrap input{padding:0 9px;font-size:15px}
  .phone-prefix{padding:0 8px;font-size:12.5px!important}

  .call-time-box{margin-top:8px;padding:9px;border-radius:8px}
  .call-time-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
  .call-time-head>div{min-width:0;flex:1}
  .call-time-head strong{font-size:12.5px;margin-bottom:1px}
  .call-time-head span{font-size:9.5px}
  .call-time-output{display:block;margin:0;padding:5px 7px;font-size:11px}
  .range-slider{height:25px}
  .range-slider__rail,.range-slider__fill{top:11px;height:4px}
  .range-slider__input{height:25px}
  .range-slider__input::-webkit-slider-thumb{width:19px;height:19px;margin-top:-7.5px}
  .range-slider__input::-moz-range-thumb{width:15px;height:15px}
  .range-slider__ticks{font-size:9px}

  .btn--submit{min-height:44px;margin-top:9px;font-size:15px}
  .consent{gap:6px;margin-top:7px;font-size:9.5px!important;line-height:1.25}
  .consent span{font-size:9.5px!important}
  .form-error{min-height:13px;margin-top:4px;font-size:10px}

  .result-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:6px}
  .result-actions .btn{width:auto!important;min-height:41px;padding:8px 7px;font-size:11.5px;line-height:1.15}
}

/* Очень узкие телефоны */
@media (max-width:360px){
  .quiz__inner{padding-left:9px;padding-right:9px}
  .quiz__logo{width:116px}
  .mobile-brandline{font-size:8.8px}
  h2{font-size:20px;margin-bottom:10px}
  .choices--cities{gap:6px}
  .choices--cities .choice{font-size:12.5px;padding-left:7px;padding-right:7px}
  .choices--cities .radio{width:14px;height:14px;flex-basis:14px}
  .choice--detail small{font-size:10.3px}
  .progress-wrap{width:32vw;min-width:95px}
}

/* Низкие экраны: ещё меньше вертикальных отступов, но без ломания доступности */
@media (max-width:640px) and (max-height:700px){
  .quiz__inner{padding-top:6px;padding-bottom:6px}
  .quiz__logo{width:112px}
  .mobile-brandline{font-size:8.8px}
  .quiz__step{padding-top:5px}
  h2{font-size:20px;margin-bottom:8px}
  .choices{gap:5px}
  .choices--cities{gap:5px 6px}
  .choices--cities .choice{min-height:39px;padding-top:5px;padding-bottom:5px}
  .choice--detail{min-height:47px;padding-top:5px;padding-bottom:5px}
  .choice--detail small{font-size:10px}
  .choices--schedule .choice{min-height:43px}
  .quiz__footer{padding-top:5px}
  .btn{min-height:40px;padding-top:8px;padding-bottom:8px}
}
/* END CYW 1.0.11 MOBILE COMPACT */

/* BEGIN CYW 1.0.13 MOBILE LAYOUT + DAYTYPE */
.result-badge{display:none!important}
#resultDayTypeWrap.hidden{display:none!important}
.choices--daytype .choice span:last-child{display:block}
.choices--daytype .choice b{display:block;font-size:18px;margin-bottom:4px}
.choices--daytype .choice small{display:block;font-size:13px;line-height:1.25;color:#6d808a}

@media (max-width:640px){
  .quiz__topline{gap:4px}
  .quiz__logo{width:148px;max-width:52vw}
  .mobile-brandline{font-size:10.5px;line-height:1.2;white-space:nowrap}
  h2{font-size:24px;line-height:1.04;margin-bottom:10px}

  .choices--cities .choice{font-size:14.5px;min-height:46px}
  .choice--detail{min-height:55px}
  .choice--detail b{font-size:15.5px}
  .choice--detail small{font-size:11.3px;line-height:1.16}
  .choices--schedule .choice{min-height:46px;font-size:14.2px}
  .choices--daytype{grid-template-columns:1fr!important;gap:7px}
  .choices--daytype .choice{min-height:58px;padding:8px 10px}
  .choices--daytype .choice b{font-size:15px;margin-bottom:2px}
  .choices--daytype .choice small{font-size:11px;line-height:1.15}

  .footer-actions .btn{font-size:14.5px}

  .result-step h2{font-size:25px;margin-bottom:8px}
  .result-card__label{font-size:11px}
  .result-card__value{font-size:38px}
  .result-card__sub{font-size:13px}
  .result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .result-grid>div{padding:7px 6px}
  .result-grid span{font-size:9.5px}
  .result-grid strong{font-size:11.2px}
  .result-note{font-size:10.4px;line-height:1.22;margin:6px auto}

  .result-lead{margin:8px auto 6px;padding:10px}
  .result-lead h3{font-size:17px;margin-bottom:4px;line-height:1.08}
  .result-lead>p{font-size:10.5px;line-height:1.22;margin-bottom:5px}
  .lead-form label>span:first-child{font-size:11.5px;margin:5px 0 3px}
  .input-wrap,.phone-wrap{min-height:42px}
  .input-wrap input,.phone-wrap input,.phone-prefix{height:40px}
  .input-wrap input,.phone-wrap input{font-size:14px}
  .phone-prefix{font-size:12px!important}

  .call-time-box{margin-top:7px;padding:8px}
  .call-time-head{margin-bottom:7px}
  .call-time-head strong{font-size:12px}
  .call-time-head span{font-size:9px}
  .call-time-output{font-size:10.5px;padding:4px 7px}
  .range-slider{height:22px}
  .range-slider__rail,.range-slider__fill{top:10px;height:4px}
  .range-slider__input{height:22px}
  .range-slider__input::-webkit-slider-thumb{width:18px;height:18px;margin-top:-7px}
  .range-slider__ticks{font-size:8.5px}

  .btn--submit{min-height:42px;margin-top:7px;font-size:14.5px}
  .consent{margin-top:6px;font-size:9px!important;line-height:1.18}
  .consent span{font-size:9px!important}
  .result-actions{margin-top:6px}
}

@media (max-width:640px) and (max-height:760px){
  .quiz__logo{width:140px}
  .mobile-brandline{font-size:10px}
  h2{font-size:22px;margin-bottom:8px}
  .choice--detail small{font-size:10.8px}
  .result-step h2{font-size:23px;margin-bottom:6px}
  .result-card__value{font-size:34px}
  .result-grid strong{font-size:10.5px}
  .result-lead>p{font-size:9.8px;line-height:1.18}
  .lead-form label>span:first-child{font-size:11px}
}
/* END CYW 1.0.13 MOBILE LAYOUT + DAYTYPE */


/* BEGIN CYW 1.0.15 DAYTYPE + RESULT TIP */
.result-card__tip{margin-top:8px;font-size:12px;line-height:1.3;opacity:.92;max-width:560px;margin-left:auto;margin-right:auto}
.choices--daytype{grid-template-columns:1fr!important;gap:8px}
.choices--daytype .choice{min-height:54px;padding:10px 12px}
.choices--daytype .choice span:last-child{display:block}
.choices--daytype .choice b{display:block;font-size:17px;margin:0}
.choices--daytype .choice small{display:none!important}
@media (max-width:640px){
  .choices--daytype .choice{min-height:50px;padding:8px 10px}
  .choices--daytype .choice b{font-size:15px}
  .result-card__tip{font-size:10.5px;line-height:1.18;margin-top:6px}
}
/* END CYW 1.0.15 DAYTYPE + RESULT TIP */


/* BEGIN CYW 1.0.18 META STANDARD EVENTS + SUBMIT LOCK */
#resultDayTypeWrap.hidden{display:none!important}
.btn--submit:disabled{pointer-events:none;cursor:not-allowed;opacity:.52;filter:saturate(.55);box-shadow:none!important;transform:none!important}
.btn--submit.btn--submit-ready:not(:disabled){opacity:1;filter:none;pointer-events:auto;cursor:pointer}
/* END CYW 1.0.18 META STANDARD EVENTS + SUBMIT LOCK */

/* BEGIN CYW 1.0.23 AUTO BENEFIT */
.auto-benefit{max-width:650px;margin:10px auto 8px;padding:10px 14px;border:1px solid #d9e2e7;border-radius:10px;background:#f8fbfc;color:var(--ink);font-size:13px;font-weight:700;line-height:1.3;text-align:center}
@media (max-width:640px){
  .auto-benefit{margin:6px auto 5px;padding:7px 9px;border-radius:8px;font-size:10.5px;line-height:1.18}
}
/* END CYW 1.0.23 AUTO BENEFIT */

/* BEGIN CYW 1.0.25 AUTO ADVANCE + INLINE RESTART */
.result-title-row{display:flex;align-items:center;justify-content:center;gap:9px;margin-bottom:8px}
.result-title-row h2{margin:0!important}
.result-restart-btn{width:38px;height:38px;min-width:38px;padding:0;border:1px solid #dfe4e7;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--red);font-size:25px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 3px 10px rgba(8,43,65,.07);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.result-restart-btn:hover{transform:rotate(-18deg);border-color:#ef9ba5;background:#fffafb;box-shadow:0 5px 14px rgba(8,43,65,.10)}
.choice:disabled{cursor:default;opacity:1;filter:none}
@media(max-width:640px){
  .result-title-row{gap:6px;margin-bottom:6px}
  .result-title-row h2{font-size:23px!important;line-height:1.05}
  .result-restart-btn{width:32px;height:32px;min-width:32px;font-size:21px}
}
/* END CYW 1.0.25 AUTO ADVANCE + INLINE RESTART */



/* BEGIN CYW 1.0.27 CONTACT-FIRST + SKIP + FINAL RESULT */
@keyframes submitShimmer{
  0%{background-position:0% 50%;box-shadow:0 9px 22px rgba(233,61,79,.18)}
  50%{background-position:100% 50%;box-shadow:0 12px 26px rgba(233,61,79,.28)}
  100%{background-position:0% 50%;box-shadow:0 9px 22px rgba(233,61,79,.18)}
}

.form-step{width:min(100%,760px);margin:18px auto 0;animation:stepIn .34s cubic-bezier(.22,.61,.36,1) both}
.form-step__intro{text-align:center;margin-bottom:18px}
.form-step__intro h2{margin:0 0 10px!important;font-size:clamp(32px,3.4vw,44px)}
.form-step__intro p{max-width:680px;margin:0 auto;color:var(--text);font-size:16px;line-height:1.55;font-weight:600}
.form-step__card{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fafbfc}
.form-step .lead-form{margin-top:0}
.btn--submit{background:linear-gradient(110deg,#e98994 0%,#ef97a0 30%,#e98994 60%,#f3b7be 75%,#e98994 100%);background-size:220% 100%}
.btn--submit.btn--submit-ready{background:linear-gradient(110deg,#e93d4f 0%,#ee6b79 30%,#e93d4f 58%,#ffb2ba 72%,#e93d4f 100%);background-size:220% 100%;animation:submitShimmer 2.8s linear infinite;box-shadow:0 9px 22px rgba(233,61,79,.22);filter:saturate(1.06)}
.btn--submit.btn--submit-ready:hover{background:linear-gradient(110deg,#d7182d 0%,#eb5c6d 30%,#d7182d 58%,#ffb2ba 72%,#d7182d 100%);background-size:220% 100%}
.result-success{max-width:640px;margin:0 auto 14px;padding:12px 16px;border-radius:12px;background:#f4f8f6;color:var(--ink);border:1px solid #dbe9e0;text-align:center}
.result-success strong,.result-success span,.result-success small{display:block}
.result-success strong{font-size:16px;margin-bottom:4px}
.result-success span{font-size:13px;color:var(--text)}
.result-success small{margin-top:5px;font-size:12px;color:#70838d}
.result-card__avg{margin-top:8px;font-size:12px;line-height:1.35;opacity:.92;max-width:560px;margin-left:auto;margin-right:auto}
.result-actions{margin-top:18px}
.result-actions .btn{min-width:220px}
.footer-actions #nextBtn{display:inline-flex!important}
@media (max-width:640px){
  .form-step{margin-top:10px}
  .form-step__intro{margin-bottom:10px}
  .form-step__intro h2{font-size:26px!important;line-height:1.04}
  .form-step__intro p{font-size:13px;line-height:1.36}
  .form-step__card{padding:12px;border-radius:10px}
  .result-success{margin-bottom:8px;padding:8px 10px;border-radius:9px}
  .result-success strong{font-size:12.5px;margin-bottom:2px}
  .result-success span{font-size:10px;line-height:1.25}
  .result-success small{font-size:9px;margin-top:3px}
  .result-card__avg{font-size:10px;line-height:1.2;margin-top:5px}
  .result-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
  .result-actions .btn{min-width:0;width:auto!important}
}
/* END CYW 1.0.27 CONTACT-FIRST + SKIP + FINAL RESULT */


/* BEGIN CYW 1.0.39 PERK BANNERS */
.form-step__perks{width:min(100%,760px);margin:0 auto 14px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.perk-card{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:14px;border:1px solid #e5e7eb;font-size:16px;line-height:1.35;color:#173247;box-shadow:0 1px 0 rgba(9,30,66,.03)}
.perk-card strong{font-weight:800}
.perk-card--green{background:#eefaf1;border-color:#d2ecd7}
.perk-card--yellow{background:#fff7db;border-color:#f1df97}
@media (max-width: 640px){
  .form-step__perks{gap:8px;margin:0 auto 10px}
  .perk-card{padding:10px 12px;border-radius:10px;font-size:12.5px;line-height:1.25;gap:8px}
}
/* END CYW 1.0.39 PERK BANNERS */


/* BEGIN CYW 1.0.39 SMART FILL MOBILE */
@media (max-width:640px){
  .landing{min-height:100dvh;display:flex;flex-direction:column}
  .landing__visual{flex:0 0 40dvh;height:40dvh;min-height:250px;max-height:420px;background-position:center top}
  .landing__content{flex:1;padding:12px 14px 12px;align-items:stretch}
  .landing__content-inner{width:100%;min-height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
  h1{font-size:clamp(28px,8vw,42px);line-height:1.02;margin-bottom:8px}
  .lead{font-size:14.5px;line-height:1.34;margin:0 0 10px}
  .btn--large{width:100%;min-height:52px;font-size:17px}
  .microcopy{margin-top:0;font-size:11.5px;line-height:1.28}

  .quiz__step{display:flex;min-height:0}
  .step-content,.step-content--narrow{display:flex;flex-direction:column;min-height:100%}
  .step-content h2,.step-content--narrow h2{flex:0 0 auto}
  .choices{flex:1;min-height:0}

  .choices--cities{grid-template-rows:repeat(4,minmax(0,1fr));align-items:stretch}
  .choices--cities .choice{min-height:0;height:100%;padding-top:6px;padding-bottom:6px}

  .choices--stack{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));align-items:stretch}
  .choices--stack .choice{min-height:0;height:100%}

  .choices--schedule{grid-template-columns:1fr!important;grid-template-rows:repeat(3,minmax(0,1fr));align-items:stretch}
  .choices--schedule .choice{min-height:0;height:100%;display:flex;align-items:center}

  .choices--daytype{grid-template-columns:1fr!important;grid-template-rows:repeat(3,minmax(0,1fr));align-items:stretch}
  .choices--daytype .choice{min-height:0;height:100%;display:flex;align-items:center}

  .form-step{min-height:100%;display:flex;flex-direction:column;justify-content:flex-start}
  .form-step__intro{margin-bottom:8px}
  .form-step__perks{margin-bottom:8px}
  .form-step__card{padding:10px}
}

@media (max-width:420px){
  .landing__visual{flex-basis:38dvh;height:38dvh;min-height:235px}
  .choice--detail{padding:6px 8px;gap:8px}
  .choice--detail b{font-size:13.5px}
  .choice--detail small{font-size:10.6px;line-height:1.15}
  .choices--schedule .choice,.choices--daytype .choice{font-size:13px}
}

@media (max-width:640px) and (max-height:820px){
  .landing__visual{flex-basis:37dvh;height:37dvh;min-height:220px}
  .landing__content{padding-top:10px;padding-bottom:10px}
  .landing__content-inner{gap:8px}
  .quiz__step{overflow:hidden}
  .step-content,.step-content--narrow{gap:0}
  .choices--cities .choice{font-size:13px}
}
/* END CYW 1.0.39 SMART FILL MOBILE */


/* BEGIN CYW 1.0.39 COMPACT TINTED ANSWERS */
/* Ответы больше не растягиваются на свободную высоту экрана. */
.choice{
  background:linear-gradient(180deg,#fffafa 0%,#fff7f8 100%);
  border-color:#eadcdf;
  font-size:19px;
}
.choice:nth-child(even){
  background:linear-gradient(180deg,#fffdf6 0%,#fff9e8 100%);
  border-color:#eee4c5;
}
.choice:hover{
  background:#fff3f5;
  border-color:#ed9aa5;
}
.choice:nth-child(even):hover{
  background:#fff7dd;
  border-color:#e8cf82;
}
.choice.selected{
  background:#fff1f3;
  border-color:var(--red);
}
.choice:nth-child(even).selected{
  background:#fff6dc;
  border-color:var(--red);
}
.choice--detail b{font-size:18px}
.choice--detail small{font-size:16.5px}

@media (max-width:640px){
  /* Отменяем растягивание v1.0.29. */
  .quiz__step{display:block!important}
  .step-content,.step-content--narrow{display:block!important;min-height:0!important}
  .choices{flex:none!important;min-height:0!important}

  .choices--cities,
  .choices--stack,
  .choices--schedule,
  .choices--daytype{
    grid-template-rows:none!important;
    align-items:initial!important;
  }

  /* Примерно в 2.5 раза компактнее по вертикали, чем растянутые карточки. */
  .choice{
    height:auto!important;
    min-height:40px!important;
    padding:7px 10px!important;
    font-size:15.5px!important;
    line-height:1.18!important;
  }
  .choices{gap:7px!important}
  .choices--cities{gap:7px 8px!important}
  .choices--cities .choice{min-height:40px!important;font-size:15px!important}

  .choice--detail{
    min-height:50px!important;
    padding:7px 9px!important;
  }
  .choice--detail b{font-size:15.5px!important;line-height:1.12!important}
  .choice--detail small{font-size:11.8px!important;line-height:1.18!important}

  .choices--schedule .choice,
  .choices--daytype .choice{
    min-height:43px!important;
    font-size:15px!important;
  }

  /* Карточки остаются компактными, но блок ответов чуть "дышит". */
  .step-content h2,.step-content--narrow h2{margin-bottom:14px!important}
}

@media (max-width:380px){
  .choice{font-size:14.7px!important}
  .choices--cities .choice{font-size:14.3px!important}
  .choice--detail b{font-size:14.7px!important}
  .choice--detail small{font-size:11.1px!important}
}
/* END CYW 1.0.39 COMPACT TINTED ANSWERS */


/* BEGIN CYW 1.0.39 START BUTTON SOFT SHIMMER */
@keyframes cywStartButtonShimmer{
  0%,62%{transform:translateX(-190%) skewX(-22deg);opacity:0}
  68%{opacity:.52}
  84%{opacity:.32}
  100%{transform:translateX(620%) skewX(-22deg);opacity:0}
}
#startBtn{position:relative;overflow:hidden;isolation:isolate}
#startBtn::after{
  content:"";
  position:absolute;
  z-index:1;
  top:-45%;
  left:0;
  width:18%;
  height:190%;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent);
  transform:translateX(-190%) skewX(-22deg);
  animation:cywStartButtonShimmer 3.7s ease-in-out infinite;
}
#startBtn > *{position:relative;z-index:2}
@media (prefers-reduced-motion:reduce){#startBtn::after{animation:none!important;display:none}}
/* END CYW 1.0.39 START BUTTON SOFT SHIMMER */


/* BEGIN CYW 1.0.39 MOBILE HERO FULL IMAGE */
@media (max-width:640px){
  /* Показываем весь баннер 1121x816 без обрезания нижней плашки «Быстрое подключение». */
  .landing__visual{
    flex:0 0 auto!important;
    width:100%;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1121/816!important;
    background-size:100% 100%!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
}
/* END CYW 1.0.39 MOBILE HERO FULL IMAGE */


/* BEGIN CYW 1.0.39 STRONG AUTOFILL */
@keyframes cywAutofillStart{from{opacity:.999}to{opacity:1}}
.lead-form input:-webkit-autofill{animation-name:cywAutofillStart;animation-duration:.01s;animation-iteration-count:1;-webkit-text-fill-color:var(--ink);transition:background-color 9999s ease-out 0s}
.lead-form input:autofill{animation-name:cywAutofillStart;animation-duration:.01s;animation-iteration-count:1}
/* END CYW 1.0.39 STRONG AUTOFILL */
