/* v12 (Luigi t175u, 30/11/2026): Contatti and footer swap backgrounds. Loaded after v11.css. */

/* 1 · Footer back to the page navy with its original light type and gold epsilon.
   The colour tokens inherit from the page again, so the footer matches the pre-v11 footer exactly. */
footer {
  --ink: inherit; --ink-2: inherit; --muted: inherit; --line: inherit; --line-2: inherit;
  background: var(--bg) !important; color: inherit;
}
footer:has(.ft) { color: var(--muted); } /* cessione footer: muted type as before v11 */
footer .brand-line { color: var(--ink) !important; }
footer .footer-col h5 { color: var(--muted) !important; }
footer a { color: inherit; }
footer a:hover, footer .footer-col li a:hover, footer .footer-row a:hover, footer .ft-l a:hover {
  color: var(--gold) !important; border-color: var(--gold) !important;
}
.footer-col .brand-line::before, footer .ft > div:first-child::before { background-image: url(/brand-epsilon.svg) !important; }

/* 2 · Contatti on sand (same sand as the tombstone strips): navy type, navy kicker and epsilon.
   Gold on sand is about 2:1, so labels stay navy as on the ivory sections. */
.section.contact {
  --ink: #0C1A2E; --ink-2: rgba(12, 26, 46, 0.86); --muted: rgba(12, 26, 46, 0.72);
  --line: rgba(12, 26, 46, 0.12); --line-2: rgba(12, 26, 46, 0.24);
  background: #E1D4B4 !important; color: var(--ink-2);
}
.section.contact .sec-tag { color: #0C1A2E !important; }
.section.contact .sec-tag::before { background: url(/brand-epsilon-navy.svg) center / contain no-repeat !important; }
.section.contact .sec-title, .section.contact h2 { color: #0C1A2E !important; }
.section.contact .contact-block .value, .section.contact .contact-block .value a { color: #0C1A2E; }
.section.contact .contact-block .label, .section.contact .contact-block .value .meta-loc { color: rgba(12, 26, 46, 0.72) !important; }
.section.contact .contact-block .value a:hover {
  color: #0C1A2E !important;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: rgba(12, 26, 46, 0.5);
}
