/* Integra Muebles · Portada de escritorio (prefijo pt-): foto a toda pantalla, título y puntos sobre los muebles. Lo marcado «común» también lo usa el celular. */
.pt { position: relative; height: calc(100dvh - 82px); min-height: 540px; max-height: 960px; overflow: hidden; background: #1d130c; isolation: isolate; }

.pt-escenas { position: absolute; inset: 0; z-index: 0; }
.pt-d { position: absolute; inset: 0; visibility: hidden; overflow: hidden; background: #1d130c; }
.pt-d.prev { visibility: visible; z-index: 1; }
.pt-d.on { visibility: visible; z-index: 3; }
.pt-camara { position: absolute; inset: 0 -14px; transform-origin: 55% 72%; }
.pt-foto { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 70%; }
.pt.ya .pt-d.on { animation: pt-entra 1.15s cubic-bezier(.77, 0, .175, 1) .08s both; }
.pt-filo { position: absolute; inset: 0; z-index: 2; background: #fcc500; clip-path: polygon(130% 0, 140% 0, 120% 100%, 110% 100%); pointer-events: none; visibility: hidden; }
.pt-filo.pasa { visibility: visible; animation: pt-barre 1.15s cubic-bezier(.77, 0, .175, 1) both; }
.pt.auto .pt-d.on .pt-camara, .pt.auto .pt-d.prev .pt-camara { animation: pt-acerca 9s cubic-bezier(.25, .4, .45, 1) both; }

.pt-sombra { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20, 12, 6, .93) 0, rgba(20, 12, 6, .8) 22%, rgba(20, 12, 6, .45) 38%, rgba(20, 12, 6, 0) 56%), linear-gradient(0deg, rgba(20, 12, 6, .55) 0, rgba(20, 12, 6, 0) 24%); }

/* Puntos: un latido sobre el mueble, un trazo que sube y su etiqueta. */
.pt .pt-punto[hidden] { display: none; }
.pt .pt-punto.abajo b { bottom: auto; top: 10px; transform-origin: 50% 0; }
.pt .pt-punto.abajo span { bottom: auto; top: 54px; transform-origin: 22px 0; }
@media (max-width: 1200px) { .pt .pt-punto.abajo span { top: 40px; } }
.pt-punto { position: absolute; z-index: 1; width: 0; height: 0; color: #1b1a17; text-decoration: none; }
.pt-punto i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; }
.pt-punto i::before, .pt-punto i::after { content: ""; position: absolute; left: 15px; top: 15px; width: 14px; height: 14px; border-radius: 50%; }
.pt-punto i::before { background: #fcc500; box-shadow: 0 0 0 3px #fffaf0, 0 4px 14px rgba(0, 0, 0, .45); }
.pt-punto i::after { box-shadow: 0 0 0 2px #fffaf0; opacity: 0; }
.pt-punto b { position: absolute; left: -1px; bottom: 10px; width: 2px; height: 46px; background: #fffaf0; box-shadow: 0 0 8px rgba(0, 0, 0, .4); transform-origin: 50% 100%; }
.pt-punto span { position: absolute; left: -22px; bottom: 56px; display: block; padding: 11px 16px; border-radius: 12px; background: #fffaf0; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); transform-origin: 22px 100%; transition: background-color .18s ease, transform .2s cubic-bezier(.23, 1, .32, 1); }
.pt-punto span::after { content: " ›"; font-size: 17px; }
.pt-d.on .pt-punto i::before { animation: pt-brota .5s cubic-bezier(.2, 1.4, .35, 1) calc(var(--i) * .28s + 1.15s) both; }
.pt-d.on .pt-punto i::after { animation: pt-late 2.6s ease-out calc(var(--i) * .28s + 1.7s) infinite; }
.pt-d.on .pt-punto b { animation: pt-trazo .35s cubic-bezier(.23, 1, .32, 1) calc(var(--i) * .28s + 1.35s) both; }
.pt-d.on .pt-punto span { animation: pt-etiqueta .55s cubic-bezier(.2, 1.25, .35, 1) calc(var(--i) * .28s + 1.55s) backwards; }

.pt-textos { position: absolute; z-index: 2; left: clamp(28px, 5vw, 88px); top: 52%; transform: translateY(-50%); display: grid; align-items: center; width: min(40vw, 640px); color: #fdf8ee; pointer-events: none; }
.pt-textos .pt-t.on { pointer-events: auto; }
.pt-t { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .22s ease-out, visibility 0s .22s; } /* común */
.pt-t.on { visibility: visible; opacity: 1; transition: none; } /* común */
.pt-t :is(h1, h2) { margin: 0; max-width: 11ch; font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif; font-size: clamp(44px, 5.2vw, 92px); font-weight: 800; font-stretch: 88%; font-variation-settings: "opsz" 96; line-height: .98; letter-spacing: -.018em; text-wrap: balance; color: inherit; }
.pt-w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; } /* común */
.pt-w > span { display: inline-block; } /* común */
.pt-t p { margin: 22px 0 0; max-width: 38ch; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.5; color: rgba(253, 248, 238, .9); text-wrap: pretty; text-shadow: 0 1px 12px rgba(10, 5, 0, .6); }
.pt-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; } /* común */
.pt-t.on .pt-w > span { animation: pt-sube .8s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(var(--i) * 60ms + .55s); } /* común */
.pt-t.on p { animation: pt-aparece .6s cubic-bezier(.23, 1, .32, 1) .85s both; } /* común */
.pt-t.on .pt-botones { animation: pt-aparece .6s cubic-bezier(.23, 1, .32, 1) .95s both; } /* común */

.pt-b { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 16px; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .16s ease-out, background-color .18s ease; } /* común */
.pt-b:active { transform: scale(.97); } /* común */
.pt-b--1 { background: #fcc500; color: #1b1a17; }
.pt-b--2 { color: #fdf8ee; box-shadow: inset 0 0 0 1.5px rgba(253, 248, 238, .55); }

.pt-ctl { position: absolute; z-index: 3; right: clamp(20px, 3vw, 52px); bottom: 26px; display: flex; align-items: flex-end; gap: 14px; padding: 10px; border-radius: 22px; background: rgba(20, 12, 6, .62); color: #fdf8ee; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.pt-pausa { display: grid; place-items: center; flex: none; align-self: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(253, 248, 238, .14); color: inherit; cursor: pointer; transition: transform .16s ease-out, background-color .18s ease; } /* común */
.pt-pausa span { width: 12px; height: 14px; border: solid currentColor; border-width: 0 4px; } /* común */
.pt-pausa.parado span { width: 0; height: 0; margin-left: 3px; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; } /* común */
.pt-tabs { display: flex; gap: 10px; }
.pt-tab { display: grid; gap: 7px; width: 96px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; color: rgba(253, 248, 238, .78); cursor: pointer; transition: color .18s ease, transform .16s ease-out; }
.pt-tab img { width: 100%; height: 50px; object-fit: cover; border-radius: 12px; opacity: .6; transition: opacity .25s ease, transform .35s cubic-bezier(.23, 1, .32, 1); }
.pt-tab[aria-current] { color: #fdf8ee; }
.pt-tab[aria-current] img { opacity: 1; transform: translateY(-3px); }
.pt-tab i { display: block; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(253, 248, 238, .26); }
.pt-tab b { display: block; height: 100%; background: #fcc500; transform: scaleX(0); transform-origin: 0 50%; }
.pt-tab[aria-current] b { transform: scaleX(1); }
.pt.auto .pt-tab[aria-current] b { animation: pt-llena 7s linear both; }
.pt-tab:active, .pt-pausa:active { transform: scale(.97); }

.pt.quieta .pt-tab b, .pt.quieta .pt-camara { animation-play-state: paused !important; }
.pt :is(a, button):focus-visible { outline: 3px solid #fcc500; outline-offset: 3px; }
.pt .pt-punto:focus-visible { outline: none; }
.pt-punto:focus-visible span { outline: 3px solid #fcc500; outline-offset: 3px; }
@media (hover: hover) { .pt-punto:hover span { background: #fcc500; transform: translateY(-3px); } .pt-b--1:hover { background: #ffd21f; } .pt-b--2:hover { background: rgba(253, 248, 238, .12); } .pt-tab:hover { color: #fdf8ee; } .pt-tab:hover img { opacity: 1; } .pt-pausa:hover { background: rgba(253, 248, 238, .26); } }
@media (max-width: 1200px) { .pt-punto span { padding: 8px 11px; font-size: 12px; } .pt-punto b { height: 32px; } .pt-punto span { bottom: 42px; } .pt-textos { width: 400px; } .pt-b { height: 46px; padding: 0 18px; font-size: 14px; } .pt-tab { width: 82px; font-size: 12px; } .pt-tab img { height: 46px; } .pt-ctl { gap: 10px; right: 16px; bottom: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .pt-filo { display: none; }
  .pt.auto .pt-tab[aria-current] b { animation: pt-llena 7s linear both !important; }
  .pt.auto.quieta .pt-tab[aria-current] b { animation-play-state: paused !important; }
  .pt.ya .pt-d.on { animation: pt-funde .7s ease both !important; }
}

@keyframes pt-entra { from { clip-path: polygon(120% 0, 140% 0, 120% 100%, 100% 100%); } to { clip-path: polygon(-1% 0, 140% 0, 120% 100%, -21% 100%); } }
@keyframes pt-barre { from { clip-path: polygon(116% 0, 140% 0, 120% 100%, 96% 100%); } to { clip-path: polygon(-8% 0, -4% 0, -24% 100%, -28% 100%); } }
@keyframes pt-acerca { from { transform: scale(1); } to { transform: scale(1.065); } }
@keyframes pt-brota { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pt-late { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3); opacity: 0; } }
@keyframes pt-trazo { from { transform: scaleY(0); } to { transform: none; } }
@keyframes pt-etiqueta { from { transform: translateY(10px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pt-sube { from { transform: translateY(110%); } to { transform: none; } }
@keyframes pt-aparece { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pt-funde { from { opacity: 0; } to { opacity: 1; } }
@keyframes pt-llena { from { transform: scaleX(0); } to { transform: scaleX(1); } }
