/* site_extra: добавлено при правках. Форма заявки в первом экране главной (.hf) */
.hf{display:flex;flex-direction:column;gap:16px;color:#fff;width:100%;max-width:none}
.hf__title{font-size:22px;font-weight:700;line-height:1.25}
.hf__sub{margin-top:4px;font-size:14px;color:rgba(255,255,255,.72)}
.hf__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end}
.hf__field{display:flex;flex-direction:column;gap:6px;margin:0}
.hf__label{font-size:13px;font-weight:600;color:rgba(255,255,255,.85)}
.hf .form-control{height:52px;padding:0 16px;border:2px solid transparent;border-radius:10px;background:#fff;color:#0f1720;font-size:16px;box-sizing:border-box;width:100%;transition:border-color .2s,box-shadow .2s}
.hf .form-control::placeholder{color:#8a96a3}
.hf .form-control:focus{outline:0;border-color:#1c69d4;box-shadow:0 0 0 4px rgba(28,105,212,.3)}
.hf .form-control.error,.hf .form-control:user-invalid{border-color:#e22718}
.hf__btn{height:52px;padding:0 30px;border:0;border-radius:10px;font-size:16px;font-weight:700;cursor:pointer;transition:opacity .2s,filter .2s}
.hf__consent{display:flex;align-items:flex-start;gap:12px;padding:8px 10px;margin:-8px -10px;border-radius:10px;border:2px solid transparent;transition:border-color .2s,background .2s}
.hf__check{flex:0 0 22px;width:22px;height:22px;margin:1px 0 0;accent-color:#1c69d4;cursor:pointer}
.hf__consent-text{margin:0;font-size:13px;line-height:1.45;color:rgba(255,255,255,.85);cursor:pointer}
.hf__consent-text a{color:#6db3ff;text-decoration:underline}
/* подсветка согласия при отправке без галочки */
.hf__consent.is-error{border-color:#ff5a4d;background:rgba(226,39,24,.18);animation:hf-shake .35s}
.hf__consent.is-error .hf__consent-text{color:#fff}
@keyframes hf-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
/* форма занимает всю ширину своего блока */
.header-bottom-inner{width:100%}
.header-bottom-inner .header-form{flex:1 1 0;min-width:0;width:100%;max-width:none}
.header-bottom-inner .header-form form,.header-bottom-inner .header-form .hf{width:100%;max-width:none}
/* Max в строке «Или напишите нам» */
.header-bottom-messengers .max-link{display:inline-flex;align-items:center;gap:6px}
.header-bottom-messengers .max-link__ico{width:22px;height:22px;display:block}
/* карточки услуг: ссылка «Подробнее» */
.services .item-more-link{color:#2650a3;font-weight:600}
@media (max-width:900px){.hf__row{grid-template-columns:1fr 1fr}.hf__btnwrap{grid-column:1/-1}.hf__btn{width:100%}}
@media (max-width:560px){.hf__row{grid-template-columns:1fr}.hf__title{font-size:19px}}
