/* Chiusura della home: proposta 1, La firma giallorossa. */
@font-face{font-family:BarlowCondensed;src:url('assets/barlow-condensed.ttf');font-weight:700;font-display:swap}
#footer {
  width:100%;max-width:none;margin:0;box-sizing:border-box;font:400 16px/1.5 Barlow,Arial,sans-serif;
  display: flex;
  flex-direction: column;
  min-height: clamp(700px, 58.889vw, 900px);
  padding: clamp(40px, 3.403vw, 55px) clamp(40px, 4.444vw, 80px) 25px;
  border-top: 7px solid var(--red);
  background: var(--ink);
  color: #fff;
}
#footer a{color:inherit;text-decoration:none;align-self:auto}
#footer p{margin:0;font-size:inherit}
#footer h2{font-family:BarlowCondensed,'Arial Narrow',sans-serif;font-weight:700}
#footer #fonti{padding:20px 0;border-top:1px solid #ffffff36;font:400 14px/1.7 Barlow,Arial,sans-serif}
#footer #fonti summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
#footer #fonti p,#footer #fonti ul{margin:12px 0;color:#d2d2d5}
#footer #fonti a{display:inline;text-decoration:underline}
#footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 26.389vw, 440px);
  gap: clamp(40px, 6.667vw, 96px);
  padding-bottom: 47px;
  border-bottom: 1px solid #ffffff36;
}
#footer .eyebrow { color: #c7c7cc; font-size: 12px; line-height: 1.5; letter-spacing: .14em; }
#footer h2 { margin-top: 19px; font-size: clamp(72px, 7.708vw, 123px); line-height: .96; letter-spacing: -.02em; }
#footer h2 span { color: var(--yellow); }
#footer .footer-social { display: flex; flex-direction: column; justify-content: center; padding-top: 7px; }
#footer .footer-social a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid #ffffff40;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
}
#footer .footer-social a:first-child { border-top: 1px solid #ffffff40; }
#footer .footer-arrow { flex-shrink: 0; font: 25px/1 Barlow, sans-serif; }
#footer .footer-social .footer-arrow { color: var(--yellow); font-size: 29px; }
#footer .footer-middle {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) 60px;
  gap: clamp(30px, 5vw, 72px);
  padding: 45px 0 70px;
}
#footer .footer-brand { display: inline-flex; align-items: center; gap: 24px; max-width: 100%; }
#footer .footer-brand img { flex-shrink: 0; width: 85px; height: 105px; object-fit: contain; }
#footer .footer-brand-name { font: 700 clamp(32px, 2.708vw, 43px)/.96 BarlowCondensed, 'Arial Narrow', sans-serif; letter-spacing: .01em; }
#footer .footer-brand-name span { display: block; font-size: clamp(46px, 3.889vw, 62px); color: var(--yellow); }
#footer .footer-location { margin-top: 25px; color: #d2d2d5; font-size: 12px; line-height: 1.85; font-weight: 600; letter-spacing: .1em; }
#footer .footer-list-title { margin-bottom: 20px; color: var(--yellow); font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .14em; }
#footer .footer-link-list { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font-size: 17px; line-height: 1.35; }
#footer .footer-link-list a { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 0; max-width: 100%; }
#footer .footer-link-list a:hover, #footer .footer-social a:hover { color: var(--yellow); }
#footer .footer-back-top { display: flex; align-items: center; justify-content: center; align-self: start; width: 60px; height: 60px; background: var(--yellow); color: var(--ink); font-size: 29px; }
#footer .footer-back-top:hover { background: #ffd467; }
#footer a:focus-visible { outline-color: var(--yellow); }
#footer .footer-back-top:focus-visible { outline-color: #fff; }
#footer .footer-legal { display: flex; justify-content: space-between; gap: 30px; margin-top: auto; padding-top: 19px; border-top: 1px solid #ffffff36; color: #b5b5b7; font-size: 11px; line-height: 1.6; }
#footer .footer-legal span:last-child { max-width: 595px; text-align: right; }

@media (max-width: 1100px) {
  #footer .footer-brand { gap: 16px; }
  #footer .footer-brand img { width: 70px; height: 88px; }
  #footer .footer-middle { gap: 28px; }
  #footer .footer-social a { font-size: 22px; }
}
@media (max-width: 1000px) {
  #footer { min-height: 0; padding: 42px 40px 28px; }
  #footer .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 35px; padding-bottom: 35px; }
  #footer h2 { font-size: clamp(58px, 7.8vw, 78px); }
  #footer .footer-social a { font-size: 20px; padding-block: 17px; }
  #footer .footer-middle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 60px; gap: 35px; padding: 35px 0 42px; }
  #footer .footer-identity { grid-column: 1 / -1; }
  #footer .footer-brand-name { font-size: 34px; }
  #footer .footer-brand-name span { font-size: 49px; }
  #footer .footer-location { margin-top: 18px; }
  #footer .footer-link-list a { min-height: 44px; }
  #footer .footer-link-list { gap: 2px; }
  #footer .footer-legal { flex-direction: column; gap: 9px; font-size: 12px; }
  #footer .footer-legal span:last-child { max-width: none; text-align: left; }
}
@media (max-width: 600px) {
  #footer { padding: 35px 23px 25px; border-top-width: 5px; }
  #footer .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 30px; }
  #footer .eyebrow { font-size: 11px; letter-spacing: .11em; }
  #footer h2 { font-size: clamp(53px, 16vw, 80px); margin-top: 19px; }
  #footer .footer-social { padding-top: 0; }
  #footer .footer-social a { font-size: 21px; padding-block: 16px; }
  #footer .footer-middle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; padding-top: 30px; padding-bottom: 29px; }
  #footer .footer-brand img { width: 63px; height: 79px; }
  #footer .footer-brand-name { font-size: 29px; }
  #footer .footer-brand-name span { font-size: 42px; }
  #footer .footer-location { font-size: 11px; }
  #footer .footer-list-title { font-size: 10px; letter-spacing: .1em; margin-bottom: 13px; }
  #footer .footer-link-list { font-size: 15px; }
  #footer .footer-arrow { font-size: 21px; }
  #footer .footer-back-top { grid-column: 1 / -1; justify-self: end; width: 48px; height: 48px; }
}
@media (max-width: 360px) {
  #footer { padding-inline: 19px; }
  #footer .footer-middle { column-gap: 20px; }
}
