/* ==========================================================================
   Ready Group – Footer di sito (condiviso da tutte le pagine Frontend)
   Classi prefissate "rg-" per restare isolate dal resto del tema.
   Sfondo scuro neutro (non blu) per "spezzare" rispetto al corpo bianco
   delle pagine, indipendentemente dal colore prodotto della pagina corrente.
   ========================================================================== */

#footer.rg-footer {
  background: #1c2126;
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 0;
}

.rg-footer * {
  box-sizing: border-box;
}

.rg-footer a {
  text-decoration: none;
}

.rg-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  text-align: center;
  justify-items: center;
}

.rg-footer__col--brand .rg-footer__logo {
  width: 168px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  margin: 0 auto 16px;
}

.rg-footer__claim {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 340px;
  margin: 0 auto;
}

.rg-footer__title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}

.rg-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rg-footer__links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.rg-footer__links a:hover {
  color: #5fa7e7;
}

.rg-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

.rg-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.rg-footer__social a:hover {
  background: #5fa7e7;
  transform: translateY(-2px);
}

.rg-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
}

.rg-footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.rg-footer__bottom a {
  color: rgba(255, 255, 255, 0.75);
}

.rg-footer__bottom a:hover {
  color: #5fa7e7;
}

@media (min-width: 768px) {
  .rg-footer__grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    justify-items: start;
  }

  .rg-footer__col--brand .rg-footer__logo,
  .rg-footer__claim {
    margin-left: 0;
  }

  .rg-footer__links {
    align-items: flex-start;
  }
}

@media (min-width: 992px) {
  .rg-footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
    gap: 40px;
  }
}
