/* ==========================================================================
   10 · Footer (scuro)
   Evento in vetro · logo + frase + social · 3 colonne · note legali ·
   (senza logo enorme finale, tolto su richiesta).
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: var(--section-y);
  padding-bottom: clamp(1rem, 0.5rem + 1vw, 1.75rem);
  background-color: var(--hard-grey);
  color: var(--ricepaper);
}

.site-footer a {
  transition: color var(--dur-ui) var(--ease-out);
}

.site-footer a:hover {
  color: var(--ocean-on-dark);   /* 7.8:1 */
}

.site-footer :focus-visible {
  outline-color: var(--ocean-on-dark);
}

/* --------------------------------------------------------------------------
   Evento (vetro, come NIP)
   -------------------------------------------------------------------------- */

.ft-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border-radius: var(--r-card);
  background-color: var(--glass-dark-bg);
  background-image: var(--glass-dark-sheen);
  box-shadow: var(--glass-dark-line);
}

.ft-event-tag {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted-on-dark);
}

.ft-event-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ft-event-desc {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  color: var(--muted-on-dark);
}

.site-footer .btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* --------------------------------------------------------------------------
   Corpo: brand + colonne
   -------------------------------------------------------------------------- */

.ft-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

.ft-logo {
  min-height: 44px;   /* area di tocco ≥ 44px */
  display: inline-flex;
  align-items: center;
  width: 168px;
  color: var(--ricepaper);
}

.ft-tag {
  max-width: 34ch;
  margin-top: 1.25rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--muted-on-dark);
}

.ft-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.ft-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--muted-on-dark);   /* 7.1:1 */
  border-radius: 50%;
}

.ft-social a:hover {
  border-color: var(--ocean-on-dark);
}

.ft-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ft-h {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-on-dark);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted-on-dark);
}

.ft-col ul {
  margin-top: 0.5rem;
}

/* Voci alte almeno 44px (target touch) */
.ft-col a,
.ft-col li > span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-body);
  color: var(--ricepaper);
}

/* --------------------------------------------------------------------------
   Note legali
   -------------------------------------------------------------------------- */

.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-block: 1rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: var(--fs-small);
  color: var(--muted-on-dark);
}

.ft-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.ft-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted-on-dark);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1023.98px) {
  .ft-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ft-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 699.98px) {
  .ft-event {
    grid-template-columns: 1fr;
  }

  .ft-event .btn {
    justify-self: start;
  }

  .ft-main {
    grid-template-columns: 1fr 1fr;
  }

  .ft-col--contact {
    grid-column: 1 / -1;
  }
}

/* "Stop animation" anche qui: stesso interruttore del hero (motion.js),
   così si può fermare il movimento da fondo pagina */
.ft-motion {
  color: var(--muted-on-dark);
  font-size: var(--fs-small);
  letter-spacing: 0;
}

.ft-motion:hover {
  color: var(--ricepaper);
}

/* --------------------------------------------------------------------------
   Mobile: footer compatto — link affiancati su più righe (restano alti
   44px per il tocco), evento e spazi ridotti
   -------------------------------------------------------------------------- */

@media (max-width: 699.98px) {
  .site-footer {
    padding-top: 2.5rem;
  }

  .ft-event {
    gap: 0.6rem;
    padding: 1rem 1.1rem;
  }

  .ft-event-title {
    font-size: 1.25rem;
  }

  .ft-event-desc {
    font-size: 0.8125rem;
  }

  .ft-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .ft-tag {
    margin-top: 0.75rem;
  }

  .ft-social {
    margin-top: 1rem;
  }

  .ft-h {
    padding-bottom: 0.4rem;
  }

  .ft-col ul {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    margin-top: 0.25rem;
  }

  .ft-col a,
  .ft-col li > span {
    font-size: var(--fs-small);
  }

  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 1.5rem;
  }

  .ft-legal {
    gap: 0 1rem;
  }
}
