/* Юридические документы (/politika-obrabotki-personalnyh-dannyh,
 * /soglasie-na-obrabotku-personalnyh-dannyh) и реквизиты (/requisites).
 * Дополняет assets/dentro-home.css — .crumbs/.intro/.sec оттуда, здесь только
 * типографика самого документа и карточка реквизитов.
 */
.doc-text {
  max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px;
}
.doc-text h2 { font-size: 22px; margin: 0; }
.doc-text section + section { margin-top: 32px; }
.doc-text p { margin: 16px 0 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.doc-text p:first-child { margin-top: 0; }
.doc-text ul { margin: 16px 0 0; padding: 0; list-style: none; }
.doc-text li {
  position: relative; padding-left: 20px; margin-top: 10px;
  color: var(--ink); font-size: 16px; line-height: 1.6;
}
.doc-text li::before { content: '—'; position: absolute; left: 0; color: var(--muted); }
.doc-text li:first-child { margin-top: 16px; }
.doc-text strong { font-weight: 700; }
.doc-text a { color: var(--blue); }

/* ── реквизиты: карточка с парами «поле — значение» ─────────────────────── */
.reqs {
  max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 40px;
}
.reqs__row { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.reqs__row:last-child { border-bottom: 0; }
.reqs__label { flex: 0 0 260px; color: var(--muted); font-size: 15px; }
.reqs__value { flex: 1 1 300px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.reqs__value a { color: var(--blue); font-weight: 600; }

@media (max-width: 760px) {
  .doc-text { padding: 24px; }
  .reqs { padding: 4px 20px; }
  .reqs__label { flex-basis: 100%; }
}

/* ── окно-заглушка под скан документа: пропорции листа А4, до загрузки файла ── */
.scan-frame {
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft);
  aspect-ratio: 210 / 297; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; text-align: center; color: var(--muted);
}
.scan-frame svg { width: 40px; height: 40px; color: var(--blue-2); flex: none; }
.scan-frame strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.scan-frame span { font-size: 13px; line-height: 1.4; max-width: 220px; }

/* ── лицензия: реквизиты слева, крупное окно-заглушка под скан справа ───── */
.lic { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: stretch; }
.lic .reqs { max-width: none; }
@media (max-width: 900px) {
  .lic { grid-template-columns: 1fr; }
  .lic .scan-frame { max-width: 260px; margin: 0 auto; }
}

/* ── карточки остальных документов со своим окном-заглушкой ─────────────── */
.doc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc-card {
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.doc-card .scan-frame { border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; aspect-ratio: auto; height: 150px; }
.doc-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.doc-card__title { font-size: 17px; margin: 0 0 8px; }
.doc-card__note { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.doc-card__go { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 14px; }
.doc-card__go::after { content: '→'; transition: transform .15s; }
.doc-card:hover .doc-card__go::after { transform: translateX(3px); }
.doc-card__pending { margin-top: 16px; color: var(--muted); font-size: 13px; }

.docs-pending__title { font-size: 20px; margin: 0 0 8px; }
.docs-pending__note { max-width: 720px; color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 24px; }

@media (max-width: 900px) {
  .doc-cards { grid-template-columns: 1fr; }
}
