/* Correzione caricata per ultima: le due foto delle sale operative hanno la stessa tessera. */
@media (min-width:901px){
  .gallery>img:nth-child(4),
  .gallery>img:nth-child(5){
    grid-column:auto!important;
    grid-row:2!important;
    width:100%!important;
    height:230px!important;
    object-fit:cover!important;
  }
  .gallery>img:nth-child(4){grid-column:2!important}
  .gallery>img:nth-child(5){grid-column:3!important}
}
.footer{padding:72px 0 26px}
.footer-shell{text-align:center}
.footer-card{width:min(680px,100%);margin:0 auto 42px;padding:44px 46px 40px;background:#fff;color:var(--ink);border:1px solid rgba(255,255,255,.7);border-radius:30px;box-shadow:0 22px 55px rgba(0,0,0,.18)}
.footer-card img{width:170px;max-height:225px;object-fit:contain;margin:0 auto 22px}
.footer-card h3{margin-bottom:10px;font-size:1.45rem}
.footer-card p{margin:0;color:var(--muted)}
.footer-contacts{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;font-weight:700;color:var(--sea)}
.footer-links{display:flex;justify-content:center;gap:10px 24px;flex-wrap:wrap;margin-bottom:22px}
.footer-links a,.footer-policy a,.footer-policy button{color:#d5e1e4}
.footer-links a:hover,.footer-policy a:hover,.footer-policy button:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.footer-policy{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;font-size:.9rem}
.footer-policy button{padding:0;border:0;background:none;font:inherit;cursor:pointer}
.footer .legal{text-align:center}
@media(max-width:600px){.footer{padding-top:48px}.footer-card{padding:34px 20px;border-radius:24px}.footer-card img{width:145px}.footer-contacts{flex-direction:column;gap:4px}.footer-contacts span{display:none}.footer-links{gap:10px 18px}}
