/* Единые модальные формы заявки (js/cf-lead-modal.js), 04.12.2026 */
.cflm-fb .fancybox__content.cflm,
.fancybox__content.cflm{width:min(460px,100%);padding:30px 30px 24px;border-radius:18px;background:#fff;color:#0f1d2e;font-family:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:left}
.cflm *{box-sizing:border-box}
.cflm .cflm__ctx{display:inline-block;margin:0 0 10px;padding:4px 10px;border-radius:8px;background:#eaf6fc;color:#11729a;font-size:13.5px;font-weight:700;line-height:1.35}
.cflm .cflm__t{margin:0;font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.01em;color:#0f1d2e;text-transform:none}
.cflm .cflm__lead{margin:8px 0 18px;font-size:15px;line-height:1.5;color:#4b5868}
.cflm .cflm__form{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;background:none;border:0;box-shadow:none}
.cflm .cflm__f{display:flex;flex-direction:column;gap:5px;margin:0}
.cflm .cflm__f label{margin:0;font-size:13.5px;font-weight:700;color:#334152;line-height:1.3;position:static;width:auto;height:auto;clip:auto;overflow:visible}
.cflm .cflm__f input,.cflm .cflm__f select,.cflm .cflm__f textarea{display:block;width:100%;min-height:50px;margin:0;padding:12px 14px;border:1.5px solid #d3dde6;border-radius:11px;background:#fff;color:#0f1d2e;font-family:inherit;font-size:16px;font-weight:500;line-height:1.3;box-shadow:none;outline:0;appearance:auto;transition:border-color .15s,box-shadow .15s}
.cflm .cflm__f textarea{min-height:84px;resize:vertical}
.cflm .cflm__f input:focus,.cflm .cflm__f select:focus,.cflm .cflm__f textarea:focus{border-color:#1aa9d6;box-shadow:0 0 0 3px rgba(26,169,214,.2)}
.cflm .cflm__f input[aria-invalid=true]{border-color:#d9483b;box-shadow:0 0 0 3px rgba(217,72,59,.15)}
.cflm .cflm__err{margin:2px 0 0;font-size:13px;color:#c23a2e;line-height:1.35}
.cflm .cflm__go{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;margin:6px 0 0;padding:0 20px;border:0;border-radius:12px;background:#1aa9d6;color:#fff;font-family:inherit;font-size:17px;font-weight:700;line-height:1;text-transform:none;letter-spacing:0;cursor:pointer;box-shadow:0 8px 20px rgba(26,169,214,.3);transition:background .15s}
.cflm .cflm__go:hover{background:#1393c0}
.cflm .cflm__go:focus-visible{outline:3px solid rgba(26,169,214,.45);outline-offset:2px}
.cflm .cflm__go.is-busy{opacity:.75;pointer-events:none}
.cflm .cflm__agree{margin:4px 0 0;font-size:12.5px;line-height:1.45;color:#7a8594}
.cflm .cflm__agree a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.cflm-flash{animation:cflmFlash 1.2s ease}
@keyframes cflmFlash{0%,100%{box-shadow:none}30%{box-shadow:0 0 0 4px rgba(26,169,214,.45)}}
@media (max-width:600px){
  .fancybox__content.cflm{padding:24px 18px 18px;border-radius:16px}
  .cflm .cflm__t{font-size:21px}
  .cflm .cflm__lead{font-size:14.5px;margin-bottom:14px}
}
@media (prefers-reduced-motion:reduce){.cflm-flash{animation:none}.cflm .cflm__f input,.cflm .cflm__go{transition:none}}
/* пока открыто окно, кружок чата amo не перекрывает кнопку отправки */
.with-fancybox .amo-button-holder,.with-fancybox #CalltouchWidgetFrame{visibility:hidden!important}
