/* Integra Muebles · Hero de la oficina que se amuebla (prefijo of-). Fotografía real; solo transform y opacity se animan. */
.of { position: relative; background: #2a1a10; }
.of-pin { position: relative; height: calc(100dvh - 68px); min-height: 480px; overflow: hidden; background: #2a1a10; }
.of-sc { position: absolute; inset: 0; }
.of-svg { width: 100%; height: 100%; display: block; }
.of-cam { transform-origin: 62% 70%; transform-box: view-box; will-change: transform; }
.of-fin { will-change: opacity; }
.of-quieta { height: auto; }
.of-quieta .of-pin { position: relative; top: 0; height: auto; min-height: calc(100dvh - var(--head)); display: flex; flex-direction: column; }
.of-quieta .of-sc { position: relative; inset: auto; flex: 1; min-height: 360px; }
.of-quieta .of-fin { opacity: 1 !important; }

/* Tarjeta de texto: siempre sobre papel, para que se lea con cuarto oscuro o iluminado */
.of-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.of-cta .btn { min-height: 46px; padding: 0 20px; }

/* Letrero de estreno: marquesina de cine con focos que alternan, cae cuando la oficina está terminada */
.of-cartel { position: absolute; left: 50%; top: 64px; z-index: 3; width: min(720px, calc(100% - 32px)); translate: -50% 0; transform: translateY(-140%) rotate(-3deg); transform-origin: 50% -64px; opacity: 0; visibility: hidden; transition: transform 1.15s cubic-bezier(.34, 1.5, .5, 1), opacity .3s var(--out), visibility 0s linear 1.2s; }
.of-estreno .of-cartel { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.of-cadena { position: absolute; top: -64px; width: 3px; height: 70px; background: linear-gradient(#6f6a5c, #b9b4a4); }
.of-cadena--l { left: 14%; } .of-cadena--r { right: 14%; }
.of-marco { position: relative; padding: 30px; border-radius: 18px; background: linear-gradient(#2a251b, #15120c); border: 2px solid rgba(252, 197, 0, .55); box-shadow: 0 26px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .06); transform-origin: 50% 0; }
.of-estreno .of-marco { animation: of-balanceo 3s cubic-bezier(.3, .6, .4, 1) 1s 1 both; }
@keyframes of-balanceo { 0%, 100% { transform: rotate(0); } 18% { transform: rotate(1.6deg); } 38% { transform: rotate(-1.1deg); } 58% { transform: rotate(.6deg); } 78% { transform: rotate(-.25deg); } }
.of-foco { position: absolute; pointer-events: none; }
.of-foco--t, .of-foco--b { left: 14px; right: 14px; height: 12px; } .of-foco--t { top: 9px; } .of-foco--b { bottom: 9px; }
.of-foco--l, .of-foco--r { top: 14px; bottom: 14px; width: 12px; } .of-foco--l { left: 9px; } .of-foco--r { right: 9px; }
.of-foco::before, .of-foco::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, #fffbe0 0 2px, #fcc500 2.5px 4px, rgba(252, 197, 0, .35) 5.5px, rgba(252, 197, 0, 0) 7px); }
.of-foco--t::before, .of-foco--b::before, .of-foco--t::after, .of-foco--b::after { background-size: 32px 12px; background-repeat: repeat-x; }
.of-foco--l::before, .of-foco--r::before, .of-foco--l::after, .of-foco--r::after { background-size: 12px 32px; background-repeat: repeat-y; }
.of-foco--t::after, .of-foco--b::after { background-position: 16px 0; } .of-foco--l::after, .of-foco--r::after { background-position: 0 16px; }
.of-foco::before { opacity: 1; } .of-foco::after { opacity: .18; }
.of-estreno .of-foco::before { animation: of-foco-a 1.2s steps(1, end) infinite; }
.of-estreno .of-foco::after { animation: of-foco-b 1.2s steps(1, end) infinite; }
@keyframes of-foco-a { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: .16; } }
@keyframes of-foco-b { 0%, 49.9% { opacity: .16; } 50%, 100% { opacity: 1; } }
.of-letrero { position: relative; padding: clamp(14px, 2vw, 24px) clamp(14px, 3vw, 36px); text-align: center; color: var(--paper); }
.of-ek { display: inline-block; font-weight: 800; font-size: .8rem; color: var(--ink); background: var(--y); padding: 5px 14px; border-radius: 999px; }
.of-ct { margin-top: 12px; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff6d0; text-shadow: 0 0 22px rgba(252, 197, 0, .35); }
.of-cs { margin-top: 8px; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--y); }
.of-cp { margin: 12px auto 0; max-width: 52ch; font-size: .975rem; color: rgba(253, 251, 247, .8); text-wrap: pretty; }
.of-letrero .of-cta { justify-content: center; margin-top: 18px; }
.of-letrero .btn.ghost { color: var(--paper); border-color: rgba(253, 251, 247, .6); }
.of-quieta .of-cartel { position: relative; left: auto; top: auto; translate: none; transform: none; opacity: 1; visibility: visible; margin: 24px auto; }
@media (max-width: 760px) {
  .of-cartel { top: 56px; width: calc(100% - 24px); } .of-cadena { top: -56px; height: 62px; }
  .of-marco { padding: 22px 16px; } .of-foco--t { top: 7px; } .of-foco--b { bottom: 7px; } .of-foco--l { left: 7px; } .of-foco--r { right: 7px; }
  .of-ct { font-size: 1.85rem; } .of-cs { font-size: .95rem; } .of-cp { font-size: .85rem; margin-top: 8px; }
  .of-letrero .of-cta { margin-top: 12px; } .of-letrero .btn { min-height: 42px; font-size: .88rem; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .of-estreno .of-marco, .of-estreno .of-foco::before, .of-estreno .of-foco::after { animation: none; } .of-cartel { transition: none; } }
