/* Homepage-only constraints: decorative overflow must not hide real content. */
@media (max-width:720px){
  .c.c-tpl-home .c-hero-in{width:100%;min-width:0}
  .c.c-tpl-home :is(.c-h1,.c-h2,.c-contact h2){overflow-wrap:anywhere;hyphens:auto}
  .c.c-tpl-home .c-hero-kick{letter-spacing:.18em;line-height:1.8}
  .c.c-tpl-home:is(:lang(en),:lang(ru)) .c-motto{letter-spacing:.06em;line-height:1.6;gap:10px}
  .c.c-tpl-home:is(:lang(en),:lang(ru)) .c-motto::before,
  .c.c-tpl-home:is(:lang(en),:lang(ru)) .c-motto::after{width:16px;flex:0 0 16px}
  .c.c-tpl-home .c-en{overflow-wrap:anywhere}
  .c.c-tpl-home .c-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .c.c-tpl-home .c-stats>div{min-width:0;padding-inline:8px}
  .c.c-tpl-home .c-stats b{white-space:nowrap;line-height:1.2}
  .c.c-tpl-home .c-stats span{font-size:12px;line-height:1.6;letter-spacing:.08em;overflow-wrap:anywhere;hyphens:auto}
  .c.c-tpl-home .c-acts .c-btn{min-width:0;max-width:100%;height:auto;min-height:56px;padding:14px 16px;line-height:1.5;letter-spacing:.08em;text-align:center;overflow-wrap:anywhere}
  .c.c-tpl-home .c-lk{min-width:0;max-width:100%;overflow-wrap:anywhere}
  .c.c-tpl-home .c-cgrid{grid-template-columns:minmax(0,1fr)}
  .c.c-tpl-home :is(.c-ch,.c-mbtns){min-width:0}
  .c.c-tpl-home .c-mbtns :is(a,button){min-width:0;height:auto;min-height:56px;padding:14px 20px;gap:12px;line-height:1.5;letter-spacing:.06em;overflow-wrap:anywhere;scroll-margin-block:calc(var(--c-hdr) + 16px) 90px}
  .c.c-tpl-home:is(:lang(en),:lang(ru)) .c-contact h2{font-size:clamp(32px,9vw,44px);line-height:1.2;letter-spacing:.02em}
  .c.c-tpl-home #contact{scroll-margin-top:calc(var(--c-hdr) + 16px)}
  .c.c-tpl-home .c-mbar{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);height:auto;min-height:54px;bottom:calc(12px + env(safe-area-inset-bottom))}
  .c.c-tpl-home .c-mbar a{min-width:0;min-height:54px;padding:10px 12px;line-height:1.35;letter-spacing:.04em;text-align:center;overflow-wrap:anywhere}
  .c.c-tpl-home .c-mbar.is-hidden{transform:translateY(calc(100% + 16px + env(safe-area-inset-bottom)))}
  .c.c-tpl-home.c-home-clear-dock .c-mbar{visibility:hidden;pointer-events:none;transform:translateY(calc(100% + 16px + env(safe-area-inset-bottom)))}
  .c.c-tpl-home .c-ftr{padding-bottom:calc(120px + env(safe-area-inset-bottom))}
}
@media (max-width:720px),(max-height:600px){
  .c.c-tpl-home .fs-consult-panel{padding:0}
  .c.c-tpl-home .fs-consult-close{position:sticky;top:0;right:auto;display:flex;align-items:center;justify-content:flex-end;width:100%;height:56px;min-height:56px;margin:0;padding:0 16px;border-radius:0;border-bottom:1px solid #eef0f3;font:400 26px/1 var(--c-sans);color:#13284a;background:#fff;z-index:2}
  .c.c-tpl-home .fs-consult-close:focus-visible{outline:2px solid var(--c-gold-ink);outline-offset:-4px}
  .c.c-tpl-home .fs-consult-close:active{transform:none}
}
