/* Demo 3D de Orixe Connect insertada en una página (orixe-connect/ y la portada).
   Hasta que se pulsa, sólo hay una imagen: la demo (three.js y la casa) no se descarga ni gasta nada. */
.ocd { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; color: #f5f5f7; font-family: inherit; }
.ocd-marco { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; border-radius: 28px; overflow: hidden; background: #000;
    border: 1px solid rgba(245,200,76,.28); box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset; }
.ocd-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.ocd-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; margin: 0; cursor: pointer; color: inherit; font: inherit; text-align: left;
    background: #000; }
.ocd-play img { position: absolute; top: 4%; bottom: 4%; right: 4%; height: 92%; width: auto; max-width: 62%; object-fit: contain; transition: transform .7s ease; }
.ocd-play:hover img, .ocd-play:focus-visible img { transform: scale(1.03); }
.ocd-velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 34%, rgba(0,0,0,0) 58%); pointer-events: none; }
.ocd-txt { position: absolute; left: clamp(22px, 5%, 56px); top: 50%; transform: translateY(-50%); max-width: min(440px, 44%); display: flex; flex-direction: column; gap: 14px; }
.ocd-etq { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #f5c84c; font-weight: 600; }
.ocd-txt strong { font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.ocd-txt small { font-size: 1rem; line-height: 1.55; color: rgba(245,245,247,.72); }
.ocd-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 14px 24px; border-radius: 999px; background: #f5c84c; color: #111;
    font-weight: 600; font-size: 1rem; box-shadow: 0 10px 30px rgba(245,200,76,.28); transition: transform .25s ease, box-shadow .25s ease; }
.ocd-play:hover .ocd-cta, .ocd-play:focus-visible .ocd-cta { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(245,200,76,.4); }
.ocd-play:focus-visible { outline: 3px solid #f5c84c; outline-offset: -3px; border-radius: 28px; }
.ocd-cta i { font-size: .85em; }
.ocd-barra { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.ocd-barra[hidden] { display: none; }
.ocd-barra a, .ocd-barra button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font: inherit; font-size: .92rem; cursor: pointer;
    color: #f5f5f7; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); text-decoration: none; }
.ocd-barra a:hover, .ocd-barra button:hover { border-color: rgba(245,200,76,.55); }
@media (max-width: 760px) {
    .ocd-marco { aspect-ratio: auto; height: 86svh; height: 86vh; max-height: none; border-radius: 22px; }
    @supports (height: 1svh) { .ocd-marco { height: 86svh; } }
    .ocd-play img { top: 3%; right: auto; left: 50%; transform: translateX(-50%); height: auto; width: 96%; max-width: none; }
    .ocd-play:hover img, .ocd-play:focus-visible img { transform: translateX(-50%) scale(1.02); }
    .ocd-velo { background: linear-gradient(0deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.82) 40%, rgba(0,0,0,0) 62%); }
    .ocd-txt { top: auto; bottom: 26px; transform: none; left: 22px; right: 22px; max-width: none; gap: 10px; }
    .ocd-play:focus-visible { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .ocd-play img, .ocd-cta { transition: none; } }
