/* IBIZA STORE — Páginas legales
   Hoja propia y autosuficiente: estas páginas NO cargan styles.css, así que
   se abren solas y rápido aunque el resto del sitio cambie. Los colores son
   los mismos tokens de la marca para que no se vean como una página ajena.
   Aquí también vive el aviso de cookies, porque la banda tiene que salir en
   TODAS las páginas: la tienda y los cuatro documentos.
   */
:root {
  --ink: #0a0710;
  --surface: #17111f;
  --surface-2: #1f1729;
  --line: rgba(244, 241, 234, 0.1);
  --line-2: rgba(244, 241, 234, 0.18);
  --bone: #f4f1ea;
  --bone-dim: #c9c2d4;
  --muted: #8e85a0;
  --neon: #ff2d9b;
  --neon-2: #ff6bc0;
  --cyan: #22d3ee;
  --gold: #e8b65c;
  --ok: #3fcf8e;
  --r-sm: 8px;
  --r: 14px;
  --pill: 999px;
  --ff-display: "Anton", Impact, sans-serif;
  --ff-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

/* Encabezado */
.lhead {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(10, 7, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.lhead__marca {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
}

.lhead__marca b {
  color: var(--neon);
}

.lhead__volver {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  color: var(--bone-dim);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.lhead__volver:hover {
  color: var(--bone);
  border-color: var(--neon);
}

/* Documento */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.4rem 1.15rem 4rem;
}

.doc__tipo {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.22rem 0.7rem;
  border-radius: var(--pill);
  background: rgba(255, 45, 155, 0.14);
  border: 1px solid rgba(255, 45, 155, 0.35);
  color: var(--neon-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doc h1 {
  margin: 0 0 0.5rem;
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.doc__meta {
  margin: 0 0 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.doc__meta b {
  color: var(--bone-dim);
  font-weight: 600;
}

.doc h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--bone);
}

.doc h2 span {
  color: var(--neon);
  font-variant-numeric: tabular-nums;
}

.doc h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
}

.doc p,
.doc li {
  color: var(--bone-dim);
}

.doc p {
  margin: 0 0 0.9rem;
}

.doc ul,
.doc ol {
  margin: 0 0 1.1rem;
  padding-left: 1.3rem;
}

.doc li {
  margin-bottom: 0.45rem;
}

.doc li::marker {
  color: var(--neon);
}

.doc a {
  color: var(--neon-2);
  text-decoration-color: rgba(255, 107, 192, 0.45);
  text-underline-offset: 3px;
}

.doc strong {
  color: var(--bone);
}

.doc dfn {
  font-style: normal;
  font-weight: 700;
  color: var(--bone);
}

/* Cajas de aviso */
.nota,
.aviso,
.falta-aviso {
  margin: 1.3rem 0;
  padding: 0.95rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 0.92rem;
}

.nota {
  border-left: 3px solid var(--cyan);
}

.aviso {
  border-left: 3px solid var(--gold);
}

.nota > :last-child,
.aviso > :last-child,
.falta-aviso > :last-child {
  margin-bottom: 0;
}

/* Hueco por rellenar. Amarillo chillón a propósito: si queda uno sin llenar
   salta a la vista antes de publicar. */
.falta {
  padding: 0.05rem 0.35rem;
  border-radius: var(--r-sm);
  background: #ffe066;
  color: #221a00;
  font-weight: 700;
  font-size: 0.9em;
}

.falta-aviso {
  border-left: 3px solid #ffe066;
  background: rgba(255, 224, 102, 0.08);
}

/* Tablas */
.tabla {
  width: 100%;
  margin: 0 0 1.4rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.tabla table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.87rem;
}

.tabla th,
.tabla td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.tabla th {
  background: var(--surface-2);
  color: var(--bone);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tabla td {
  color: var(--bone-dim);
}

.tabla tr:last-child td {
  border-bottom: 0;
}

/* Índice y cierre */
.indice {
  margin: 0 0 2.4rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.indice h2 {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.indice ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 1.6rem;
  font-size: 0.9rem;
}

.indice li {
  margin-bottom: 0.3rem;
  break-inside: avoid;
}

.lfoot {
  border-top: 1px solid var(--line);
  padding: 1.8rem 1.15rem 2.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.lfoot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.1rem;
  margin-bottom: 1rem;
}

.lfoot a {
  color: var(--bone-dim);
  text-decoration: none;
  font-weight: 600;
}

.lfoot a:hover {
  color: var(--neon-2);
}

.lfoot__18 {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--neon);
  border-radius: var(--pill);
  color: var(--neon-2);
  font-size: 0.7rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .indice ol {
    columns: 1;
  }

  .lhead__marca {
    font-size: 0.92rem;
  }
}
