/* VéndeloYaa · sitio para comercios. El mismo mundo que LlévaloYaa (blanco, azul de marca con su cian,
   Montserrat gruesa, píldoras y fichas en degradado), con la primera vista en azul noche: el lado de las
   tiendas. Arriba se mide en --u: 1u vale 1px cuando la pantalla mide 1536px, como la maqueta aprobada. */

@font-face {
  font-family: 'Montserrat';
  src: url('fuentes/Montserrat-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --tinta: #081742;
  --tinta-2: #2b3a63;
  --gris: #5b6785;
  --fondo: #ffffff;
  --banda: #f3f7fe;
  --chip: #eef3fc;
  --azul: #0a5cf5;
  --azul-hondo: #0647c2;
  --azul-claro: #2f7dff;
  --cian: #2bd0ff;
  --noche: #021c4e;
  --noche-2: #071a4a;
  --linea: #e2e8f4;
  --sombra: 0 2px 4px rgba(8, 23, 66, .05), 0 24px 48px -24px rgba(8, 23, 66, .28);
  --letra: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --u: calc(min(100vw, 1760px) / 1536);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--letra); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: #cfe0ff; color: var(--tinta); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 10px; }
.noche :focus-visible, .cierre-tarjeta :focus-visible { outline-color: var(--cian); }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- Primera vista en azul noche */
.noche {
  position: relative;
  background: linear-gradient(170deg, #002157 0%, #021c4e 55%, #011a4a 100%);
  color: #fff;
  padding-bottom: calc(56 * var(--u));
}

.borde-ola { position: absolute; left: 0; bottom: -1px; width: 100%; height: calc(67 * var(--u)); display: block;
  /* El borde blanco sube en curva a la izquierda y la ola azul baja desde la foto a la derecha. */
  border-top-left-radius: calc(70 * var(--u)) calc(24 * var(--u));
  background: radial-gradient(ellipse 36% 75% at 100% 0%, #b3defd 0%, rgba(200, 232, 254, .7) 45%, rgba(255, 255, 255, 0) 100%), #fff; }
.barra { position: relative; z-index: 20; display: flex; align-items: center; max-width: 1760px; height: calc(104 * var(--u)); margin: 0 auto; padding: 0 calc(42 * var(--u)) 0 calc(38 * var(--u)); }
.marca img { height: calc(63 * var(--u)); width: auto; }
.menu { display: flex; gap: calc(58 * var(--u)); margin-left: calc(170 * var(--u)); }
.menu a { font-size: calc(19 * var(--u)); font-weight: 600; color: #fff; text-decoration: none; transition: color .2s; }
.menu a:hover { color: var(--cian); }
.barra-acciones { display: flex; gap: calc(16 * var(--u)); margin-left: auto; }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  border-radius: 999px; border: 2px solid var(--azul); background: var(--azul); color: #fff;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.boton:hover { background: var(--azul-hondo); border-color: var(--azul-hondo); transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(10, 92, 245, .8); }
.boton:active { transform: scale(.97); }
.boton-nav { height: calc(52 * var(--u)); padding: 0 calc(20 * var(--u)); font-size: calc(17 * var(--u)); letter-spacing: -0.035em; }
.boton-claro-borde { background: transparent; border-color: #fff; color: #fff; }
.boton-claro-borde:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }
.boton-nav.boton-claro-borde { width: calc(156 * var(--u)); height: calc(50 * var(--u)); font-size: calc(18 * var(--u)); }
.boton-nav-cta { width: calc(224 * var(--u)); }
.boton-grande { height: 58px; padding: 0 28px; font-size: 18px; }
.boton-grande .ico { width: 26px; height: 26px; }
.boton-claro { background: #fff; color: var(--azul); border-color: #fff; }
.boton-claro:hover { background: #eaf1ff; border-color: #eaf1ff; color: var(--azul-hondo); }
.boton[aria-disabled=true] { cursor: default; }
.boton[aria-disabled=true]:hover { background: transparent; transform: none; box-shadow: none; }

.menu-movil { display: none; position: relative; }
.menu-movil summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: #fff; }
.menu-movil summary::-webkit-details-marker { display: none; }
.menu-movil summary .ico { width: 26px; height: 26px; }
.menu-movil[open] summary { background: rgba(255, 255, 255, .14); }
.menu-movil nav { position: absolute; right: 0; top: 52px; display: grid; min-width: 220px; padding: 8px; background: #fff; border-radius: 18px; box-shadow: var(--sombra); }
.menu-movil nav a { padding: 12px 14px; border-radius: 12px; font-weight: 600; text-decoration: none; color: var(--tinta); }
.menu-movil nav a:hover { background: var(--chip); color: var(--azul); }

.portada { position: relative; max-width: 1760px; height: calc(452 * var(--u)); margin: 0 auto; }
.portada-texto { position: relative; z-index: 2; padding: calc(26 * var(--u)) 0 0 calc(52 * var(--u)); }
.portada h1 { margin: 0; font-size: calc(74.5 * var(--u)); font-weight: 800; line-height: .98; letter-spacing: -0.042em; white-space: nowrap; }
.portada h1 span { color: var(--azul-claro); }
.bajada { margin: calc(22 * var(--u)) 0 0; font-size: calc(26 * var(--u)); font-weight: 500; line-height: 1.24; letter-spacing: -0.01em; color: #fff; }
.portada .acciones { display: flex; gap: calc(12 * var(--u)); margin-top: calc(32 * var(--u)); }
.portada .boton-grande { height: calc(66 * var(--u)); padding: 0; font-size: calc(20.5 * var(--u)); letter-spacing: -0.015em; gap: calc(16 * var(--u)); }
.portada .boton-grande:first-child { width: calc(320 * var(--u)); font-size: calc(19.5 * var(--u)); gap: calc(20 * var(--u)); background: #0b62ff; border-color: #0b62ff; }
.portada .boton-grande:first-child .ico { width: calc(44 * var(--u)); height: calc(44 * var(--u)); margin-left: calc(-8 * var(--u)); }
.portada .boton-grande.boton-claro-borde { width: calc(270 * var(--u)); height: calc(63 * var(--u)); margin: calc(1 * var(--u)) 0 0 calc(3 * var(--u)); }
.portada .boton-grande .ico { width: calc(40 * var(--u)); height: calc(40 * var(--u)); stroke-width: 2.2; }
.ico-play { stroke: none; fill: #fff; color: var(--noche); }
.portada .boton-claro-borde .ico-play { width: calc(42 * var(--u)); height: calc(42 * var(--u)); margin: 0; }
.portada .boton-grande.boton-claro-borde { font-size: calc(19 * var(--u)); gap: calc(12 * var(--u)); justify-content: center; padding: 0 calc(10 * var(--u)) 0 0; }
.portada-foto { position: absolute; left: calc(770 * var(--u)); top: calc(-10 * var(--u)); right: calc((min(100vw, 1760px) - 100vw) / 2); height: calc(462 * var(--u)); overflow: hidden; border-top-left-radius: calc(42 * var(--u)); }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; animation: acomodar 1.6s var(--ease) both; }
.portada-telefono { position: absolute; z-index: 6; left: calc(664 * var(--u)); top: calc(99 * var(--u)); width: calc(300 * var(--u)); height: calc(394 * var(--u)); animation: subir 1.1s .25s var(--ease) both, flotar 6s 1.4s ease-in-out infinite; }
.portada-telefono img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35)); }

/* ---------------------------------------------------------------- Beneficios en una tarjeta que monta sobre el azul */
main { position: relative; }
.hechos {
  position: relative; z-index: 4; list-style: none;
  max-width: calc(1432 * var(--u)); margin: calc(-69 * var(--u)) auto 0; padding: calc(24 * var(--u)) 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: calc(28 * var(--u)); box-shadow: var(--sombra);
}
.hechos li { display: grid; align-content: start; gap: calc(8 * var(--u)); padding: 0 calc(38 * var(--u)) 0 calc(42 * var(--u)); }
.hechos li + li { border-left: 1px solid var(--linea); }
.ficha { display: grid; place-items: center; flex: none; background: linear-gradient(145deg, #2c9bff, var(--azul)); color: #fff; box-shadow: 0 8px 16px -10px rgba(10, 92, 245, .9); }
.hechos .ficha { width: calc(84 * var(--u)); height: calc(72 * var(--u)); border-radius: calc(18 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.hechos .ficha .ico { width: calc(48 * var(--u)); height: calc(48 * var(--u)); stroke-width: 2; }
.hechos strong { font-size: calc(29 * var(--u)); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.hechos span:not(.ficha) { font-size: calc(18.5 * var(--u)); font-weight: 500; letter-spacing: -0.015em; line-height: 1.32; color: var(--tinta-2); }

/* ---------------------------------------------------------------- Pasos */
.como { max-width: 1760px; margin: calc(30 * var(--u)) auto 0; padding: 0 calc(50 * var(--u)) 0 calc(56 * var(--u)); }
.como h2 { margin: 0; font-size: calc(47 * var(--u)); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.pasos { list-style: none; margin: calc(18 * var(--u)) 0 0; padding: 0 0 0 calc(18 * var(--u)); display: grid; grid-template-columns: calc(511 * var(--u)) calc(511 * var(--u)) auto; }
.pasos li { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: calc(40 * var(--u)); row-gap: calc(8 * var(--u)); }
.paso-num { display: grid; place-items: center; width: calc(60 * var(--u)); height: calc(60 * var(--u)); border-radius: 50%; background: var(--azul); color: #fff; font-size: calc(30 * var(--u)); font-weight: 700; }
.pasos .ico { width: calc(62 * var(--u)); height: calc(62 * var(--u)); color: var(--azul); stroke-width: 1.6; }
.paso-txt { grid-column: 2 / -1; font-size: calc(20 * var(--u)); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.pasos li::after { content: ''; position: absolute; top: calc(30 * var(--u)); left: calc(222 * var(--u)); right: calc(36 * var(--u)); height: 2px; background: linear-gradient(90deg, #b9d0fb, #d9e5fd); transform-origin: left; transition: transform 1.2s var(--ease); }

/* ---------------------------------------------------------------- Secciones */
.seccion { padding: clamp(80px, 8vw, 128px) 0; }
.como + .seccion { margin-top: clamp(64px, 6vw, 100px); }
.banda { background: var(--banda); }
.ancho { max-width: 1760px; margin: 0 auto; padding: 0 calc(50 * var(--u)) 0 calc(56 * var(--u)); }
.titulo-seccion { margin: 0; font-size: clamp(34px, 3.8vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.intro { max-width: 46ch; margin: 18px 0 0; font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; line-height: 1.5; color: var(--tinta-2); text-wrap: pretty; }

/* Cómo llega el dinero: una línea de tiempo de una venta. */
.cobro { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 16px; }
.cobro li { display: grid; gap: 6px; align-content: start; padding: 26px 26px 28px; border-radius: 24px; background: #fff; box-shadow: var(--sombra); }
.cobro .cobro-hoy { background-color: var(--azul); background-image: linear-gradient(145deg, #1f74ff, var(--azul)); color: #fff; }
.cobro .cuando { font-size: 15px; font-weight: 600; color: var(--gris); }
.cobro .cobro-hoy .cuando, .cobro .cobro-hoy .que { color: #e6eeff; }
.cobro .cuanto { font-size: clamp(38px, 4vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cobro .que { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--azul); }
.cobro .que .ico { width: 20px; height: 20px; }
.cobro-nota { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 32px; max-width: 1100px; }
.cobro-nota p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--tinta-2); }
.cobro-nota strong { color: var(--tinta); }

/* La app. */
.partido { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.lista { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; max-width: 520px; }
.lista li { display: flex; gap: 18px; align-items: flex-start; }
.lista .ficha { width: 52px; height: 52px; border-radius: 15px; }
.lista .ficha .ico { width: 27px; height: 27px; }
.lista strong { display: block; font-size: 19px; font-weight: 700; }
.lista span:not(.ficha) { display: block; font-size: 16px; font-weight: 500; color: var(--tinta-2); line-height: 1.45; }
.foto-redonda img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 40% 50%; border-radius: 32px; box-shadow: var(--sombra); }

/* Preguntas. */
.preguntas { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: start; }
.preguntas details { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 0 24px; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.preguntas details[open] { box-shadow: var(--sombra); border-color: transparent; }
.preguntas summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; cursor: pointer; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--azul); border-bottom: 2px solid var(--azul); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.preguntas details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.preguntas summary:hover { color: var(--azul); }
.preguntas p { margin: -4px 0 22px; max-width: 62ch; font-size: 16px; color: var(--tinta-2); }

/* Cierre en azul noche, como la primera vista. */
.cierre-tarjeta { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px); border-radius: 32px; background: radial-gradient(80% 120% at 100% 0%, #13379a 0%, var(--noche) 55%, var(--noche-2) 100%); color: #fff; }
.cierre-tarjeta::after { content: ''; position: absolute; right: -10%; bottom: -55%; width: 70%; height: 110%; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 208, 255, .28), rgba(43, 208, 255, 0)); pointer-events: none; }
.cierre-tarjeta > * { position: relative; }
.cierre .intro { color: #e3eaff; }
.cierre .acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.nota { margin: 24px 0 0; max-width: 52ch; font-size: 14.5px; color: #e3eaff; }
.cruce { margin: 28px 0 0; font-size: 17px; font-weight: 500; color: var(--tinta-2); }
.cruce a { display: inline-flex; align-items: center; gap: 6px; color: var(--azul); font-weight: 700; text-decoration: none; }
.cruce a:hover { text-decoration: underline; text-underline-offset: 4px; }

.pie { padding: 32px 0 48px; border-top: 1px solid var(--linea); }
.pie-fila { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.pie p { margin: 0; font-size: 13.5px; color: var(--gris); }
.pie-logo { height: 56px; width: auto; }

/* ---------------------------------------------------------------- Movimiento: un solo momento al cargar */
.portada-texto > * { animation: entrar .9s var(--ease) both; }
.portada-texto > :nth-child(2) { animation-delay: .06s; }
.portada-texto > :nth-child(3) { animation-delay: .12s; }
@keyframes entrar { from { opacity: 0; transform: translateY(16px); } }
@keyframes acomodar { from { transform: scale(1.06); } }
@keyframes subir { from { opacity: 0; transform: translateY(40px) rotate(-3deg); } }
@keyframes flotar { 50% { transform: translateY(-8px); } }
.js .pasos.espera li::after { transform: scaleX(0); }
.js [data-aparece].espera { opacity: 0; transform: translateY(32px); }
.js [data-aparece] { transition: opacity .9s var(--ease), transform 1.1s var(--ease); }

/* ---------------------------------------------------------------- Tableta y teléfono */
@media (max-width: 820px) {
  :root { --u: 1px; }
  .barra { height: 68px; padding: 0 12px 0 16px; }
  .marca img { height: 38px; }
  .menu, .barra .boton-claro-borde { display: none; }
  .boton-nav-cta { display: none; }
  .menu-movil { margin-left: auto !important; }
  .menu-movil { display: block; margin-left: 4px; }
  .noche { padding-bottom: 72px; }
  .portada { height: auto; display: flex; flex-direction: column; }
  .portada-texto { padding: 12px 20px 0; }
  .portada h1 { font-size: clamp(38px, 11vw, 58px); white-space: normal; }
  .bajada { font-size: 18px; margin-top: 14px; }
  .bajada br { display: none; }
  .portada .acciones { flex-direction: column; gap: 12px; margin-top: 24px; }
  .portada .boton-grande, .portada .boton-grande:first-child, .portada .boton-grande.boton-claro-borde { width: 100%; height: 56px; font-size: 17px; }
  .portada .boton-grande .ico { width: 24px; height: 24px; }
  .portada-foto { position: relative; left: auto; right: auto; top: auto; width: auto; height: auto; aspect-ratio: 4 / 3.3; margin: 28px 0 0 16px; border-radius: 26px 0 0 26px; }
  .portada-telefono { position: relative; left: auto; top: auto; width: 52%; max-width: 240px; height: auto; margin: -40% 0 0 6%; }
  .portada-telefono img { height: auto; }
  .borde-ola { height: 40px; }
  .hechos { grid-template-columns: 1fr 1fr; margin: -96px 16px 0; padding: 20px 8px; gap: 22px 0; border-radius: 22px; }
  .hechos li { padding: 0 14px; }
  .hechos li:nth-child(3) { border-left: 0; }
  .hechos .ficha { width: 52px; height: 46px; border-radius: 14px; }
  .hechos .ficha .ico { width: 26px; height: 26px; }
  .hechos strong { font-size: 18px; }
  .hechos span:not(.ficha) { font-size: 13.5px; }
  .como { margin-top: 56px; padding: 0 20px; }
  .como h2 { font-size: 30px; }
  .pasos { grid-template-columns: 1fr; gap: 18px; padding: 0; margin-top: 22px; }
  .pasos li { grid-template-columns: auto auto 1fr; column-gap: 16px; }
  .pasos li::after { display: none; }
  .paso-num { width: 44px; height: 44px; font-size: 21px; }
  .pasos .ico { width: 36px; height: 36px; }
  .paso-txt { grid-column: auto; font-size: 17px; white-space: normal; }
  .ancho { padding: 0 20px; }
  .cobro { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cobro .cuanto { font-size: 32px; }
  .cobro .que { font-size: 12.5px; gap: 4px; }
  .cobro .que .ico { width: 16px; height: 16px; }
  .cobro li { padding: 16px 12px; border-radius: 18px; }
  .cobro .cobro-hoy { grid-column: 1 / -1; }
  .cobro-nota { grid-template-columns: 1fr; }
  .partido { grid-template-columns: 1fr; }
  .preguntas { grid-template-columns: 1fr; }
  .cierre .acciones .boton { flex: 1 1 100%; }
  .pie-fila { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Formularios en la tarjeta de cierre: campos blancos, claros, grandes para el dedo. */
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 28px; max-width: 620px; }
.formulario label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.formulario input, .formulario select {
  height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: #fff; color: #081742;
  font: inherit; font-size: 16px; font-weight: 500;
}
.formulario input::placeholder { color: #7d88a5; }
.formulario input:focus-visible, .formulario select:focus-visible { outline: 3px solid #2bd0ff; outline-offset: 2px; }
.formulario .boton { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.formulario .boton:disabled { opacity: .6; cursor: progress; }
.formulario-estado { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 600; color: #fff; }
.formulario-estado[data-tipo=error] { color: #ffe08a; }
.formulario-estado[data-tipo=bien] { color: #b8ffd9; }
.nota a { color: #fff; font-weight: 700; }
@media (max-width: 820px) {
  .formulario { grid-template-columns: 1fr; }
  .formulario .boton { justify-self: stretch; }
}

/* Descargar la app (sobre el azul oscuro de la portada) */
.descarga-apk { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: calc(18 * var(--u)) 0 0; padding: 0; }
.descarga-apk a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
.descarga-apk a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.descarga-apk li:first-child a { background: #fff; border-color: #fff; color: #071a4a; }
.descarga-apk li:first-child a:hover { background: #e8f0ff; }
.descarga-apk small { font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .7; }
.descarga-apk .ico { width: 18px; height: 18px; }
/* Cierre: registrarse en la app o pedir que te escriban */
.acciones-registro { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.intro-form { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 17px; }
@media (max-width: 820px) { .acciones-registro .boton { width: 100%; } }
/* ---------------------------------------------------------------- Páginas legales (términos y privacidad) */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) 20px 96px; }
.legal h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; color: var(--tinta); text-wrap: balance; }
.legal-fecha { margin: 12px 0 28px; font-size: 15px; color: var(--gris); }
.legal h2 { margin: 52px 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--tinta); scroll-margin-top: 24px; }
.legal h3 { margin: 26px 0 6px; font-size: 18px; font-weight: 700; color: var(--tinta); }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--tinta-2); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--azul); font-weight: 700; }
.legal strong { color: var(--tinta); }
.legal a { color: var(--azul); text-underline-offset: 3px; }
.legal-indice { margin: 28px 0 8px; padding: 20px 24px; border-radius: 20px; background: var(--banda); }
.legal-indice ol { columns: 2; column-gap: 28px; margin: 0; }
.legal-indice li { margin: 4px 0; font-size: 15px; break-inside: avoid; }
.legal-indice a { text-decoration: none; color: var(--tinta-2); }
.legal-indice a:hover { color: var(--azul); }
.legal-tabla { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--linea); border-radius: 16px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.legal th, .legal td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--linea); color: var(--tinta-2); }
.legal thead th { background: var(--banda); color: var(--tinta); font-size: 14px; }
.legal tbody th { color: var(--azul); font-weight: 700; }
.legal tr:last-child th, .legal tr:last-child td { border-bottom: 0; }
.pie a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 640px) { .legal-indice ol { columns: 1; } }.pagina-legal .barra { max-width: none; background: var(--noche-2); padding-inline: max(20px, calc((100vw - 1760px) / 2 + 40px)); }