/* Третий шаблон. Только первый экран; следующие блоки остаются исходными. */
.kg-hero {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding-bottom: min(15.5vw, 74px);
  overflow: hidden;
  color: #060c09;
  background: radial-gradient(ellipse at 50% 60%, #d9f7ed, transparent 65%), #eefff9;
  font-family: Arial, Helvetica, sans-serif;
}
.kg-dark {
  position: relative;
  height: 109cqw;
  overflow: hidden;
  border-radius: 0 0 9cqw 9cqw;
  background: radial-gradient(ellipse at 92% 61%, #0b4935 0, #08251d 23%, transparent 51%), #080f0e;
  color: #fff;
}
.kg-dark::before {
  content: '';
  position: absolute;
  top: 34cqw;
  left: 46cqw;
  width: 69cqw;
  height: 43cqw;
  border-radius: 15cqw;
  transform: rotate(-7deg);
  background: linear-gradient(145deg, #164d38, #06201a00 65%);
}
.kg-header.hd { position: absolute; inset: 0 0 auto; background: transparent; z-index: 20; }
.kg-header .hd-row { height: 20.5cqw; padding: 0 7.3cqw; max-width: none; }
.kg-header .logo { flex-shrink: 0; }
.kg-header .logo img { width: 38cqw; height: auto; max-height: 17cqw; object-fit: contain; }
.kg-header .burger { display: flex; width: 6cqw; height: 7cqw; margin-left: auto; padding: 0; gap: 1.1cqw; }
.kg-header .burger span { height: 2px; border-radius: 3px; background: #fff; }
.kg-header .nav { top: 20cqw; background: #fff; color: #10261d; }
.kg-header .nav a { color: #10261d; }
.kg-header .profile { color: #10261d; }
.kg-copy { position: absolute; z-index: 3; left: 7.7cqw; top: 22.5cqw; pointer-events: none; }
.kg-copy h1 { margin: 0; font: 700 8.6cqw/1.04 Arial, Helvetica, sans-serif; letter-spacing: -.035em; }
.kg-copy h1 span { display: block; white-space: nowrap; }
.kg-copy h1 .kg-title-accent { color: #00e77e; }
.kg-copy p { margin: 3.8cqw 0 0; font: 400 3.48cqw/1.3 Arial, Helvetica, sans-serif; letter-spacing: -.02em; }
.kg-phone { position: absolute; top: 9cqw; left: 47.5cqw; width: 60cqw; max-width: none; height: auto; z-index: 1; pointer-events: none; mask-image: linear-gradient(#000 72%, rgb(0 0 0 / .22) 82%, transparent 90%); }
.kg-steps { position: absolute; z-index: 4; top: 80cqw; left: 4cqw; right: 4cqw; display: flex; justify-content: space-around; margin: 0; padding: 0; list-style: none; }
.kg-steps li { position: relative; width: 33.33%; text-align: center; }
.kg-step-number { display: grid; place-items: center; width: 9.4cqw; height: 9.4cqw; margin: 0 auto 1.7cqw; border: 1.3cqw solid #203f33; border-radius: 50%; background: linear-gradient(125deg, #43ef8a, #7dffb5); color: #001c0f; font-size: 4.1cqw; font-weight: 700; }
/* First step emphasis; previous styling retained in the pulse-20261124 backup. */
.kg-steps li:first-child .kg-step-number { position: relative; animation: kgStepPulse 2s ease-in-out infinite; }
.kg-steps li:first-child .kg-step-number::after { content: ""; position: absolute; inset: -1px; border: 1px solid #65f5a4; border-radius: inherit; pointer-events: none; animation: kgStepRing 2s ease-out infinite; }
.kg-steps li:nth-child(n+2) .kg-step-number { background: linear-gradient(125deg, #3c8060, #589b77); color: #d1e7da; border-color: #253e33; }
@keyframes kgStepPulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(67 239 138 / .12); } 50% { box-shadow: 0 0 12px 3px rgb(67 239 138 / .3); } }
@keyframes kgStepRing { 0% { transform: scale(1); opacity: .65; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.kg-steps strong { display: block; font-size: 3.5cqw; line-height: 1.2; }
.kg-steps small { display: block; margin-top: .25cqw; color: #bdc3c2; font-size: 3.3cqw; line-height: 1.2; }
.kg-step-arrow { position: absolute; top: 2.4cqw; right: -2.25cqw; width: 4.5cqw; height: 4.5cqw; color: #87938e; }
.kg-calculator { position: relative; z-index: 5; margin: -5.6cqw 4.6cqw 0; padding: 5.4cqw 6.2cqw 4.4cqw; border-radius: 6cqw; background: linear-gradient(125deg, #fff, #fff 55%, #fafdfc); box-shadow: 0 3.5cqw 7cqw #05895829; }
.kg-range-group + .kg-range-group { margin-top: 4.6cqw; }
.kg-range-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2.2cqw; }
.kg-range-row label { font-size: 4.15cqw; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.kg-range-row output { font-size: 4.8cqw; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.kg-range-row output span { font-size: inherit; }
.kg-calculator input[type="range"] {
  display: block;
  width: 100%;
  height: 5.7cqw;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  touch-action: pan-y;
  --kg-progress: 0%;
}
.kg-calculator input[type="range"]::-webkit-slider-runnable-track { height: 2cqw; border-radius: 2cqw; background: linear-gradient(to right, #00d96e, #00b84f var(--kg-progress), #e7ebed var(--kg-progress)); }
.kg-calculator input[type="range"]::-moz-range-track { height: 2cqw; border-radius: 2cqw; background: linear-gradient(to right, #00d96e, #00b84f var(--kg-progress), #e7ebed var(--kg-progress)); }
.kg-calculator input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 5.9cqw; height: 5.9cqw; margin-top: -1.95cqw; border: .8cqw solid #00d66e; border-radius: 50%; background: #fff; box-shadow: 0 1cqw 2.3cqw #00a45a35; }
.kg-calculator input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 5.9cqw; height: 5.9cqw; border: .8cqw solid #00d66e; border-radius: 50%; background: #fff; box-shadow: 0 1cqw 2.3cqw #00a45a35; }
.kg-calculator input[type="range"]:focus-visible { outline: 2px solid #0b7145; outline-offset: 4px; border-radius: 8px; }
.kg-range-limits { display: flex; justify-content: space-between; margin-top: .7cqw; color: #7f8b97; font-size: 3.4cqw; line-height: 1.4; }
.kg-get-money { display: flex; justify-content: center; align-items: center; gap: 2cqw; width: calc(100% + 4cqw); min-height: 13.1cqw; margin: 6.6cqw -2cqw 0; padding: 2cqw; border: 0; border-radius: 4cqw; box-shadow: inset 0 1px 1cqw #79ffc26b; background: linear-gradient(145deg, #39ed96, #00c96b 32%, #00bd5b); color: #fff; font: 700 4.7cqw/1.2 Arial, Helvetica, sans-serif; letter-spacing: -.025em; cursor: pointer; }
.kg-get-money svg { width: 5cqw; height: 5cqw; flex-shrink: 0; }
.kg-get-money:hover { filter: brightness(1.04); }
.kg-get-money:focus-visible { outline: 3px solid #126849; outline-offset: 4px; }
.kg-first-loan { display: flex; justify-content: center; align-items: center; gap: 3.2cqw; margin: 3cqw 0 0; font-size: 4.7cqw; font-weight: 700; letter-spacing: -.04em; }
.kg-first-loan svg { width: 10cqw; height: 10cqw; flex-shrink: 0; }
.kg-apply .modal { max-height: calc(100svh - 32px); overflow-y: auto; color: #10241c; }
.kg-apply .modal h2 { font-family: Arial, Helvetica, sans-serif; }
.kg-apply .km-form { padding: 0; margin: 16px 0 0; width: 100%; max-width: none; background: transparent; box-shadow: none; border: 0; }
.kg-apply .km-form::before,.kg-apply .km-form::after { display: none; }
.kg-apply .km-summary { margin: 0; color: #597266; }
.kg-apply .field { border-color: #d3e4dc; }
.kg-apply .field:focus-within { border-color: #00a75c; }
.kg-apply .btn-yellow { background: linear-gradient(130deg,#16d982,#00b85b); color: #fff; }
.kg-apply .check { text-align: left; }
.kg-apply .check a { color: #147146; }
.kg-apply input[type="checkbox"]:checked + .check-box { background: #00bb68; border-color: #00bb68; }
.kg-page .kg-header .nav a:focus-visible { outline: 2px solid #008e4a; }
@media (min-width: 960px) {
  .kg-hero { max-width: 1280px; padding-bottom: 44px; border-radius: 0 0 32px 32px; }
  .kg-dark { height: 650px; border-radius: 0 0 52px 52px; }
  .kg-dark::before { top: 190px; left: 55%; width: 560px; height: 340px; border-radius: 110px; }
  .kg-header .hd-row { height: 100px; padding: 0 64px; }
  .kg-header .logo img { width: 190px; max-height: 76px; }
  .kg-header .burger { display: flex; width: 28px; height: 28px; gap: 5px; }
  .kg-header .nav { position: absolute; top: 86px; left: auto; right: 44px; width: 300px; display: flex; flex-direction: column; padding: 8px; border-radius: 20px; box-shadow: 0 10px 40px #0003; opacity: 0; transform: translateY(-8px); pointer-events: none; }
  .kg-header .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .kg-header .nav a { width: 100%; font-size: 16px; padding: 14px 16px; }
  .kg-header .profile { display: flex; width: 100%; margin: 0; }
  .kg-copy { top: 125px; left: 64px; }
  .kg-copy h1 { font-size: clamp(52px, 5.5vw, 70px); }
  .kg-copy p { font-size: 23px; margin-top: 24px; }
  .kg-phone { width: 430px; left: auto; right: 30px; top: 90px; }
  .kg-steps { top: 530px; left: 50px; right: auto; width: 540px; }
  .kg-step-number { width: 46px; height: 46px; border-width: 6px; margin-bottom: 8px; font-size: 21px; }
  .kg-steps strong { font-size: 18px; }
  .kg-steps small { font-size: 17px; margin-top: 2px; }
  .kg-step-arrow { top: 11px; right: -12px; width: 24px; height: 24px; }
  .kg-calculator { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 44px; margin: -12px 40px 0; padding: 30px 40px; border-radius: 28px; box-shadow: 0 16px 35px #05895829; }
  .kg-range-group + .kg-range-group { margin: 0; }
  .kg-range-row { margin-bottom: 12px; }
  .kg-range-row label { font-size: 21px; }
  .kg-range-row output { font-size: 27px; }
  .kg-calculator input[type="range"] { height: 30px; }
  .kg-calculator input[type="range"]::-webkit-slider-runnable-track { height: 9px; border-radius: 10px; }
  .kg-calculator input[type="range"]::-moz-range-track { height: 9px; border-radius: 10px; }
  .kg-calculator input[type="range"]::-webkit-slider-thumb { width: 29px; height: 29px; margin-top: -10px; border-width: 4px; box-shadow: 0 4px 10px #00a45a35; }
  .kg-calculator input[type="range"]::-moz-range-thumb { width: 29px; height: 29px; border-width: 4px; box-shadow: 0 4px 10px #00a45a35; }
  .kg-range-limits { font-size: 17px; margin-top: 4px; }
  .kg-get-money { grid-column: 1 / -1; width: 360px; min-height: 62px; margin: 0 auto; padding: 12px; border-radius: 20px; font-size: 25px; gap: 10px; box-shadow: inset 0 1px 6px #79ffc26b; }
  .kg-get-money svg { width: 28px; height: 28px; }
  .kg-first-loan { margin-top: 12px; gap: 15px; font-size: 25px; }
  .kg-first-loan svg { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .kg-page .overlay,.kg-page .modal,.kg-steps li:first-child .kg-step-number,.kg-steps li:first-child .kg-step-number::after { animation: none; }
}
