/*
Theme Name: 115 Помощь
Theme URI: https://site.maxwell.srvcont.ru/
Author: DSH
Description: Тема сайта 115·Помощь — разбор блокировок и запросов банков по 115-ФЗ.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: sitemax
*/

/* 115·Помощь — прототип сайта. Один файл стилей, без внешних зависимостей. */
:root {
  --ink: #0b1b2b;
  --navy: #0f2b46;
  --navy-2: #163a5c;
  --teal: #0f766e;
  --teal-2: #14b8a6;
  --teal-soft: #e6f4f1;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --red: #b91c1c;
  --red-soft: #fee2e2;
  --green: #15803d;
  --green-soft: #dcfce7;
  --bg: #f5f7fa;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --muted: #5b6b7c;
  --muted-2: #7b8a99;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 43, 70, .08);
  --shadow-lg: 0 24px 60px rgba(15, 43, 70, .14);
  --max: 1180px;
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 14px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }

.nw { white-space: nowrap; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ---------- Верхняя полоса ---------- */
.topbar {
  background: var(--navy);
  color: #cfe0ef;
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 36px; gap: 16px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -0.03em;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(15,118,110,.25);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 16px; letter-spacing: -0.01em; }
.logo-text span { font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--teal); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 15px; }
.header-phone:hover { color: var(--teal); text-decoration: none; }
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 12px;
  font-weight: 650; font-size: 15px; line-height: 1; cursor: pointer;
  border: 1px solid transparent; transition: .18s ease; text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 18px rgba(15,118,110,.22); }
.btn--primary:hover { background: #0b655e; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--light { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(20,184,166,.14), transparent 60%),
    radial-gradient(700px 380px at 0% 10%, rgba(15,43,70,.08), transparent 55%),
    linear-gradient(180deg, #eef5f6 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .container { padding-top: 56px; padding-bottom: 64px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 3.5vw, 48px); font-weight: 800; letter-spacing: -0.025em; max-width: 620px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-top: 18px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 28px; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); }
.hero-points svg { color: var(--teal); flex: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .micro { font-size: 13px; color: var(--muted); }

/* Карточка ситуаций */
.situation-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 22px;
}
.situation-card .sc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.situation-card .sc-head b { font-size: 16px; }
.situation-card .sc-head span { font-size: 12.5px; color: var(--muted); }
.situation-list { list-style: none; display: grid; gap: 8px; }
.situation-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px; border-radius: 12px; border: 1px solid transparent;
  color: var(--ink); text-decoration: none; transition: .16s ease;
}
.situation-list a:hover { background: #f3f8f8; border-color: #d9ebe7; text-decoration: none; }
.situation-list .si-icon {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--teal-soft); color: var(--teal);
}
.situation-list .si-icon.warn { background: var(--amber-soft); color: var(--amber); }
.situation-list .si-icon.danger { background: var(--red-soft); color: var(--red); }
.situation-list .si-text { display: flex; flex-direction: column; min-width: 0; }
.situation-list .si-text b { font-size: 14.5px; font-weight: 650; }
.situation-list .si-text span { font-size: 12.5px; color: var(--muted); }
.situation-list .si-arrow { margin-left: auto; color: var(--muted-2); flex: none; }
.situation-card .sc-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.situation-card .sc-foot a { font-weight: 600; }

/* ---------- Секции ---------- */
.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--teal); border-radius: 2px; }

/* ---------- Сетки и карточки ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: .18s ease; position: relative;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d7e2e8; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; }
.icon-box {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 16px;
}
.icon-box.warn { background: var(--amber-soft); color: var(--amber); }
.icon-box.danger { background: var(--red-soft); color: var(--red); }
.icon-box.green { background: var(--green-soft); color: var(--green); }

/* Карточка-ссылка целиком */
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { text-decoration: none; }
a.card .card-link { color: var(--teal); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step .step-no {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Полоса цифр ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.stat { padding: 22px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Чек-лист ---------- */
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist.checklist--sm li { font-size: 14px; }

/* ---------- Плашки ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: #eef2f6; color: var(--navy); }
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--amber { background: var(--amber-soft); color: var(--amber); }
.pill--red { background: var(--red-soft); color: var(--red); }
.note {
  border-left: 3px solid var(--teal); background: #f1f9f8; padding: 14px 16px;
  border-radius: 0 10px 10px 0; font-size: 14px; color: #244;
}
.note--warn { border-color: var(--amber); background: #fffbeb; color: #5b3d06; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 650; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-weight: 500; color: var(--muted);
  transition: .2s ease;
}
.faq details[open] summary::after { content: "–"; background: var(--teal); border-color: var(--teal); color: #fff; }
.faq details .faq-body { padding: 0 44px 22px 0; color: var(--muted); font-size: 14.5px; }
.faq details .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA-полоса ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(20,184,166,.25), transparent 60%),
    linear-gradient(135deg, #0d2338 0%, #123a5a 100%);
  color: #fff; padding: 64px 0;
}
.cta-grid { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: #c7d8e6; margin-top: 12px; font-size: 16px; }
.cta-band .cta-points { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.cta-band .cta-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #dbe8f2; }
.cta-band .cta-points svg { color: var(--teal-2); flex: none; margin-top: 2px; }

/* ---------- Форма ---------- */
.form-card { background: #fff; border-radius: 18px; padding: 26px; color: var(--ink); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 20px; font-weight: 750; }
.form-card .form-sub { font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 12px 13px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
  transition: .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.14);
}
.field textarea { min-height: 84px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted-2); margin-top: 5px; }
.field .error { display: none; font-size: 12px; color: var(--red); margin-top: 5px; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.field.is-invalid .error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); margin: 14px 0 16px; }
.consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--teal); }
.form-note { font-size: 12px; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-success {
  display: none; background: var(--green-soft); border: 1px solid #b7e4c2; color: #14532d;
  border-radius: 12px; padding: 16px; font-size: 14px;
}
.form-success.is-visible { display: block; }

/* ---------- Футер ---------- */
.site-footer { background: #0a1725; color: #a9bccd; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer a { color: #c3d3e1; font-size: 14px; display: inline-block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 13.5px; color: #8ea4b8; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: #8ea4b8; }
.footer-bottom {
  border-top: 1px solid #1c2f43; margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: #7e94a8;
}
.footer-bottom .disclaimer { max-width: 640px; }

/* ---------- Страницы-статьи ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(20,184,166,.12), transparent 60%),
    linear-gradient(180deg, #eef5f6 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 46px;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { color: var(--line-2); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.02em; max-width: 860px; }
.page-hero .lead { margin-top: 14px; font-size: 17.5px; color: var(--muted); max-width: 760px; }
.page-hero .page-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.article-wrap { padding: 48px 0 20px; }
.article-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 48px; align-items: start; }
.article { min-width: 0; }
.article h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.015em; margin: 38px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.article p { font-size: 15.5px; color: #22364a; }
.article ul:not(.checklist):not(.steps) { padding-left: 20px; margin: 0 0 16px; }
.article ul:not(.checklist):not(.steps) li { margin-bottom: 6px; font-size: 15.5px; }
.article .lead-para { font-size: 17px; color: var(--muted); }

.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h4 { font-size: 14px; margin-bottom: 12px; }
.side-links { list-style: none; display: grid; gap: 2px; }
.side-links a { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); padding: 8px 8px; border-radius: 8px; }
.side-links a:hover { background: #f3f8f8; color: var(--teal); text-decoration: none; }
.side-card--cta { background: linear-gradient(135deg, #0d2338, #123a5a); color: #fff; border: 0; }
.side-card--cta h4 { color: #fff; font-size: 17px; }
.side-card--cta p { color: #c7d8e6; font-size: 13.5px; }
.side-card--cta .btn { margin-top: 6px; }

/* ---------- Таблица ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 16px 0 24px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f8fafc; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }

/* ---------- Пример письма ---------- */
.letter {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6;
  color: #1f344a; white-space: pre-wrap; overflow-x: auto;
}
.letter .ph { color: var(--teal); font-weight: 700; }

/* ---------- Сравнение зон ---------- */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 24px; }
.zone { border-radius: 12px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.zone b { display: block; font-size: 14px; margin-bottom: 4px; }
.zone span { font-size: 13px; color: var(--muted); }
.zone--green { border-top: 4px solid var(--green); }
.zone--amber { border-top: 4px solid #d97706; }
.zone--red { border-top: 4px solid var(--red); }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero .container { padding-top: 42px; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav, .header-phone, .topbar .topbar-note, .header-actions .btn { display: none; }
  .burger { display: inline-flex; }
  .site-header .container { min-height: 60px; gap: 12px; }
  .site-header .header-actions { margin-left: auto; }
  .nav.is-open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .hero .container { padding-top: 32px; padding-bottom: 44px; }
  .hero .lead { font-size: 16.5px; }
  .grid-2, .grid-3, .grid-4, .steps, .sidebar, .zones { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .cta-band { padding: 44px 0; }
  .form-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero { padding: 20px 0 34px; }
  .article h2 { font-size: 22px; }
  .article-wrap { padding-top: 32px; }
  .topbar .container { justify-content: center; }
  .letter { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto; }
}


/* ---------- WordPress ---------- */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav-list a:hover { color: var(--teal); text-decoration: none; }
.nav-list .current-menu-item > a { color: var(--teal); }
@media (max-width: 900px) {
  .nav.is-open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open .nav-list li { border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-list li:last-child { border-bottom: 0; }
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { display: none; background: var(--red-soft); color: #7f1d1d; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px; }
.form-error.is-visible { display: block; }
.article .form-card { max-width: 460px; }
.entry-content > :first-child { margin-top: 0; }

/* ---------- Статьи: хаб и архив ---------- */
.hub-cats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 8px; }
.hub-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  color: var(--ink); transition: .16s ease;
}
.hub-cat:hover { border-color: #d7e2e8; box-shadow: var(--shadow); text-decoration: none; transform: translateY(-1px); }
.hub-cat b { display: block; font-size: 14.5px; }
.hub-cat em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.hub-cat .hub-arrow { color: var(--teal); font-size: 18px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal); text-decoration: none; }
.post-card p { font-size: 14px; color: var(--muted); flex: 1; }
.post-meta { font-size: 12px; color: var(--muted-2); margin-bottom: 8px; }
.post-meta a { color: var(--teal); }
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 14px;
}
.pagination .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.pagination .page-numbers:hover { border-color: var(--teal); text-decoration: none; }
@media (max-width: 1024px) { .hub-cats, .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .hub-cats, .post-grid { grid-template-columns: 1fr; } }

@media (max-width: 1150px) { .header-phone { display: none; } }

.footer-grid > div > a { display: block; }
