/* MH 07.10 по просьбе Игоря: калькулятор бетона. MH 12.10 по слову Игоря: калькулятор на боевом. Все классы с префиксом mhb- */
.mhb{padding:56px 0 80px;background:linear-gradient(180deg,#f7f9fc 0%,#eef3f8 100%);color:#132742;font-family:"Open Sans",Arial,sans-serif}
.mhb *{box-sizing:border-box}
.mhb-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px;align-items:start}
.mhb-card{background:#fff;border:1px solid rgba(0,115,199,.08);box-shadow:0 24px 50px rgba(18,34,57,.08);padding:28px 26px;border-radius:6px}
.mhb-step{margin:0 0 22px}
.mhb-step:last-child{margin-bottom:0}
.mhb-h{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:16px;font-weight:700;color:#132742;line-height:1.3}
.mhb-n{flex:0 0 26px;height:26px;border-radius:50%;background:#0073c7;color:#fff;font-size:13px;display:flex;align-items:center;justify-content:center}
.mhb-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mhb-tab{position:relative;cursor:pointer;margin:0}
.mhb-tab input{position:absolute;opacity:0;pointer-events:none}
.mhb-tab span{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;border:1.5px solid #d6e0eb;border-radius:6px;font-size:13px;line-height:1.25;text-align:center;color:#3b4d66;background:#fff;height:100%;transition:border-color .15s,background .15s}
.mhb-tab svg{width:38px;height:28px}
.mhb-tab input:checked+span{border-color:#0073c7;background:rgba(0,115,199,.07);color:#004b82;font-weight:600}
.mhb-tab input:focus-visible+span{outline:2px solid #0073c7;outline-offset:2px}
.mhb-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.mhb-f{display:flex;flex-direction:column;gap:5px;margin:0;min-width:0}
.mhb-f>span{font-size:13px;color:#5f6f85;line-height:1.3}
.mhb-f input,.mhb-f select,.mhb-f textarea{width:100%;height:44px;border:1.5px solid #d6e0eb;border-radius:6px;padding:0 12px;font-size:16px;color:#132742;background:#fff;font-family:inherit;min-width:0}
.mhb-f textarea{height:72px;padding:10px 12px;resize:vertical}
.mhb-f input:focus,.mhb-f select:focus,.mhb-f textarea:focus{outline:none;border-color:#0073c7;box-shadow:0 0 0 3px rgba(0,115,199,.15)}
.mhb-f.mhb-wide{grid-column:1/-1}
.mhb-hint{font-size:12.5px;color:#7a889c;line-height:1.45;margin:8px 0 0}
.mhb-seg{display:flex;gap:8px;flex-wrap:wrap}
.mhb-seg label{margin:0;cursor:pointer;position:relative}
.mhb-seg input{position:absolute;opacity:0;pointer-events:none}
.mhb-seg span{display:block;padding:9px 14px;border:1.5px solid #d6e0eb;border-radius:20px;font-size:14px;color:#3b4d66;background:#fff}
.mhb-seg input:checked+span{border-color:#0073c7;background:#0073c7;color:#fff}
.mhb-seg input:focus-visible+span{outline:2px solid #0073c7;outline-offset:2px}
.mhb-sw{display:flex;align-items:center;gap:10px;cursor:pointer;margin:0;font-size:15px}
.mhb-sw input{width:20px;height:20px;accent-color:#0073c7;margin:0}
.mhb-pump{margin-top:12px}
.mhb-pump[hidden]{display:none}
.mhb-gp{font-size:12.5px;color:#7a889c;margin-top:6px;line-height:1.4}
.mhb-side{position:sticky;top:96px}
.mhb-vis{padding:16px 16px 10px}
.mhb-vis svg.mhb-draw{display:block;width:100%;height:auto;max-height:360px}
.mhb-cap{font-size:12px;color:#7a889c;text-align:center;margin:4px 0 0}
.mhb-res{margin-top:16px}
.mhb-big{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:1px solid #e6edf4;padding-bottom:14px;margin-bottom:12px}
.mhb-big b{font-size:34px;line-height:1.1;color:#004b82;font-weight:700}
.mhb-big small{font-size:13px;color:#5f6f85}
.mhb-mix{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 6px}
.mhb-mix svg{width:46px;height:30px}
.mhb-rows{margin:0;padding:0;list-style:none}
.mhb-rows li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed #e1e8f0;font-size:14.5px;line-height:1.4}
.mhb-rows li>span:first-child{color:#5f6f85;min-width:0}
.mhb-rows li>span:last-child{text-align:right;font-weight:600;color:#132742;white-space:nowrap}
.mhb-rows li.mhb-wrap>span:last-child{white-space:normal}
.mhb-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:14px;padding:14px 16px;background:#0073c7;color:#fff;border-radius:6px;flex-wrap:wrap}
.mhb-total span{font-size:15px}
.mhb-total b{font-size:26px;font-weight:700;white-space:nowrap}
.mhb-note{font-size:12.5px;color:#7a889c;line-height:1.5;margin:10px 0 0}
.mhb-lead{margin-top:28px}
.mhb-lead h2,.mhb-lead .mhb-lt{font-size:26px;line-height:1.25;margin:0 0 6px;color:#132742;font-weight:700}
.mhb-lead>p{color:#5f6f85;margin:0 0 18px;font-size:15px}
.mhb-lf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;align-items:end}
.mhb-agree{grid-column:1/-1;display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#5f6f85;line-height:1.45;margin:0;cursor:pointer}
.mhb-agree input{width:18px;height:18px;margin:2px 0 0;flex:0 0 18px;accent-color:#0073c7}
.mhb-agree a{color:#0073c7;text-decoration:underline}
.mhb-btn{grid-column:1/-1;justify-self:start;height:50px;padding:0 30px;border:0;border-radius:6px;background:#0073c7;color:#fff;font-size:16px;font-weight:600;cursor:pointer;box-shadow:0 14px 30px rgba(0,115,199,.25);font-family:inherit}
.mhb-btn:hover{background:#005ea3}
.mhb-btn[disabled]{opacity:.6;cursor:default}
.mhb-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.mhb-msg{grid-column:1/-1;font-size:14.5px;margin:0;min-height:1em}
.mhb-msg.mhb-ok{color:#1b7a3a;font-weight:600}
.mhb-msg.mhb-err{color:#c0392b}
@media (max-width:991px){.mhb-grid{grid-template-columns:minmax(0,1fr)}.mhb-side{position:static}}
@media (max-width:767px){
 .mhb{padding:28px 0 48px}
 .mhb-card{padding:20px 16px}
 .mhb-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mhb-lf{grid-template-columns:minmax(0,1fr)}
 .mhb-big b{font-size:28px}
 .mhb-total b{font-size:22px}
 .mhb-btn{width:100%}
 .mhb-fields.mhb-stack{grid-template-columns:minmax(0,1fr)}
 .mhb-lead h2,.mhb-lead .mhb-lt{font-size:22px}
}
@media (max-width:400px){.mhb-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.mhb-f input,.mhb-f select{padding:0 9px}}

/* MH 12.10 по слову Игоря: калькулятор на главной — заголовок секции в стиле сайта */
.mhb-home{padding:80px 0 90px}
.mhb-head{text-align:center;max-width:760px;margin:0 auto 34px}
.mhb-kicker{display:inline-block;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#0073c7;margin-bottom:10px}
.mhb-head h2{font-size:36px;line-height:1.2;margin:0 0 12px;color:#132742;font-weight:700}
.mhb-head p{font-size:16px;line-height:1.55;color:#5f6f85;margin:0}
section.mhb p.mhb-h{color:#132742}
@media (max-width:767px){.mhb-home{padding:44px 0 52px}.mhb-head{margin-bottom:22px}.mhb-head h2{font-size:27px}.mhb-head p{font-size:15px}}
