/* Estilos compartidos de las páginas legales de Truekazo */
:root {
  --orange: #FC831B;
  --orange-2: #FE5D44;
  --bg: #0b0b0d;
  --panel: #141418;
  --line: #26262c;
  --text: #e7e7ea;
  --muted: #a2a2ab;
  --font-title: 'Mulish', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.p-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(11,11,13,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.p-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-title); font-weight: 900; font-size: 20px; }
.p-brand img { width: 30px; height: auto; }
.p-back { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Documento */
.p-doc {
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 28px) 64px;
}
.p-doc h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
}
.p-updated { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.p-intro { color: var(--text); margin: 18px 0 8px; }
.p-doc h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--orange);
  margin: 36px 0 12px;
  scroll-margin-top: 80px;
}
.p-doc h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin: 22px 0 8px;
}
.p-doc p { margin: 0 0 14px; color: #d7d7db; }
.p-doc ul, .p-doc ol { margin: 0 0 16px; padding-left: 24px; color: #d7d7db; }
.p-doc li { margin: 0 0 8px; }
.p-doc strong { color: #fff; }
.p-doc a { font-weight: 600; }

/* Caja destacada (p. ej. eliminación de datos / aviso legal) */
.p-callout {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}
.p-callout p:last-child { margin-bottom: 0; }

/* Tabla simple */
.p-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.p-table th, .p-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.p-table th { background: var(--panel); color: #fff; font-weight: 700; }
.p-table td { color: #d7d7db; }
.p-table-wrap { overflow-x: auto; }

/* Footer */
.p-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(16px, 4vw, 40px);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.p-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-bottom: 14px; }
.p-footer nav a { font-weight: 600; }
.p-footer .p-copy { color: var(--muted); }

/* Botón de acción (contacto / volver) */
.p-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(to top, #2EB942, #5BDE6C);
  color: #fff; font-family: var(--font-title); font-weight: 800;
  padding: 12px 24px; border-radius: 40px; border: 2px solid #fff;
  margin: 6px 0;
}
.p-btn:hover { filter: brightness(1.05); text-decoration: none; }
.p-btn--email { background: var(--orange); border-color: transparent; }
