/* Компактная форма заявки — целиком помещается на один экран (ноутбук 1366×768, телефон 375×667) */
.lead-form{padding:24px 26px}
.lead-form h3{font-size:22px;margin-bottom:4px}
.lead-form .form-lead{font-size:12.5px;margin:0 0 14px}
.lead-form .objects{margin-bottom:14px}
.lead-form .field{margin-bottom:12px}
.lead-form .field>span,.lead-form .object-label{font-size:13px;margin-bottom:5px}
.lead-form .object-options{gap:6px}
.lead-form .object-options span{padding:6px 10px;font-size:13px}
.lead-form .field input,.lead-form .field select,.lead-form .field textarea{min-height:42px;padding:9px 12px}
.lead-form .field textarea{min-height:42px;height:42px;overflow:hidden}
.lead-form .field textarea:focus{overflow:auto}
.lead-form .form-row{gap:12px}
.lead-form .photos{margin-bottom:12px}
.lead-form .photos-head{margin-bottom:5px}
.lead-form .photos-head>span{font-size:13px}
.lead-form .photos-drop{padding:6px;gap:10px}
.lead-form .photos-button{min-height:38px;padding:7px 12px;font-size:13px}
.lead-form .photos-hint{font-size:11.5px;line-height:1.45}
.lead-form .photos-list{margin-top:8px;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}
.lead-form .photos-remove{width:20px;height:20px;font-size:13px;top:2px;right:2px}
.lead-form .consent{margin:2px 0 12px;font-size:12px;line-height:1.45}
.lead-form .btn{min-height:48px;padding-block:10px}
.lead-form .form-note{font-size:11.5px;line-height:1.5;margin-top:8px}
.lead-form .form-status{margin-top:10px;padding-top:10px;font-size:13px;line-height:1.5}
/* Фото: одна строка — кнопка слева, счётчик справа */
.lead-form .photos{position:relative}
.lead-form .photos-head{position:absolute;top:0;right:0;height:50px;margin:0;align-items:center;pointer-events:none}
.lead-form .photos-head>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lead-form .photos-drop{padding-right:60px}
.lead-form .photos-button{white-space:nowrap}
.lead-form .photos-button::after{content:'· по желанию';color:#62705f;font-size:12px}
.lead-form .photos-button:hover::after{color:inherit}
.lead-form .photos-hint{flex:1 1 150px}

@media(max-width:480px){
 .lead-form{padding:18px 16px}
 .lead-form h3{font-size:21px;margin-bottom:12px}
 .lead-form .form-lead,.lead-form .form-note,.lead-form .photos-hint{display:none}
 .lead-form .form-row{grid-template-columns:2fr 3fr;gap:10px}
 .lead-form .field{margin-bottom:10px}
 .lead-form .objects{margin-bottom:10px}
 .lead-form .object-options{gap:5px}
 .lead-form .object-options span{padding:5px 9px}
 .lead-form .photos-drop{border:0;padding:0 50px 0 0}
 .lead-form .photos-head{height:38px}
 .lead-form h3{margin-bottom:10px}
 .lead-form .photos-button{width:auto}
 .lead-form .photos-list{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* Уведомление об отправленной заявке */
.lead-toast{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:#0c100dcc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s}
.lead-toast.is-open{opacity:1}
.lead-toast-card{position:relative;width:min(100%,400px);background:#f0efe7;color:#171d19;border-radius:8px;padding:32px 28px 26px;text-align:center;box-shadow:0 30px 80px #000a;transform:translateY(14px) scale(.97);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.lead-toast.is-open .lead-toast-card{transform:none}
.lead-toast-icon{width:60px;height:60px;margin:0 auto 18px;border-radius:50%;background:#263e2d;display:flex;align-items:center;justify-content:center}
.lead-toast-icon svg{width:28px;height:28px;fill:none;stroke:#f0efe7;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:30;stroke-dashoffset:30;transition:stroke-dashoffset .5s .15s ease-out}
.lead-toast.is-open .lead-toast-icon svg{stroke-dashoffset:0}
.lead-toast-title{font-size:24px;font-weight:400;letter-spacing:-.02em;margin:0 0 10px}
.lead-toast-text{font-size:15px;line-height:1.6;color:#394c3f;margin:0 0 22px}
.lead-toast-text a{white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
.lead-toast .btn{width:100%;justify-content:center;background:#263e2d;border-color:#263e2d;color:#f0efe7}
.lead-toast .btn:hover{background:#36563f}
.lead-toast-close{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#62705f;font-size:24px;line-height:1;cursor:pointer}
.lead-toast-close:hover{background:#0000000d;color:#171d19}
@media(prefers-reduced-motion:reduce){.lead-toast,.lead-toast-card,.lead-toast-icon svg{transition:none}}
