/* Стили правовых страниц (политика конфиденциальности, согласие на обработку ПДн) */
:root {
  --bg: #f3f3f1;
  --white: #ffffff;
  --text: #161616;
  --muted: #6b6b6b;
  --line: #d8d8d8;
  --accent: #7A1E2C;
  --accent-dark: #5E1420;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 900px;
  --transition: 0.28s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
main a, .foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
main a:hover, .foot a:hover { color: var(--accent-dark); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* ---------- Шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 243, 241, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 122px; width: auto; }
.topbar__actions { display: flex; align-items: center; gap: 14px; }
.phone { font-weight: 800; font-size: 18px; color: var(--text); white-space: nowrap; text-decoration: none; transition: var(--transition); }
.phone:hover { color: var(--accent); }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14px; text-decoration: none;
  border: 1px solid transparent; transition: var(--transition); white-space: nowrap;
}
.pill-btn--accent { background: var(--accent); color: #fff; }
.pill-btn--accent:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Текст документа ---------- */
.legal { padding: 44px 0 56px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.legal h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700; font-size: clamp(30px, 5vw, 50px);
  line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 18px;
}
.legal__lead {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 18px 20px;
  color: var(--text); font-size: 16px; margin-bottom: 32px;
}
.legal__block { margin-bottom: 30px; }
.legal h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700; font-size: clamp(21px, 3vw, 28px);
  line-height: 1.15; margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.legal p { margin-bottom: 12px; font-size: 15.5px; }
.legal__sub { padding-left: 18px; border-left: 2px solid var(--line); }
.legal ul, .legal__ol { margin: 0 0 12px 22px; }
.legal li { margin-bottom: 12px; font-size: 15.5px; }
.legal__ol li::marker { font-weight: 700; color: var(--accent); }

.legal__note {
  margin-top: 28px; padding: 14px 18px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}

/* ---------- Футер ---------- */
.foot { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--muted); font-size: 14px; }
.foot__inner { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: var(--text); font-weight: 600; text-decoration: none; }
.foot a:hover { color: var(--accent); }

/* ---------- Адаптив ---------- */
@media (max-width: 720px) {
  .topbar__inner { gap: 10px; padding: 10px 0; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand img { height: 54px; }
  .topbar__actions { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .phone { font-size: 15px; }
  .topbar .pill-btn { padding: 9px 13px; font-size: 12.5px; }
  .legal { padding: 30px 0 40px; }
  .foot__inner { justify-content: flex-start; }
}
