/* =========================================================
   IKONNIKK · Obras: servicios y proyectos expuestos como cuadros
   (todas las páginas). Composiciones de build/obras.mjs.
   · El cuadro (.obra__lienzo) tiene su proporción (--r) y es un
     contenedor; la escena (.obra__escena) se ajusta dentro y mide
     todo en em (1em = 1/100 del ancho de la escena).
   · public/m/obras.js pone .is-viva en pantalla (las animaciones
     se pausan fuera) y escribe --mx/--my con el ratón (parallax
     por capas: --p = profundidad).
   · Regla de oro de las animaciones: el estado base es el final
     visible; los keyframes son los que esconden. Así, con
     movimiento reducido, cada cuadro queda como una imagen fija.
   Índice: cuadro · piezas comunes · 9 obras · sala (home) ·
   exposición (/servicios) · galería (/proyectos) · portadas · móvil
   ========================================================= */

/* ---------- El cuadro ---------- */
.obra { --mx: 0; --my: 0; --r: 1 / 1; position: relative; }
.obra--ancho { --r: 16 / 10; }
.obra--vertical { --r: 4 / 5; }
.obra--cuadro { --r: 1 / 1; }
.obra--panorama { --r: 21 / 10; }
.obra__lienzo {
  position: relative; aspect-ratio: var(--r); border-radius: 12px; overflow: hidden; isolation: isolate; container-type: size;
  background: radial-gradient(120% 90% at 50% 0%, #201d1b 0%, #151311 55%, #0f0e0d 100%);
  box-shadow: inset 0 0 0 1px rgba(242, 237, 230, 0.08), 0 50px 100px -60px rgba(0, 0, 0, 0.95);
  transition: transform 0.9s var(--ease-out), box-shadow 0.9s var(--ease-out);
}
.obra__escena {
  position: absolute; left: 50%; top: 50%; width: min(96cqw, 110cqh); aspect-ratio: 100 / 87; translate: -50% -50%;
  font-size: calc(min(96cqw, 110cqh) / 100); font-family: var(--n-fonte); font-stretch: 104%; line-height: 1.35; color: var(--n-texto);
}
/* En vertical la escena crece y se recorta un poco por los lados: llena el cuadro */
.obra--vertical .obra__escena { width: min(122cqw, 110cqh); font-size: calc(min(122cqw, 110cqh) / 100); }
.obra--vertical .o-chat__rapido { left: 11%; top: 26%; }
.obra--vertical .o-chat__canales { right: 10%; top: 60%; }
.obra--vertical .o-ads__diana { left: 70%; }
.obra__escena > [style*="--p"] { position: absolute; translate: calc(var(--mx) * var(--p) * 3em) calc(var(--my) * var(--p) * 3em); transition: translate 0.8s var(--ease-out); }
.obra__luz { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.6s; background: radial-gradient(420px circle at calc((var(--mx) + 0.5) * 100%) calc((var(--my) + 0.5) * 100%), rgba(79, 209, 197, 0.09), transparent 60%); }
.obra p { margin: 0; }
.obra svg { overflow: visible; }

/* Las animaciones solo corren con el cuadro en pantalla */
.obra:not(.is-viva) *, .obra:not(.is-viva) *::before, .obra:not(.is-viva) *::after { animation-play-state: paused !important; }

/* ---------- Piezas comunes ---------- */
.o-palavra { font-stretch: 125%; font-weight: 600; font-size: 30em; line-height: 0.8; letter-spacing: -0.045em; white-space: nowrap; color: rgba(242, 237, 230, 0.045); user-select: none; }
.o-halo { width: 64em; height: 64em; margin: -32em 0 0 -32em; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 209, 197, 0.17), rgba(90, 169, 240, 0.06) 55%, transparent); }
.o-halo--grande { width: 90em; height: 90em; margin: -45em 0 0 -45em; }
.o-ventana { background: linear-gradient(180deg, rgba(38, 35, 33, 0.94), rgba(22, 20, 18, 0.96)); border: 1px solid rgba(242, 237, 230, 0.12); border-radius: 1.6em; overflow: hidden; box-shadow: 0 3em 6em -2em rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(242, 237, 230, 0.06); }
.o-ventana__barra { display: flex; align-items: center; gap: 0.9em; height: 5em; padding: 0 1.8em; border-bottom: 1px solid rgba(242, 237, 230, 0.08); }
.o-ventana__barra > i { width: 1.1em; height: 1.1em; border-radius: 50%; background: rgba(242, 237, 230, 0.16); }
.o-url { display: flex; align-items: center; gap: 0.5em; margin: 0 auto; padding: 0.35em 1.1em; border-radius: 99em; background: rgba(242, 237, 230, 0.06); font-size: 1.6em; color: var(--n-sec); }
.o-candado { width: 0.5em; height: 0.5em; border-radius: 0.15em; background: var(--n-luz); }
.o-movil { border-radius: 3.6em; background: linear-gradient(180deg, #1e1c1a, #131210); border: 0.55em solid #282522; padding: 4.4em 1.9em 2em; overflow: hidden; box-shadow: 0 3em 6em -2em rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(242, 237, 230, 0.06); }
.o-movil__isla { position: absolute; top: 1.3em; left: 50%; width: 9em; height: 2.2em; margin-left: -4.5em; border-radius: 2em; background: #0a0908; }
.o-sk { display: block; height: 1.1em; margin: 0 0 0.9em; border-radius: 0.6em; background: rgba(242, 237, 230, 0.13); }
.o-sk--fina { height: 0.8em; background: rgba(242, 237, 230, 0.08); }
.o-sk--titulo { height: 2.2em; border-radius: 0.8em; background: rgba(242, 237, 230, 0.2); }
.o-sk--luz { background: var(--n-grad); box-shadow: 0 0 1.4em rgba(79, 209, 197, 0.35); }
.o-dot { display: inline-block; flex: none; width: 1em; height: 1em; border-radius: 50%; background: rgba(242, 237, 230, 0.3); }
.o-dot--luz { background: var(--n-grad); box-shadow: 0 0 0.8em rgba(79, 209, 197, 0.8); }
.o-dot--vivo { animation: oRespira 2.4s ease-in-out infinite; }
.o-avatar { display: block; flex: none; width: 3.4em; height: 3.4em; border-radius: 50%; background: linear-gradient(135deg, #3b3734, #24211f); box-shadow: inset 0 0 0 1px rgba(242, 237, 230, 0.1); }
.o-avatar--luz { background: var(--n-grad); box-shadow: 0 0 1.4em rgba(79, 209, 197, 0.45); }
.o-tag { display: inline-flex; align-items: center; flex: none; padding: 0.25em 0.75em; border-radius: 99em; font-size: 1.35em; font-weight: 600; color: var(--n-luz); border: 1px solid rgba(79, 209, 197, 0.5); background: rgba(79, 209, 197, 0.08); white-space: nowrap; }
.o-chip { display: inline-flex; align-items: center; gap: 0.55em; padding: 0.55em 0.95em; border-radius: 99em; font-size: 1.75em; white-space: nowrap; color: var(--n-texto); background: rgba(28, 26, 24, 0.9); border: 1px solid rgba(242, 237, 230, 0.13); box-shadow: 0 1.2em 2.4em -0.8em rgba(0, 0, 0, 0.7); }
.o-chip .o-dot { width: 0.5em; height: 0.5em; }
.o-chip--mini { margin-left: auto; font-size: 1.3em; box-shadow: none; }
.o-aviso { display: flex; align-items: center; gap: 1.2em; padding: 1.3em 2.2em 1.3em 1.3em; border-radius: 1.8em; white-space: nowrap; background: rgba(32, 30, 28, 0.94); border: 1px solid rgba(242, 237, 230, 0.14); box-shadow: 0 2.4em 5em -1.5em rgba(0, 0, 0, 0.85), 0 0 3em -1em rgba(79, 209, 197, 0.25); }
.o-aviso b { display: block; font-size: 1.75em; font-weight: 550; line-height: 1.2; }
.o-aviso small { display: block; font-size: 1.4em; color: var(--n-sec); }
.o-aviso__ico { display: grid; place-items: center; flex: none; width: 3.2em; height: 3.2em; border-radius: 50%; color: var(--n-luz); border: 1px solid rgba(79, 209, 197, 0.45); background: rgba(79, 209, 197, 0.08); }
.o-aviso__ico svg { width: 55%; height: 55%; }
.o-burbuja { display: flex; align-items: center; gap: 0.6em; padding: 0.7em 1.1em; border-radius: 1.2em 1.2em 0.3em 1.2em; font-size: 1.75em; font-weight: 500; white-space: nowrap; color: #0e0d0c; background: #f2ede6; box-shadow: 0 1.4em 3em -1em rgba(0, 0, 0, 0.8); }
.o-burbuja .o-dot { width: 0.55em; height: 0.55em; }
.o-mini { font-size: 1.4em; color: var(--n-ter); }
.o-mini b { color: var(--n-sec); font-weight: 600; }
.o-traza { stroke-dasharray: 1; stroke-dashoffset: 0; animation: oTrazo 6s var(--ease-io) infinite; }

/* ---------- 01 · Web ---------- */
.o-palavra--web { left: -2%; bottom: -5%; }
.o-web__escritorio { left: 3%; top: 8%; width: 70%; height: 66%; transform: perspective(170em) rotateY(9deg) rotateX(3deg); transform-origin: 0 50%; }
.o-web__cuerpo { position: relative; display: flex; flex-direction: column; gap: 2.2em; height: calc(100% - 5em); padding: 2.4em 3em; }
.o-web__cuerpo--movil { height: 100%; padding: 0; gap: 1.6em; }
.o-web__nav { display: flex; align-items: center; gap: 1.8em; }
.o-web__nav .o-sk { margin: 0; height: 0.8em; }
.o-web__nav .o-dot { width: 1.6em; height: 1.6em; }
.o-web__pill { margin-left: auto; padding: 0.35em 0.9em; border-radius: 99em; font-size: 1.35em; color: var(--n-sec); border: 1px solid rgba(242, 237, 230, 0.2); white-space: nowrap; }
.o-web__hero { flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3em; align-items: center; }
.o-web__cuerpo--movil .o-web__hero { grid-template-columns: 1fr; flex: none; }
.o-web__cta { display: inline-block; margin-top: 0.8em; padding: 0.65em 1.3em; border-radius: 99em; font-size: 1.55em; font-weight: 600; color: #0e0d0c; background: #f2ede6; white-space: nowrap; }
.o-web__cta--clic { animation: oWebClic 8s var(--ease-out) infinite; }
.o-web__img { position: relative; height: 100%; min-height: 16em; border-radius: 1.4em; overflow: hidden; background: linear-gradient(160deg, #2c2926, #181614); }
.o-web__sol { position: absolute; right: 16%; top: 16%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #9ff0e6, #4fd1c5 45%, rgba(79, 209, 197, 0) 72%); filter: blur(0.2em); animation: oSol 7s ease-in-out infinite; }
.o-web__arco { position: absolute; left: -20%; right: -20%; bottom: -55%; height: 90%; border-radius: 50%; border: 1px solid rgba(242, 237, 230, 0.16); background: linear-gradient(180deg, rgba(14, 13, 12, 0.6), #0f0e0d); }
.o-web__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; }
.o-web__cuerpo--movil .o-web__tiles { grid-template-columns: 1fr 1fr; }
.o-web__tiles span { height: 6em; border-radius: 1em; background: rgba(242, 237, 230, 0.06); }
.o-cursor { position: absolute; left: 15%; top: 62%; width: 3em; height: 3em; z-index: 2; animation: oCursor 8s var(--ease-io) infinite; }
.o-cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 0.4em 0.6em rgba(0, 0, 0, 0.6)); }
.o-onda { position: absolute; left: 0; top: 0; width: 5em; height: 5em; margin: -2.5em; border-radius: 50%; border: 2px solid var(--n-luz); opacity: 0; animation: oOnda 8s var(--ease-out) infinite; }
.o-web__movil { left: 68%; top: 25%; width: 27%; height: 66%; }
.o-web__burbuja { left: 43%; top: 79%; animation: oWebBurbuja 8s var(--ease-out) infinite; }
.o-web__aviso { right: 1%; top: 4%; animation: oWebAviso 8s var(--ease-out) infinite; }

/* ---------- 02 · Apps ---------- */
.o-palavra--app { right: -3%; top: -3%; }
.o-app__tel { width: 28%; height: 70%; top: 15%; }
.o-app__tel--izq { left: 6%; transform: rotate(-9deg) scale(0.92); }
.o-app__tel--der { left: 66%; transform: rotate(9deg) scale(0.92); }
.o-app__tel--centro { left: 33.5%; top: 6%; width: 33%; height: 82%; animation: oFlota 6s ease-in-out infinite; }
.o-app__titulo { font-size: 2em; font-weight: 600; margin: 0.2em 0 0.5em !important; }
.o-app__fila { display: flex; align-items: center; gap: 1.1em; padding: 1.1em 0; border-bottom: 1px solid rgba(242, 237, 230, 0.07); }
.o-app__fila .o-avatar { width: 3em; height: 3em; }
.o-app__lineas { flex: 1; min-width: 0; }
.o-app__lineas .o-sk { margin: 0.45em 0; }
.o-app__doc { position: relative; margin-top: 0.8em; padding: 2.2em 2em 1.4em; border-radius: 1.2em; background: rgba(242, 237, 230, 0.05); overflow: hidden; }
.o-app__esq { position: absolute; inset: 0.7em; --c: rgba(79, 209, 197, 0.8);
  background: linear-gradient(var(--c), var(--c)) 0 0 / 2.2em 0.22em, linear-gradient(var(--c), var(--c)) 0 0 / 0.22em 2.2em, linear-gradient(var(--c), var(--c)) 100% 0 / 2.2em 0.22em, linear-gradient(var(--c), var(--c)) 100% 0 / 0.22em 2.2em, linear-gradient(var(--c), var(--c)) 0 100% / 2.2em 0.22em, linear-gradient(var(--c), var(--c)) 0 100% / 0.22em 2.2em, linear-gradient(var(--c), var(--c)) 100% 100% / 2.2em 0.22em, linear-gradient(var(--c), var(--c)) 100% 100% / 0.22em 2.2em;
  background-repeat: no-repeat; }
.o-app__scan { position: absolute; left: 0.7em; right: 0.7em; top: 50%; height: 0.25em; border-radius: 1em; background: var(--n-grad); box-shadow: 0 0 1.4em 0.2em rgba(79, 209, 197, 0.55); animation: oScan 2.8s ease-in-out infinite alternate; }
.o-app__extraido { display: flex; align-items: center; gap: 1em; margin-top: 1.6em; }
.o-app__extraido .o-sk { margin: 0; flex: 1; }
.o-app__hola { font-size: 2.4em; font-weight: 600; margin: 0.3em 0 0.7em !important; }
.o-app__tarjeta { padding: 1.5em 1.6em; border-radius: 1.6em; border: 1px solid rgba(79, 209, 197, 0.4); background: linear-gradient(135deg, rgba(79, 209, 197, 0.14), rgba(90, 169, 240, 0.03)); }
.o-app__tarjeta small { display: block; font-size: 1.4em; color: var(--n-sec); }
.o-app__tarjeta b { display: block; font-size: 2.4em; font-weight: 600; }
.o-app__grafica { display: flex; align-items: flex-end; gap: 0.9em; height: 12em; margin: 2em 0 1.8em; }
.o-app__grafica i { flex: 1; height: var(--h); border-radius: 0.5em 0.5em 0.2em 0.2em; background: rgba(242, 237, 230, 0.14); transform-origin: 50% 100%; animation: oBarra 4.5s var(--ease-io) infinite; animation-delay: calc(var(--i) * 0.12s); }
.o-app__grafica i:nth-child(6) { background: var(--n-grad); box-shadow: 0 0 1.4em rgba(79, 209, 197, 0.4); }
.o-app__tabs { position: absolute; left: 2.4em; right: 2.4em; bottom: 1.8em; display: flex; justify-content: space-around; }
.o-app__tabs i { width: 1.3em; height: 1.3em; border-radius: 0.4em; background: rgba(242, 237, 230, 0.18); }
.o-app__tabs i.is-on { background: var(--n-grad); box-shadow: 0 0 1em rgba(79, 209, 197, 0.6); }
.o-orbita { left: 50%; top: 48%; width: 70em; height: 22em; margin: -11em 0 0 -35em; border-radius: 50%; border: 1px solid rgba(242, 237, 230, 0.07); rotate: -10deg; pointer-events: none; }
.o-orbita__punto { position: absolute; left: 0; top: 0; width: 1.4em; height: 1.4em; margin: -0.7em; border-radius: 50%; background: var(--n-grad); box-shadow: 0 0 1em rgba(79, 209, 197, 0.9); offset-path: ellipse(35em 11em at 35em 11em); offset-rotate: 0deg; animation: oOrbita 9s linear infinite; }

/* ---------- 03 · CRM ---------- */
.o-palavra--crm { left: -2%; bottom: -5%; }
.o-crm__tablero { left: 4%; top: 22%; width: 86%; height: 66%; }
.o-crm__cab { display: flex; align-items: center; gap: 1.4em; padding: 2em 2.4em 1.4em; }
.o-crm__cab b { font-size: 2em; font-weight: 600; }
.o-crm__avatares { display: flex; margin-left: auto; }
.o-crm__avatares .o-avatar { width: 2.8em; height: 2.8em; margin-left: -0.8em; border: 0.25em solid #1f1d1b; }
.o-crm__cab .o-web__pill { margin-left: 0; }
.o-crm__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4em; height: calc(100% - 6.6em); padding: 0 2.4em 2.4em; }
.o-crm__col { display: flex; flex-direction: column; gap: 1em; padding: 1.2em; border-radius: 1.2em; background: rgba(242, 237, 230, 0.03); }
.o-crm__col p { display: flex; justify-content: space-between; font-size: 1.4em; color: var(--n-ter); margin-bottom: 0.2em !important; }
.o-crm__deal { display: flex; align-items: center; gap: 0.9em; padding: 1em; border-radius: 1em; background: rgba(40, 37, 34, 0.96); border: 1px solid rgba(242, 237, 230, 0.08); }
.o-crm__deal .o-avatar { width: 2.4em; height: 2.4em; }
.o-crm__deal.is-ganado { border-color: rgba(79, 209, 197, 0.45); box-shadow: 0 0 2em -0.6em rgba(79, 209, 197, 0.55); }
.o-crm__deal--viaja { position: absolute; left: 3.6em; top: 27em; width: 16.8em; border-color: rgba(242, 237, 230, 0.22); box-shadow: 0 1.6em 3em -1em rgba(0, 0, 0, 0.8); animation: oDeal 9s var(--ease-io) infinite; }
.o-crm__grafica { right: 3%; top: 4%; width: 36%; height: 25%; padding: 1.5em 2em; }
.o-crm__grafica svg { display: block; width: 100%; height: calc(100% - 2.4em); margin-top: 0.4em; }
.o-crm__aviso { left: 7%; bottom: 3%; animation: oAparece 9s var(--ease-out) infinite; animation-delay: -2s; }

/* ---------- 04 · Chatbot ---------- */
.o-palavra--chat { left: -3%; top: 2%; }
.o-chat__tel { left: 31%; top: 2%; width: 38%; height: 96%; }
.o-chat__cab { display: flex; align-items: center; gap: 1.1em; padding-bottom: 1.4em; border-bottom: 1px solid rgba(242, 237, 230, 0.08); }
.o-chat__cab b { display: block; font-size: 1.75em; font-weight: 600; line-height: 1.2; }
.o-chat__cab small { display: flex; align-items: center; gap: 0.45em; font-size: 1.35em; color: var(--n-sec); }
.o-chat__cab small .o-dot { width: 0.55em; height: 0.55em; }
.o-chat__hilo { display: flex; flex-direction: column; gap: 1.1em; padding-top: 1.8em; }
.o-msg { max-width: 82%; padding: 0.65em 0.95em; border-radius: 1.1em; font-size: 1.6em; line-height: 1.3; animation: 11s var(--ease-out) infinite both; }
.o-msg--yo { align-self: flex-end; color: #0e0d0c; background: #f2ede6; border-bottom-right-radius: 0.3em; }
.o-msg--bot { align-self: flex-start; background: rgba(242, 237, 230, 0.08); border: 1px solid rgba(242, 237, 230, 0.1); border-bottom-left-radius: 0.3em; }
.o-msg--escribe { align-self: flex-start; display: flex; gap: 0.3em; height: 2.2em; align-items: center; margin-bottom: -3.3em; background: rgba(242, 237, 230, 0.08); border-bottom-left-radius: 0.3em; }
.o-msg--escribe i { width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--n-sec); animation: oPuntos 1s ease-in-out infinite; }
.o-msg--escribe i:nth-child(2) { animation-delay: 0.15s; }
.o-msg--escribe i:nth-child(3) { animation-delay: 0.3s; }
.o-msg--sis { align-self: center; display: flex; align-items: center; gap: 0.4em; font-size: 1.35em; color: var(--n-luz); border: 1px solid rgba(79, 209, 197, 0.4); background: rgba(79, 209, 197, 0.07); border-radius: 99em; }
.o-msg--sis svg { width: 1em; height: 1em; }
.o-chat__hilo .o-msg:nth-child(1) { animation-name: oPaso0; }
.o-chat__hilo .o-msg:nth-child(2) { animation-name: oEscribe; opacity: 0; }
.o-chat__hilo .o-msg:nth-child(3) { animation-name: oPaso2; }
.o-chat__hilo .o-msg:nth-child(4) { animation-name: oPaso3; }
.o-chat__hilo .o-msg:nth-child(5) { animation-name: oPaso4; }
/* Empieza con la conversación completa (68 % del ciclo): en pausa, sin JS o en una captura se lee el ejemplo entero, no un móvil vacío. */
.o-chat__hilo .o-msg { animation-delay: -7.5s; }
.o-chat__input { position: absolute; left: 1.8em; right: 1.8em; bottom: 1.6em; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0.8em 0.8em 0.8em 1.4em; border-radius: 99em; background: rgba(242, 237, 230, 0.06); }
.o-chat__input .o-sk { margin: 0; }
.o-chat__enviar { display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 50%; color: #0e0d0c; background: #f2ede6; }
.o-chat__enviar svg { width: 55%; height: 55%; }
.o-chat__rapido { left: 1%; top: 34%; animation: oFlota 5s ease-in-out infinite; }
.o-chat__canales { right: 0; top: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9em; }
.o-chat__canales .o-chip { font-size: 1.55em; animation: oFlota 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }

/* ---------- 05 · Voz ---------- */
.o-palavra--voz { right: -2%; bottom: -6%; }
.o-voz__anillos, .o-voz__radial { left: 50%; top: 40%; width: 0; height: 0; }
.o-voz__anillos i { position: absolute; left: -15em; top: -15em; width: 30em; height: 30em; border-radius: 50%; border: 1px solid rgba(79, 209, 197, 0.35); opacity: 0.25; transform: scale(1.4); animation: oAnillo 4.2s var(--ease-out) infinite; }
.o-voz__anillos i:nth-child(2) { animation-delay: 1.4s; }
.o-voz__anillos i:nth-child(3) { animation-delay: 2.8s; }
.o-voz__radial span { position: absolute; left: -0.3em; top: -25em; width: 0.6em; height: 25em; transform-origin: 50% 100%; transform: rotate(var(--a)); }
.o-voz__radial b { position: absolute; left: 0; top: 0; width: 100%; height: 8.5em; border-radius: 0.3em; background: linear-gradient(to top, rgba(79, 209, 197, 0.12), rgba(79, 209, 197, 0.85)); transform-origin: 50% 100%; transform: scaleY(calc(0.35 + var(--d) * 0.5)); animation: oVozBarra 1.3s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.16s); }
.o-voz__disco { left: 50%; top: 40%; width: 27em; height: 27em; margin: -13.5em 0 0 -13.5em; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3em; background: radial-gradient(circle at 50% 28%, #2b2826, #151311 75%); border: 1px solid rgba(242, 237, 230, 0.14); box-shadow: 0 3em 6em -2em rgba(0, 0, 0, 0.85), 0 0 5em -1em rgba(79, 209, 197, 0.25); }
.o-voz__ico { width: 4.6em; height: 4.6em; color: var(--n-luz); animation: oRespira 2.4s ease-in-out infinite; }
.o-voz__ico svg { width: 100%; height: 100%; }
.o-voz__disco b { font-size: 3.6em; font-weight: 550; font-stretch: 112%; font-variant-numeric: tabular-nums; line-height: 1.1; }
.o-voz__disco small { font-size: 1.4em; color: var(--n-sec); }
.o-voz__texto { left: 9%; right: 9%; bottom: 2%; display: grid; gap: 0.6em; }
.o-voz__texto p { display: flex; gap: 0.8em; font-size: 1.75em; color: var(--n-sec); animation: 9s var(--ease-out) infinite both; }
.o-voz__texto p span { flex: none; width: 4.4em; color: var(--n-ter); }
.o-voz__texto p.is-luz { color: var(--n-texto); }
.o-voz__texto p:nth-child(1) { animation-name: oPaso0; }
.o-voz__texto p:nth-child(2) { animation-name: oPaso2; }
.o-voz__texto p:nth-child(3) { animation-name: oPaso4; }

/* ---------- 06 · Automatizaciones ---------- */
.o-auto__rejilla { left: -10%; top: -10%; width: 120%; height: 120%; background-image: radial-gradient(rgba(242, 237, 230, 0.13) 1px, transparent 1.6px); background-size: 4em 4em; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.o-auto__svg, .o-consult__svg, .o-consult__topo { left: 0; top: 0; width: 100%; height: 100%; }
.o-auto__svg svg, .o-consult__svg svg, .o-consult__topo svg { display: block; width: 100%; height: 100%; }
.o-auto__cable { fill: none; stroke: rgba(242, 237, 230, 0.16); stroke-width: 2; }
.o-auto__flujo { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 34 420; opacity: 0.55; animation: oFlujo 3.2s linear infinite; animation-delay: calc(var(--i) * -0.53s); }
.o-auto__nodo rect { fill: rgba(32, 30, 28, 0.97); stroke: rgba(242, 237, 230, 0.18); stroke-width: 1.5; }
.o-auto__nodo circle { fill: rgba(242, 237, 230, 0.32); }
.o-auto__nodo text { fill: #f2ede6; font: 500 27px var(--n-fonte); font-stretch: 104%; }
.o-auto__ia { fill: #181614; stroke: rgba(79, 209, 197, 0.75); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: oLatido 2.4s ease-in-out infinite; }
.o-auto__iatxt { fill: #f2ede6; font: 600 62px var(--n-fonte); font-stretch: 125%; }
.o-auto__viaja { filter: drop-shadow(0 0 6px rgba(79, 209, 197, 0.95)); }
.o-auto__aviso { right: 3%; bottom: 1%; animation: oAparece 8s var(--ease-out) infinite; }

/* ---------- 07 · Redes ---------- */
.o-palavra--post { right: -2%; top: -3%; }
.o-social__mosaico { left: 5%; top: 9%; width: 57em; height: 57em; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1.2em; }
.o-social__post { position: relative; overflow: hidden; border-radius: 1em; background: #1c1a18; box-shadow: inset 0 0 0 1px rgba(242, 237, 230, 0.07); animation: oEntraPost 10s var(--ease-out) infinite both; animation-delay: calc(var(--i) * 0.15s); }
.o-social__post::before, .o-social__post::after { content: ""; position: absolute; }
.o-arte--sol::before { left: 22%; top: 18%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 197, 0.85), rgba(79, 209, 197, 0) 68%); }
.o-arte--sol::after { left: 0; right: 0; bottom: 30%; height: 1px; background: rgba(242, 237, 230, 0.25); }
.o-arte--lineas { background: repeating-linear-gradient(135deg, #1c1a18 0 0.9em, #24211f 0.9em 1.1em); }
.o-arte--luna::before { left: 25%; top: 25%; width: 50%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset -1.4em 0.6em 0 0 #d9d2c8; opacity: 0.75; }
.o-arte--puntos { background: radial-gradient(rgba(242, 237, 230, 0.22) 1.5px, transparent 2px) 0 0 / 1.6em 1.6em, #1a1816; }
.o-arte--reel { background: linear-gradient(160deg, #2a2724, #141210); }
.o-arte--ondas { background: repeating-radial-gradient(circle at 0 100%, #1c1a18 0 1.2em, #262320 1.2em 1.4em); }
.o-arte--arco::before { left: 12%; right: 12%; bottom: -40%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(79, 209, 197, 0.6); box-shadow: 0 0 2em rgba(79, 209, 197, 0.2); }
.o-arte--rejilla { background: linear-gradient(rgba(242, 237, 230, 0.08) 1px, transparent 1px) 0 0 / 2em 2em, linear-gradient(90deg, rgba(242, 237, 230, 0.08) 1px, transparent 1px) 0 0 / 2em 2em, #1a1816; }
.o-arte--sol2 { background: conic-gradient(from 200deg at 70% 70%, #1c1a18, #2c2926, #1c1a18 40%); }
.o-arte--sol2::before { right: 18%; bottom: 18%; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--n-grad); box-shadow: 0 0 1.4em rgba(79, 209, 197, 0.9); }
.o-play { position: absolute; left: 50%; top: 50%; width: 4em; height: 4em; margin: -2em; border-radius: 50%; background: rgba(242, 237, 230, 0.14); border: 1px solid rgba(242, 237, 230, 0.3); }
.o-play::after { content: ""; position: absolute; left: 40%; top: 30%; border-style: solid; border-width: 0.8em 0 0.8em 1.3em; border-color: transparent transparent transparent #f2ede6; }
.o-play--grande { width: 6em; height: 6em; margin: -3em; }
.o-play--grande::after { border-width: 1.1em 0 1.1em 1.8em; left: 38%; top: 31%; }
.o-progreso { position: absolute; left: 1em; right: 1em; bottom: 1em; height: 0.35em; border-radius: 1em; background: rgba(242, 237, 230, 0.18); overflow: hidden; }
.o-progreso::after { content: ""; position: absolute; inset: 0; background: var(--n-grad); transform-origin: 0 50%; animation: oProgreso 6s linear infinite; }
.o-social__reel { left: 65%; top: 13%; width: 30%; height: 76%; padding: 0; }
.o-social__video { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 80% at 50% 100%, #24211f, #121110); }
.o-social__forma { position: absolute; left: 50%; top: 42%; width: 70%; aspect-ratio: 1; translate: -50% -50%; border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; background: radial-gradient(circle at 35% 35%, rgba(116, 224, 180, 0.6), rgba(79, 209, 197, 0.25) 45%, rgba(90, 169, 240, 0.05) 75%); filter: blur(0.3em); animation: oForma 9s ease-in-out infinite alternate; }
.o-progreso--reel { left: 2em; right: 2em; bottom: 6.2em; }
.o-social__tag { position: absolute; left: 1.8em; bottom: 2em; font-size: 1.25em; }
.o-social__corazones { position: absolute; right: 2.2em; bottom: 8em; width: 3em; height: 16em; }
.o-social__corazones i { position: absolute; bottom: 0; left: 0.6em; width: 1.6em; height: 1.6em; opacity: 0; animation: oCorazon 3.2s ease-out infinite; animation-delay: calc(var(--i) * 0.8s); }
.o-social__corazones i::before { content: "♥"; position: absolute; inset: 0; font-size: 1.6em; line-height: 1; color: var(--n-luz); text-shadow: 0 0 0.6em rgba(79, 209, 197, 0.8); font-style: normal; }
.o-social__agenda { left: 6%; bottom: 1%; display: flex; gap: 2.4em; }
.o-social__agenda span { display: flex; flex-direction: column; align-items: center; gap: 0.5em; }
.o-social__agenda b { font-size: 1.4em; font-weight: 500; color: var(--n-ter); }
.o-social__agenda i { width: 0.8em; height: 0.8em; border-radius: 50%; background: rgba(242, 237, 230, 0.15); }
.o-social__agenda .is-pub b { color: var(--n-texto); }
.o-social__agenda .is-pub i { background: var(--n-grad); box-shadow: 0 0 0.8em rgba(79, 209, 197, 0.8); }

/* ---------- 08 · Publicidad ---------- */
.o-palavra--ads { right: -3%; bottom: -6%; }
.o-ads__panel { left: 4%; top: 13%; width: 64%; height: 62%; }
.o-ads__svg { position: absolute; left: 2.4em; right: 2.4em; top: 7em; bottom: 6em; width: calc(100% - 4.8em); height: calc(100% - 13em); }
.o-ads__ejes path { stroke: rgba(242, 237, 230, 0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.o-ads__area { animation: oArea 6s var(--ease-io) infinite; }
.o-ads__fin { position: absolute; right: 1.6em; top: 11.1em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--n-grad); box-shadow: 0 0 0 0.5em rgba(79, 209, 197, 0.15), 0 0 1.6em rgba(79, 209, 197, 0.9); animation: oFin 6s var(--ease-io) infinite; }
.o-ads__leyenda { position: absolute; left: 2.4em; bottom: 2em; display: flex; gap: 1.6em; font-size: 1.4em; color: var(--n-sec); }
.o-ads__leyenda span { display: flex; align-items: center; gap: 0.5em; }
.o-ads__leyenda i { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--n-grad); }
.o-ads__leyenda i.is-gris { background: rgba(242, 237, 230, 0.35); }
.o-ads__diana { left: 75%; top: 4%; width: 20em; height: 20em; }
.o-ads__diana i { position: absolute; border-radius: 50%; border: 1px solid rgba(242, 237, 230, 0.18); }
.o-ads__diana i:nth-child(1) { inset: 0; }
.o-ads__diana i:nth-child(2) { inset: 3.5em; }
.o-ads__diana i:nth-child(3) { inset: 7em; border-color: rgba(79, 209, 197, 0.5); }
.o-ads__impacto { position: absolute; left: 50%; top: 50%; width: 1.8em; height: 1.8em; margin: -0.9em; border-radius: 50%; background: var(--n-grad); box-shadow: 0 0 1.6em rgba(79, 209, 197, 0.9); animation: oImpacto 4s var(--ease-out) infinite; }
.o-ads__meta { left: 64%; top: 33%; width: 31%; padding-bottom: 1.2em; }
.o-ads__creativa { position: relative; height: 12em; overflow: hidden; background: linear-gradient(160deg, #2c2926, #171513); }
.o-ads__creativa .o-web__sol { width: 34%; right: 22%; top: 20%; }
.o-ads__pie { padding: 1.4em 1.4em 0.6em; }
.o-ads__pie .o-web__pill { display: inline-block; margin: 0.3em 0 0; color: #0e0d0c; background: #f2ede6; border-color: #f2ede6; font-weight: 600; }
.o-ads__meta .o-mini { padding: 0 1.4em; }
.o-ads__google { left: 30%; top: 75%; width: 40%; padding: 1.5em 2em 1em; }
.o-ads__google .o-mini { display: block; margin-bottom: 0.6em !important; }

/* ---------- 09 · Consultoría ---------- */
.o-consult__topo ellipse { fill: none; stroke: rgba(242, 237, 230, 0.055); stroke-width: 1.5; }
.o-consult__brujula { left: 5%; top: 5%; width: 14em; height: 14em; border-radius: 50%; border: 1px solid rgba(242, 237, 230, 0.13); }
.o-consult__brujula span { position: absolute; left: 0; right: 0; top: 0.5em; text-align: center; font-size: 1.5em; color: var(--n-ter); }
.o-consult__brujula::before { content: ""; position: absolute; left: 50%; top: 20%; bottom: 20%; width: 0.4em; margin-left: -0.2em; border-radius: 1em; background: linear-gradient(var(--n-luz) 50%, rgba(242, 237, 230, 0.25) 50%); transform: rotate(32deg); animation: oAguja 7s ease-in-out infinite; }
.o-consult__base { fill: none; stroke: rgba(242, 237, 230, 0.2); stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; }
.o-consult__ruta { fill: none; stroke-width: 5; stroke-linecap: round; opacity: 0.85; }
.o-consult__hito circle { fill: #181614; stroke: rgba(242, 237, 230, 0.25); stroke-width: 2; }
.o-consult__hito .o-consult__nucleo { fill: rgba(242, 237, 230, 0.35); stroke: none; }
.o-consult__hito.is-hecho circle { stroke: rgba(79, 209, 197, 0.6); }
.o-consult__hito.is-hecho .o-consult__nucleo, .o-consult__hito.is-ahora .o-consult__nucleo { fill: #4fd1c5; }
.o-consult__hito.is-ahora circle:first-child { stroke: #4fd1c5; transform-box: fill-box; transform-origin: center; animation: oLatido 2.4s ease-in-out infinite; }
.o-consult__hito text { fill: #a39d96; font: 500 28px var(--n-fonte); font-stretch: 104%; }
.o-consult__hito.is-hecho text, .o-consult__hito.is-ahora text { fill: #f2ede6; }
.o-consult__plan { right: 4%; bottom: 3%; width: 34%; padding: 1.6em 2em 1.8em; }
.o-consult__plan p:not(.o-mini) { display: flex; align-items: center; gap: 0.6em; margin-top: 0.6em !important; font-size: 1.6em; }
.o-consult__plan .o-aviso__ico { width: 1.6em; height: 1.6em; }
.o-consult__plan .is-sig { color: var(--n-texto); }
.o-consult__plan p:not(.is-sig):not(.o-mini) { color: var(--n-sec); }

/* ---------- Animaciones ---------- */
@keyframes oRespira { 50% { opacity: 0.45; transform: scale(0.8); } }
@keyframes oFlota { 50% { transform: translateY(-1.2em); } }
@keyframes oTrazo { 0% { stroke-dashoffset: 1; opacity: 1; } 45%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes oSol { 50% { transform: translate(-0.6em, 0.8em) scale(1.08); } }
@keyframes oCursor { 0% { left: 62%; top: 92%; opacity: 0; } 8% { opacity: 1; } 34%, 82% { left: 15%; top: 62%; opacity: 1; } 92%, 100% { left: 30%; top: 86%; opacity: 0; } }
@keyframes oOnda { 0%, 37% { opacity: 0; transform: scale(0.2); } 39% { opacity: 1; } 52%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes oWebClic { 0%, 36% { transform: none; box-shadow: none; } 39% { transform: scale(0.93); } 44%, 82% { transform: none; box-shadow: 0 0 0 0.25em rgba(79, 209, 197, 0.35), 0 0 2em rgba(79, 209, 197, 0.5); } 90%, 100% { box-shadow: none; } }
@keyframes oWebAviso { 0%, 42% { opacity: 0; transform: translateY(-1.2em) scale(0.96); } 47%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-0.6em); } }
@keyframes oWebBurbuja { 0%, 54% { opacity: 0; transform: translateY(1em) scale(0.9); } 59%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes oScan { from { top: 12%; } to { top: 86%; } }
@keyframes oBarra { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.55); } }
@keyframes oOrbita { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes oDeal {
  0%, 10% { transform: none; opacity: 0; }
  14% { opacity: 1; transform: none; }
  22%, 32% { transform: translateX(20.65em); }
  42%, 54% { transform: translateX(41.3em); }
  64% { transform: translateX(61.95em); border-color: rgba(242, 237, 230, 0.22); box-shadow: 0 1.6em 3em -1em rgba(0, 0, 0, 0.8); }
  70%, 88% { transform: translateX(61.95em); opacity: 1; border-color: rgba(79, 209, 197, 0.6); box-shadow: 0 0 2.4em -0.4em rgba(79, 209, 197, 0.6); }
  96%, 100% { transform: translateX(61.95em); opacity: 0; }
}
@keyframes oAparece { 0%, 30% { opacity: 0; transform: translateY(1em) scale(0.96); } 36%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(0.4em); } }
@keyframes oPaso0 { 0%, 3% { opacity: 0; transform: translateY(0.8em) scale(0.96); } 7%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes oEscribe { 0%, 13% { opacity: 0; } 16%, 26% { opacity: 1; } 28%, 100% { opacity: 0; } }
@keyframes oPaso2 { 0%, 27% { opacity: 0; transform: translateY(0.8em) scale(0.96); } 31%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes oPaso3 { 0%, 41% { opacity: 0; transform: translateY(0.8em) scale(0.96); } 45%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes oPaso4 { 0%, 55% { opacity: 0; transform: translateY(0.8em) scale(0.96); } 59%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes oPuntos { 50% { transform: translateY(-0.3em); opacity: 0.5; } }
@keyframes oAnillo { 0% { opacity: 0.8; transform: scale(0.75); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes oVozBarra { from { transform: scaleY(calc(0.15 + var(--d) * 0.2)); } to { transform: scaleY(calc(0.55 + var(--d) * 0.45)); } }
@keyframes oFlujo { from { stroke-dashoffset: 454; } to { stroke-dashoffset: 0; } }
@keyframes oLatido { 50% { transform: scale(1.06); } }
@keyframes oEntraPost { 0% { opacity: 0; transform: scale(0.94); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: 1; } }
@keyframes oProgreso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes oForma { 0% { border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; rotate: 0deg; } 100% { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; rotate: 40deg; scale: 1.1; } }
@keyframes oCorazon { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-1.4em, -14em) scale(1.1); } }
@keyframes oArea { 0% { opacity: 0; } 45%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes oFin { 0%, 40% { opacity: 0; transform: scale(0.4); } 48%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes oImpacto { 0% { transform: translate(5em, -6em) scale(0.6); opacity: 0; } 30% { transform: none; opacity: 1; } 34% { transform: scale(1.5); } 42%, 100% { transform: none; opacity: 1; } }
@keyframes oAguja { 50% { transform: rotate(18deg); } }

/* ---------- Pieza: cuadro + cartela (enlace) ---------- */
.pieza { list-style: none; margin: 0; padding: 0; }
.pieza__enlace { display: block; color: inherit; text-decoration: none; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
.pieza__enlace:focus-visible { outline: none; }
.pieza__enlace:focus-visible .obra__lienzo { outline: 2px solid var(--n-luz); outline-offset: 6px; }
:where(html:not(.is-scrolling)) .pieza__enlace:hover .obra__lienzo, .pieza__enlace.is-toque .obra__lienzo, .pieza__enlace:focus-visible .obra__lienzo {
  transform: scale(1.012); box-shadow: inset 0 0 0 1px rgba(79, 209, 197, 0.28), 0 60px 120px -60px rgba(0, 0, 0, 0.95), 0 0 80px -40px rgba(79, 209, 197, 0.35);
}
:where(html:not(.is-scrolling)) .pieza__enlace:hover .obra__luz, .pieza__enlace.is-toque .obra__luz { opacity: 1; }
.cartela { display: grid; grid-template-columns: 5.2ch minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; align-items: baseline; margin-top: 18px; }
.cartela__num { grid-row: 1 / 3; font-size: 13px; font-stretch: 104%; color: var(--n-ter); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.cartela__nombre { margin: 0; font-family: var(--n-fonte); font-stretch: 125%; font-weight: 450; font-size: clamp(21px, 1.75vw, 30px); line-height: 1.08; letter-spacing: -0.025em; color: var(--n-texto); }
.cartela__claim { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.45; color: var(--n-sec); max-width: 40ch; }
.cartela__ver { grid-column: 3; grid-row: 1 / 3; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--n-filete-forte); color: var(--n-texto); transition: border-color 0.4s, transform 0.45s var(--ease-snap), background-color 0.4s; }
.cartela__ver svg { width: 18px; height: 18px; }
.cartela__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 4px; font-size: 13px; color: var(--n-ter); font-stretch: 104%; }
.cartela__meta span:first-child { color: var(--n-luz); }
:where(html:not(.is-scrolling)) .pieza__enlace:hover .cartela__num, .pieza__enlace.is-toque .cartela__num, .pieza__enlace:focus-visible .cartela__num { color: var(--n-luz); }
:where(html:not(.is-scrolling)) .pieza__enlace:hover .cartela__ver, .pieza__enlace.is-toque .cartela__ver, .pieza__enlace:focus-visible .cartela__ver { border-color: var(--n-luz); transform: translateX(4px); }

/* Entrada (obras.js pone .is-dentro una vez) */
.js [data-entra] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js [data-entra].is-dentro { opacity: 1; transform: none; }

/* ---------- Sala (home): colgado de galería asimétrico ---------- */
.sala { padding: 16vh var(--n-margem) 12vh; }
.sala__topo { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--n-gap); align-items: end; }
.sala__topo .titulo { grid-column: 1 / 7; }
.sala__topo .corpo { grid-column: 9 / 13; }
.sala__muro { list-style: none; margin: 10vh 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--n-gap); row-gap: clamp(64px, 12vh, 150px); align-items: start; }
.sala__muro .pieza--1 { grid-column: 1 / 9; }
.sala__muro .pieza--2 { grid-column: 9 / 13; margin-top: 18vh; }
.sala__muro .pieza--3 { grid-column: 1 / 7; }
.sala__muro .pieza--4 { grid-column: 8 / 12; margin-top: 10vh; }
.sala__muro .pieza--5 { grid-column: 3 / 13; }
.sala__muro .pieza--6 { grid-column: 1 / 7; margin-top: 4vh; }
.sala__muro .pieza--7 { grid-column: 7 / 13; margin-top: 16vh; }
.sala__muro .pieza--8 { grid-column: 2 / 6; }
.sala__muro .pieza--9 { grid-column: 7 / 13; margin-top: 12vh; }
.sala__muro .pieza:nth-child(even) { transition-delay: 0.12s; }

/* ---------- Exposición (/servicios): una sala por servicio ---------- */
.expo-hero { position: relative; overflow: hidden; padding: calc(var(--n-nav-h) + clamp(40px, 8vh, 96px)) var(--n-margem) clamp(40px, 8vh, 90px); }
.expo-hero__palavra { position: absolute; left: 50%; top: calc(var(--n-nav-h) + 2vh); translate: -50% 0; font-size: 13.2vw; z-index: 0; }
.expo-hero > :not(.palavra) { position: relative; z-index: 1; }
.expo-hero .crumbs { margin-bottom: 28px; }
.expo-hero h1 { max-width: 20ch; font-size: clamp(38px, 4.6vw, 76px); }
.expo-hero__lead { margin-top: 26px; max-width: 46ch; font-stretch: 104%; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; color: var(--n-sec); }
.expo-hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.expo-indice { list-style: none; margin: clamp(48px, 9vh, 96px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.expo-indice a { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--n-filete); color: var(--n-sec); text-decoration: none; font-size: 14px; font-stretch: 104%; transition: color 0.3s, border-color 0.3s; }
.expo-indice a span { color: var(--n-ter); font-variant-numeric: tabular-nums; font-size: 12px; }
:where(html:not(.is-scrolling)) .expo-indice a:hover, .expo-indice a:focus-visible, .expo-indice a.is-toque { color: var(--n-texto); border-color: var(--n-filete-forte); }
.expo { padding: 0 var(--n-margem); }
.expo__sala { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--n-gap); align-items: center; padding: clamp(56px, 11vh, 130px) 0; border-top: 1px solid var(--n-filete); scroll-margin-top: 40px; }
.expo__cuadro { grid-column: 1 / 8; }
.expo__texto { grid-column: 9 / 13; }
.expo__sala:nth-child(even) .expo__cuadro { grid-column: 6 / 13; grid-row: 1; }
.expo__sala:nth-child(even) .expo__texto { grid-column: 1 / 5; grid-row: 1; }
.expo__cuadro .pieza__enlace { display: block; }
.expo__num { display: block; font-size: 13px; color: var(--n-luz); font-variant-numeric: tabular-nums; font-stretch: 104%; margin-bottom: 18px; }
.expo__texto h2 { font-size: clamp(30px, 3vw, 50px); }
.expo__claim { margin: 16px 0 0; font-stretch: 108%; font-size: clamp(18px, 1.4vw, 23px); line-height: 1.3; color: var(--n-texto); max-width: 28ch; }
.expo__short { margin: 10px 0 0; color: var(--n-sec); font-size: 15px; }
.expo__beneficios { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.expo__beneficios li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; font-size: 15.5px; color: var(--n-texto); font-stretch: 104%; }
.expo__beneficios .ponto { width: 6px; height: 6px; transform: translateY(-2px); }
.expo__sectores { margin: 24px 0 0; font-size: 13.5px; color: var(--n-ter); line-height: 1.6; }
.expo__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.expo-cierre { padding: clamp(64px, 12vh, 140px) var(--n-margem); border-top: 1px solid var(--n-filete); display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.expo-cierre .titulo { max-width: 16ch; }
.expo-cierre__acoes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Galería (/proyectos y relacionados) ---------- */
.galeria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--n-gap); row-gap: clamp(56px, 10vh, 120px); align-items: start; }
.galeria > :nth-child(4n + 1) { grid-column: 1 / 8; }
.galeria > :nth-child(4n + 2) { grid-column: 8 / 13; margin-top: 14vh; }
.galeria > :nth-child(4n + 3) { grid-column: 2 / 7; }
.galeria > :nth-child(4n + 4) { grid-column: 7 / 13; margin-top: 10vh; }
.galeria--trio > :nth-child(n) { grid-column: span 4; margin-top: 0; }
.galeria--trio > :nth-child(2) { margin-top: 8vh; }
.galeria .pieza img { display: block; width: 100%; height: 100%; object-fit: cover; }
.galeria-caso { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--n-gap); margin-top: 18px; }
.galeria-caso > :nth-child(1) { grid-column: 1 / -1; }
.galeria-caso > :nth-child(2) { grid-column: 1 / 7; }
.galeria-caso > :nth-child(3) { grid-column: 7 / 13; margin-top: 6vh; }
.cuadro-ph { display: grid; place-items: center; text-align: center; padding: 24px; color: var(--n-ter); font-size: 14px; font-stretch: 104%;
  background: radial-gradient(80% 80% at 50% 0%, rgba(79, 209, 197, 0.06), transparent 70%), repeating-linear-gradient(135deg, rgba(242, 237, 230, 0.02) 0 14px, transparent 14px 28px), #131211; }
.cuadro-ph .ph { color: var(--n-sec); }

/* Hero de servicio y de proyecto con el cuadro en grande */
.page-hero__aside .obra { width: 100%; }
.page-hero__split:has(.obra) { grid-template-columns: 1fr 1fr; }

/* ---------- Portadas generativas del blog ---------- */
.post-card__media:has(.portada) { padding: 0; background: radial-gradient(90% 120% at 20% 0%, #1f1c1a, #121110); overflow: hidden; }
.portada { display: block; width: 100%; height: 100%; }
.portada .p-linea { fill: none; stroke: rgba(242, 237, 230, 0.16); stroke-width: 1.3; }
.portada .p-linea--luz { stroke: rgba(79, 209, 197, 0.7); stroke-width: 1.8; }
.portada .p-punto { fill: rgba(242, 237, 230, 0.4); }
.portada .p-brilho { filter: drop-shadow(0 0 8px rgba(79, 209, 197, 0.9)); }
.portada .p-barra { fill: rgba(242, 237, 230, 0.1); }
.portada .p-barra--luz { filter: drop-shadow(0 0 10px rgba(79, 209, 197, 0.5)); }
.portada .p-casilla { fill: rgba(242, 237, 230, 0.08); stroke: rgba(242, 237, 230, 0.14); }
.portada .p-casilla--luz { filter: drop-shadow(0 0 10px rgba(79, 209, 197, 0.6)); stroke: none; }
.post-card .portada { transition: transform 1.2s var(--ease-out); }
:where(html:not(.is-scrolling)) .post-card:hover .portada { transform: scale(1.04); }
.articulo-portada { margin: 0 0 clamp(32px, 6vh, 56px); border-radius: 12px; overflow: hidden; aspect-ratio: 21 / 9; background: radial-gradient(90% 120% at 20% 0%, #1f1c1a, #121110); box-shadow: inset 0 0 0 1px rgba(242, 237, 230, 0.08); }

/* ---------- Tableta y móvil ---------- */
@media (max-width: 1080px) {
  .sala__muro, .galeria { grid-template-columns: 1fr 1fr; }
  .sala__muro > .pieza, .galeria > :nth-child(n) { grid-column: auto; margin-top: 0; }
  .sala__muro > .pieza:nth-child(3n + 1), .galeria > :nth-child(3n + 1) { grid-column: 1 / -1; }
  .sala__muro > .pieza:nth-child(3n) , .galeria > :nth-child(3n) { margin-top: 8vh; }
  .sala__muro .obra, .galeria .obra { --r: 1 / 1; }
  .sala__muro > .pieza:nth-child(3n + 1) .obra, .galeria > :nth-child(3n + 1) .obra { --r: 16 / 10; }
  .galeria--trio > :nth-child(n) { grid-column: auto; margin-top: 0; }
  .expo__sala, .expo__sala:nth-child(even) { grid-template-columns: 1fr; }
  .expo__sala .expo__cuadro, .expo__sala .expo__texto, .expo__sala:nth-child(even) .expo__cuadro, .expo__sala:nth-child(even) .expo__texto { grid-column: 1; grid-row: auto; }
  .expo__texto { max-width: 560px; }
  .page-hero__split:has(.obra) { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sala { padding: 12vh var(--n-margem) 10vh; }
  .sala__topo { grid-template-columns: 1fr; gap: 18px; }
  .sala__topo .titulo, .sala__topo .corpo { grid-column: 1; }
  .sala__muro, .galeria, .galeria-caso { grid-template-columns: 1fr; row-gap: 64px; }
  .sala__muro > .pieza:nth-child(n), .galeria > :nth-child(n), .galeria-caso > :nth-child(n) { grid-column: 1; margin-top: 0; }
  .sala__muro .obra:nth-child(n), .galeria .obra, .sala__muro > .pieza:nth-child(n) .obra { --r: 1 / 1.04; }
  .cartela { grid-template-columns: 4.4ch minmax(0, 1fr) auto; }
  .expo-hero__palavra { font-size: 13.6vw; }
}

@media (prefers-reduced-motion: reduce) {
  .obra *, .obra *::before, .obra *::after { animation: none !important; }
  .obra__escena > [style*="--p"] { translate: none; }
  .o-chat__hilo .o-msg--escribe { opacity: 0; }
  .js [data-entra] { opacity: 1; transform: none; transition: none; }
}
