/* Volver arriba — floating button (back-to-top.js creates it; loaded on every page by docs/render-back-to-top.cjs).
   Same treatment as the Home hero's "Explora soluciones" button (compact-sections.css: .hero-actions .button.secondary):
   a top-to-bottom translucent white gradient, a thin rgba(255,255,255,.12) border, blur(18px), no shadow; on hover the
   gradient brightens a little and the button lifts 2px. Values use the site's --glass-border / --glass-blur when a page
   defines them, with the same values as fallback. Only addition: a very light dark base under the glass, so the white
   arrow stays legible where the button floats over photos or light areas. */
.gv-top{position:fixed;right:max(24px,calc(env(safe-area-inset-right) + 16px));bottom:max(24px,calc(env(safe-area-inset-bottom) + 16px));z-index:90;
  display:grid;place-items:center;width:48px;height:48px;margin:0;padding:0;border:1px solid var(--glass-border,rgba(255,255,255,.12));border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.03) 100%),rgba(0,1,14,.28);
  -webkit-backdrop-filter:blur(var(--glass-blur,18px));backdrop-filter:blur(var(--glass-blur,18px));
  color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .28s ease,transform .35s ease,visibility 0s linear .35s,background .35s ease}
.gv-top.is-visible{opacity:1;visibility:visible;transform:none;transition:opacity .28s ease,transform .35s ease,visibility 0s,background .35s ease}
.gv-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@media (hover:hover) and (pointer:fine){
  .gv-top.is-visible:hover{transform:translateY(-2px);background:linear-gradient(180deg,rgba(255,255,255,.15) 0%,rgba(255,255,255,.05) 100%),rgba(0,1,14,.28)}
}
.gv-top:focus-visible{outline:2px solid #00b0d1;outline-offset:5px}

@media (max-width:700px){
  .gv-top{right:max(16px,calc(env(safe-area-inset-right) + 12px));bottom:max(16px,calc(env(safe-area-inset-bottom) + 12px));width:44px;height:44px;border-radius:11px}
  .gv-top svg{width:18px;height:18px}
}
@media (prefers-reduced-motion:reduce){
  .gv-top,.gv-top.is-visible{transform:none;transition:opacity .2s ease,visibility 0s}
  .gv-top.is-visible:hover{transform:none}
}
