/* V53: footer mobile davvero centrato. Desktop unchanged. */
@media (max-width:700px) {
  .site-footer .footer-grid.footer-grid-v52 {
    display:flex !important; flex-direction:column !important; align-items:center !important;
    gap:0 !important; width:min(100% - 36px,560px); margin-inline:auto;
    padding-block:32px 22px !important;
  }
  .site-footer .footer-grid-v52 > .footer-brand,
  .site-footer .footer-grid-v52 > .footer-menu-v52,
  .site-footer .footer-grid-v52 > .footer-contacts-v52,
  .site-footer .footer-grid-v52 > .footer-map-v52 {
    width:100% !important; min-width:0 !important; grid-area:auto !important;
    margin:0 !important; padding:22px 0 !important; text-align:center !important;
    display:flex !important; flex-direction:column !important; align-items:center !important;
    border:0 !important;
  }
  .site-footer .footer-grid-v52 > .footer-brand {order:0 !important;padding-top:0 !important;}
  .site-footer .footer-grid-v52 > .footer-menu-v52 {order:1 !important;}
  .site-footer .footer-grid-v52 > .footer-contacts-v52 {order:2 !important;}
  .site-footer .footer-grid-v52 > .footer-map-v52 {order:3 !important;padding-bottom:0 !important;}
  .site-footer .footer-grid-v52 > :not(:first-child) {border-top:1px solid rgba(138,223,172,.16) !important;}
  .site-footer .footer-brand img {width:122px !important;height:auto !important;margin:0 auto 14px !important;}
  .site-footer .footer-brand > p {
    max-width:35ch !important; margin:0 auto !important;line-height:1.55 !important;text-align:center !important;
  }
  .site-footer .footer-socials {
    display:flex !important;align-items:center !important;justify-content:center !important;
    gap:12px !important;margin-top:18px !important;
  }
  .site-footer .footer-menu-v52 h3,
  .site-footer .footer-contacts-v52 h3,
  .site-footer .footer-map-v52 h3 {
    width:100%;margin:0 0 17px !important;text-align:center !important;
  }
  .site-footer .footer-menu-v52 {
    flex-direction:row !important;flex-wrap:wrap !important;
    justify-content:center !important;align-content:center !important;gap:10px 12px !important;
  }
  .site-footer .footer-menu-v52 h3 {flex:0 0 100% !important;}
  .site-footer .footer-menu-v52 a {
    display:inline-flex !important;align-items:center;justify-content:center;
    padding:8px 12px !important;min-height:40px;
    border:1px solid rgba(138,223,172,.13);border-radius:12px;
    background:rgba(138,223,172,.045);line-height:1.2;
  }
  .site-footer .footer-contacts-v52 {gap:11px !important;}
  .site-footer .footer-contacts-v52 p {
    width:100%;text-align:center !important;line-height:1.55 !important;overflow-wrap:anywhere;
  }
  .site-footer .footer-map-v52 iframe {
    width:min(100%,460px) !important;height:190px !important;
    border-radius:16px !important;margin:0 auto !important;
  }
  .site-footer .footer-bottom-content {
    flex-direction:column !important;align-items:center !important;
    justify-content:center !important;gap:12px !important;text-align:center !important;
  }
  .site-footer .footer-bottom-content p {text-align:center !important;}
  .site-footer .footer-bottom-content div {
    justify-content:center !important;flex-wrap:wrap !important;gap:12px 20px !important;
  }
  body.light-mode .site-footer .footer-grid-v52 > :not(:first-child) {
    border-top-color:rgba(20,123,104,.20) !important;
  }
  body.light-mode .site-footer .footer-menu-v52 a {
    background:rgba(20,123,104,.06);border-color:rgba(20,123,104,.13);
  }
}
