/* Клён Миллион. Общие блоки и окна используют оформление и код базы КИ + ЛК. */
:root {
  --page: #fff7ee;
  --soft: #fff5e9;
  --line: #eeded0;
  --text: #39170d;
  --muted: #846a5e;
  --yellow: #ff7900;
  --yellow-2: #ffad27;
  --yellow-3: #ff5900;
  --yellow-soft: #fff0df;
}
body { background: var(--page); }
.hd { background: #fff6ed; }
.hd-row { height: 94px; padding-inline: 22px; }
.logo img { width: 200px; height: auto; }
.ft .logo img { width: 200px; height: auto; }
.burger span { background: #4b2113; }
main { background: var(--page); }
main .km-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 0 34px;
  background: radial-gradient(ellipse at 98% 26%, #ffe0bf, transparent 60%), #fff6ed;
}
.km-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 160%;
  height: 55%;
  bottom: -21%;
  left: -30%;
  border-radius: 50%;
  background: linear-gradient(110deg, #ffe7be, #ffebd7 54%, #ffd1a8);
  transform: rotate(-8deg);
}
.km-hero .hero-text { position: relative; z-index: 2; padding: 10px 24px 0; }
.km-hero h1 {
  max-width: 92%;
  font: 900 clamp(31px, 8.4vw, 43px)/1.08 var(--font-head);
  letter-spacing: -.045em;
  color: #3a140b;
}
.km-hero .hero-sub {
  margin-top: 15px;
  max-width: 65%;
  font-size: 17px;
  line-height: 1.35;
  color: #2e2019;
  text-wrap: initial;
}
.km-hero-art {
  position: absolute;
  z-index: 1;
  top: 32px;
  left: 2%;
  width: 125%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
.kcq-card {
  position: relative;
  z-index: 3;
  margin: 38px 14px 0;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px -24px #b4561640;
  scroll-margin-top: 20px;
}
.kcq-step[hidden], .kcq-back[hidden], .kcq-progress[hidden] { display: none; }
.kcq-back {
  position: absolute;
  top: 17px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: #fff0df;
  color: var(--text);
  cursor: pointer;
}
.kcq-back svg { width: 20px; height: 20px; }
.kcq-steps { text-align: center; font-size: 13px; color: var(--muted); }
.kcq-bars { display: flex; justify-content: center; gap: 7px; margin-top: 9px; }
.kcq-bars i { width: 43px; height: 5px; border-radius: 9px; background: #eee5dc; }
.kcq-bars i.on { background: var(--yellow); }
.kcq-q {
  margin: 23px 0 14px;
  text-align: center;
  font: 800 22px/1.22 var(--font-head);
  letter-spacing: -.035em;
}
.kcq-q:focus { outline: none; }
.kcq-val {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  font: 800 32px/1.2 var(--font-head);
}
.kcq-val span { font-size: inherit; }
.kcq-range { display: flex; align-items: center; gap: 12px; margin-top: 15px; }
.kcq-pm {
  flex: 0 0 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff0df;
  color: #c64c00;
  font-size: 25px;
  cursor: pointer;
}
.kcq-range input { flex: 1; min-width: 0; width: 100%; height: 48px; background: transparent; appearance: none; cursor: pointer; }
.kcq-range input::-webkit-slider-runnable-track { height: 7px; border-radius: 10px; background: linear-gradient(90deg, #ffae29, #ff7100 var(--pct), #e9dfd6 var(--pct)); }
.kcq-range input::-moz-range-track { height: 7px; border-radius: 10px; background: #e9dfd6; }
.kcq-range input::-moz-range-progress { height: 7px; border-radius: 10px; background: #ff7900; }
.kcq-range input::-webkit-slider-thumb {
  appearance: none;
  width: 44px;
  height: 44px;
  margin-top: -18.5px;
  border: 0;
  border-radius: 0;
  background: url(klen-slider-leaf.svg) center/contain no-repeat;
}
.kcq-range input::-moz-range-thumb { width: 44px; height: 44px; border: 0; border-radius: 0; background: url(klen-slider-leaf.svg) center/contain no-repeat; }
.kcq-range input:focus-visible { outline: 2px solid #bc4c10; outline-offset: 3px; border-radius: 10px; }
.kcq-minmax { display: flex; justify-content: space-between; margin: 0 54px; font-size: 11px; color: var(--muted); }
.kcq-pills { display: flex; gap: 8px; margin-top: 18px; }
.kcq-pill { flex: 1; min-width: 0; padding: 12px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.kcq-pill.on { background: #fff0de; border-color: #ff7900; color: #ac4300; }
.kcq-next, .km-form .btn-yellow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 58px;
  margin-top: 20px;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(150deg, #ffae22, #ff7900 50%, #ff5900);
  box-shadow: 0 12px 22px -12px #ef6b0b90;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
.kcq-next svg { width: 22px; height: 22px; }
.kcq-ways { display: grid; gap: 11px; margin-top: 18px; }
.kcq-way { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 17px; background: #fff; text-align: left; cursor: pointer; }
.kcq-way:hover, .kcq-way.on { background: #fff2e3; border-color: #ff7900; }
.kcq-way-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff1e2; }
.kcq-way-ico img, .kcq-way-ico svg { width: 28px; height: 28px; }
.kcq-way b { flex: 1; font-size: 17px; }
.kcq-way > svg { width: 18px; height: 18px; color: #ac8974; }
.km-secure { margin: 21px 5px 0; color: var(--muted); text-align: center; font-size: 11px; line-height: 1.5; }
.km-summary { margin: 0 0 20px; color: var(--muted); text-align: center; font-size: 13px; }
.km-contact .kcq-q { margin-top: 25px; }
.km-form { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.km-form .field { margin-top: 12px; }
.km-form .check { font-size: 11px; }
.km-form .btn svg { color: white; }
.btn-yellow { background: linear-gradient(150deg, #ffad27, #ff7900 60%, #ff5900); color: white; }
.btn-yellow svg { color: white; }
.scale-mark i { background: #fff0df; border-color: #ff7900; }
@media (min-width: 960px) {
  .hd { background: transparent; }
  .hd-row { max-width: 1280px; height: 110px; padding-inline: 36px; }
  .logo img { width: 242px; height: auto; }
  .nav { gap: 0; }
  .nav a { padding-inline: 10px; font-size: 14px; color: #4b2718; }
  .profile { margin-left: 14px; }
  main .km-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
    align-items: center;
    gap: 38px;
    height: auto;
    min-height: 800px;
    padding: 160px max(40px, calc((100vw - 1200px) / 2)) 70px;
    background: radial-gradient(ellipse at 30% 90%, #ffd8ad70, transparent 65%), #fff6ed;
  }
  .km-hero .hero-text { grid-column: 1; padding: 0; margin: 0; align-self: start; }
  .km-hero h1 { max-width: 650px; font-size: clamp(40px, 4.1vw, 61px); line-height: 1.05; }
  .km-hero .hero-sub { margin: 24px 0 0; max-width: 440px; font-size: 22px; }
  .km-hero-art { top: auto; bottom: 8px; left: calc(50% - 590px); width: 750px; height: 480px; opacity: .6; z-index: 0; }
  .kcq-card { grid-column: 2; margin: 0; padding: 30px; width: 100%; min-height: 420px; backdrop-filter: blur(10px); }
  .kcq-q { font-size: 25px; }
  .kcq-pill { font-size: 15px; }
  .km-hero .hero-text { text-shadow: 0 2px 8px #fff6ed; }
  main #reviews { grid-column: 2 / 4; }
  #reviews .rv-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  #reviews .rv { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
