/* =========================================================
   SEO-страницы услуг - поверх стилей кейса v2 (case2.css)
   ========================================================= */
.nav a[aria-current="page"] { color: var(--accent-ink); }

/* кейсы по услуге - карточки как «следующий кейс» */
.sv-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 28px; }
.sv-cases .cx-next { min-height: 280px; }

/* FAQ на странице услуги - в общей сетке отступов */
.sv-faq { padding-top: 16vh; padding-bottom: 0; }

/* другие направления - перелинковка */
.sv-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sv-link { position: relative; display: grid; gap: 10px; align-content: space-between; min-height: 150px; padding: 24px 26px; border-radius: 22px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s, transform .7s var(--ease); }
.sv-link span { color: var(--muted); font-size: 10px; }
.sv-link strong { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.02em; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; max-width: 18ch; }
.sv-link i { position: absolute; right: 22px; top: 20px; font-style: normal; font-size: 20px; transition: transform .6s var(--ease), color .3s; }
.sv-link:hover { box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-4px); }
.sv-link:hover i { color: var(--accent-ink); transform: rotate(-45deg); }

.sv-end { grid-template-columns: 1fr; }

@media (max-width: 1000px) { .sv-links { grid-template-columns: 1fr; } }

/* ---------- длинные SEO-блоки: текст, таблицы, карточки ---------- */
.sv-block .cs-h2 { margin-bottom: 28px; }
.sv-cols { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: start; }
.sv-text { display: grid; gap: 18px; }
.sv-text p, .sv-lead { font-size: 18px; line-height: 1.65; color: color-mix(in srgb, var(--fg) 82%, transparent); max-width: 64ch; }
.sv-lead { margin-bottom: 26px; color: var(--muted); }
.sv-text a, .sv-note a { color: var(--accent-ink); border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.sv-aside { position: sticky; top: 110px; padding: 26px; border-radius: 24px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.sv-aside > p { color: var(--accent-ink); font-size: 10px; margin-bottom: 14px; }
.sv-list { list-style: none; display: grid; gap: 12px; }
.sv-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; }
.sv-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.sv-table-wrap { overflow-x: auto; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); background: color-mix(in srgb, var(--bg-2) 85%, transparent); -webkit-overflow-scrolling: touch; }
.sv-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.sv-table th, .sv-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sv-table tr:last-child th, .sv-table tr:last-child td { border-bottom: 0; }
.sv-table thead th { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sv-table tbody th { font-weight: 600; white-space: nowrap; }
.sv-table td { color: color-mix(in srgb, var(--fg) 80%, transparent); }
/* таблица цен: суммы не переносятся; в сравнении выделена колонка AXIS */
#ceny .sv-table { min-width: 760px; }
#ceny .sv-table td:nth-child(2), #ceny .sv-table td:nth-child(3) { white-space: nowrap; font-weight: 600; color: var(--fg); }
.sv-table td:nth-child(2) { color: var(--fg); font-weight: 600; }
.sv-table td { min-width: 150px; }
.sv-table thead th:nth-child(2) { color: var(--accent-ink); }
.sv-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

@media (max-width: 1000px) {
  .sv-cols { grid-template-columns: 1fr; gap: 28px; }
  .sv-aside { position: static; }
  .sv-text p, .sv-lead { font-size: 16px; }
}
