/* Tarjetas seleccionables y ventana flotante adaptable. */
.cinta-tarjeta { cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .18s ease; }
.cinta-tarjeta:hover { border-color: #c8b4eb; box-shadow: 0 12px 30px #0005, 0 0 18px #b998ed22; }
.cinta-tarjeta:active { transform: scale(.975); }
.cinta-tarjeta:focus-visible { outline: 2px solid #c9b0f0; outline-offset: -4px; }
body.ventana-abierta { overflow: hidden; }
.ventana-cinta { width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0; overflow: auto; border: 1px solid #c1add34d; border-radius: 24px; color: #f2f2f5; background: #14151c; box-shadow: 0 30px 100px #0009; }
.ventana-cinta::backdrop { background: #05060bbd; backdrop-filter: blur(5px); }
.ventana-cerrar { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 50%; background: #15171de8; color: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
.ventana-contenido { display: grid; grid-template-columns: 1.1fr 1fr; }
.ventana-imagen { width: 100%; height: 100%; min-height: 340px; max-height: 550px; object-fit: contain; background: #0a0c12; }
.ventana-texto { padding: 60px 30px 36px; }
.ventana-texto h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.12; letter-spacing: -.035em; margin: 18px 0; }
#ventana-descripcion { color: #bec1cc; font-size: 16px; line-height: 1.7; }
.ventana-contacto { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; margin-top: 18px; padding: 12px 18px; border: 1px solid #c9b0f060; border-radius: 25px; color: #e9ddfa; text-decoration: none; font-size: 14px; }
.ventana-contacto:hover { background: #c9b0f012; }
.ventana-cinta a:focus-visible, .ventana-cerrar:focus-visible { outline: 2px solid #c9b0f0; outline-offset: 3px; }
@media (max-width: 650px) {
    .ventana-cinta { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
    .ventana-contenido { grid-template-columns: 1fr; }
    .ventana-imagen { height: 230px; min-height: 0; }
    .ventana-texto { padding: 24px; }
    #ventana-descripcion { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .cinta-tarjeta { transition: none; } }
