/* one-pager additions */
.anchor-target{display:block;position:relative;top:-140px;visibility:hidden;height:0}
.head__search,.header-search{display:none!important}
.lead-form .form-msg{margin-top:12px;padding:12px 16px;border-radius:6px;font-size:14px;display:none}
.lead-form .form-msg.--ok{display:block;background:#e6f6ec;color:#1b6b3a}
.lead-form .form-msg.--err{display:block;background:#fdecec;color:#a12626}
.lead-form .wpcf7-not-valid-tip{color:#dc3232;font-size:13px;display:block;margin-top:4px}
.lead-form input:invalid.touched,.lead-form select:invalid.touched{border-color:#dc3232}
.lead-form .wpcf7-submit.--busy{opacity:.6;pointer-events:none}
html{scroll-behavior:smooth}

/* ===== Единая строка шапки ===== */
.head__bottom{background:#fff;padding:0.85rem 0;border-bottom:1px solid #e7ecf3}
.head__bottom-wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:nowrap}
.head__logo{flex:0 0 auto}
.head__logo-image{max-height:46px;width:auto}
.head__info{display:flex;align-items:center;gap:1.6rem;flex:1 1 auto;justify-content:center;font-size:13px;line-height:1.2;color:#1B1B42}
.head__info a{color:#1B1B42}
.head__info a:hover{color:#2f57d6}
.head__call{display:flex;align-items:center;gap:.5rem}
.head__email a,.head__phone a{background-position:left center;background-repeat:no-repeat;background-size:17px;padding-left:24px;color:#1B1B42}
.head__email a{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231B1B42" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m2 6 10 7 10-7"/></svg>')}
.head__phone a{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231B1B42"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.8 21 3 13.2 3 3.9 3 3.4 3.4 3 4 3h3.4c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1l-2.2 2.2Z"/></svg>')}
.head__time{color:#1B1B42;padding-left:24px;background-position:left center;background-repeat:no-repeat;background-size:16px;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231B1B42" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2"/><path d="M16 2v4M8 2v4M3 10h18"/></svg>')}
.head__actions{display:flex;align-items:center;gap:1.4rem;flex:0 0 auto}
.head__nav{display:block}
.head__nav .menu,.head__right .menu{display:flex;align-items:center;gap:1.4rem;margin:0;padding:0;list-style:none}
.head__nav .menu a,.head__right .menu a{color:#1B1B42;font-weight:700;font-size:14px}
.head__nav .menu a:hover,.head__right .menu a:hover{color:#2f57d6}
.head__right{display:flex;align-items:center;gap:1.2rem}
.head__mobile-btn{display:none}
@media (max-width:1100px){.head__info{display:none}}
@media (max-width:900px){.head__actions{display:none}.head__bottom-wrap{justify-content:space-between}}
/* убрать осветляющий фильтр темы на светлом фоне */
.head__email a,.head__phone a{filter:none!important}

/* ===== Синий фон шапки (одна строка) ===== */
.head__bottom{background:#0366d6!important;border-bottom:none!important}
.head__logo-image{filter:brightness(0) invert(1)}
.head__info,.head__info a{color:#fff!important}
.head__info a:hover{color:#dbe6ff!important}
.head__email a,.head__phone a,.head__time{filter:brightness(0) invert(1)!important}
.head__nav .menu a,.head__right .menu a{color:#fff!important}
.head__nav .menu a:hover,.head__right .menu a:hover{color:#dbe6ff!important}
