/* =====================================================================
   CoberturaSLC · Estilos del documento PDF (carta horizontal 11 x 8.5 in)
   Medidas en px a 96 ppp: 1056 x 816. Réplica de la plantilla corporativa.
   ===================================================================== */
@font-face { font-family: 'Arimo'; font-weight: 400; src: url('../fonts/arimo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Arimo'; font-weight: 700; src: url('../fonts/arimo-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'League Spartan'; font-weight: 700; src: url('../fonts/league-spartan-latin-700-normal.woff2') format('woff2'); }

.doc-render { position: fixed; left: -20000px; top: 0; z-index: -1; }

.pg {
  --azul: #3B7DC4; --azul-claro: #67A0DE; --amarillo: #FFC400;
  --tinta: #2B2F36; --gris: #6B7280; --gris-2: #7A8394;
  --linea: #D9E2EE; --fondo: #F7F9FC; --fondo-azul: #EEF4FB;
  position: relative; width: 1056px; height: 816px; overflow: hidden;
  background: #fff; color: var(--tinta); font-family: 'Arimo', Arial, sans-serif;
  box-sizing: border-box;
}
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }

/* ---------- Barra superior ---------- */
.pg .barra { position: absolute; left: 0; top: 0; width: 100%; height: 6px; display: flex; }
.pg .barra i { display: block; height: 100%; }
.pg .barra i:nth-child(1) { width: 800px; background: var(--azul); }
.pg .barra i:nth-child(2) { width: 190px; background: var(--azul-claro); }
.pg .barra i:nth-child(3) { flex: 1; background: var(--amarillo); }

/* ---------- Encabezado ---------- */
.pg .enc { position: absolute; left: 40px; right: 40px; top: 18px; height: 72px; border-bottom: 2px solid var(--linea); }
.pg .enc .logo-cumbre { position: absolute; left: 0; top: 4px; height: 57px; }
.pg .enc .centro { position: absolute; left: 0; right: 0; top: 8px; text-align: center; }
.pg .enc .sobre { font-size: 11px; font-weight: 700; color: var(--azul-claro); letter-spacing: .3px; }
.pg .enc .sobre span { margin: 0 6px; }
.pg .enc h1 { margin: 6px 0 0; font-family: 'League Spartan', 'Arimo', sans-serif; font-weight: 700; font-size: 31px; line-height: 1.1; color: var(--tinta); letter-spacing: .2px; }
.pg .enc h1.arimo { font-family: 'Arimo', sans-serif; font-size: 30px; }
.pg .enc .logos-der { position: absolute; right: -12px; top: 6px; display: flex; align-items: center; height: 54px; }
.pg .enc .logo-ficohsa { height: 52px; }
.pg .enc .sep { width: 1px; height: 46px; background: var(--linea); margin: 0 10px; }
.pg .enc .logo-autofacil { height: 36px; }

/* ---------- Cajas de datos del cliente ---------- */
.pg .datos { position: absolute; left: 40px; right: 40px; top: 102px; height: 45px; display: flex; gap: 11px; }
.pg .caja { flex: 1; background: var(--fondo); border: 1px solid #DDE4EE; border-radius: 8px; padding: 6px 12px 0; }
.pg .caja .lbl { font-size: 9.5px; font-weight: 700; color: var(--gris-2); letter-spacing: .2px; }
.pg .caja .val { margin-top: 5px; font-size: 13px; color: var(--tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg .caja .val.nombre { font-weight: 700; }
.pg .caja .raya { display: inline-block; border-bottom: 1px solid var(--tinta); width: 205px; height: 12px; }
.pg .caja .raya.corta { width: 80px; }
.pg .chk { display: inline-flex; align-items: center; margin-right: 12px; font-size: 12.5px; }
.pg .chk b { display: inline-block; width: 9px; height: 9px; border: 1px solid #555; margin-right: 5px; position: relative; top: 0; background: #fff; }
.pg .chk.on b { background: var(--azul); border-color: var(--azul); }
.pg .chk.on b::after { content: ''; position: absolute; left: 2px; top: 0px; width: 3px; height: 5px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.pg .chk.on { font-weight: 700; color: var(--azul); }
.pg .fam { color: var(--azul); }

/* ---------- Título de sección con marca amarilla ---------- */
.pg .sec { position: absolute; font-size: 14px; font-weight: 700; color: var(--tinta); padding-left: 12px; letter-spacing: .1px; }
.pg .sec::before { content: ''; position: absolute; left: 0; top: 2px; width: 3px; height: 13px; border-radius: 2px; background: var(--amarillo); }

/* ---------- Tabla de coberturas (página 1) ---------- */
.pg .tabla { position: absolute; left: 40px; top: 184px; width: 620px; }
.pg .tabla .th { display: flex; height: 25px; align-items: center; background: var(--azul); color: #fff; font-size: 10px; font-weight: 700; border-radius: 6px 6px 0 0; letter-spacing: .2px; }
.pg .tabla .fila { display: flex; height: 36px; align-items: center; border-bottom: 1px solid #E3E9F2; }
.pg .tabla .fila:nth-child(odd) { background: var(--fondo); }
.pg .tabla .c1 { width: 60px; display: flex; justify-content: center; }
.pg .tabla .c2 { width: 300px; padding-left: 12px; }
.pg .tabla .c3 { width: 130px; text-align: center; }
.pg .tabla .c4 { width: 130px; text-align: center; }
.pg .tabla .th .c1 { justify-content: flex-start; padding-left: 8px; }
.pg .tabla .fila .c3, .pg .tabla .fila .c4 { height: 26px; display: flex; align-items: center; justify-content: center; }
.pg .tabla .fila .c3 { border-left: 1px solid var(--linea); border-right: 1px solid var(--linea); }
.pg .badge { width: 42px; height: 23px; border-radius: 4px; background: var(--fondo-azul); color: var(--azul); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pg .tabla .nom { font-size: 12.5px; font-weight: 700; line-height: 1.15; }
.pg .tabla .sub { font-size: 8.5px; color: var(--gris); margin-top: 1px; }
.pg .tabla .suma { font-size: 10.5px; line-height: 1.25; }
.pg .tabla .suma.g { font-size: 12.5px; }
.pg .tabla .ded { font-size: 12.5px; line-height: 1.25; }
.pg .tabla .ded.pq { font-size: 10px; }
.pg .tabla .tel { font-size: 18px; font-weight: 700; line-height: 1; margin-top: 1px; }
.pg .tabla .fila.ult { height: 41px; }

/* ---------- Panel lateral (beneficios) ---------- */
.pg .lateral { position: absolute; left: 681px; top: 160px; width: 335px; height: 610px; border: 1px solid var(--linea); border-radius: 14px; background: #fff; overflow: hidden; }
.pg .lateral .cab { height: 40px; background: var(--fondo-azul); position: relative; }
.pg .lateral .cab .sec { left: 16px; top: 12px; }
.pg .lateral ul { list-style: none; margin: 0; padding: 0 18px 0 32px; }
.pg .lateral li { position: relative; }
.pg .lateral li::before { content: ''; position: absolute; left: -15px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--azul); }
.pg .lateral li h4 { margin: 0; font-size: 11px; font-weight: 700; color: var(--tinta); }
.pg .lateral li p { margin: 4px 0 0; font-size: 9.5px; line-height: 1.4; color: #4A5160; }
.pg .lateral li.p-sm p { font-size: 8.5px; }

/* ---------- Pie ---------- */
.pg .pie { position: absolute; left: 40px; right: 40px; top: 779px; border-top: 1px solid var(--linea); padding-top: 6px; display: flex; justify-content: space-between; font-size: 10.5px; color: var(--gris); }
.pg .pie span.p { margin: 0 6px; }

/* ---------- Página 2: tablas de asistencia ---------- */
.pg .asis { position: absolute; left: 40px; width: 580px; }
.pg .asis .th { display: flex; height: 23px; align-items: center; background: var(--azul); color: #fff; font-size: 10px; font-weight: 700; border-radius: 6px 6px 0 0; letter-spacing: .2px; }
.pg .asis.viajes .th { background: #4A88CE; }
.pg .asis .th .n { padding-left: 12px; }
.pg .asis .n { width: 340px; }
.pg .asis .m { width: 120px; text-align: center; }
.pg .asis .e { width: 120px; text-align: center; }
.pg .asis .fila { display: flex; align-items: center; height: 24.1px; border-bottom: 1px solid #E3E9F2; }
.pg .asis .fila .n { padding-left: 12px; line-height: 1.05; }
.pg .asis .fila .m { border-left: 1px solid var(--linea); border-right: 1px solid var(--linea); height: 17px; display: flex; align-items: center; justify-content: center; }
.pg .asis .fila .m, .pg .asis .fila .e { font-size: 12px; color: var(--tinta); }
.pg .asis .t { font-size: 10px; font-weight: 700; }
.pg .asis .s { font-size: 8.5px; color: var(--gris); }

/* ---------- Página 2: tarjetas a la derecha ---------- */
.pg .cond { position: absolute; left: 641px; top: 102px; width: 375px; height: 250px; background: var(--fondo-azul); border-radius: 12px; padding: 12px 16px 0 16px; }
.pg .cond .sec { position: relative; display: block; font-size: 13.5px; }
.pg .cond .intro { margin: 7px 0 0; font-size: 10px; line-height: 1.4; color: #3A404B; }
.pg .cond ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 16px; }
.pg .cond li { position: relative; font-size: 9.7px; line-height: 1.42; color: #3A404B; margin-bottom: 8px; }
.pg .cond li::before { content: ''; position: absolute; left: -13px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--azul); }
.pg .obs { position: absolute; left: 641px; top: 358px; width: 375px; height: 50px; border: 1px solid var(--linea); border-radius: 10px; padding: 6px 13px; font-size: 9.8px; line-height: 1.4; color: #3A404B; background: #fff; }
.pg .nota { position: absolute; left: 641px; top: 415px; width: 375px; height: 50px; border: 1px solid #F1DB86; border-radius: 10px; padding: 6px 13px; font-size: 9.8px; line-height: 1.4; color: #3A404B; background: #FFF7D9; }
.pg .gpscard { position: absolute; left: 641px; top: 471px; width: 168px; height: 103px; border: 1px solid var(--linea); border-radius: 10px; padding: 6px 10px; }
.pg .gpscard .tt { font-size: 11px; font-weight: 700; color: var(--azul); }
.pg .gpscard .logo { height: 30px; margin-top: 7px; display: flex; align-items: center; }
.pg .gpscard .logo img { max-height: 30px; max-width: 148px; }
.pg .gpscard .lb { font-size: 9px; font-weight: 700; color: var(--gris); margin-top: 4px; }
.pg .gpscard .num { font-size: 21px; font-weight: 700; color: var(--tinta); text-align: center; margin-top: 2px; }
.pg .emerg { position: absolute; left: 819px; top: 471px; width: 188px; height: 103px; border: 2.5px solid var(--azul); border-radius: 9px; text-align: center; padding-top: 3px; }
.pg .emerg .tt { font-size: 11px; font-weight: 700; color: var(--azul); }
.pg .emerg .lb { font-size: 13px; font-weight: 700; color: var(--tinta); margin-top: 10px; }
.pg .emerg .num { font-size: 33px; font-weight: 700; color: var(--azul); margin-top: 8px; letter-spacing: -.3px; }

/* ---------- Constancia ---------- */
.pg .const { position: absolute; left: 40px; top: 615px; width: 976px; height: 129px; border: 2px solid var(--azul); border-radius: 14px; overflow: hidden; }
.pg .const .cab { height: 36px; background: var(--azul); color: #fff; font-size: 13.5px; font-weight: 700; padding: 11px 0 0 18px; letter-spacing: .2px; }
.pg .const .txt { position: absolute; left: 18px; top: 52px; width: 362px; font-size: 11px; line-height: 1.55; color: var(--tinta); text-align: justify; }
.pg .const .campo { position: absolute; text-align: center; }
.pg .const .campo .v { font-size: 12px; line-height: 15px; font-weight: 700; color: var(--tinta); height: 15px; white-space: nowrap; overflow: hidden; }
.pg .const .campo .l { border-top: 2px solid #8C96A8; padding-top: 8px; font-size: 9px; line-height: 11px; font-weight: 700; color: var(--gris); }
.pg .const .campo.nom { left: 402px; top: 62px; width: 300px; }
.pg .const .campo.fir { left: 755px; top: 24px; width: 240px; }
.pg .const .fecha { position: absolute; left: 755px; top: 90px; width: 240px; text-align: center; }
.pg .const .fecha .v { font-size: 11.5px; line-height: 14px; height: 14px; font-weight: 700; color: var(--tinta); }
.pg .const .fecha .l { font-size: 9px; line-height: 11px; font-weight: 700; color: var(--gris); margin-top: 4px; }
