body {
  margin: 0;
  background: #060b1a;
  color: #e5e7eb;
  font-family: 'Poppins', sans-serif;
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

/* Hace que el contenido empuje el footer */
.container {
  flex: 1;
}

/* HEADER */
.header-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo {
  font-size: 26px;
  font-weight: 700;
}

.logo span {
  color: #3b82f6;
}

.btn-volver {
  text-decoration: none;
  color: #94a3b8;
  font-size: 14px;
}

.btn-volver:hover {
  color: #fff;
}

/* CONTENIDO */
.container {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.card {
  background: #0f172a;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

h2 {
  font-size: 18px;
  margin-top: 25px;
  color: #3b82f6;
}

p {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5f5;
}

/* FOOTER (MISMO ESTILO QUE HOME) */
.footer {
  margin-top: 60px;
}
.footer-bar {
  max-width: 1100px;
  margin: auto;
  width: 100%;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  padding: 20px 20px;
  box-sizing: border-box;
}

.footer-logo {
  font-weight: 700;
}

.footer-logo span {
  color: #3b82f6;
}

.footer-center a {
  margin: 0 10px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 13px;
}

.footer-center a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  padding: 10px;
  background: #010409;
}

.card {
  background: linear-gradient(145deg, #0f172a, #020617);
  border: 1px solid rgba(59,130,246,0.15);
  backdrop-filter: blur(10px);
}

.card h2 {
  position: relative;
  padding-left: 12px;
}

.card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 14px;
  background: #3b82f6;
  border-radius: 2px;
}
.btn-volver {
  background: rgba(59,130,246,0.1);
  padding: 8px 14px;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-volver:hover {
  background: #3b82f6;
  color: white;
}
.card {
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-desc {
  font-size: 13px;
  color: #94a3b8;
}

.footer-right {
  font-size: 14px;
  color: #cbd5f5;
}
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

.footer-center {
  text-align: center;
}

.footer-right {
  text-align: right;
}
@media (max-width: 768px) {

  .footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: none;
    width: 100%;
  }

  .footer-right {
    text-align: center;
    word-break: break-word; /* 👈 evita que el correo se corte feo */
  }

}
@media (max-width: 768px) {

  .footer-bar {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: none !important;   /* 🔥 rompe el problema */
    width: 100%;
  }

  .footer-right {
    text-align: center;
  }

}