/* Biblioteca CCA (pestaña «Biblioteca» de ccaaduanas.com). Mismo estilo que el resto: el héroe y las secciones vienen de inicio.css. */
.docs { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.doc { display: flex; flex-direction: column; padding: 24px; }
.doc-ins { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.doc h3 { font-family: var(--serif); font-weight: 900; font-size: 1.15rem; color: var(--navy-900); margin-bottom: .45em; }
.doc > p { flex: 0 0 auto; font-size: .94rem; }
.doc-datos { margin: 0 0 18px; padding: 12px 14px; background: var(--gris-50); border: 1px solid var(--gris-200); border-radius: 12px; font-size: .84rem; margin-top: auto; }
.doc-datos div + div { margin-top: 8px; }
.doc-datos dt { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris-500); }
.doc-datos dd { margin: 2px 0 0; color: var(--gris-800); font-weight: 600; }
.nw { white-space: nowrap; }
.nota-legal { margin-top: 22px; }
.gancho { background: linear-gradient(135deg, var(--navy-850), var(--navy-800)); border: 0; color: #fff; padding: 34px 32px; box-shadow: 0 18px 44px rgba(10,37,64,.25); }
.gancho .ojo { text-align: left; color: var(--celeste-300); }
.gancho h2 { color: #fff; }
.gancho p { color: rgba(255,255,255,.86); }
.gancho strong { color: #fff; }
.gancho-precio { font-size: 1.05rem; } .gancho-precio b { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-right: 4px; font-variant-numeric: lining-nums; }
.gancho .acciones { justify-content: flex-start; margin: 18px 0 0; }
.btn-claro { background: #fff; color: var(--navy-850); border-color: #fff; }
.btn-claro:hover { background: var(--celeste-100); color: var(--navy-900); border-color: var(--celeste-100); }
.btn-borde { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.btn-borde:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
@media (max-width: 520px) { .gancho { padding: 26px 20px; } .gancho .acciones .btn { width: 100%; } }

/* ventana para pedir los datos antes de descargar */
.modal { display: none; position: fixed; inset: 0; z-index: 300; align-items: center; justify-content: center; padding: 16px; background: rgba(6,23,42,.55); }
.modal.abierto { display: flex; }
.modal-caja { width: 100%; max-width: 460px; max-height: 94vh; overflow-y: auto; padding: 28px; box-shadow: 0 30px 80px rgba(6,23,42,.4); }
.modal-caja h2 { margin-bottom: .25em; }
.modal-caja .btn + .btn { margin-top: 10px; }
.campo input[type=tel] { width: 100%; font: inherit; padding: 11px 14px; min-height: 46px; border: 1px solid var(--gris-300); border-radius: 12px; background: #fff; color: var(--gris-900); }
.campo input[type=tel]:focus { border-color: var(--celeste-500); outline: 0; box-shadow: 0 0 0 4px rgba(14,165,233,.18); }
.error-campo { color: var(--peligro); font-size: .84rem; margin: 6px 0 12px; }
.error-campo[hidden] { display: none; }
.campo .error-campo { margin: 6px 0 0; }
