/* KE HOME QUICK REQUEST REV20 — calm progressive UX, scoped to main hero. */
body.ke20-public .ke-home .ke-home-request{
  padding:clamp(21px,2.4vw,32px);
  border-radius:12px;
  max-width:560px;
  width:100%;
  box-shadow:0 17px 55px rgba(5,20,32,.15)
}
body.ke20-public .ke-home .ke-home-request__head h2{
  font-size:clamp(25px,2.5vw,33px);
  line-height:1.18;
  letter-spacing:-.024em;
  margin-bottom:10px
}
body.ke20-public .ke-home .ke-home-request__head>p:last-child{
  font-size:14px;
  line-height:1.65;
  margin-bottom:20px;
  color:#466376
}
/* REV21: step 2 works natively when JS is blocked; enhanced JS overrides this state. */
.ke-home .ke-qw-form [hidden]{display:none!important}
.ke-home .ke-qw-form .ke-qw-pane[data-ke-qw-step="2"]{display:none!important}
.ke-home .ke-qw-form.ke-qw--ready .ke-qw-pane[data-ke-qw-step="2"]:not([hidden]){display:block!important}
.ke-home .ke-qw-form:not(.ke-qw--ready) .ke-qw-next{display:none!important}
@supports selector(:has(*)){
  .ke-home .ke-qw-form:not(.ke-qw--ready):has(input[name="topic"]:checked) .ke-qw-pane[data-ke-qw-step="1"]{display:none!important}
  .ke-home .ke-qw-form:not(.ke-qw--ready):has(input[name="topic"]:checked) .ke-qw-pane[data-ke-qw-step="2"]{display:block!important}
  .ke-home .ke-qw-form:not(.ke-qw--ready):has(input[name="topic"]:checked) [data-ke-qw-bar]{width:100%!important}
  .ke-home .ke-qw-form:not(.ke-qw--ready):has(input[name="topic"]:checked) [data-ke-qw-count]{font-size:0}
  .ke-home .ke-qw-form:not(.ke-qw--ready):has(input[name="topic"]:checked) [data-ke-qw-count]::after{content:"Шаг 2 из 2";font-size:12px}
}
.ke-home .ke-qw-form .ke-qw-progress{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0 0 21px;
  color:#426075;
  font-size:12px;
  font-weight:760;
  letter-spacing:.035em
}
.ke-home .ke-qw-form .ke-qw-progress__track{
  display:block;
  width:100%;
  height:5px;
  border-radius:7px;
  background:#e5edf2;
  overflow:hidden
}
.ke-home .ke-qw-form .ke-qw-progress__track span{
  display:block;
  width:50%;
  height:100%;
  background:#f4b72b;
  border-radius:7px;
  transition:width .19s ease-out
}
body.ke20-public .ke-home .ke-qw-form .ke-home-request__topics{margin:0 0 17px}
body.ke20-public .ke-home .ke-qw-form .ke-home-request__topics>p{
  font-size:16px;
  font-weight:780;
  letter-spacing:0;
  line-height:1.4;
  color:#1a3c55;
  margin:0 0 14px;
  text-transform:none
}
body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px
}
body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid label{display:block;min-width:0}
body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid span{
  display:flex;
  justify-content:center;
  text-align:center;
  align-items:center;
  width:100%;
  padding:11px 10px;
  font-size:13px;
  min-height:52px;
  line-height:1.36;
  font-weight:750;
  color:#29495c;
  border:1px solid #cbd9e2;
  border-radius:8px;
  background:#f7fafb;
  overflow-wrap:break-word;
  transition:background-color .13s ease,border-color .13s ease
}
body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid label:hover span{background:#e8f1f6;border-color:#7898ad}
body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid input:checked+span{
  background:#1a3c55;color:#fff;border-color:#1a3c55;
  box-shadow:inset 0 -3px 0 #f4b72b
}
.ke-home .ke-qw-form .ke-qw-next{
  border:0;
  border-radius:7px;
  min-height:48px;
  padding:12px 17px;
  width:100%;
  color:white;
  background:#1a3c55;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:14px;
  font-weight:800;
  cursor:pointer
}
.ke-home .ke-qw-form .ke-qw-next:disabled{opacity:.55;cursor:not-allowed}
.ke-home .ke-qw-form .ke-qw-step2-top{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px;padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid #e0e8ed
}
.ke-home .ke-qw-form .ke-qw-back{
  padding:7px 1px;min-height:38px;background:transparent;color:#2a566f;
  border:0;cursor:pointer;font-size:13px;line-height:1.4;font-weight:700
}
.ke-home .ke-qw-form .ke-qw-step2-top strong{
  font-size:12px;
  font-weight:800;
  color:#1a3c55;
  max-width:100%;
  overflow-wrap:anywhere
}
.ke-home .ke-qw-form .ke-qw-instruction{
  font-size:14px;line-height:1.6;color:#4e697b;margin:0 0 16px
}
body.ke20-public .ke-home .ke-qw-form .ke-rapid-form-grid{grid-template-columns:minmax(0,1fr);gap:14px}
body.ke20-public .ke-home .ke-qw-form .ke-rapid-form label{
  font-size:14px;letter-spacing:0;line-height:1.4;
  color:#29495e;font-weight:740
}
body.ke20-public .ke-home .ke-qw-form .ke-rapid-form label small,
body.ke20-public .ke-home .ke-qw-form label small{
  display:block;
  font-size:12px;
  line-height:1.5;
  font-weight:480;
  color:#637d8d;
  letter-spacing:0;
  text-transform:none
}
body.ke20-public .ke-home .ke-qw-form :is(input:not([type=checkbox]):not([type=radio]),textarea,select){
  font-size:16px;line-height:1.5;
  border-radius:7px;
  min-height:48px;
  width:100%;
  background:white;
  border:1px solid #b9cbd7;
  padding:12px 13px
}
body.ke20-public .ke-home .ke-qw-form textarea{min-height:82px;resize:vertical}
.ke-home .ke-qw-form .ke-qw-extras{
  display:block;padding:0;background:#f5f8fa;
  border:1px solid #d6e2ea;border-radius:9px;
  min-width:0;max-width:100%
}
body.ke20-public .ke-home .ke-qw-form .ke-qw-extras>summary{
  cursor:pointer;
  list-style:none;
  padding:15px 16px;
  font-size:14px;
  color:#1a3c55;
  font-weight:790;
  line-height:1.45;
  display:flex;justify-content:space-between;align-items:center;gap:10px
}
.ke-home .ke-qw-form .ke-qw-extras>summary::-webkit-details-marker{display:none}
.ke-home .ke-qw-form .ke-qw-extras>summary::after{content:"+";font-size:22px;line-height:1;font-weight:500;flex:none}
.ke-home .ke-qw-form .ke-qw-extras[open]>summary::after{content:"−"}
body.ke20-public .ke-home .ke-qw-form .ke-qw-extras>summary span{
  margin-left:auto;color:#4e7083;font-size:11px;font-weight:600;white-space:nowrap
}
.ke-home .ke-qw-form .ke-qw-extras>p{
  font-size:13px;line-height:1.66;color:#557180;padding:0 16px;margin:3px 0 13px
}
.ke-home .ke-qw-form .ke-qw-extra-fields{
  padding:0 16px 17px;
  min-width:0
}
.ke-home .ke-qw-form .ke-qw-extras .ke-asset-fields{
  margin:7px 0 4px;
  padding:12px;
  border:1px solid #d7e4ec;
  border-radius:7px;background:white;
  grid-column:1/-1
}
.ke-home .ke-qw-form .ke-qw-extras .ke-asset-fields>summary{
  cursor:pointer;font-size:13px;font-weight:740;line-height:1.5;color:#1a3c55
}
.ke-home .ke-qw-form .ke-qw-extras .ke-asset-fields__grid{
  display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:13px
}
.ke-home .ke-qw-form .ke-qw-extras .ke-enquiry-workspace,
.ke-home .ke-qw-form .ke-qw-extras .ke-file-workspace{
  margin:13px 0;padding:14px;border-radius:8px;background:#fff;border:1px solid #dce6ed
}
.ke-home .ke-qw-form .ke-qw-extras .ke-enquiry-workspace__head{display:none}
.ke-home .ke-qw-form .ke-rapid-consent{
  display:flex!important;align-items:flex-start;gap:10px;
  font-size:12px!important;line-height:1.6!important;
  margin:17px 0!important;color:#435e70!important
}
.ke-home .ke-qw-form .ke-rapid-consent input{width:17px!important;height:17px!important;min-height:17px!important;flex:0 0 17px;margin-top:2px}
body.ke20-public .ke-home .ke-qw-form button[type=submit]{
  min-height:52px;padding:13px 16px;font-size:14px;line-height:1.35;
  gap:15px;margin-top:10px
}
body.ke20-public .ke-home .ke-home-request__contact{margin-top:20px;padding-top:17px}
body.ke20-public .ke-home .ke-home-request__contact span{font-size:11px}
body.ke20-public .ke-home .ke-home-request__contact a{font-size:clamp(19px,2.4vw,23px)}
@media(max-width:520px){
 body.ke20-public .ke-home .ke-home-request{padding:24px 19px}
 body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid{gap:8px}
 body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid span{min-height:56px;padding:11px 8px;font-size:13px}
 body.ke20-public .ke-home .ke-qw-form .ke-qw-extras>summary{flex-wrap:wrap}
 body.ke20-public .ke-home .ke-qw-form .ke-qw-extras>summary span{margin-left:0}
}
@media(max-width:345px){
 body.ke20-public .ke-home .ke-qw-form .ke-home-topic-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
 .ke-home .ke-qw-form .ke-qw-progress__track span{transition:none}
 .ke-home .ke-qw-form .ke-home-topic-grid span{transition:none}
}