/* Páginas legales (aviso legal, privacidad y cookies, en español y en inglés): una sola hoja para todas. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #f2f3f1; color: #2e363d;
  font: 400 17px/1.65 'Geist', system-ui, sans-serif;
  padding: 0 max(20px, calc(env(safe-area-inset-right) + 12px)) 0 max(20px, calc(env(safe-area-inset-left) + 12px));
}
main {
  max-width: 760px; margin: 0 auto;
  padding: max(40px, calc(env(safe-area-inset-top) + 24px)) 0 max(80px, calc(env(safe-area-inset-bottom) + 48px));
}
a { color: #c8006e; text-underline-offset: 2px; overflow-wrap: anywhere; }
a:hover, a:focus-visible { color: #fa008a; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.back, .lang { font: 600 15px/1 'Clash Display', sans-serif; text-decoration: none; color: #2e363d; }
.back::before { content: '←'; margin-right: 8px; color: #fa008a; }
.lang { padding: 8px 12px; border: 1.5px solid rgba(46, 54, 61, .2); border-radius: 30px; }

.k { margin: 48px 0 10px; font: 600 12px/1 'Geist', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #fa008a; }
h1 { margin: 0 0 24px; font: 700 clamp(38px, 8vw, 72px)/.95 'Clash Display', sans-serif; text-transform: uppercase; letter-spacing: -.03em; overflow-wrap: anywhere; hyphens: auto; }
.lede { margin: 0 0 8px; font: 500 clamp(18px, 2.2vw, 21px)/1.5 'Clash Display', sans-serif; color: #505e69; }
h2 { margin: 48px 0 12px; font: 600 clamp(21px, 2.6vw, 24px)/1.2 'Clash Display', sans-serif; }
h3 { margin: 28px 0 6px; font: 600 17px/1.3 'Geist', sans-serif; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 6px; }
strong { font-weight: 600; }

/* Índice de la página */
.toc { margin: 32px 0 0; padding: 18px 20px; background: #fff; border-radius: 4px; }
.toc p { margin: 0 0 8px; font: 600 13px/1 'Geist', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #505e69; }
.toc ol { margin: 0; columns: 2 220px; column-gap: 28px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }

/* Ficha de datos del titular */
.ficha { margin: 0 0 14px; padding: 4px 20px; background: #fff; border-left: 3px solid #fa008a; }
.ficha div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid rgba(46, 54, 61, .12); }
.ficha div:last-child { border-bottom: 0; }
.ficha dt { font-weight: 600; }
.ficha dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .ficha div { grid-template-columns: 1fr; } }

/* Datos que faltan: se ven a propósito hasta que se rellenen */
mark[data-hueco] { padding: 1px 6px; border-radius: 3px; background: #ffe3f2; color: #8a0049; font-weight: 600; }

/* Tablas: en el móvil cada fila se convierte en una tarjeta */
.tabla { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; line-height: 1.5; }
.tabla th, .tabla td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(46, 54, 61, .15); vertical-align: top; }
.tabla th { font: 600 14px/1.3 'Clash Display', sans-serif; }
.tabla code { font-size: 14px; }
@media (max-width: 640px) {
  .tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabla, .tabla tbody, .tabla tr, .tabla td { display: block; width: 100%; }
  .tabla tr { margin: 0 0 12px; padding: 6px 16px; background: #fff; border-radius: 4px; }
  .tabla td { padding: 8px 0; border-bottom: 1px solid rgba(46, 54, 61, .1); }
  .tabla td:last-child { border-bottom: 0; }
  .tabla td::before { content: attr(data-t); display: block; font: 600 12px/1.3 'Geist', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #505e69; margin-bottom: 2px; }
}

/* Sello VigilaMisDatos: el código va tal cual lo dio la empresa; aquí solo se coloca y se limita el tamaño */
.sello-datos { margin-top: 48px; }
.sello-datos a { display: inline-block; }
.sello-datos img { display: block; width: auto; height: auto; max-width: 160px; max-height: 80px; }

.nota { padding: 14px 18px; background: #fff; border-radius: 4px; font-size: 15px; }
.fecha { margin-top: 56px; font-size: 14px; color: #505e69; }
.pie { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }

/* Política de privacidad de la asesoría: etiqueta de cada bloque, datos del responsable y párrafos con guion */
.et { margin: 48px 0 6px; font: 600 12px/1 'Geist', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #fa008a; }
.et + h2 { margin-top: 0; }
.bloque { margin: 0 0 14px; padding: 14px 20px; background: #fff; border-left: 3px solid #fa008a; font-style: normal; overflow-wrap: anywhere; }
.bloque p { margin: 0 0 6px; }
.bloque p:last-child { margin: 0; }
ul.guion { list-style: none; padding-left: 0; }
ul.guion > li { position: relative; padding-left: 1.1em; }
ul.guion > li::before { content: '-'; position: absolute; left: 0; }
ul.punto { list-style: none; padding-left: 0; }
ul.punto > li { position: relative; padding-left: 1.1em; }
ul.punto > li::before { content: '·'; position: absolute; left: .2em; font-weight: 700; }
h1 + .fecha { margin: -8px 0 24px; }
