/* VER ARQUITECTURA · navegación, ampliación de imágenes y pantallas grandes */

/* Pantallas grandes: el sitio escala completo para no verse pequeño */
@media (min-width: 1680px) { html { zoom: 1.12; } }
@media (min-width: 1920px) { html { zoom: 1.25; } }
@media (min-width: 2300px) { html { zoom: 1.45; } }
@media (min-width: 2800px) { html { zoom: 1.75; } }
@media (min-width: 3400px) { html { zoom: 2.1; } }

/* Imágenes que se pueden ampliar */
img.ux-zoom { cursor: zoom-in; transition: filter .25s ease; }
img.ux-zoom:hover { filter: brightness(1.06); }

/* Visor de imágenes */
.ux-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(10,10,10,.95); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 64px 76px 120px; }
.ux-lb.open { display: flex; }
.ux-lb .ux-im { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.ux-lb .ux-cap { position: absolute; left: 20px; right: 20px; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; font: 400 14px Inter, system-ui, sans-serif; }
.ux-lb .ux-cap b { font: 600 18px Oswald, sans-serif; text-transform: uppercase; letter-spacing: .4px; }
.ux-lb .ux-cap .ux-n { color: #BDB7AD; font-size: 12px; }
.ux-lb .ux-acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ux-lb .ux-acts a { font: 600 14px Inter, system-ui, sans-serif; text-decoration: none; border-radius: 6px; padding: 10px 16px; }
.ux-lb .ux-acts .ux-go { background: #F39C1F; color: #111; }
.ux-lb .ux-acts .ux-more { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.ux-lb .ux-b { position: absolute; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 50px; cursor: pointer; }
.ux-lb .ux-b:hover { background: rgba(255,255,255,.22); }
.ux-lb .ux-x { top: 14px; right: 14px; }
.ux-lb .ux-p { left: 14px; top: calc(50% - 25px); }
.ux-lb .ux-nx { right: 14px; top: calc(50% - 25px); }
@media (max-width: 760px) {
  .ux-lb { padding: 60px 8px 150px; }
  .ux-lb .ux-p, .ux-lb .ux-nx { top: auto; bottom: 96px; }
  .ux-lb .ux-cap b { font-size: 16px; }
}

/* Servicios de la portada: tarjetas que llevan al detalle */
.ux-svc { cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.ux-svc:hover { transform: translateY(-2px); }
.ux-svc-more { display: inline-block; margin-top: 10px; font: 600 13px Inter, system-ui, sans-serif; color: #F39C1F; text-decoration: none; }
.ux-svc-more:hover { text-decoration: underline; }
a.ux-tlink { color: inherit; text-decoration: none; }
a.ux-tlink:hover { text-decoration: underline; text-decoration-color: #F39C1F; text-underline-offset: 4px; }

/* Fotos de las páginas de proyecto: sin deformarse y nítidas */
.pp-it img { height: auto !important; aspect-ratio: auto !important; object-fit: cover; }
