/* ITALFIRE FOOTER TYPOGRAPHY POLISH 20261027-01
   Footer B2B: gerarchia tipografica, griglia responsive, firma discreta.
   Nessuna modifica a loghi, collegamenti o contenuti. */
footer {
  padding-top: 63px;
  padding-bottom: 27px;
}
footer .footergrid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(155px, .82fr) minmax(225px, 1.15fr);
  gap: clamp(28px, 4.3vw, 70px);
  align-items: start;
}
footer .footergrid > div { min-width: 0; }
footer .footergrid > div:first-child p {
  max-width: 365px;
  margin-top: 12px;
}
footer .footergrid b {
  display: block;
  margin: 3px 0 17px;
  color: #f5f8fc;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: .012em;
}
footer .footergrid p,
footer .footergrid a,
footer .footergrid span {
  color: #b6c2d0;
  font-size: 14px;
  line-height: 1.77;
  margin: 6px 0;
}
footer .footergrid > div:first-child p {
  font-size: 14px;
  line-height: 1.77;
}
footer .footergrid a {
  text-decoration: none;
  transition: color .18s ease;
}
footer .footergrid a:hover,
footer .footergrid a:focus-visible { color: #fff; }
footer .footergrid a:focus-visible,
footer .footbottom a:focus-visible {
  outline: 2px solid #ef4050;
  outline-offset: 4px;
  border-radius: 2px;
}
footer .footergrid a[href^="mailto:"] { overflow-wrap: anywhere; }
footer .italfire-footer-legal-links {
  border-top: 1px solid rgba(185,202,225,.15);
  margin-top: 13px;
  padding-top: 11px;
}
footer .italfire-footer-legal-links a { margin: 5px 0; }
footer .footbottom {
  border-top: 1px solid rgba(185,202,225,.18);
  margin-top: 32px;
  padding-top: 17px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  color: #a5b4c5;
  font-size: 12.5px;
  line-height: 1.6;
}
footer .footbottom > span { margin: 0; }
footer .italfire-footer-credit { margin: 0; padding: 0; }
footer .italfire-footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aebccd;
  font-size: 11.6px;
  line-height: 1.5;
  text-decoration: none;
}
footer .italfire-footer-credit a:hover { color: #fff; }
footer .italfire-footer-credit img {
  display: block;
  width: 86px;
  height: auto;
  max-height: 19px;
  object-fit: contain;
}
@media (max-width: 920px) {
  footer .footergrid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    column-gap: clamp(22px, 4vw, 44px);
    row-gap: 23px;
  }
  footer .footergrid > div:first-child { grid-column: 1 / -1; }
  footer .footergrid > div:first-child p { max-width: 440px; }
}
@media (max-width: 760px) {
  footer { padding-top: 47px; padding-bottom: 24px; }
  footer .footergrid { gap: 25px 22px; }
  footer .footergrid b {
    font-size: 15px;
    margin: 1px 0 13px;
  }
  footer .footergrid p,
  footer .footergrid a,
  footer .footergrid span {
    font-size: 14px;
    line-height: 1.72;
    margin: 7px 0;
  }
  footer .footergrid > div:first-child p {
    font-size: 14px;
    line-height: 1.73;
  }
  footer .italfire-footer-legal-links {
    margin-top: 11px;
    padding-top: 9px;
  }
  footer .footbottom {
    margin-top: 28px;
    padding-top: 15px;
    gap: 9px 12px;
    font-size: 12px;
    line-height: 1.5;
  }
  footer .italfire-footer-credit a { font-size: 11px; gap: 6px; }
  footer .italfire-footer-credit img { width: 79px; max-height: 18px; }
}
@media (max-width: 380px) {
  footer .footergrid { column-gap: 16px; }
  footer .footergrid a[href^="mailto:"] { font-size: 13px; }
  footer .italfire-footer-credit a { font-size: 10.5px; }
  footer .italfire-footer-credit img { width: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  footer .footergrid a { transition: none; }
}
