/* Страница «Образцы документов»: карточки документов (классы docs-*, doc-*). */
.docs-empty { padding: 28px; text-align: center; color: #5A6180; background: #F3F5FB; border-radius: 14px; }
.docs-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.docs-chip { appearance: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: #16225C; background: #fff; border: 1.5px solid #D5DAEA; border-radius: 999px; padding: 8px 16px; transition: all .15s; }
.docs-chip span { margin-left: 4px; font-weight: 700; color: #9096AD; }
.docs-chip:hover { border-color: #16225C; }
.docs-chip.on { background: #16225C; border-color: #16225C; color: #fff; }
.docs-chip.on span { color: #FFC24A; }
.doc-card[hidden] { display: none; }
.doc-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #DC8E10; margin: -2px 0 6px; }
.docs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.doc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E1E4EF; border-radius: 16px; padding: 20px; box-shadow: 0 2px 10px rgba(22, 34, 92, .06); transition: box-shadow .2s, transform .2s; }
.doc-card:hover { box-shadow: 0 10px 26px rgba(22, 34, 92, .14); transform: translateY(-2px); }
.doc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.doc-badge { display: inline-block; min-width: 52px; text-align: center; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #5A6180; }
.doc-badge-pdf { background: #E5484D; }
.doc-badge-doc, .doc-badge-docx, .doc-badge-odt, .doc-badge-rtf { background: #2B6CF0; }
.doc-badge-xls, .doc-badge-xlsx { background: #1B9E4B; }
.doc-badge-zip { background: #8B5CF6; }
.doc-size { font-size: 12.5px; color: #9096AD; }
.doc-title { font-size: 17px; line-height: 1.35; font-weight: 700; color: #16225C; margin: 0 0 8px; }
.doc-desc { font-size: 14px; line-height: 1.55; color: #5A6180; margin: 0 0 16px; flex: 1; }
.doc-card .doc-btn { margin-top: auto; }
.doc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 700; text-decoration: none; background: #F5A623; color: #16225C; border: 2px solid #F5A623; transition: background .15s, color .15s; }
.doc-btn svg { width: 18px; height: 18px; fill: currentColor; }
.doc-btn:hover { background: #DC8E10; border-color: #DC8E10; }
.doc-btn.ghost { background: transparent; color: #16225C; border-color: #16225C; }
.doc-btn.ghost:hover { background: #16225C; color: #fff; }
.docs-cta { margin-top: 40px; padding: 24px 26px; background: #F3F5FB; border: 1px solid #E1E4EF; border-left: 5px solid #F5A623; border-radius: 14px; }
.docs-cta strong { display: block; font-size: 18px; color: #16225C; margin-bottom: 6px; }
.docs-cta p { margin: 0 0 16px; color: #5A6180; line-height: 1.55; }
.docs-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .docs-cta-btns .doc-btn { flex: 1; } }
