/* ============================================================
   Bizarc.pro — юридические страницы (Согласие / Политика / Оферта)
   Общий стиль для app/soglas, app/policy, app/oferta
   ============================================================ */

:root {
  --blue:      #0783e8;
  --blue-dark: #0670cc;
  --dark:      #1a1a1a;
  --text:      #444;
  --muted:     #777;
  --grey-bg:   #f5f7fa;
  --border:    #e0e4ea;
  --radius:    12px;
  --transition:0.2s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Golos Text', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== ШАПКА ===================== */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.site-logo { display: inline-flex; align-items: center; gap: 12px; }
.site-logo__img { height: 38px; width: auto; display: block; }
.site-logo__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
}
.site-logo__text span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.site-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.site-header__cta:hover { background: var(--blue-dark); color: #fff; }

/* ===================== HERO ===================== */
.page-hero {
  background: linear-gradient(120deg, #0a2a52 0%, #0c4a9e 42%, #1a72d4 68%, #cce0f5 100%);
  padding: 56px 0 44px;
  color: #fff;
}
.page-hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.page-hero__text { flex: 1; }
.page-hero__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
}
.page-hero__subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ===================== КОНТЕНТ ДОКУМЕНТА ===================== */
.section { padding: 0; }

.doc-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 64px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.doc-content .doc-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.doc-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
}
.doc-content p { margin: 0 0 12px; }
.doc-content ul { padding-left: 20px; margin: 0 0 12px; }
.doc-content ul li { margin-bottom: 6px; }
.doc-content .doc-requisites {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
}
.doc-content .doc-requisites p { margin: 0 0 6px; }

/* ===================== ПОДПИСЬ С ПЕЧАТЬЮ ===================== */
.doc-sign {
  position: relative;
  margin: 28px 0 8px;
  min-height: 180px;
}
.doc-sign__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-weight: 700;
  color: var(--dark);
}
.doc-sign__stamp {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: auto;
  opacity: 0.92;
  pointer-events: none;
}
@media (max-width: 720px) {
  .doc-sign__stamp { width: 150px; }
}

/* Подвал — общий модуль js/shared_footer.js (.bz-footer), стилей здесь нет */

/* ===================== АДАПТИВ ===================== */
@media (max-width: 720px) {
  .page-hero__title { font-size: 28px; }
  .page-hero__subtitle { font-size: 17px; }
  .site-header__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .doc-content { padding: 32px 0 48px; }
}
