.partner-group__logos { align-items: center; }
.partner-logo { min-height: 92px; display: grid; place-items: center; padding: 14px 18px; border: 1px solid rgba(16,34,53,.09); border-radius: 18px; background: rgba(255,255,255,.82); }
.partner-logo img { display: block; max-width: 150px; width: 100%; max-height: 72px; object-fit: contain; }

/* Sezione partner e sponsor */
.partner-sections { display: grid; gap: 20px; }
.partner-section { padding: 26px 28px; border: 1px solid rgba(16,34,53,.09); border-radius: 24px; background: rgba(255,255,255,.72); }
.partner-section--fic { background: linear-gradient(180deg, rgba(31,99,135,.055), rgba(255,255,255,.86)); }
.partner-section__heading { margin-bottom: 18px; }
.partner-section__heading h3 { margin: 0; color: var(--navy-900); font-size: clamp(1.35rem,2.2vw,1.8rem); }
.partner-section__heading p { margin: 7px 0 0; color: var(--muted); font-size: .95rem; }
.partner-logos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.partner-logos .partner-logo { min-width: 165px; min-height: 104px; flex: 0 1 190px; }
.partner-logos .partner-logo img { max-width: 158px; max-height: 76px; }
.partner-logos--fic .partner-logo { min-width: 150px; min-height: 100px; flex-basis: 175px; }
.partner-logos--fic .partner-logo img { max-width: 148px; max-height: 72px; }

/* Filigrana globale del prototipo */
body::after { content: "PROTOTIPO"; position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-24deg); z-index: 9999; pointer-events: none; user-select: none; font-size: clamp(4.5rem, 13vw, 11rem); font-weight: 950; letter-spacing: .08em; color: rgba(16,34,53,.065); white-space: nowrap; }

/* Hero home */
.hero { position: relative; align-items: flex-start; padding-top: 56px; padding-bottom: 92px; }
.hero__content { max-width: none; width: 100%; transform: none; }
.hero #hero-title { white-space: nowrap; font-size: clamp(4rem, 6.5vw, 6.2rem); line-height: .92; letter-spacing: -.045em; }
.hero > .hero__statement { position: absolute; left: 64px; right: 64px; bottom: 34px; margin: 0; max-width: 760px; color: rgba(251,253,255,.96); font-size: clamp(1rem,1.45vw,1.18rem); line-height: 1.45; text-shadow: 0 2px 12px rgba(4,17,31,.45); }

/* Aggiornamenti e contatti rapidi */
.updates--compact { align-items: start; }
.updates--compact .updates__content { max-width: none; align-self: start; }
.updates--compact #updates-title,
.updates--compact .updates__text,
.updates--compact .updates__note { white-space: nowrap; }
.updates--compact .updates__actions { display: flex; align-items: center; align-self: start; gap: 10px; flex-wrap: wrap; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.inline-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; }
.inline-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.updates__mail { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.92); font-weight: 800; text-decoration: none; }
.updates__mail:hover,.updates__mail:focus-visible { text-decoration: underline; }

/* Banda partnership: contenuto a sinistra, logo e CTA a destra */
.partnership-band--singleline {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,410px);
  grid-template-areas:
    "content logo"
    "content button";
  align-items: start;
  gap: 20px 30px;
}
.partnership-band--singleline .partnership-band__content { grid-area: content; max-width: none; min-width: 0; }
.partnership-band--singleline h2 { max-width: none; white-space: nowrap; font-size: clamp(2.4rem,3.7vw,3.65rem); }
.partnership-band--singleline > .button { grid-area: button; justify-self: end; align-self: end; width: min(100%,410px); margin: 0; transform: none; flex: none; }

/* Logo evento nelle sezioni della home */
.section-heading--branded { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 28px; max-width: none; }
.section-heading__copy { min-width: 0; }
.section-event-logo { display: block; width: clamp(160px,19vw,235px); max-height: 92px; object-fit: contain; justify-self: end; }
.updates__content--branded { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 24px; max-width: none; }
.updates__content-copy { min-width: 0; }
.section-event-logo--dark { width: clamp(145px,16vw,205px); align-self: start; justify-self: end; margin: 0; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 14px 30px rgba(4,17,31,.18); }
.section-event-logo--band { grid-area: logo; width: clamp(145px,15vw,205px); justify-self: end; align-self: start; margin: 0; }

/* Logo evento nel modulo contatti */
.contact-dialog__logo { display: block; width: min(100%,250px); max-height: 92px; margin: 0 0 18px; object-fit: contain; object-position: left center; }

/* Logo FIC accanto al titolo e link sui partner */
.partner-section__title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fic-title-logo { display: inline-grid; place-items: center; width: 74px; min-height: 42px; padding: 4px 8px; border: 1px solid rgba(16,34,53,.09); border-radius: 12px; background: rgba(255,255,255,.86); transition: transform .15s ease, box-shadow .15s ease; }
.fic-title-logo img { display: block; width: 100%; max-height: 34px; object-fit: contain; }
.partner-logo[href] { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.partner-logo[href]:hover,.partner-logo[href]:focus-visible,.fic-title-logo:hover,.fic-title-logo:focus-visible { transform: translateY(-3px); border-color: rgba(31,99,135,.28); box-shadow: 0 14px 28px rgba(4,17,31,.12); }

/* Footer */
.site-footer__brand { display: block; }
.site-footer__brand > p { margin-bottom: 12px; }
.footer-socials { display: flex; align-items: center; gap: 12px; }
.footer-social { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 0; background: transparent; text-decoration: none; transition: transform .15s ease; }
.footer-social:hover,.footer-social:focus-visible { transform: translateY(-2px); }
.footer-social img { display: block; width: 38px; height: 38px; object-fit: contain; padding: 0; background: transparent; }
.footer-social--club { width: 50px; height: 50px; }
.footer-social--club img { width: 46px; height: 46px; border-radius: 50%; }

@media (max-width: 1180px) {
  .hero #hero-title { font-size: clamp(3.6rem,6.2vw,5.4rem); }
  .partnership-band--singleline {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "content"
      "button";
  }
  .partnership-band--singleline h2 { white-space: normal; }
  .partnership-band--singleline > .button { justify-self: end; width: auto; max-width: 100%; }
  .section-event-logo--band { justify-self: end; }
}

@media (max-width: 1100px) {
  .updates--compact #updates-title,
  .updates--compact .updates__text,
  .updates--compact .updates__note { white-space: normal; }
}

@media (max-width: 920px) {
  .hero #hero-title { font-size: clamp(3.1rem,6.7vw,4.4rem); }
}

@media (max-width: 820px) {
  .hero { align-items: flex-end; padding-top: 40px; padding-bottom: 100px; }
  .hero__content { transform: none; }
  .hero #hero-title { white-space: normal; font-size: clamp(3.2rem,13vw,5rem); }
  .hero > .hero__statement { left: 28px; right: 28px; bottom: 28px; max-width: none; }
  .section-heading--branded,.updates__content--branded { grid-template-columns: 1fr; align-items: start; }
  .section-event-logo { justify-self: start; width: min(220px,70vw); }
  .section-event-logo--dark { width: min(200px,64vw); }
  .section-event-logo--band { justify-self: start; }
  .partnership-band--singleline > .button { justify-self: start; width: 100%; }
}

@media (max-width: 700px) {
  .partner-logo { min-height: 78px; }
  .partner-logo img { max-width: 125px; max-height: 60px; }
  .partner-section { padding: 22px 20px; }
  .partner-logos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .partner-logos .partner-logo,.partner-logos--fic .partner-logo { min-width: 0; width: 100%; min-height: 92px; }
  .updates--compact .updates__actions { align-items: stretch; flex-direction: column; }
  .updates--compact .updates__actions .button { width: 100%; }
  body::after { font-size: 4.5rem; }
  .contact-dialog__logo { width: min(100%,210px); margin-bottom: 14px; }
}

@media (max-width: 460px) {
  .partner-logos { grid-template-columns: 1fr; }
}