/* ==========================================================
   LOGOMIR SHARED FOOTER — SINGLE SOURCE OF TRUTH
   ========================================================== */
.logomir-unified-footer{
  width:min(1180px, calc(100% - 40px));
  max-width:1180px;
  margin:28px auto 0;
  padding:24px 0 18px;
  border-top:1px solid rgba(0,90,60,.12);
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:
    "logo intro phone"
    "legal legal legal"
    "requisites requisites requisites";
  align-items:center;
  column-gap:24px;
  row-gap:10px;
  box-sizing:border-box;
  color:#24372f;
  font-size:13px;
  line-height:1.45;
}
.logomir-unified-footer > img.mobile-footer-logo-last-before-legal{
  grid-area:logo;
  display:block;
  width:100px;
  max-width:100%;
  height:auto;
  margin:0;
}
.logomir-unified-footer > p:not(.footer-legal-absolute-bottom){
  grid-area:intro;
  margin:0;
}
.logomir-unified-footer > a[href^="tel:"]{
  grid-area:phone;
  display:inline-block;
  margin:0;
  color:#005A3C;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.logomir-unified-footer .legal-footer{
  grid-area:legal;
  width:100%;
  margin:4px 0 0;
  color:#68766b;
  font-size:12px;
  line-height:1.55;
}
.logomir-unified-footer .legal-footer p{
  margin:3px 0;
  font-size:inherit;
  line-height:inherit;
}
.logomir-unified-footer .legal-footer a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}
.logomir-unified-footer > .footer-legal-absolute-bottom{
  grid-area:requisites;
  width:100%;
  margin:2px 0 0;
  padding:10px 0 0;
  border-top:1px solid rgba(0,90,60,.10);
  color:#68766b;
  font-size:11px;
  line-height:1.4;
  text-align:left;
  box-sizing:border-box;
}

@media(max-width:680px){
  .logomir-unified-footer{
    width:calc(100% - 28px);
    margin:22px auto 0;
    padding:18px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    font-size:13px;
  }
  .logomir-unified-footer > img.mobile-footer-logo-last-before-legal{
    order:1;
    width:150px;
    max-width:48vw;
    margin:0 0 2px;
  }
  .logomir-unified-footer > p:not(.footer-legal-absolute-bottom){
    order:2;
    width:100%;
    margin:0;
  }
  .logomir-unified-footer > a[href^="tel:"]{
    order:3;
    margin:0 0 2px;
  }
  .logomir-unified-footer .legal-footer{
    order:4;
    width:100%;
    margin:4px 0 0;
    font-size:11px;
    line-height:1.5;
  }
  .logomir-unified-footer .legal-footer p{
    margin:3px 0;
  }
  .logomir-unified-footer > .footer-legal-absolute-bottom{
    order:5;
    width:100%;
    margin:6px 0 0;
    padding:10px 0 0;
    font-size:10px;
    line-height:1.4;
  }
  .logomir-unified-footer p,
  .logomir-unified-footer a,
  .logomir-unified-footer span,
  .logomir-unified-footer div{
    max-width:100%;
    word-break:normal;
    overflow-wrap:normal;
    hyphens:none;
  }
}
