/* Estilos compartidos por privacidad.html y terminos.html.
   Deliberadamente separado de styles.css: las páginas legales no necesitan
   el HUD ni las animaciones de scroll, y no quiero que un cambio en la
   landing rompa un documento que tiene valor contractual. */

:root {
  --bg: #0a0a0b;
  --card: rgba(22, 22, 26, .55);
  --border: #26262d;
  --text: #f5f5f7;
  --muted: #9a9aa4;
  --lime: #c8f135;
  --cyan: #6ee7ff;
  --display: 'Archivo', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 32px) 96px;
}

/* ── Encabezado ── */
.volver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.volver:hover { color: var(--lime); }

h1 {
  font-family: var(--display);
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 28px 0 10px;
}

.meta {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

/* ── Resumen destacado ── */
.resumen {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--lime);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0;
}
.resumen h2 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}
.resumen ul { margin: 0; padding-left: 20px; }
.resumen li { margin-bottom: 7px; color: #d8d8dd; }
.resumen li:last-child { margin-bottom: 0; }

/* ── Secciones ── */
h2 {
  font-family: var(--display);
  font-size: clamp(20px, 3.4vw, 25px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 44px 0 14px;
  scroll-margin-top: 24px;
}
h2 .num {
  font-family: var(--mono);
  font-size: .58em;
  font-weight: 500;
  color: var(--lime);
  margin-right: 10px;
  vertical-align: 2px;
}

h3 {
  font-family: var(--body);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--cyan);
  margin: 26px 0 8px;
}

p { margin-bottom: 14px; color: #cfcfd6; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; color: #cfcfd6; }

strong { color: var(--text); font-weight: 600; }
a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--lime); }

/* Las URLs de los organismos oficiales son largas y en un teléfono de 375px
   empujarían la página entera hacia la derecha. */
p, li, a { overflow-wrap: anywhere; }

code {
  font-family: var(--mono);
  font-size: .88em;
  background: rgba(200, 241, 53, .09);
  border: 1px solid rgba(200, 241, 53, .18);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--lime);
}

/* ── Tabla de datos ── */
.tabla-wrap { overflow-x: auto; margin: 18px 0 24px; }
table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}
th, td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: #34343d;
}
td { color: #cfcfd6; }
tbody tr:last-child td { border-bottom: none; }

/* ── Avisos ── */
.aviso {
  background: rgba(110, 231, 255, .06);
  border: 1px solid rgba(110, 231, 255, .22);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 22px 0;
}
.aviso p:last-child { margin-bottom: 0; }
.aviso h3 { margin-top: 0; }
.aviso.clave {
  background: rgba(200, 241, 53, .06);
  border-color: rgba(200, 241, 53, .25);
}

/* ── Formulario de arrepentimiento ── */
.form-arr { margin: 28px 0 8px; }
.campo { margin-bottom: 22px; }
.campo label {
  display: block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.campo .req { color: var(--lime); }
.campo .opc { color: var(--muted); font-weight: 400; font-size: 13px; }
.campo-ayuda { font-size: 13.5px; color: var(--muted); margin: -2px 0 10px; }
.campo-input {
  width: 100%;
  background: rgba(10, 10, 11, .6);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.campo-input::placeholder { color: #62626c; }
.campo-input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 241, 53, .12);
}
textarea.campo-input { resize: vertical; min-height: 88px; }

.campo-error {
  background: rgba(255, 107, 107, .08);
  border: 1px solid rgba(255, 107, 107, .35);
  border-radius: 8px;
  padding: 11px 15px;
  color: #ff9f9f;
  font-size: 14px;
  margin: 0 0 18px;
}

.btn-arr {
  display: inline-block;
  width: 100%;
  background: var(--lime);
  color: #0a0a0b;
  border: none;
  border-radius: 10px;
  padding: 15px 22px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: filter .2s, transform .05s;
}
.btn-arr:hover { filter: brightness(1.08); }
.btn-arr:active { transform: translateY(1px); }
.btn-arr--sec {
  background: transparent;
  color: var(--lime);
  border: 1px solid rgba(200, 241, 53, .35);
  margin-top: 12px;
}

.arr-ok { margin-top: 8px; }
.copia-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 20px 0 8px;
}
.copia-texto {
  width: 100%;
  background: rgba(10, 10, 11, .6);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 14px;
  color: #cfcfd6;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
}
.copia-hecho { font-size: 12.5px; color: var(--lime); margin-top: 10px; }

/* ── Pie ── */
.pie {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
}
.pie a { color: var(--muted); text-decoration: none; }
.pie a:hover { color: var(--lime); }

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .resumen { padding: 16px 18px; }
}
