@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; }

body {
  margin: 0;
  background-color: #03060f;
  background-image: url('../imagenes/fondo-interno.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── CONTENIDO PRINCIPAL ── */
.legal-contenido {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 36px 60px;
  display: flex;
  flex-direction: column;
}

main h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: rgba(235,242,255,0.96);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  position: relative;
  padding-bottom: 18px;
}

main h1::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 2px;
  background: linear-gradient(90deg, rgba(0,100,255,0.7), rgba(100,180,255,0.9), transparent);
}

main h2 {
  font-size: clamp(1.0rem, 2vw, 1.25rem);
  font-weight: 600;
  color: rgba(220,232,255,0.90);
  margin: 28px 0 10px;
  letter-spacing: 0.01em;
}

main p {
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  font-weight: 300;
  color: rgba(190,210,240,0.78);
  line-height: 1.85;
  margin-bottom: 14px;
}

main ul {
  margin: 10px 0 14px 20px;
}

main ul li {
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  font-weight: 300;
  color: rgba(190,210,240,0.78);
  line-height: 1.85;
  margin-bottom: 6px;
}

main strong {
  color: rgba(225,235,255,0.92);
  font-weight: 600;
}

main a {
  color: rgba(100,180,255,0.85);
  text-decoration: underline;
  transition: color 0.2s ease;
}

main a:hover {
  color: rgba(150,210,255,0.95);
}

/* ── BOTÓN VOLVER ── */
.legal-volver {
  display: inline-flex;
  align-items: center;
  margin-top: 44px;
  background: transparent;
  color: rgba(160,200,255,0.78);
  padding: 11px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.28s ease;
  align-self: flex-start;
  border: 1px solid rgba(0,100,255,0.22);
}

.legal-volver:hover {
  color: rgba(255,255,255,0.95);
  border-color: rgba(0,120,255,0.50);
  background: rgba(0,60,200,0.10);
}

/* ── RESPONSIVE ── */
@media screen and (max-width: 767px) and (orientation: portrait) {
  body { background-attachment: scroll; }
  .legal-contenido { padding: 82px 18px 80px; }
  main h1 { font-size: 1.5rem; margin-bottom: 24px; }
  main h2 { font-size: 1.0rem; margin: 22px 0 8px; }
  main p, main ul li { font-size: 0.87rem; }
}

@media screen and (max-width: 900px) and (orientation: landscape) {
  body { background-attachment: scroll; }
  .legal-contenido { padding: 72px 24px 60px; }
}

@media screen and (min-width: 1024px) {
  .legal-contenido { padding: 108px 36px 80px; }
}
