/* Страницы услуг и статей */

.page-hero {
  padding: calc(var(--header) + 40px) 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.page-hero .breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--muted); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--link); }
.page-hero h1 {
  font-family: var(--font-narrow);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  max-width: 720px;
  margin-bottom: 16px;
}
.page-hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}
.page-hero__meta span { color: var(--link); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: #c8cdd6;
}
.article-body h2 {
  font-family: var(--font-narrow);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin: 40px 0 16px;
  line-height: 1.15;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol {
  margin: 0 0 18px 24px;
  color: var(--muted);
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }

.article-sidebar {
  position: sticky;
  top: calc(var(--header) + 24px);
}
.sidebar-box {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.sidebar-box h3 {
  font-family: var(--font-narrow);
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sidebar-box p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.sidebar-box .btn { width: 100%; margin-bottom: 8px; }
.sidebar-box__price {
  font-family: var(--font-narrow);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sidebar-links {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.sidebar-links h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--muted);
}
.sidebar-links a {
  display: block;
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.sidebar-links a:last-child { border: none; }
.sidebar-links a:hover { color: var(--link); }

.faq-inline { margin-top: 40px; }
.faq-inline details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq-inline summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  list-style: none;
}
.faq-inline summary::-webkit-details-marker { display: none; }
.faq-inline p { margin-top: 12px; font-size: 15px; color: var(--muted); }

.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.related-posts h2 {
  font-family: var(--font-narrow);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.related-posts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-posts li { margin-bottom: 10px; }
.related-posts a {
  color: var(--link);
  text-decoration: none;
  font-size: 16px;
}
.related-posts a:hover { text-decoration: underline; }

.page-404 {
  padding: calc(var(--header) + 80px) 0 120px;
  text-align: center;
}
.page-404__title {
  font-family: var(--font-narrow);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 12px 0 20px;
}
.page-404__lead {
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.page-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
}
.page-404__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.page-404__links a:hover { color: var(--link); }

.blog-list { padding: calc(var(--header) + 32px) 0 80px; }
.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .blog-list__grid { grid-template-columns: 1fr; }
}
