/* AutoZorro — фирменный стиль для служебных страниц: оферта, политика ПД, 404.
   Та же дизайн-система, что на главной, /blogers и /simple:
   бежевый фон, оранжевый акцент, Unbounded + Golos Text. */

@import url("../fonts/fonts.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e7e5df; }

.lp {
  font-family: 'Golos Text', ui-sans-serif, system-ui, sans-serif;
  color: #211D18;
  background: #e7e5df;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.lp h1, .lp h2, .lp h3 { font-family: 'Unbounded', ui-sans-serif, sans-serif; letter-spacing: -.02em; margin: 0; }
.lp a { color: #C9551E; }
.lp a:hover { color: #E86A2C; }
.lp img { max-width: 100%; display: block; }

.lp-wrap { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; width: 100%; }
.lp-eyebrow {
  font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: #C9551E; font-weight: 600; margin-bottom: 12px;
}

/* ---------- Шапка ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px;
  position: sticky; top: 0; z-index: 50;
  background: rgba(231, 229, 223, .9);
  backdrop-filter: saturate(150%) blur(10px);
}
.nav-logo img { width: 118px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: #5C554B; }
.nav-links a { text-decoration: none; color: #5C554B; }
.nav-links a:hover { color: #C9551E; }
.nav-cta {
  padding: 10px 20px; background: #E86A2C; color: #fff !important;
  border-radius: 12px; font-weight: 600; font-size: 13.5px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(232,106,44,.28);
}
.nav-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #211D18; margin: 5px 0; border-radius: 2px; }

/* ---------- Кнопки ---------- */
.btn-primary {
  display: inline-block; text-decoration: none; padding: 16px 28px; background: #E86A2C; color: #fff !important;
  border-radius: 14px; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 22px rgba(232,106,44,.35);
}
.btn-secondary {
  display: inline-block; text-decoration: none; padding: 16px 24px; border: 1.5px solid #DDD3C5;
  border-radius: 14px; font-weight: 600; font-size: 15px; color: #211D18 !important; background: #FAF6F0;
}

/* ---------- Правовой документ ---------- */
.doc-main { flex: 1; padding: 40px 0 88px; }
.doc-head { max-width: 860px; margin: 0 auto 28px; }
.doc-head h1 { font-weight: 700; font-size: 34px; line-height: 1.18; margin-bottom: 12px; }
.doc-edition { font-size: 15px; color: #8A8175; margin: 0; }
.doc-card {
  max-width: 860px; margin: 0 auto;
  background: #fff; border: 1px solid #EFE9E0; border-radius: 18px;
  padding: 44px 48px;
  font-size: 15.5px; line-height: 1.75; color: #3a342d;
}
.doc-card ol, .doc-card ul { padding-left: 24px; margin: 0 0 16px; }
.doc-card li { margin-bottom: 8px; }
.doc-card p { margin: 0 0 14px; }
.doc-card a { word-break: break-word; }
.doc-back { display: inline-block; margin-top: 28px; font-size: 14.5px; text-decoration: none; color: #8A8175 !important; }
.doc-back:hover { color: #C9551E !important; }

/* ---------- 404 ---------- */
.nf {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 20px; padding: 64px 24px 96px;
}
.nf-code { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(72px, 14vw, 140px); line-height: 1; color: #E86A2C; letter-spacing: -.03em; }
.nf h1 { font-size: 28px; }
.nf p { margin: 0; color: #5C554B; font-size: 16.5px; max-width: 30em; }
.nf-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid #DDD3C5; padding: 48px 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 14px; margin: 0 0 12px; letter-spacing: -.01em; }
.footer p, .footer a { font-size: 14.5px; color: #5C554B; line-height: 1.7; margin: 0; text-decoration: none; }
.footer a:hover { color: #C9551E; }
.footer-legal { font-size: 13px; color: #8A8175; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lp-wrap { padding-left: 20px; padding-right: 20px; }
  .nav { position: sticky; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #FAF6F0; border-top: 1px solid #EFE9E0; padding: 8px 20px 18px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; width: 100%; }
  .nav-links .nav-cta { margin-top: 8px; width: auto; }
  .nav-burger { display: block; }
  .doc-main { padding: 24px 0 56px; }
  .doc-head h1 { font-size: 24px; }
  .doc-card { padding: 26px 20px; font-size: 15px; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}
