/* APE 2026 — Footer (BLUEPRINT §7.7). */
.ape-footer {
  margin-top: var(--ape-s12);
  background: var(--ape-ink); color: #C9D1D9;
  /* content-visibility:auto RIMOSSO (2026-07-14): axe non risolve il bg degli
     elementi skippati e boccia TUTTO il footer come testo-su-bianco (Lighthouse). */
}
.ape-footer a { color: #C9D1D9; }
.ape-footer a:hover { color: #fff; }
.ape-footer__grid {
  display: grid; gap: var(--ape-s2); padding-block: var(--ape-s8);
  grid-template-columns: 1fr;
}
.ape-footer__title {
  font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em;
  color: #fff; margin: 0 0 var(--ape-s2); cursor: pointer; list-style: none;
  padding-block: var(--ape-s2);
}
.ape-footer__col summary::-webkit-details-marker { display: none; }
.ape-footer__menu a { display: block; padding-block: 6px; font-size: 14px; }
.ape-footer__note { font-size: 12px; color: #8B949E; margin-top: var(--ape-s2); }
.ape-footer__contact .ape-btn--whatsapp { border-color: var(--ape-ok); color: #fff; background: var(--ape-ok); }

/* Indirizzi sedi nelle colonne (2026-07-14) */
.ape-footer__addr { margin: 0; font-size: 13px; line-height: 1.8; color: #C9D1D9; }

.ape-footer__payments {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--ape-s2);
  padding-block: var(--ape-s4); border-top: 1px solid rgb(255 255 255 / 10%);
}
.ape-footer__paylabel { font-size: 12px; color: #8B949E; }
.ape-pay {
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  background: #21262E; border-radius: 6px; color: #E6EDF3; /* bg OPACO: con content-visibility:auto sul footer, axe non risolve i bg trasparenti e assume bianco */
}
.ape-footer__legal {
  display: flex; flex-wrap: wrap; gap: var(--ape-s4);
  padding-block: var(--ape-s4) calc(var(--ape-s4) + var(--ape-bottomnav-h));
  font-size: 12px; color: #8B949E;
  border-top: 1px solid rgb(255 255 255 / 10%);
}
@media (min-width: 768px) {
  .ape-footer__grid { grid-template-columns: repeat(4, 1fr); gap: var(--ape-s8); }
  .ape-footer__col[open] summary { cursor: default; }
  .ape-footer__legal { padding-bottom: var(--ape-s4); }
}
