/* Footer general */
.footer {
  font-family: Arial, sans-serif;
  color: #000;
  background-color: #fff;
  width: 100%;
}

/* Parte superior */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  border-top: 2px solid #ccc;
}

.footer-text {
  background-color: #f0e6e0;
  flex: 1;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-text h2 {
  font-size: clamp(18px, 2vw, 24px); /* escala con pantalla */
  font-weight: bold;
}

.footer-image {
  flex: 1;
  background: url('../imagenes/cafe.jpg') center center/cover no-repeat;
  min-height: 200px;
}

/* Parte de información */
.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
  text-align: center;
}

.footer-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info ul li {
  font-size: clamp(12px, 1.5vw, 14px); /* ajusta tipografía */
  line-height: 1.4;
  font-weight: bold;
  margin: 5px 0;
}

/* Columnas */
.footer-columnuno,
.footer-columndos,
.footer-columntres,
.footer-columncuatro {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

/* Logo centrado */
.footer-columnuno {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: clamp(80px, 12vw, 120px);
  margin-bottom: 10px;
}

/* Enlaces */
.footer-columncuatro ul li a {
  text-decoration: none;
  color: #000;
}

.footer-columncuatro ul li a:hover {
  color: #8B4513;
}

/* Frase adicional */
.footer-extra {
  text-align: center;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: bold;
  padding: 10px;
  background-color: #f7f7f7;
}

/* Parte inferior */
.footer-bottom {
  text-align: center;
  padding: 8px;
  background-color: #000;
  color: #fff;
  font-size: clamp(12px, 1.5vw, 14px);
}

.footer-bottom p {
  margin: 5px 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .footer-info {
    flex-direction: column;
    align-items: center;
  }
  .footer-columnuno,
  .footer-columndos,
  .footer-columntres,
  .footer-columncuatro {
    max-width: 100%;
  }
}
