/* ============================================================
   Общие стили для информационных и правовых страниц
   (О нас · Конфиденциальность · Условия · Контакты)
   ============================================================ */
:root {
  --bg: #050806;
  --bg-2: #0a110d;
  --card-bg: #0b1410;
  --card-border: #1a3a22;
  --green: #2dd06e;
  --green-bright: #36e07b;
  --green-text: #b9d8c5;
  --green-muted: #7a9e84;
  --amber: #ffb000;
  --red: #ff4d4d;
  --link: #36e07b;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--green-text);
  font-family: "Cairo", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 80, 40, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 22px 80px;
}

/* ---- Шапка / навигация ---- */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--green-bright);
  font-size: 18px;
}
.brand .shield {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}
.nav-links a {
  color: var(--green-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green-bright);
  background: rgba(45, 208, 110, 0.1);
}

/* ---- Контент ---- */
.card {
  background: linear-gradient(180deg, var(--card-bg), var(--bg-2));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px 28px;
}

h1 {
  color: #fff;
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 8px;
}
h2 {
  color: var(--green-bright);
  font-size: 20px;
  margin: 30px 0 10px;
}
h3 {
  color: #e9f5ee;
  font-size: 16px;
  margin: 20px 0 8px;
}
p { margin: 12px 0; }
ul, ol { margin: 12px 0; padding-inline-start: 22px; }
li { margin: 6px 0; }
a { color: var(--link); }
strong { color: #fff; }

.updated {
  color: var(--green-muted);
  font-size: 13px;
  margin: 0 0 4px;
}

.callout {
  border: 1px solid rgba(255, 176, 0, 0.4);
  background: rgba(255, 176, 0, 0.08);
  color: #ffe6b0;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 15px;
}
.callout.danger {
  border-color: rgba(255, 77, 77, 0.45);
  background: rgba(255, 77, 77, 0.08);
  color: #ffc9c9;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--card-border);
}
.contact-list .label {
  color: var(--green-muted);
  min-width: 130px;
  flex: 0 0 auto;
}

/* ---- Подвал ---- */
.site-footer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--card-border);
  color: var(--green-muted);
  font-size: 13px;
  text-align: center;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin-bottom: 12px;
}
.site-footer a { color: var(--green-muted); text-decoration: none; }
.site-footer a:hover { color: var(--green-bright); }

.back-home {
  display: inline-block;
  margin-top: 24px;
  color: var(--green-bright);
  text-decoration: none;
  font-size: 15px;
}
.back-home:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .card { padding: 22px 18px; }
  h1 { font-size: 23px; }
  .contact-list li { flex-direction: column; gap: 2px; }
}
