/* ==========================================================================
   FOOTER - Grael
   Pie de página: texto, redes sociales e iconos según body.f-claro.
   ========================================================================== */

.footer {
  text-align: center;
  padding: 1.8rem 0;
}

.footer-texto {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-blanco);

}

.libro-de-reclamaciones__enlace {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-blanco);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  margin: 1rem auto 1rem auto;

}
.f-claro .libro-de-reclamaciones__enlace {
  color: var(--color-parrafo);


}
.libro-de-reclamaciones__enlace img {
  width: 6rem;
  display: block;
  object-fit: contain;
  border-radius: .5rem;
}
.libro-de-reclamaciones__enlace span {
  font-size: 1.4rem;
  font-weight: 400;
  
}
.footer-redes-sociales {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-redes-sociales a {
  width: 3rem;
  height: 3rem;
  position: relative;
  display: block;
}

.footer-redes-sociales a img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Cuando body tiene .f-claro: fondo transparente y texto oscuro */
.f-claro .footer-contenedor {
  background-color: transparent;
}

.f-claro .footer-texto {
  color: #515151;
}

/* Iconos de redes: con .f-claro se muestran azules; sin .f-claro los por defecto */
.f-claro .footer-icon--default {
  display: none !important;
}

.f-claro .footer-icon--azul {
  display: block !important;
}

body:not(.f-claro) .footer-icon--azul {
  display: none !important;
}

body:not(.f-claro) .footer-icon--default {
  display: block !important;
}

@media (min-width: 525px) {
  .footer {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  

  .footer-texto {
    margin-bottom: 0;
  }
  .libro-de-reclamaciones__enlace {
    margin: 0;
  }
}
