/* === SAMO2GA · SEO Editorial Pages — общий стиль для всех /service/ страниц === */
:root {
  --bg: #0A0A0A;
  --bg-1: #0E0E0E;
  --accent: #FFE600;
  --ink: #FFFFFF;
  --ink-2: #B8B8B8;
  --ink-3: #6E6E6E;
  --border: rgba(255, 255, 255, 0.10);
  --rule: rgba(255, 230, 0, 0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* === Топ-полоса === */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.topbar a.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); transition: color 0.2s; }
.topbar a.back:hover { color: var(--accent); }
.topbar a.back::before { content: '←'; color: var(--accent); font-weight: 700; }
.topbar .topbar-title { color: var(--ink-3); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.topbar .topbar-cta { color: var(--accent); font-weight: 700; }

/* === Контейнер === */
.article { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* === Hero === */
.hero { padding: 80px 0 64px; border-bottom: 1px solid var(--border); }
.hero-meta {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px;
}
.hero-meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  word-spacing: 0.04em;
}
.hero h1 em { font-style: normal; color: var(--accent); letter-spacing: 0; }
.hero-deck { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin-bottom: 36px; max-width: 660px; }
.hero-deck strong { color: var(--ink); font-weight: 600; }
.hero-keys {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--border);
}
.hero-keys > div {
  flex: 1; min-width: 140px;
  padding: 18px 0;
  border-right: 1px solid var(--border);
}
.hero-keys > div:last-child { border-right: none; }
.hero-keys .kv-label {
  font-family: ui-monospace, monospace;
  font-size: 10.5px; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  display: block; margin-bottom: 4px;
}
.hero-keys .kv-value {
  font-family: 'Clash Display', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--ink);
}
.hero-keys .kv-value.accent { color: var(--accent); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  padding: 16px 28px;
  background: var(--accent); color: #0A0A0A;
  font-weight: 700; font-size: 16px;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 14px 30px -10px rgba(255, 230, 0, 0.5);
}
.hero-cta:hover { transform: translateY(-2px); background: #FFD60A; box-shadow: 0 20px 38px -10px rgba(255, 230, 0, 0.7); }

/* === Главы === */
.chapter { padding: 64px 0; border-bottom: 1px solid var(--border); }
.chapter:last-of-type { border-bottom: none; }
.chapter-num {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 12.5px; color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px; display: block;
}
.chapter h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: 0;
  word-spacing: 0.04em;
  margin-bottom: 28px;
}
.chapter h2 .highlight {
  background: linear-gradient(180deg, transparent 60%, rgba(255, 230, 0, 0.3) 60%);
  padding: 0 4px;
}
.chapter h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 18px; font-weight: 700;
  margin: 24px 0 8px;
}
.chapter p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 16px; }
.chapter p strong, .chapter strong { color: var(--ink); font-weight: 600; }
.chapter p .accent-text { color: var(--accent); font-weight: 600; }

/* Drop-cap */
.chapter--lead .lead-para::first-letter {
  font-family: 'Clash Display', sans-serif;
  font-size: 64px; line-height: 0.85; font-weight: 700;
  float: left; margin: 6px 8px 0 0;
  color: var(--accent);
}

/* Pull-quote */
.pull-quote {
  margin: 36px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--accent);
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600; line-height: 1.3;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(255, 230, 0, 0.05), transparent);
}

/* Inline list */
.inline-list { list-style: none; padding: 0; margin: 18px 0; counter-reset: item; }
.inline-list li {
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  display: flex; align-items: baseline; gap: 14px;
  font-size: 16px;
}
.inline-list li::before {
  content: counter(item, decimal-leading-zero);
  counter-increment: item;
  font-family: ui-monospace, monospace;
  font-size: 12px; color: var(--accent);
  flex-shrink: 0; min-width: 32px;
}
.inline-list li strong { color: var(--ink); font-weight: 700; flex-shrink: 0; min-width: 200px; }
.inline-list li span { color: var(--ink-2); }

/* Process */
.process-line {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.process-line > div { padding: 22px 22px 22px 0; border-right: 1px solid var(--border); }
.process-line > div:last-child { border-right: none; padding-right: 0; }
.process-line > div:not(:first-child) { padding-left: 22px; }
.process-line .pl-num {
  font-family: 'Clash Display', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--accent); line-height: 0.9;
  margin-bottom: 10px;
}
.process-line h3 { margin: 0 0 6px; font-size: 16px; }
.process-line p { font-size: 14.5px; margin: 0; line-height: 1.5; }

/* Pricing table */
.pricing-table { width: 100%; margin: 28px 0 16px; border-collapse: collapse; font-size: 15px; }
.pricing-table thead th {
  padding: 18px 14px; text-align: left;
  font-family: 'Clash Display', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--accent);
}
.pricing-table thead th.featured { background: rgba(255, 230, 0, 0.08); color: var(--accent); }
.pricing-table thead .price-amount { display: block; font-size: 24px; margin-top: 6px; color: var(--accent); }
.pricing-table thead th.featured .price-amount { color: var(--accent); }
.pricing-table thead .price-time {
  display: block;
  font-size: 11px; color: var(--ink-3);
  font-weight: 500; margin-top: 4px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.pricing-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2); font-size: 14px;
}
.pricing-table tbody td:first-child { color: var(--ink); font-weight: 500; }
.pricing-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.pricing-table .has { color: var(--accent); font-weight: 700; font-size: 16px; }
.pricing-table .no { color: var(--ink-3); }
.pricing-table .featured-col { background: rgba(255, 230, 0, 0.04); }

/* FAQ */
.faq-list { counter-reset: faq; margin: 24px 0; }
.faq-item { counter-increment: faq; padding: 24px 0; border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: baseline; gap: 16px;
  font-family: 'Clash Display', sans-serif;
  font-size: 19px; font-weight: 600;
  color: var(--ink); margin-bottom: 10px;
}
.faq-q::before {
  content: 'Q' counter(faq, decimal-leading-zero);
  font-family: ui-monospace, monospace;
  font-size: 12px; color: var(--accent);
  flex-shrink: 0; padding: 4px 8px;
  background: rgba(255, 230, 0, 0.1);
  border: 1px solid rgba(255, 230, 0, 0.25);
  border-radius: 4px;
  align-self: flex-start; transform: translateY(-2px);
}
.faq-a { padding-left: 50px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* Author note */
.author-note {
  margin: 36px 0;
  padding: 22px 24px;
  background: rgba(255, 230, 0, 0.04);
  border: 1px solid var(--rule);
  border-radius: 12px;
  display: flex; gap: 16px; align-items: flex-start;
}
.author-note .author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #FFC400);
  color: #0A0A0A;
  font-family: 'Clash Display', sans-serif;
  font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-note .author-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.author-note .author-text strong { color: var(--ink); }

/* Related strip */
.related-strip {
  margin: 32px 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.related-strip a {
  padding: 22px;
  border-right: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
  display: block;
}
.related-strip a:last-child { border-right: none; }
.related-strip a:hover { background: rgba(255, 230, 0, 0.04); }
.related-strip .rs-num {
  font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.08em; margin-bottom: 8px;
}
.related-strip h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 17px; font-weight: 700;
  margin-bottom: 4px; color: var(--ink);
}
.related-strip p { font-size: 13px; color: var(--ink-3); margin: 0; }
.related-strip a:hover h3 { color: var(--accent); }

/* End CTA */
.end-cta {
  background: var(--accent);
  color: #0A0A0A;
  padding: 56px 24px;
  text-align: center;
  margin-top: 64px;
}
.end-cta .ec-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5); margin-bottom: 16px; display: block;
}
.end-cta h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; color: #0A0A0A;
  line-height: 1.1; margin-bottom: 14px;
  letter-spacing: 0;
  word-spacing: 0.04em;
}
.end-cta p {
  color: rgba(0, 0, 0, 0.78);
  font-size: 17px; margin-bottom: 28px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.end-cta a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: #0A0A0A; color: var(--accent);
  font-weight: 700; font-size: 16px;
  border-radius: 10px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.end-cta a:hover { transform: translateY(-2px); background: #fff; color: #0A0A0A; }

/* Footer */
footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  color: var(--ink-3);
  text-align: center; font-size: 13px;
}
footer p { margin: 0 0 8px; }
footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
footer .footer-links a { color: var(--ink-2); }
footer .footer-links a:hover { color: var(--accent); }

/* === Mobile === */
@media (max-width: 720px) {
  .article { padding: 0 18px; }
  .hero { padding: 56px 0 44px; }
  .chapter { padding: 48px 0; }
  .hero-keys > div { padding: 14px 12px; min-width: 50%; border-bottom: 1px solid var(--border); }
  .process-line { grid-template-columns: 1fr; }
  .process-line > div { border-right: none; border-bottom: 1px solid var(--border); padding: 18px 0 !important; }
  .process-line > div:last-child { border-bottom: none; }
  .pricing-table { font-size: 13px; display: block; overflow-x: auto; }
  .pricing-table thead th { padding: 14px 10px; font-size: 12.5px; }
  .pricing-table thead .price-amount { font-size: 18px; }
  .pricing-table tbody td { padding: 12px 10px; font-size: 13px; }
  .related-strip { grid-template-columns: 1fr; }
  .related-strip a { border-right: none; border-bottom: 1px solid var(--border); }
  .related-strip a:last-child { border-bottom: none; }
  .pull-quote { padding: 20px 22px; font-size: 18px; }
  .author-note { padding: 18px 18px; gap: 12px; }
  .faq-q { font-size: 16.5px; }
  .faq-a { padding-left: 0; padding-top: 4px; font-size: 15px; }
  .end-cta { padding: 44px 22px; margin-top: 48px; }
  .topbar-inner { padding: 11px 18px; gap: 10px; }
  .topbar .topbar-title { display: none; }
}
