/* footer.css */
/* ======================================================
   ARVENSIS: 8. FOOTER
   Estilos para el pie de página
   ====================================================== */

/* Importar variables base */
@import url("base.css");

.landing-footer {
  margin-top: 5rem;
  width: 100%;
  background-color: var(--color-primario);
  color: var(--color-blanco);
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Izquierda */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 20%;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.footer-item:hover {
  opacity: 0.7;
}

.footer-icon {
  width: 42px;
  height: 42px;
  fill: var(--color-blanco);
  filter: brightness(0) invert(1);
}

.footer-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-title {
  font-size: 18px;
  margin: 0;
  color: var(--color-blanco);
  font-weight: 500;
  font-family: var(--fuente-titulos);
}

.footer-subtext {
  font-size: 14px;
  margin: 0;
  margin-top: 4px;
  color: var(--color-blanco);
  font-family: var(--fuente-titulos);
  opacity: 0.85;
}

.footer-item-column {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-subtext.center {
  text-align: center;
  margin-top: 6px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--color-blanco);
  text-decoration: none;
  font-size: 14px;
}

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

/* Derecha (Rating Card) */
.footer-right {
  margin-right: 20%;
}

.rating-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  color: var(--color-blanco);
  width: 100%;
  max-width: 600px;
  justify-content: center;
  gap: 1.5rem;
  background: transparent;
  cursor: pointer;
}

/* Divider */
.divider {
  width: 1px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.6);
}

/* Header con laureles */
.rating-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}

.laurel img {
  height: 65px;
  width: auto;
}

.right {
  transform: scaleX(-1);
}

.header-text {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.1;
}

/* Rating Score */
.rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating-number {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.stars {
  color: #FFD43B;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* Evaluaciones */
.evaluations {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.evaluations:hover {
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 1200px) {
  .footer-left {
    margin-left: 5%;
  }
  .footer-right {
    margin-right: 5%;
  }
}

@media (max-width: 900px) {
  .landing-footer {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 2.5rem;
  }

  .footer-left {
    margin: 0;
    align-items: center;
  }
  
  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-right {
    margin: 0;
  }
}

@media (max-width: 550px) {
  .rating-card {
    flex-direction: column;
    border: none;
    padding: 1rem;
    gap: 1rem;
  }

  .divider {
    width: 100%;
    height: 1px !important;
    margin: 0.5rem 0;
  }
}