.budget-popup-overlay{position:fixed;inset:0;z-index:10040;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(25,30,23,.56);backdrop-filter:blur(12px);opacity:0;transition:opacity .22s ease;overscroll-behavior:contain}
.budget-popup-overlay.is-open{opacity:1}
.budget-popup{--fit-scale:1;position:relative;flex:0 0 auto;width:1180px;height:1052px;overflow:hidden;border-radius:37px;box-shadow:0 30px 90px rgba(0,0,0,.28);transform:translateY(18px) scale(calc(var(--fit-scale)*.985));transform-origin:center center;transition:transform .22s ease;color:#252925;font-family:Inter,system-ui,sans-serif}
.budget-popup-overlay.is-open .budget-popup{transform:translateY(0) scale(var(--fit-scale))}
.budget-popup__art{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;user-select:none}
.budget-popup__content{position:absolute;inset:0;overflow:visible}
.budget-popup__mobile-head,.budget-popup__mobile-note{display:none}
.budget-popup__sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.budget-popup__close{position:absolute;top:20px;left:1108px;z-index:4;width:56px;height:56px;padding:0;border:0;background:transparent;color:transparent;font:300 34px/1 Inter,system-ui,sans-serif;cursor:pointer}
.budget-popup__close:focus-visible{outline:none}
.budget-popup__form,.budget-popup__fieldset{position:absolute;inset:0;margin:0;padding:0;border:0}
.budget-popup__legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.budget-popup__budgets{position:absolute;inset:0}
.budget-popup__budget{position:absolute;width:296px;height:68px;padding:0;border:1px solid #d3d7d1;border-radius:13px;background:#fff;color:#2d332e;font:700 24px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.budget-popup__budget.is-selected{border-color:#305128;background:#305128;color:#fff}
.budget-popup__budget:nth-child(1){left:545px;top:416px}
.budget-popup__budget:nth-child(2){left:854px;top:416px}
.budget-popup__budget:nth-child(3){left:545px;top:500px}
.budget-popup__budget:nth-child(4){left:854px;top:500px}
.budget-popup__budget:nth-child(5){left:545px;top:584px}
.budget-popup__budget:nth-child(6){left:854px;top:584px}
.budget-popup__budget:focus-visible{outline:3px solid rgba(49,95,59,.35);outline-offset:2px}
.budget-popup__field{position:absolute;left:534px;display:block;width:620px;height:66px;margin:0}
.budget-popup__field--name{top:686px}
.budget-popup__field--phone{top:772px}
.budget-popup__field svg{display:block;position:absolute;z-index:2;top:20px;left:28px;width:26px;height:26px;color:#305128;pointer-events:none}
.budget-popup__input{display:block;width:100%;height:66px;padding:0 20px 0 90px;border:1px solid #d3d7d1;border-radius:13px;background:#fff;color:#252925;font:20px/1.2 Inter,system-ui,sans-serif}
.budget-popup__input::placeholder{color:#747c74}
.budget-popup__input:focus,.budget-popup__input.has-value{outline:none;background:#fff}
.budget-popup__input:focus-visible{box-shadow:0 0 0 3px rgba(49,95,59,.2)}
.budget-popup__submit{position:absolute;left:534px;top:862px;width:620px;height:78px;padding:0 20px;border:0;border-radius:13px;background:#305128;color:#fff;font:800 24px/1.25 Inter,system-ui,sans-serif;cursor:pointer}
.budget-popup__submit.is-loading{background:#305128;color:#fff}
.budget-popup__submit:disabled{cursor:wait}
.budget-popup__submit:focus-visible{outline:3px solid rgba(49,95,59,.35);outline-offset:2px}
.budget-popup__error{position:absolute;left:534px;z-index:5;display:none;width:622px;margin:0;padding:4px 10px;background:#fff;color:#b42318;font-size:13px;line-height:1.35}
.budget-popup__error.is-visible{display:block}
#budget-popup-budget-error{top:652px}
#budget-popup-submit-error{top:836px}
.budget-popup__field .phone-err{position:absolute;top:66px;left:0;right:0;padding:4px 10px;background:#fff;font-size:12px;line-height:1.35}
body.budget-popup-open{overflow:hidden}
@media(max-width:760px){
  .budget-popup-overlay{align-items:center;padding:12px}
  .budget-popup{display:block;width:100%;height:auto;max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:20px;background:#fff}
  .budget-popup__art{display:none}
  .budget-popup__content{position:static;padding:20px 20px 22px;overflow:visible}
  .budget-popup__close{position:fixed;top:20px;left:auto;right:20px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 3px 12px rgba(0,0,0,.14);color:#30352f;font-size:29px}
  .budget-popup__mobile-head{display:block}
  .budget-popup__mobile-photo{height:150px;margin:-20px -20px 20px;overflow:hidden;background:#dfe5dc}
  .budget-popup__mobile-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 49%}
  .budget-popup__mobile-logo{display:block;width:260px;max-width:100%;height:auto;aspect-ratio:843/132;object-fit:contain;margin:0 0 18px}
  .budget-popup__mobile-title{margin:0 0 10px;font-size:26px;line-height:1.16;letter-spacing:-.025em}
  .budget-popup__mobile-text{margin:0 0 18px;color:#687069;font-size:14px;line-height:1.45}
  .budget-popup__form,.budget-popup__fieldset{position:static}
  .budget-popup__legend{position:static;width:auto;height:auto;margin:0 0 11px;padding:0;overflow:visible;clip:auto;font-size:16px;font-weight:800;line-height:1.35;white-space:normal}
  .budget-popup__budgets{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
  .budget-popup__budget,.budget-popup__budget:nth-child(n){position:static;width:auto;height:48px;min-height:48px;padding:10px 8px;border:1px solid #d3d7d1;border-radius:11px;background:#fff;color:#2d332e;font-size:15px}
  .budget-popup__budget.is-selected{border-color:#305128;background:#305128;color:#fff}
  .budget-popup__field,.budget-popup__field--name,.budget-popup__field--phone{position:relative;top:auto;left:auto;width:100%;height:52px;margin-bottom:12px}
  .budget-popup__input{height:52px;padding:0 15px 0 47px;border:1px solid #d3d7d1;border-radius:11px;background:#fff;font-size:15px}
  .budget-popup__input::placeholder{color:#747c74}
  .budget-popup__field svg{display:block;position:absolute;z-index:2;top:14px;left:13px;width:22px;height:22px;color:#305128;pointer-events:none}
  .budget-popup__submit,.budget-popup__submit.is-loading{position:static;width:100%;height:56px;min-height:56px;margin-top:2px;border-radius:11px;background:#305128;color:#fff;font-size:16px}
  .budget-popup__error,#budget-popup-budget-error,#budget-popup-submit-error{position:static;width:auto;padding:4px 0 8px;background:transparent}
  .budget-popup__field .phone-err{position:static;padding:4px 0;background:transparent}
  .budget-popup__mobile-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:14px 0 0;color:#687169;font-size:12px;line-height:1.4;text-align:center}
  .budget-popup__mobile-note svg{width:19px;height:19px;color:#305128}
}
@media(max-width:380px){
  .budget-popup-overlay{padding:8px}
  .budget-popup{max-height:calc(100dvh - 16px)}
  .budget-popup__close{top:14px;right:14px}
  .budget-popup__content{padding:18px 16px 20px}
  .budget-popup__mobile-photo{margin:-18px -16px 18px}
  .budget-popup__mobile-title{font-size:24px}
  .budget-popup__budget,.budget-popup__budget:nth-child(n){font-size:14px}
}
@media(prefers-reduced-motion:reduce){.budget-popup-overlay,.budget-popup{transition:none}}
