/* Блог — как главная snoop-doc.ru */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --violet: #3B82F6;
  --violet-hover: #2563EB;
  --violet-dark: #1D4ED8;
  --violet-light: rgba(59, 130, 246, 0.08);
  --violet-lighter: rgba(59, 130, 246, 0.04);
  --violet-glow: rgba(59, 130, 246, 0.15);
  --white: #ffffff;
  --text: #1e1b2e;
  --text-secondary: #5b5675;
  --text-muted: #9490a6;
  --border: rgba(59, 130, 246, 0.08);
  --border-subtle: rgba(30, 27, 46, 0.06);
  --shadow-sm: 0 1px 3px rgba(30, 27, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 27, 46, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --bg-section-alt: linear-gradient(180deg, #f0f5ff 0%, #e8f0ff 100%);
  --footer-bg: #1A1A2E;
}

html { overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 10px;
}
.nav-link-btn:hover { color: var(--violet); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--violet);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--violet-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--violet-glow);
  color: #fff !important;
}

.page-hero {
  background: var(--bg-section-alt);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
}

.section {
  padding: 40px 0 72px;
  background: var(--white);
}

.card-list { display: grid; gap: 16px; }
.card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.card p { font-size: 15px; color: var(--text-secondary); margin: 0; }
.card-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--violet);
}

.article-wrap {
  padding: 32px 0 64px;
  background: var(--white);
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.back:hover { color: var(--text); }

.article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 40px;
  box-shadow: var(--shadow-sm);
}
.meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.article .lead {
  margin-bottom: 8px;
  max-width: none;
}
.article .section-label { margin-bottom: 8px; }
.article h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  line-height: 1.3;
  color: var(--text);
}
.article h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.article p { margin-bottom: 14px; font-size: 16px; }
.article ul, .article ol {
  margin: 0 0 16px 1.15em;
  font-size: 16px;
}
.article li { margin-bottom: 8px; color: var(--text); }
.article li::marker { color: var(--violet); }

.law-quote {
  margin: 12px 0 18px;
  padding: 14px 16px 14px 18px;
  background: var(--violet-lighter);
  border-left: 3px solid var(--violet);
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.law-quote cite {
  display: block;
  margin-bottom: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--violet);
}
.law-quote p { margin: 0; font-size: 14px; color: var(--text-secondary); }

.download-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.download-list li {
  margin: 0 0 10px;
  padding: 0;
}
.download-list a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--violet-lighter);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.download-list a:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}
.download-list .dl-meta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet);
  padding-top: 2px;
}
.note-box {
  margin: 16px 0 20px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.note-box p { margin: 0; font-size: 14px; color: var(--text-secondary); }

.steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 16px 16px 16px 56px;
  margin-bottom: 10px;
  background: var(--violet-lighter);
  border-radius: 12px;
  border: 1px solid var(--border);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

.cta-box {
  margin-top: 36px;
  padding: 28px 26px;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: 0 8px 24px var(--violet-glow);
}
.cta-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}
.cta-box p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.92);
  font-size: 15px;
}
.cta-box a.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--violet);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.cta-box a.btn:hover {
  background: #f0f7ff;
  color: var(--violet-hover);
  transform: translateY(-1px);
}

.more-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
  font-weight: 500;
}

footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.55);
  padding: 28px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: #fff; }
.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 600px) {
  .nav-logo img { height: 32px; }
  .nav-link-btn { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .page-hero { padding: 36px 0 28px; }
  .article { padding: 24px 18px 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
