/* Estilos propios de la tarjeta digital (antes en línea en tarjeta.html). */
body.pagina-tarjeta { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; background: linear-gradient(165deg, #10213f 0%, #14306b 100%); }
.tarjeta-digital { width: 100%; max-width: 420px; overflow: hidden; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.td-logo { padding: 2rem 1.5rem 0.25rem; }
.td-logo img { display: block; width: 230px; height: auto; margin: 0 auto; }
.td-cuerpo { padding: 0.5rem 1.5rem 1.75rem; }
.td-cuerpo h1 { margin: 0; font-size: 1.65rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
.td-rol { margin: 0.6rem 0 0; color: var(--blue, #1e3a8a); font-weight: 700; font-size: 1.02rem; }
.td-lema { margin: 0.35rem 0 0; color: var(--muted, #64748b); font-size: 0.95rem; }
.td-botones { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.td-boton { display: block; width: 100%; padding: 0.95rem 1rem; border: 2px solid #10213f; border-radius: 14px; background: #fff; color: #10213f; font: 700 1rem/1.2 "Poppins", Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.td-boton:hover, .td-boton:focus-visible { background: #eff6ff; }
.td-boton.principal { border-color: #10213f; background: #10213f; color: #fff; }
.td-boton.principal:hover, .td-boton.principal:focus-visible { background: #1e3a8a; border-color: #1e3a8a; }
.td-pie { padding: 0.9rem 1.5rem 1.2rem; border-top: 1px solid #e2e8f0; color: #64748b; font-size: 0.8rem; }
.td-pie a { color: inherit; }
.td-franja { height: 8px; background: #00b4e6; }
