/* ========================== */
/* FOOTER – COMPONENTE */
/* ========================== */

.footer {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  z-index: var(--z-footer);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

/* ========================== */
/* LOGO CIRCOLARE */
/* ========================== */
.footer-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  padding: 0; /* 🔴 il logo riempie tutto il cerchio */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  background: #fff; /* puoi toglierlo se il logo è già su fondo bianco */
}

/* ========================== */
/* TESTO */
/* ========================== */
.footer p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
}

.footer .school-link {
  color: var(--text-light);
}

/* ========================== */
/* LINK */
/* ========================== */
.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--accent-color);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ========================== */
/* MOBILE */
/* ========================== */
@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem;
  }

  .footer-logo-img {
    width: 56px;
    height: 56px;
  }

  .footer p {
    font-size: 0.85rem;
  }
}