/* Lo común a los quince conceptos: base, ampliación de piezas y canal de contacto.
   Todo lo demás (tipografía, color, composición) lo define cada concepto. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
html.py-sin-scroll { overflow: hidden; }

/* una pieza real nunca se recorta */
.py-pieza { object-fit: contain; }

/* ampliar */
.py-lb { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: rgba(8, 8, 8, 0.96); color: #f4f1ea; padding: 56px clamp(16px, 7vw, 110px) 74px; }
.py-lb.abierto { display: grid; }
.py-lb-media { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.py-lb-media img, .py-lb-media video { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; }
.py-lb-pie { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 0 20px; font: 500 12px/1.3 system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.py-lb-pie b { font-weight: 700; }
.py-lb-pie span, .py-lb-pie i { opacity: 0.6; font-style: normal; }
.py-lb-x, .py-lb-a { position: absolute; z-index: 2; font-size: 20px; opacity: 0.65; padding: 16px; transition: opacity 0.2s; }
.py-lb-x:hover, .py-lb-a:hover { opacity: 1; }
.py-lb-x { top: 10px; right: 14px; }
.py-lb-a { top: 50%; transform: translateY(-50%); }
.py-lb-prev { left: 6px; }
.py-lb-next { right: 6px; }
.py-lb.una .py-lb-a { display: none; }

/* canal de contacto */
.py-canal { position: fixed; inset: 0; z-index: 1100; display: none; place-items: center; background: rgba(8, 8, 8, 0.7); }
.py-canal.abierto { display: grid; }
.py-canal-caja { background: #f4f1ea; color: #111; padding: clamp(28px, 5vw, 52px); text-align: center; max-width: 90vw; font-family: system-ui, sans-serif; }
.py-canal-caja p { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.02em; }
.py-canal-caja div { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.py-canal-caja a { font-weight: 700; font-size: 14px; padding: 12px 24px; border: 1px solid #111; border-radius: 100px; transition: background 0.2s, color 0.2s; }
.py-canal-caja a:hover { background: #111; color: #f4f1ea; }
.py-canal-caja button { margin-top: 18px; font-size: 12.5px; color: #777; border-bottom: 1px solid #ccc; }

@media (max-width: 600px) { .py-lb-a { display: none; } }
