/* --- Footer profesional y elegante con 4 columnas y paleta global --- */
.footer-main {
  background: var(--primary-dark); /* Fondo principal oscuro */
  color: var(--text-light);
  padding: 56px 0 0 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  margin-top: 64px;
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Grid de 4 columnas */
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3em;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
  width: 100%;
}

/* Columna de enlaces */
.footer-col h4 {
  font-size: 1em;
  font-weight: 700;
  color: white;
  margin-bottom: 1em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 0.4em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}
.footer-col ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.92em;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border 0.2s ease;
}
.footer-col ul li a:hover {
  color: var(--primary-light);
}

/* Columna botones externos */
.footer-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}
.footer-btn-ext {
  display: block;
  text-align: center;
  color: white;
  font-weight: 500;
  border: 1px solid white;
  border-radius: var(--radius);
  padding: 7px 12px;
  font-size: 0.9em;
  text-decoration: none;
  transition: var(--transition);
}
.footer-btn-ext:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Línea copy */
.footer-copy {
  font-size: 0.85em;
  opacity: 0.75;
  margin-top: 40px;
  padding: 16px 2em;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  color: #ccc;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2em;
  }
}
@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-btn-ext {
    width: 100%;
  }
}
