:root {
  --fondo: #0d1016;
  --tarjeta: #161a23;
  --tarjeta-2: #1f2430;
  --borde: #272d3a;
  --texto: #f3f5f9;
  --tenue: #8f98ab;
  --verde: #3ecf8e;
  --rojo: #f2716b;
  --oro: #d6b36a;
  --azul: #7fb4e6;
  --radio: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; -webkit-tap-highlight-color: transparent; }
html, body, button, input, label, a { touch-action: manipulation; }
html, body { margin: 0; background: var(--fondo); color: var(--texto); }
body {
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  padding: env(safe-area-inset-top) 0 calc(78px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; overflow-x: clip;
}
button, input, select { font: inherit; color: inherit; }
.oculto { display: none !important; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tenue { color: var(--tenue); font-size: 14px; }
.serif { font-family: "New York", "Iowan Old Style", Georgia, serif; font-weight: 600; }
.sube { color: var(--verde); } .baja { color: var(--rojo); }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }

/* Encabezado */
.cabeza { display: flex; align-items: flex-end; justify-content: space-between; padding: 22px 20px 6px; gap: 12px; }
.cabeza h1 { font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: 32px; line-height: 1.05; margin: 0; letter-spacing: -0.3px; font-weight: 600; }
.cabeza .sub { color: var(--tenue); font-size: 13px; margin-top: 6px; }
.icono-btn { flex: none; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 999px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.icono-btn svg { width: 20px; height: 20px; }
.contenedor { padding: 0 16px; max-width: 760px; margin: 0 auto; }

/* Resumen superior */
.resumen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 4px; }
.resumen div { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 14px; padding: 12px; }
.resumen b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.resumen span { font-size: 12px; color: var(--tenue); }

/* Tabla del portafolio */
.lista { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; margin: 14px 0; }
.enc, .accion { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; }
.enc { padding: 10px 16px; font-size: 12px; color: var(--tenue); border-bottom: 1px solid var(--borde); }
.enc span:not(:first-child), .accion .c { text-align: right; }
.accion { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--borde); padding: 14px 16px; cursor: pointer; text-align: left; }
.accion:last-child { border-bottom: 0; }
.accion:active { background: var(--tarjeta-2); }
.tk { font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.nm { font-size: 12px; color: var(--texto); opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c b { display: block; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c small { font-size: 12px; font-variant-numeric: tabular-nums; }
.c b, .tk { color: #fff; }
.t-verde b { color: #16c45a !important; } .t-verde small { color: #9ee6be; font-weight: 600; }
.t-amar b { color: #f2b705 !important; } .t-amar small { color: #f5df8f; font-weight: 600; }
.t-rojo b { color: #e8002d !important; } .t-rojo small { color: #ff5a6e; font-weight: 600; }
.leyenda .t-verde b { color: #16c45a !important; } .leyenda .t-amar b { color: #f2b705 !important; } .leyenda .t-rojo b { color: #e8002d !important; }
.cifras small { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.leyenda { font-size: 12px; color: var(--tenue); padding: 0 4px; }

/* Tarjetas */
.tarjeta { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); padding: 16px; margin: 12px 0; }
.etiqueta { color: var(--tenue); font-size: 12px; letter-spacing: .4px; }
h2 { font-family: "New York", "Iowan Old Style", Georgia, serif; font-weight: 600; font-size: 22px; margin: 22px 4px 8px; }
h3 { font-size: 15px; margin: 18px 4px 8px; color: var(--tenue); font-weight: 600; }
.chip { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--tarjeta-2); }
.chip.sube { background: rgba(62, 207, 142, .12); } .chip.baja { background: rgba(242, 113, 107, .12); }

/* Detalle */
.volver { background: none; border: 0; color: var(--azul); padding: 14px 20px 0; min-height: 44px; cursor: pointer; font-size: 16px; }
.cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.cifras div { border-top: 2px solid var(--borde); padding-top: 8px; }
.cifras div.p { border-color: var(--texto); } .cifras div.j { border-color: var(--oro); } .cifras div.i { border-color: var(--azul); }
.cifras b { display: block; font-size: clamp(20px, 6vw, 28px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.franja { position: relative; height: 56px; margin: 18px 4px 4px; }
.franja .eje { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--borde); border-radius: 2px; }
.franja i { position: absolute; top: 20px; width: 2px; height: 16px; background: var(--tenue); opacity: .5; transform: translateX(-50%); }
.franja .ag { position: absolute; width: 4px; border-radius: 2px; transform: translateX(-50%); }
.ag.p { background: var(--texto); top: 4px; height: 48px; z-index: 2; } .ag.j { background: var(--oro); top: 10px; height: 36px; } .ag.i { background: var(--azul); top: 14px; height: 28px; }
.extremos { display: flex; justify-content: space-between; font-size: 12px; color: var(--tenue); font-variant-numeric: tabular-nums; }
.ley { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--tenue); margin-top: 8px; }
.ley i { display: inline-block; width: 4px; height: 12px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: var(--tenue); }
.ley i.p { background: var(--texto); } .ley i.j { background: var(--oro); } .ley i.i { background: var(--azul); }
.modelo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--borde); }
.modelo:last-child { border-bottom: 0; }
.modelo .n { font-weight: 600; font-size: 15px; }
.modelo .v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.modelo .f, .modelo .s { grid-column: 1 / -1; font-size: 13px; color: var(--tenue); }
.modelo .s { color: var(--oro); opacity: .85; font-size: 12px; }
.tachado { text-decoration: line-through; color: var(--tenue); }
.aviso-caja { border-left: 3px solid var(--oro); background: var(--tarjeta); border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 12px 0; }

/* Formularios */
.campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
label { display: block; font-size: 12px; color: var(--tenue); margin-bottom: 4px; }
input[type=number], input[type=text], input[type=password] { width: 100%; font-size: 16px; padding: 11px 12px; min-height: 44px; border-radius: 10px; border: 1px solid var(--borde); background: var(--tarjeta-2); }
.interruptor { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }
.interruptor input { width: 24px; height: 24px; accent-color: var(--oro); }
.btn { display: block; width: 100%; padding: 14px; min-height: 48px; border-radius: 12px; border: 0; cursor: pointer; background: var(--oro); color: #1d1606; font-weight: 700; margin: 10px 0; }
.btn.secundario { background: var(--tarjeta-2); color: var(--texto); border: 1px solid var(--borde); }
.btn.peligro { background: transparent; color: var(--rojo); border: 1px solid var(--rojo); }
.btn:disabled { opacity: .5; }

/* Tablas de texto */
.tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabla th, .tabla td { padding: 9px 8px; border-bottom: 1px solid var(--borde); text-align: left; vertical-align: top; }
.tabla th { font-size: 12px; color: var(--tenue); font-weight: 600; }
.tabla td.m { text-align: center; width: 28px; padding-inline: 2px; }
.tabla td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ok { color: var(--verde); } .no { color: var(--borde); }
p { margin: 8px 4px; }

/* Historial */
.fecha-hist { font-size: 13px; color: var(--tenue); margin: 18px 4px 6px; }
.hist { display: grid; grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--borde); font-size: 14px; }
.hist:last-child { border-bottom: 0; }
.hist .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.motivo { grid-column: 1 / -1; font-size: 12px; color: var(--tenue); }

/* Navegación inferior */
.nav { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(13, 16, 22, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--borde); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 10; }
.nav button { background: none; border: 0; color: var(--tenue); display: grid; justify-items: center; gap: 2px; font-size: 11px; padding: 6px 0; min-height: 52px; cursor: pointer; }
.nav button svg { width: 22px; height: 22px; }
.nav button.activo { color: var(--oro); }

/* Bloqueo */
.bloqueo { max-width: 360px; margin: 0 auto; padding: 48px 24px 24px; text-align: center; }
.bloqueo img { width: 72px; height: 72px; border-radius: 18px; }
.bloqueo h1 { font-family: "New York", "Iowan Old Style", Georgia, serif; font-weight: 600; font-size: 28px; margin: 14px 0 6px; }
.bloqueo input { text-align: center; font-size: 24px; letter-spacing: 6px; margin-top: 14px; }
.error { color: var(--rojo); min-height: 22px; font-size: 14px; margin-top: 8px; }
.teclado { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.tecla { -webkit-user-select: none; user-select: none; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 14px; font-size: 24px; padding: 14px 0; min-height: 58px; cursor: pointer; }
.tecla:active { background: var(--tarjeta-2); }
.tecla.tenue { font-size: 18px; color: var(--tenue); }
.nota { font-size: 13px; color: var(--tenue); background: var(--tarjeta); border-radius: 12px; padding: 12px; margin: 12px 0; text-align: left; }
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--tarjeta-2); border: 1px solid var(--borde); padding: 10px 16px; border-radius: 99px; font-size: 14px; z-index: 20; }

@media (max-width: 380px) { .enc, .accion { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1fr)); gap: 6px; padding-inline: 12px; } .c b { font-size: 15px; } }
@media (prefers-reduced-motion: no-preference) { .franja .ag { transition: left .35s ease; } }

.vivo { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vivo.sube { color: var(--verde); } .vivo.baja { color: var(--rojo); }
.punto { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--verde); margin-right: 4px; vertical-align: 1px; }

/* Cabecera: buscar y menú */
.acciones-cab { display: flex; gap: 8px; flex: none; }
.velo { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 30; }
.menu { position: absolute; top: calc(env(safe-area-inset-top) + 74px); right: 16px; width: 230px; background: var(--tarjeta-2); border: 1px solid var(--borde); border-radius: 16px; padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.menu button { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; padding: 12px; min-height: 48px; border-radius: 10px; font-size: 16px; cursor: pointer; text-align: left; }
.menu button svg { width: 20px; height: 20px; color: var(--oro); flex: none; }
.menu button:active { background: var(--tarjeta); }
.menu button[data-v=bloquear] { border-top: 1px solid var(--borde); border-radius: 0 0 10px 10px; margin-top: 4px; }

/* Índices */
.indices { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.indices::-webkit-scrollbar { display: none; }
.indice { flex: 0 0 auto; min-width: 118px; scroll-snap-align: start; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.indice span { font-size: 12px; } .indice b { font-size: 19px; font-variant-numeric: tabular-nums; } .indice small { font-size: 12px; white-space: nowrap; }

/* Mapa de calor */
.titulo-sec { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 22px 4px 8px; }
.titulo-sec h2 { margin: 0; white-space: nowrap; }
.titulo-sec span { font-size: 12px; text-align: right; }
.mapa { position: relative; height: min(140vw, 620px); border-radius: 12px; overflow: hidden; background: #262a33; }
.celda { position: absolute; border: 1px solid #1a1d24; padding: 0; margin: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; line-height: 1.05; }
.celda b { font-weight: 700; letter-spacing: .2px; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.celda small { font-size: 11px; opacity: .95; font-variant-numeric: tabular-nums; margin-top: 2px; }
.sec { position: absolute; height: 15px; font-size: 10px; line-height: 15px; padding: 0 5px; color: #cfd5e1; background: #1a1d24; text-transform: uppercase; letter-spacing: .4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; z-index: 1; pointer-events: none; }
.escala { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tenue); margin: 8px 4px 0; }
.escala i { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #f63538, #414554, #30cc5a); }

/* Listas de acciones */
.fila { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--borde); padding: 13px 16px; text-align: left; cursor: pointer; }
.fila:last-child { border-bottom: 0; } .fila:active { background: var(--tarjeta-2); }
.fila:not(:has(.rk)) { grid-template-columns: minmax(0, 1fr) auto; }
.rk { width: 22px; color: var(--tenue); font-size: 14px; font-variant-numeric: tabular-nums; }
.fila .c { text-align: right; }
.buscador { width: 100%; font-size: 17px; padding: 13px 14px; min-height: 48px; border-radius: 12px; border: 1px solid var(--borde); background: var(--tarjeta-2); margin: 10px 0 4px; -webkit-appearance: none; }

/* Ficha */
.precio-grande { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 8px 4px 6px; }
.precio-grande b { font-size: clamp(34px, 10vw, 46px); font-family: "New York", "Iowan Old Style", Georgia, serif; }
.precio-grande span { font-size: 16px; font-weight: 600; }
.datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.datos b { display: block; font-size: 17px; margin-top: 2px; }

/* Noticias */
.nota-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); padding: 14px 14px 12px; margin: 10px 0; }
.num-nota { font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: 28px; font-weight: 600; color: var(--oro); line-height: 1; }
.tit-nota { margin: 0 0 6px; color: var(--texto); font-size: 17px; line-height: 1.3; font-weight: 650; }
.res-nota { margin: 0; color: #c9cfdb; font-size: 15px; line-height: 1.45; }
.pie-nota { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; }
.chip-t { background: var(--tarjeta-2); border: 1px solid var(--borde); border-radius: 99px; padding: 5px 10px; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 32px; }
.fuente { margin-left: auto; font-size: 13px; color: var(--azul); text-decoration: none; }
.segmento { display: grid; grid-template-columns: 1fr 1fr; background: var(--tarjeta); border: 1px solid var(--borde); border-radius: 12px; padding: 4px; margin: 4px 0 10px; }
.segmento button { background: none; border: 0; border-radius: 9px; padding: 10px; min-height: 42px; font-weight: 600; color: var(--tenue); cursor: pointer; }
.segmento button.activo { background: var(--tarjeta-2); color: var(--texto); }
/* Marca Harlynk Prime */
.bloqueo h1.marca { font-family: "Montserrat", "Avenir Next", "Helvetica Neue", system-ui, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 4px; color: #fff; margin: 16px 0 2px; }
.bloqueo h1.marca span { font-style: italic; font-weight: 500; color: #8a7cf0; }
.bloqueo .por { margin: 0 0 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #8f8bb0; }
/* Prime */
:root { --prime: #7b5cff; --prime-osc: #1e1752; }
.nav button[data-v="prime"].activo { color: #a99bff; }
.btn.prime { background: var(--prime); color: #fff; }
.insignia { display: inline-flex; align-items: center; gap: 6px; color: #a99bff; font-weight: 600; }
.insignia svg { width: 16px; height: 16px; }
.prime-hero { text-align: center; padding: 18px 12px 6px; }
.prime-hero img { width: 76px; height: 76px; border-radius: 18px; }
.prime-hero p { color: var(--tenue); margin: 4px 0 0; }
.marca-p { font-family: "Montserrat", "Avenir Next", "Helvetica Neue", system-ui, sans-serif; font-weight: 800; letter-spacing: 4px; font-size: 24px; margin: 12px 0 2px; color: #fff; }
.marca-p span { font-style: italic; font-weight: 500; color: #8a7cf0; }
.beneficio { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-bottom: 1px solid var(--borde); }
.beneficio:last-child { border-bottom: 0; }
.beneficio svg { width: 22px; height: 22px; color: #a99bff; flex: none; margin-top: 2px; }
.beneficio p { margin: 2px 0 0; font-size: 14px; }
.precio-prime { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.precio-prime b { font-size: 20px; }
.prime-candado { display: flex; gap: 12px; align-items: flex-start; border-color: var(--prime); }
.prime-candado svg { width: 22px; height: 22px; color: #a99bff; flex: none; margin-top: 2px; }
.prime-candado p { margin: 4px 0 0; }
.cupo { margin: -2px 0 10px; text-align: center; font-size: 13px; }
.top3 { display: flex; gap: 14px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--borde); color: inherit; padding: 14px; cursor: pointer; font: inherit; }
.top3:last-child { border-bottom: 0; }
.top3 .rango { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--prime-osc); color: #fff; font-weight: 800; border: 1px solid var(--prime); }
.top3 .cuerpo { flex: 1; min-width: 0; }
.top3 .tesis { margin: 6px 0; font-size: 14px; color: var(--tenue); }
.cifras-top { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--tenue); margin-top: 6px; }
.cifras-top b { color: var(--texto); }
.cifras-top .t-verde b, .cifras-top .sube b { color: #16c45a; } .cifras-top .t-rojo b, .cifras-top .baja b { color: #ff5a6e; } .cifras-top .t-amar b { color: #f2b705; }
.alerta { padding: 14px; border-bottom: 1px solid var(--borde); }
.alerta:last-child { border-bottom: 0; }
.alerta h3 { margin: 4px 0; font-size: 16px; }
.alerta p { margin: 0; font-size: 14px; color: var(--tenue); }
.fecha-a { font-size: 12px; color: #a99bff; }
/* Registro, código de 4 dígitos y tutorial */
.puntos { display: flex; gap: 18px; justify-content: center; margin: 18px 0 6px; }
.puntos span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #8a7cf0; transition: background .15s; }
.puntos span.lleno { background: #8a7cf0; }
.chico { font-size: 14px; margin: 4px 0 10px; }
.izq { text-align: left; }
.onb { text-align: center; }
.onb h2 { margin: 18px 0 6px; font-size: 22px; }
.onb label { display: block; text-align: left; margin: 12px 0 6px; }
.onb select, .tarjeta select { width: 100%; font-size: 16px; padding: 14px; border-radius: 14px; background: #151a23; color: var(--texto); border: 1px solid var(--borde); margin: 10px 0 14px; }
.portada .lema { font-size: 20px; line-height: 1.4; color: #dcd9ee; margin: 18px 6px 28px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--tenue); margin: 16px 0 6px !important; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: #7b5cff; }
.bio-ic, .tuto-ic { width: 84px; height: 84px; margin: 22px auto 4px; border-radius: 24px; display: grid; place-items: center; background: #1e1752; color: #a99bff; border: 1px solid #7b5cff; }
.bio-ic svg, .tuto-ic svg { width: 44px; height: 44px; }
.tutorial { padding-top: 40px; position: relative; }
.tuto-txt { font-size: 17px; line-height: 1.55; color: #cfcce3; margin: 6px 4px 22px; min-height: 130px; }
.pasos-t { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.pasos-t span { width: 8px; height: 8px; border-radius: 4px; background: #34305a; transition: width .2s; }
.pasos-t span.act { width: 24px; background: #8a7cf0; }
.saltar { position: absolute; top: 12px; right: 0; background: none; border: 0; color: var(--tenue); font: inherit; padding: 10px; cursor: pointer; }
.onb input[type="email"], .onb input[type="password"], .onb input[type="text"] { letter-spacing: normal; font-size: 16px; text-align: left; padding: 14px; width: 100%; box-sizing: border-box; }
/* Versión web (computador): barra lateral y contenido más ancho */
.nav-marca { display: none; }
@media (min-width: 960px) {
  body { padding: 0 0 40px 240px; }
  .nav { top: 0; right: auto; width: 240px; grid-template-columns: 1fr; align-content: start; gap: 4px; border-top: 0; border-right: 1px solid var(--borde); padding: 22px 14px; }
  .nav-marca { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; }
  .nav-marca img { width: 36px; height: 36px; border-radius: 9px; }
  .nav-marca b { font-family: "Montserrat", "Avenir Next", "Helvetica Neue", system-ui, sans-serif; font-weight: 800; letter-spacing: 2px; font-size: 15px; color: #fff; white-space: nowrap; }
  .nav-marca i { font-weight: 500; color: #8a7cf0; }
  .nav button { grid-template-columns: 24px 1fr; justify-items: start; align-items: center; gap: 12px; font-size: 15px; padding: 10px 12px; min-height: 46px; border-radius: 12px; text-align: left; }
  .nav button:hover { background: var(--tarjeta); color: var(--texto); }
  .nav button.activo { background: var(--tarjeta); }
  .cabeza, .volver { max-width: 1100px; margin-inline: auto; box-sizing: border-box; }
  .volver { display: block; width: 100%; text-align: left; }
  .cabeza { padding: 34px 28px 10px; }
  .cabeza h1 { font-size: 40px; }
  .contenedor { max-width: 1100px; padding: 0 28px; }
  .indices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; max-width: 1100px; margin: 0 auto; padding: 14px 28px 4px; box-sizing: border-box; }
  .indice { min-width: 0; }
  .mapa { height: min(62vh, 680px); }
  .menu { top: 80px; right: max(16px, calc((100vw - 240px - 1100px) / 2 + 28px)); }
  .bloqueo { padding-top: 10vh; }
  body.tuto .nav, body:not(:has(.nav)) { padding-left: 0; }
}
