/* Páginas legales Qué Ricoo */
:root {
  --chili: #ff4d6d;
  --chili-dark: #e63e5c;
  --ink: #0f1222;
  --muted: #6b7280;
  --paper: #f7f8fa;
  --line: #e8eaf0;
  --leaf: #0f766e;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: var(--chili-dark); }
a:hover { color: var(--chili); }

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}
.legal-brand img { border-radius: 8px; }
.legal-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
}
.legal-top nav a { text-decoration: none; color: var(--muted); }
.legal-top nav a:hover,
.legal-top nav a[aria-current="page"] { color: var(--chili); }

.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 22px 64px;
}
.legal-wrap h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 28px;
}
.legal-wrap h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.legal-wrap p,
.legal-wrap li {
  color: #374151;
  font-size: 1rem;
}
.legal-wrap ul { padding-left: 1.2em; }
.legal-wrap li { margin-bottom: 6px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 18px 0;
}
.card strong { display: block; margin-bottom: 6px; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 12px 12px 48px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--chili);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--chili); color: #fff !important; }
.btn-primary:hover { background: var(--chili-dark); }
.legal-foot {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 640px) {
  .legal-top { flex-direction: column; align-items: flex-start; }
}
