/* Galería de plantillas demo (2026-11-05). Usa los tokens del diseño clásico. */
.tpl-note { font-size: 14px; color: #5f5f69; margin-top: 10px; }
.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tpl-card { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 18px 50px -30px rgba(24,24,27,.35); transition: transform .4s cubic-bezier(.2,.7,.1,1), box-shadow .4s; display: flex; flex-direction: column; }
.tpl-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -34px rgba(24,24,27,.45); }
.tpl-shot { position: relative; display: block; aspect-ratio: 960 / 560; overflow: hidden; background: #0d0d10; }
.tpl-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1); }
.tpl-card:hover .tpl-shot img { transform: scale(1.04); }
.tpl-badge { position: absolute; right: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(14,14,18,.82); color: #c8ff5a; font: 700 11px/1.2 var(--font, system-ui); letter-spacing: .12em; text-transform: uppercase; }
.tpl-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tpl-body .eyebrow { align-self: flex-start; margin-bottom: 6px; }
.tpl-body h2 { margin: 0; }
.tpl-body h2 a { text-decoration: none; color: inherit; }
.tpl-body .muted { margin: 4px 0 0; }
.tpl-tech { font-size: 13px; color: #5f5f69; margin: 6px 0 14px; }
.tpl-open { align-self: flex-start; margin-top: auto; }
@media (max-width: 820px) { .tpl-grid { grid-template-columns: 1fr; } .tpl-card { border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .tpl-card, .tpl-shot img { transition: none; } .tpl-card:hover, .tpl-card:hover .tpl-shot img { transform: none; } }
