/* --- NUEVOS ESTILOS PARA CERTIFICADO UNE Y ZONA LEGAL --- */

/* Etiqueta dorada en el Hero (Certificado UNE) */
.cert-badge {
  background: linear-gradient(135deg, var(--accent), #e6b86a) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 800 !important;
}

/* Caja del Certificado UNE en el pie de página */
.une-cert-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(213, 168, 92, 0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.cert-icon {
  background: var(--accent);
  color: #fff;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
}

/* Rediseño de la franja inferior del Footer para los textos legales */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.legal-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--primary);
}

.highlight-link {
  position: relative;
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.highlight-link::before {
  content: "•";
  position: absolute;
  left: -12px;
  color: var(--accent);
}

/* Ajuste móvil para los enlaces legales */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .legal-links {
    justify-content: center;
  }
}
