/* MasterFresok — блок «Как заказать — 4 шага» */
.mfs{--r:#e5303d;--rd:#c4202c;--ink:#1f2329;--mut:#5b6370;--line:#e3ded6;--soft:#f6f3ef;--wa:#1fa855;font-family:inherit;color:var(--ink);margin:0 0 48px;box-sizing:border-box}
.mfs *,.mfs *:before,.mfs *:after{box-sizing:border-box}
.mfs__in{max-width:1240px;margin:0 auto}
.mfs__h{margin:0!important;font-size:30px!important;line-height:1.15!important;font-weight:800!important;color:var(--ink)}
.mfs__lead{margin:8px 0 20px;font-size:14.5px;line-height:1.5;color:#4a5260;max-width:720px}
.mfs__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.mfs__it{position:relative;background:var(--soft);border-radius:16px;padding:20px 20px 22px;display:flex;flex-direction:column;margin:0}
.mfs__it:before{display:none!important}
.mfs__it:not(:last-child):after{content:"";position:absolute;top:38px;right:-13px;width:10px;height:10px;border-top:2px solid #c9c2b8;border-right:2px solid #c9c2b8;transform:rotate(45deg);z-index:1}
.mfs__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.mfs__n{width:34px;height:34px;border-radius:50%;background:var(--r);color:#fff;font-weight:800;font-size:15px;display:inline-flex;align-items:center;justify-content:center}
.mfs__ico{width:34px;height:34px;fill:none;stroke:#8a8176;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mfs__t{margin:0 0 6px!important;font-size:16px!important;line-height:1.25!important;font-weight:700!important;color:var(--ink)}
.mfs__d{margin:0 0 16px;font-size:13.5px;line-height:1.5;color:var(--mut);flex:1}
.mfs__btn{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px;border-radius:999px;border:1.5px solid var(--ink);background:#fff;color:var(--ink)!important;font:inherit;font-size:13.5px;font-weight:600;text-decoration:none!important;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.mfs__btn:hover{background:var(--ink);color:#fff!important}
.mfs__btn.is-wa{background:var(--wa);border-color:var(--wa);color:#fff!important}
.mfs__btn.is-wa:hover{background:#178a45;border-color:#178a45}
.mfs__btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.mfs__btn svg .f{fill:currentColor;stroke:none}
.mfs__hours{margin:14px 0 0;font-size:14px;color:var(--mut)}
@media (max-width:1023px){.mfs__list{grid-template-columns:repeat(2,1fr)}.mfs__it:after{display:none}}
@media (max-width:767px){
  .mfs{padding:0 16px;margin-bottom:36px}
  .mfs__h{font-size:23px!important}
  .mfs__lead{font-size:14.5px;margin-bottom:16px}
  .mfs__list{grid-template-columns:1fr;gap:0}
  .mfs__it{background:none;border-radius:0;padding:0 0 22px 52px;display:block}
  .mfs__it:not(:last-child):after{display:block;content:"";top:40px;left:18px;right:auto;width:0;height:calc(100% - 44px);border:0;border-left:2px dashed #d3ccc2;transform:none}
  .mfs__top{position:absolute;left:0;top:0;margin:0}
  .mfs__ico{display:none}
  .mfs__t{font-size:17px!important;padding-top:8px}
  .mfs__d{margin-bottom:12px}
}
