/* v15 (Luigi t183u/t184u, 30/11/2026). Loaded last on every page with a footer.
   One footer everywhere: the approved v13 home footer, pinned here so it no longer depends on each
   page's own stylesheet (legal.css, team.css, valuation.css, the cessione inline CSS). */

/* 1 · Footer = home footer (values are the computed home values) */
footer {
  --bg: #0C1A2E; --ink: #F2EBD8; --ink-2: #C5CCD9; --muted: #8593A8;
  --line: rgba(242,235,216,0.10); --line-2: rgba(242,235,216,0.20); --gold: #C9A256; --accent: #F2EBD8;
  position: relative; z-index: 2; /* sits above page decorations (the valuation epsilon ran into it) */
  background: #0C1A2E !important; color: #F2EBD8; border-top: 0;
  padding: 48px 0 24px !important; font-size: 16px; line-height: 1.6;
  font-feature-settings: "ss01","cv01","calt","liga","kern";
}
footer > .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { footer > .container { padding: 0 40px; } }
footer .footer-top {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
@media (min-width: 768px) { footer .footer-top { grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; } }
footer .footer-col h5 {
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted) !important; margin: 0 0 16px; font-weight: 600;
  font-feature-settings: "liga","kern","dlig";
}
footer .footer-col .brand-line {
  font-family: 'Instrument Serif', serif; font-size: 20px; letter-spacing: 0.005em; line-height: 1.6;
  color: var(--ink) !important; margin: 0 0 12px;
}
footer .footer-col .tagline { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 36ch; margin: 0 0 18px; }
footer .footer-col .legal-line {
  font-size: 11.5px; line-height: 1.6; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-feature-settings: "tnum";
}
footer .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
footer .footer-col li { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
footer .footer-col li a { transition: color 0.2s; border-bottom: 1px solid transparent; padding-bottom: 1px; }
footer .footer-col li .meta { color: var(--muted); font-size: 13px; }
footer .footer-row {
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em;
}
@media (min-width: 768px) { footer .footer-row { flex-direction: row; justify-content: space-between; align-items: center; } }
footer .footer-row .legal-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .footer-row a { transition: color 0.2s; }
footer .brand-legal-footer {
  display: block; font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px;
}

/* Cessione only: below 900px a fixed "Contattaci" bar sits at the bottom of the screen; keep the last footer row clear of it
   (the page's own CSS already asked for 96px, overridden by brand.css). */
@media (max-width: 899px) { body:has(#sticky) footer { padding-bottom: 96px !important; } }
