/* ─────────────────────────────────────────────
   POLZABAR — Document pages (privacy, offer)
   ───────────────────────────────────────────── */

.doc,
.doc-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 32px 84px;
}

.doc .section-label,
.doc-page .section-label {
  margin-bottom: 14px;
}

.doc__title,
.doc-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--color-bark);
  margin: 0 0 10px;
}
.doc__title em,
.doc-title em {
  font-style: italic;
  color: var(--color-moss);
}

.doc__date,
.doc-date {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 42px;
}

.doc__section,
.doc-section {
  margin-bottom: 34px;
}

.doc__section h2,
.doc-section h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-bark);
  margin: 0 0 12px;
}

.doc__section p,
.doc-section p,
.doc__section li,
.doc-section li {
  font-size: 15px;
  color: var(--color-text-mid);
  line-height: 1.8;
  font-weight: 300;
}

.doc__section p,
.doc-section p {
  margin: 0 0 10px;
}

.doc__section ul,
.doc-section ul {
  padding-left: 22px;
  margin: 8px 0 0;
}

.doc__section ul li,
.doc-section ul li {
  margin-bottom: 5px;
}

.doc__section table,
.doc-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 14px;
}

.doc__section table th,
.doc__section table td,
.doc-section table th,
.doc-section table td {
  padding: 12px 14px;
  border: 1px solid var(--color-cream-dark);
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.6;
  vertical-align: top;
}

.doc__section table th,
.doc-section table th {
  background: var(--color-cream);
  font-weight: 600;
  color: var(--color-bark);
}

.doc__contacts,
.doc-contacts {
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(251,247,240,0.95));
  border: 1px solid rgba(44, 36, 22, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 48px;
}

.doc__contacts p,
.doc-contacts p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.85;
  margin: 0;
}

.doc__contacts a,
.doc-contacts a,
.doc__section a,
.doc-section a {
  color: var(--color-moss);
  text-decoration: none;
}

.doc__contacts a:hover,
.doc-contacts a:hover,
.doc__section a:hover,
.doc-section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .doc,
  .doc-page {
    padding: 86px 20px 72px;
  }

  .doc__section h2,
  .doc-section h2 {
    font-size: 20px;
  }

  .doc__contacts,
  .doc-contacts {
    padding: 20px;
  }
}
