.footer {
  padding-top: clamp(64px, 8vw, 110px);
  background: linear-gradient(180deg, var(--from), var(--to));
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer__brand {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.footer__brand img {
  width: 200px;
  height: auto;
}
.footer__motto {
  font: 700 20px var(--font-display);
  color: var(--foam);
}
.footer h4 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--foam);
}
.footer li + li {
  margin-top: 8px;
}
.footer a {
  text-decoration: none;
}
.footer li a:hover {
  color: var(--foam);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Il fondale: 10.994 m */
.footer__floor {
  margin-top: clamp(40px, 6vw, 72px);
  font: 900 clamp(48px, 14vw, 190px) / 0.95 var(--font-display);
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 252, 255, 0.2);
  user-select: none;
}
.footer__bottom {
  margin-top: 16px;
  text-align: center;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 36px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
