/* Tour 360 de la web (a partir de la maqueta 128 «Panel flotante»). Panorámica a sangre + panel de cristal plegable a riel. Sin build. */
:root {
  --fg: #0a0a0a; --muted: #555; --line: rgba(10, 10, 10, .12); --signal: #e63312; --hover: rgba(10, 10, 10, .06);
  --vidrio: rgba(255, 255, 255, .96);
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: 24px;
  --peek: 84px;
  --gap: 16px;
  --col: clamp(300px, 25vw, 380px);
  --rail: 58px;
  --pw: var(--col);
  --fade: 1000ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sombra: 0 0 0 1px rgba(10, 10, 10, .1), 0 10px 40px rgba(0, 0, 0, .22), 0 1px 3px rgba(0, 0, 0, .16);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
body { background: #cfcfcf; color: var(--fg); font: 400 15px/1.45 var(--font); -webkit-text-size-adjust: 100%; }
p, dl, dd, ol, figure, h1 { margin: 0; padding: 0; }
ol { list-style: none; }
button, select { font: inherit; color: inherit; }
h1 { font-size: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }

.solo-lectores { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--fg); color: #fff; padding: 10px 16px; font-weight: 500; }
.saltar:focus { top: 8px; }
.sin-trans, .sin-trans * { transition: none !important; }

.app { position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.app[data-plegado="true"] { --pw: var(--rail); }

/* cristal casi opaco (blanco .96): se lee igual sobre cualquier imagen y no deja manchas grises; opaco si no hay desenfoque */
.col, .pie-img, .mandos, .mosca {
  background: rgba(255, 255, 255, .97);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .col, .pie-img, .mandos, .mosca {
    background: var(--vidrio);
    -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  }
}

/* ---------- panel ---------- */
.col { position: absolute; z-index: 5; display: flex; flex-direction: column; min-height: 0; border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--sombra); overflow: hidden; }
.sheet-head { display: none; }
.col-cuerpo { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.riel { display: none; }
.plegar { display: none; }

.col-top { display: flex; align-items: center; padding: 20px var(--pad) 0; min-height: 58px; }
.marca { white-space: nowrap; flex: none; font-weight: 500; font-size: 15px; letter-spacing: -.005em; text-decoration: none; }
.marca:hover { text-decoration: underline; text-underline-offset: .25em; }

/* selector de tour: el título es el botón; la lista se despliega bajo él */
.tour-sel { position: relative; }
.tour-h { font-size: inherit; font-weight: inherit; }
.tour-btn { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 0; border-radius: 4px; }
.tour-tit { font-weight: 500; font-size: clamp(25px, 2.1vw, 30px); line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; }
.tour-chev { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: 1px; border: 1px solid var(--fg); border-radius: 50%; transition: background-color .15s, color .15s; }
.tour-chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; transition: transform .25s var(--ease); }
.tour-btn:hover .tour-chev, .abierto .tour-chev { background: var(--fg); color: #fff; }
.abierto .tour-chev svg { transform: rotate(180deg); }
.tour-btn:focus-visible { outline-offset: 5px; }
.solo-uno .tour-chev { display: none; }
.solo-uno .tour-btn { cursor: default; }
.tour-menu { position: absolute; left: -8px; right: -8px; top: calc(100% + 12px); z-index: 6; margin: 0; padding: 6px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(10, 10, 10, .12), 0 14px 40px rgba(0, 0, 0, .24); }
.tour-op { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 6px; text-decoration: none; position: relative; transition: background-color .15s; }
.tour-op img { width: 76px; height: 48px; object-fit: cover; background: var(--hover); display: block; }
.tour-op-t { display: block; min-width: 0; }
.tour-op-n { display: block; font-weight: 500; font-size: 15px; line-height: 1.25; letter-spacing: -.005em; }
.tour-op-s { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); margin-top: 2px; }
.tour-op:hover, .tour-op:focus-visible { background: var(--hover); }
.tour-op[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--signal); border-radius: 2px; }
.tour-op[aria-current="true"] .tour-op-n { color: var(--signal); }
.tour-op:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }

.ficha { padding: 22px var(--pad) 18px; }
.sub { margin-top: 10px; color: var(--muted); font-size: 15px; }
.datos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 18px; }
.datos div { min-width: 0; }
.datos dt { font: 400 11.5px/1.2 var(--mono); color: var(--muted); margin-bottom: 4px; }
.datos dd { font-size: 14px; line-height: 1.3; }

.zonas { display: flex; flex-direction: column; min-height: 0; flex: 1; }

/* plano */
.plano { padding: 16px var(--pad) 14px; border-top: 1px solid var(--line); flex: none; }
.plano-caja {
  --ar: 1.5; --maxh: 32dvh; position: relative; aspect-ratio: var(--ar); isolation: isolate;
  width: min(100%, calc(var(--maxh) * var(--ar)));
}
.plano-caja img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.25); }
.plano-puntos { position: absolute; inset: 0; }
.cono { position: absolute; left: 0; top: 0; width: 140px; height: 140px; margin: -70px 0 0 -70px; pointer-events: none; overflow: visible; z-index: 1; opacity: 0; transition: left .6s var(--ease), top .6s var(--ease), opacity .3s; will-change: transform; }
.cono.on { opacity: 1; }

.pt {
  position: absolute; z-index: 2; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: #fff; border: 1px solid var(--fg); font: 400 11px/1 var(--mono); display: grid; place-items: center;
  transition: background-color .15s, color .15s, transform .2s var(--ease);
}
.densa .pt { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10px; }
.pt:hover, .pt[data-eco="true"] { background: var(--fg); color: #fff; }
.pt[aria-current="true"] { background: var(--signal); border-color: var(--signal); color: #fff; transform: scale(1.12); z-index: 3; }
.pt:focus-visible { outline-offset: 2px; }
.pt-tip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  background: var(--fg); color: #fff; font: 400 12px/1 var(--font); padding: 6px 8px; opacity: 0; transition: opacity .15s; z-index: 5;
}
.pt[data-lado="i"] .pt-tip { left: 0; transform: none; }
.pt[data-lado="d"] .pt-tip { left: auto; right: 0; transform: none; }
.pt:hover .pt-tip, .pt:focus-visible .pt-tip { opacity: 1; }

/* lista */
.lista-nav { flex: 1; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); scrollbar-width: thin; padding: 6px 0; }
.fila { display: grid; grid-template-columns: 38px 1fr; align-items: baseline; width: 100%; text-align: left; padding: 8px var(--pad); position: relative; transition: background-color .15s; }
.fila .num { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.fila .nom { font-size: 15px; line-height: 1.3; }
.fila:hover, .fila[data-eco="true"], .fila[aria-current="true"] { background: var(--hover); }
.fila[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--signal); }
.fila[aria-current="true"] .nom { font-weight: 500; }
.fila[aria-current="true"] .num { color: var(--signal); }
.fila:focus-visible { outline-offset: -3px; }

/* lista con miniaturas (tour sin plano) */
.lista--minis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 16px var(--pad); }
.lista--minis .fila { display: block; padding: 0; background: none !important; }
.lista--minis .fila::before { display: none; }
.lista--minis .mini { position: relative; display: block; aspect-ratio: 8 / 5; background: var(--hover); overflow: hidden; outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.lista--minis .mini img { width: 100%; height: 100%; object-fit: cover; }
.lista--minis .mini .num { position: absolute; left: 0; top: 0; background: #fff; color: var(--fg); padding: 4px 6px; font: 400 11px/1 var(--mono); }
.lista--minis .fila[aria-current="true"] .mini { outline: 2px solid var(--signal); }
.lista--minis .fila[aria-current="true"] .mini .num { background: var(--signal); color: #fff; }
.lista--minis .nom { display: block; margin-top: 7px; font-size: 14px; }
.lista--minis .fila:hover .mini { outline-color: var(--fg); }
.lista--minis .fila:focus-visible { outline-offset: 3px; }

.ayuda { flex: none; padding: 11px var(--pad) 13px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ---------- escena ---------- */
.escena { position: absolute; inset: 0; background: #cfcfcf; overflow: hidden; }
.avance { position: absolute; inset: 0; background: center / cover no-repeat; transition: opacity .5s ease; z-index: 0; }
.avance.fuera { opacity: 0; pointer-events: none; }
#visor { position: absolute; inset: 0; z-index: 1; touch-action: none; }
#visor:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.pv { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity var(--fade) ease, visibility 0s linear var(--fade); }
.pv.on { opacity: 1; visibility: visible; z-index: 2; transition: opacity var(--fade) ease, visibility 0s; }
.pv.sale { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.pnlm-container { background: transparent !important; font-family: var(--font) !important; }
.pnlm-load-box, .pnlm-about-msg, .pnlm-controls-container, .pnlm-panorama-info, .pnlm-hot-spot-debug-indicator, .pnlm-compass, .pnlm-lbox { display: none !important; }
.pnlm-container:focus { outline: none; }

.cargando { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden; z-index: 4; opacity: 0; transition: opacity .25s; pointer-events: none; }
.cargando.on { opacity: 1; transition-delay: .3s; }
.cargando::before { content: ""; position: absolute; top: 0; bottom: 0; width: 38%; background: var(--signal); animation: corre 1.1s var(--ease) infinite; }
@keyframes mosca-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes corre { from { left: -40%; } to { left: 102%; } }
.error { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 420px; background: #fff; padding: 20px 24px; z-index: 6; }

/* placa de escena y controles: cristal, como el panel */
.pie-img {
  position: absolute; bottom: var(--gap); z-index: 4; padding: 12px 20px 12px 18px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--sombra);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; align-items: baseline; pointer-events: none;
}
.pie-n { font: 400 12px/1 var(--mono); color: var(--signal); grid-row: 1; }
.pie-nom { font-weight: 500; font-size: 17px; letter-spacing: -.01em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pie-cred { grid-column: 2; font-size: 12.5px; line-height: 1.3; color: var(--muted); margin-top: 4px; }
.pie-cred:empty { display: none; }

.mandos { position: absolute; right: var(--gap); bottom: var(--gap); z-index: 4; display: flex; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--sombra); overflow: hidden; }
.ic { display: grid; place-items: center; width: 44px; height: 44px; position: relative; transition: background-color .15s, color .15s; }
.mandos .ic + .ic::before { content: ""; position: absolute; left: 0; top: 13px; bottom: 13px; width: 1px; background: var(--line); }
.ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; stroke-linejoin: miter; }
.ic:hover { background: var(--fg); color: #fff; }
.ic[aria-pressed="true"] { background: var(--signal); color: #fff; }
.ic:focus-visible { outline-offset: -5px; outline-color: var(--signal); }

/* ---------- mosca del plano (panel plegado, escritorio) ---------- */
.mosca { display: none; }
.mosca-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 4px 4px; }
.mosca-rot { font: 400 11.5px/1 var(--mono); color: var(--muted); }
.mosca-bt { display: flex; }
.ic-s { width: 36px; height: 36px; border-radius: 6px; }
.ic-s svg { width: 18px; height: 18px; }
.mosca .plano { padding: 0; border: 0; }
.mosca .plano-caja { --mh: 170px; width: calc(min(var(--mh), 36dvh) * var(--ar)); }
.mosca[data-grande="true"] .plano-caja { --mh: 280px; }
.mosca .cono { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.mosca[data-grande="true"] .cono { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
.mosca .pt { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 10px; }
.mosca .densa .pt { width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px; font-size: 9px; }
.mosca[data-grande="true"] .pt { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11px; }
.mosca[data-grande="true"] .densa .pt { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 10px; }

/* ---------- saltos en la panorámica (etiqueta + flecha, como la 126) ---------- */
.salto-base { width: 0; height: 0; }
.salto-punto { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.34), inset 0 0 0 1px rgba(0,0,0,.24); pointer-events: none; }
.salto-tallo { position: absolute; left: -.5px; bottom: 7px; width: 1px; height: 20px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.3); pointer-events: none; }
.salto {
  position: absolute; left: 0; bottom: 27px; transform: translateX(-50%); white-space: nowrap;
  display: flex; align-items: center; gap: 10px; background: #fff; color: var(--fg); padding: 9px 12px;
  font: 500 13.5px/1 var(--font); letter-spacing: -.005em; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 4px 14px rgba(0,0,0,.2);
  transition: background-color .15s, color .15s;
}
.salto-n { font: 400 11px/1 var(--mono); color: var(--muted); }
.salto svg { width: 28px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1; flex: none; transition: transform .25s var(--ease); }
.salto:hover, .salto:focus-visible { background: var(--fg); color: #fff; }
.salto:hover .salto-n, .salto:focus-visible .salto-n { color: #fff; }
.salto:hover svg, .salto:focus-visible svg { transform: translateX(4px); }
.salto:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ---------- escritorio: panel flotante y riel ---------- */
@media (min-width: 900px) {
  .mosca:not([hidden]) {
    display: block; position: absolute; right: var(--gap); bottom: calc(var(--gap) + 44px + 12px); z-index: 4; padding: 6px 10px 10px;
    border-radius: 8px; border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--sombra); animation: mosca-in .35s var(--ease) both;
  }
  .col {
    left: var(--gap); top: var(--gap); width: var(--pw); border-radius: 8px;
    height: calc(100vh - 2 * var(--gap)); height: calc(100dvh - 2 * var(--gap));
    transition: width .5s var(--ease), height .5s var(--ease);
  }
  .app[data-plegado="true"] .col {
    height: min(calc(100dvh - 2 * var(--gap)), calc(var(--n, 8) * 38px + 78px));
  }
  .col-cuerpo { position: absolute; left: 0; top: 0; bottom: 0; width: var(--col); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; transition: opacity .3s ease .12s, visibility 0s; }
  .col-top { padding-right: 64px; }
  .app[data-plegado="true"] .col-cuerpo { opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }

  .plegar { display: grid; place-items: center; position: absolute; z-index: 2; top: 10px; right: 9px; width: 40px; height: 40px; border-radius: 50%; transition: background-color .15s, color .15s; }
  .plegar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: square; transition: transform .5s var(--ease); }
  .plegar:hover { background: var(--fg); color: #fff; }
  .plegar:focus-visible { outline-offset: 0; outline-color: var(--signal); }
  .app[data-plegado="true"] .plegar svg { transform: rotate(180deg); }

  .riel { display: block; position: absolute; left: 0; top: 58px; bottom: 8px; width: var(--rail); overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
  .riel::-webkit-scrollbar { display: none; }
  .app[data-plegado="true"] .riel { opacity: 1; visibility: visible; transition: opacity .3s ease .2s, visibility 0s; }
  .riel ol { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; border-top: 1px solid var(--line); margin: 0 9px; }
  .rn { width: 38px; height: 34px; display: grid; place-items: center; border-radius: 6px; font: 400 11.5px/1 var(--mono); color: var(--fg); transition: background-color .15s, color .15s; }
  .rn:hover, .rn[data-eco="true"] { background: var(--hover); }
  .rn[aria-current="true"] { background: var(--signal); color: #fff; }
  .rn:focus-visible { outline-offset: 1px; }

  .pie-img { left: calc(var(--gap) * 2 + var(--pw)); max-width: calc(100vw - var(--pw) - var(--gap) * 4 - 240px); transition: left .5s var(--ease); }
}
@media (min-width: 900px) and (max-width: 1099px) { .pie-cred { display: none; } }
@media (min-width: 900px) and (max-height: 700px) {
  .ficha { padding-top: 16px; padding-bottom: 10px; } .datos { margin-top: 10px; } .plano-caja { --maxh: 28dvh; }
}

/* ---------- móvil y tableta: hoja inferior de cristal ---------- */
@media (max-width: 899px) {
  :root { --pad: 20px; }
  .col {
    left: 0; right: 0; bottom: 0; position: fixed; z-index: 10; height: min(82dvh, 720px); border-radius: 16px 16px 0 0; border-bottom: 0;
    transform: translateY(calc(100% - var(--peek) - env(safe-area-inset-bottom))); transition: transform .38s var(--ease); will-change: transform;
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 30px rgba(0, 0, 0, .2);
  }
  .col[data-abierto="true"] { transform: translateY(0); box-shadow: 0 -20px 50px rgba(0, 0, 0, .28); }
  .col.arrastrando { transition: none; }
  .sheet-head { display: flex; align-items: stretch; height: var(--peek); flex: none; touch-action: none; user-select: none; -webkit-user-select: none; }
  .sheet-grab { flex: 1; min-width: 0; text-align: left; padding: 22px 0 0 var(--pad); position: relative; display: block; }
  .sheet-barra { position: absolute; left: 50%; top: 9px; width: 44px; height: 4px; margin-left: -22px; border-radius: 2px; background: var(--fg); opacity: .6; }
  .sheet-txt { display: flex; align-items: baseline; gap: 12px; min-width: 0; margin-top: 6px; }
  .sheet-n { font: 400 12px/1 var(--mono); color: var(--signal); flex: none; }
  .sheet-nom { font-weight: 500; font-size: 18px; letter-spacing: -.01em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sheet-nav { display: flex; align-items: center; padding: 14px 8px 0 0; }
  .sheet-nav .ic svg { width: 22px; height: 22px; }
  .sheet-grab:focus-visible { outline-offset: -4px; }
  .col-cuerpo { overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
  .col-top { padding-top: 14px; }
  .ficha { padding-top: 20px; }
  .zonas { flex: none; }
  .plano-caja { --maxh: 34dvh; }
  .lista-nav { overflow: visible; flex: none; }
  .fila { padding-top: 11px; padding-bottom: 11px; }
  .pt { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .densa .pt { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .ayuda { display: none; }
  .pie-img, .mandos .ic-nav, .mandos .ic-zoom { display: none; }
  .mandos { right: 12px; top: calc(12px + env(safe-area-inset-top)); bottom: auto; }
  .mandos .ic { width: 44px; height: 44px; }
  .mandos .ic + .ic::before { display: none; }
  .salto { font-size: 13px; padding: 8px 10px; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .zonas { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .lista-nav { border-left: 1px solid var(--line); }
  .sin-plano .zonas { display: block; }
}
@media (pointer: coarse) { .ayuda { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  .cargando::before { left: 0; width: 100%; }
}

/* ---------- pie del panel: ayuda + volver a Servicios ---------- */
.col-pie { flex: none; border-top: 1px solid var(--line); }
.col-pie .ayuda { border-top: 0; padding-bottom: 6px; }
.volver { display: inline-flex; align-items: center; gap: 10px; margin: 0 var(--pad) 14px; padding: 4px 0; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.volver svg { width: 26px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1; transition: transform .25s var(--ease); }
.volver:hover { text-decoration: underline; text-underline-offset: .25em; }
.volver:hover svg { transform: translateX(-4px); }
.volver:focus-visible { outline-offset: 2px; }
.pie-enl { display: flex; flex-wrap: wrap; column-gap: 22px; padding: 0 var(--pad); }   /* el margen lateral lo pone el contenedor: también si el segundo enlace baja de línea */
.pie-enl .volver:not([hidden]) { display: inline-flex; }
.pie-enl .volver { margin-left: 0; margin-right: 0; }
.ver-proyecto:hover svg { transform: translateX(4px); }
.col-pie .ayuda + .pie-enl .volver { margin-top: 4px; }
@media (pointer: coarse) { .col-pie .volver { margin-top: 12px; } }
.ver-proyecto[hidden] { display: none; }

/* zonas táctiles (puntero grueso): marca del panel y saltos de la panorámica a 40 px de alto (los .pt del plano no se tocan) */
@media (pointer: coarse) {
  .col-top .marca { display: inline-flex; align-items: center; min-height: 40px; margin-block: -9px; }
  .salto { min-height: 40px; }
}
