/* Hoja A4 con 4 tarjetas de mesa (A6, 105 x 148 mm). Imprimir al 100 %, sin márgenes. */
:root { --primario: #c2410c; --texto-primario: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
@page { size: A4; margin: 0; }
* { box-sizing: border-box; }
body { margin: 0; background: #e5e7eb; }
.barra { padding: 12px; text-align: center; font-size: 14px; }
.barra button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 10px; border: 0; background: #111827; color: #fff; cursor: pointer; }
#hoja {
  width: 210mm; height: 297mm; margin: 0 auto; background: #fff;
  display: grid; grid-template-columns: 105mm 105mm; grid-template-rows: 148.5mm 148.5mm;
}
.tarjeta {
  border: 0.2mm dashed #cbd5e1; padding: 9mm 8mm 7mm; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.t-tipo { margin: 0; font-size: 8pt; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primario); }
.t-nombre { margin: 1.5mm 0 3mm; font-size: 17pt; line-height: 1.1; font-weight: 800; color: #111; }
.t-llamada { margin: 0; font-size: 12pt; font-weight: 800; color: #fff; background: var(--primario); padding: 1.5mm 4mm; border-radius: 99px; }
.t-llamada-en { margin: 1mm 0 0; font-size: 9pt; color: #555; }
.t-qr { width: 58mm; height: 58mm; margin: 4mm 0 2mm; }
.t-dominio { margin: 0; font-size: 10pt; font-weight: 700; color: #111; word-break: break-all; }
.t-aviso { margin: 2mm 0 0; font-size: 7pt; line-height: 1.25; color: #555; max-width: 80mm; }
@media print {
  body { background: #fff; }
  .barra { display: none; }
  #hoja { margin: 0; }
}
