/* CryptoIt — стили темы. Без сборки: файл подключается как есть. */

:root {
  --cx-navy: #0b1f3a;
  --cx-navy-2: #132d52;
  --cx-navy-3: #1c3b68;
  --cx-ink: #0f1b2d;
  --cx-text: #1f2a3b;
  --cx-muted: #5a6a80;
  --cx-line: #e2e8f0;
  --cx-soft: #f3f6fa;
  --cx-soft-2: #e9eff7;
  --cx-white: #ffffff;
  --cx-accent: #13a57c;
  --cx-accent-d: #0d8463;
  --cx-accent-l: #e5f7f1;
  --cx-mint: #2fd3a3;
  --cx-warn: #a86708;
  --cx-warn-l: #fff6e5;
  --cx-bad: #b42318;
  --cx-bad-l: #fdecea;
  --cx-ok: #0d8463;
  --cx-ok-l: #e5f7f1;
  --cx-radius: 14px;
  --cx-radius-s: 10px;
  --cx-shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .08);
  --cx-shadow-l: 0 20px 50px rgba(5, 16, 33, .35);
  --cx-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --cx-wrap: 1200px;
  --cx-gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cx-white);
  color: var(--cx-text);
  font: 400 17px/1.65 var(--cx-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--cx-accent-d); text-underline-offset: 3px; }
a:hover { color: var(--cx-navy); }
:focus-visible { outline: 3px solid var(--cx-mint); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--cx-ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.cx-wrap { width: 100%; max-width: var(--cx-wrap); margin: 0 auto; padding: 0 var(--cx-gutter); }
.cx-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cx-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cx-white); padding: 8px 14px; border-radius: 8px; }
.cx-skip:focus { left: 8px; }
.cx-icon { flex: none; }

/* Кнопки */
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px;
  font: 600 16px/1.2 var(--cx-font); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.cx-btn--primary { background: var(--cx-accent); color: var(--cx-white); }
.cx-btn--primary:hover { background: var(--cx-accent-d); color: var(--cx-white); }
.cx-btn--ghost { background: transparent; color: var(--cx-navy); border-color: var(--cx-line); }
.cx-btn--ghost:hover { border-color: var(--cx-navy); color: var(--cx-navy); }
.cx-btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.cx-btn--wide { width: 100%; }
.cx-btn:disabled, .cx-btn.is-busy { opacity: .65; cursor: progress; }

/* Шапка */
.cx-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--cx-line); }
.cx-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.cx-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cx-ink); flex: none; }
.cx-logo__text { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.cx-logo__text span { color: var(--cx-accent); }
.cx-nav { flex: 1; }
.cx-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.cx-nav__item { position: relative; }
.cx-nav__toggle, .cx-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--cx-text); font: 500 15.5px/1.2 var(--cx-font); text-decoration: none; cursor: pointer;
}
.cx-nav__toggle:hover, .cx-nav__link:hover, .cx-nav__item.is-active > .cx-nav__toggle, .cx-nav__link[aria-current] { background: var(--cx-soft); color: var(--cx-navy); }
.cx-nav__toggle svg { transition: transform .15s; }
.cx-sub {
  position: absolute; top: calc(100% + 8px); left: -8px; width: 360px; list-style: none; margin: 0; padding: 8px;
  background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); box-shadow: var(--cx-shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.cx-sub a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--cx-text); }
.cx-sub a strong { display: block; font-weight: 600; color: var(--cx-ink); font-size: 15px; }
.cx-sub a span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--cx-muted); margin-top: 2px; }
.cx-sub a:hover, .cx-sub a[aria-current] { background: var(--cx-soft); }
.cx-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.cx-header__tg { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cx-soft); color: #229ed9; }
.cx-header__phone { font-weight: 600; color: var(--cx-ink); text-decoration: none; white-space: nowrap; }
.cx-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--cx-line); border-radius: 12px; background: var(--cx-white); cursor: pointer; position: relative; }
.cx-burger__bars, .cx-burger__bars::before, .cx-burger__bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--cx-ink); border-radius: 2px; content: ""; transition: transform .2s, opacity .2s; }
.cx-burger__bars { top: 21px; }
.cx-burger__bars::before { left: 0; right: 0; top: -6px; }
.cx-burger__bars::after { left: 0; right: 0; top: 6px; }
.cx-burger[aria-expanded="true"] .cx-burger__bars { background: transparent; }
.cx-burger[aria-expanded="true"] .cx-burger__bars::before { transform: translateY(6px) rotate(45deg); }
.cx-burger[aria-expanded="true"] .cx-burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1081px) {
  .cx-nav__item.has-sub:hover > .cx-sub, .cx-nav__item.has-sub:focus-within > .cx-sub, .cx-nav__item.is-open > .cx-sub { opacity: 1; visibility: visible; transform: none; }
  .cx-nav__item.has-sub:hover > .cx-nav__toggle svg, .cx-nav__item.is-open > .cx-nav__toggle svg { transform: rotate(180deg); }
}

@media (max-width: 1080px) {
  .cx-header__in { min-height: 64px; gap: 12px; justify-content: space-between; }
  .cx-burger { display: inline-block; }
  .cx-header__phone { display: none; }
  .cx-nav {
    position: fixed; inset: 64px 0 0 0; background: var(--cx-white); padding: 12px var(--cx-gutter) 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; border-top: 1px solid var(--cx-line);
  }
  .cx-nav.is-open { transform: none; visibility: visible; }
  .cx-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .cx-nav__item { border-bottom: 1px solid var(--cx-line); }
  .cx-nav__toggle, .cx-nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; border-radius: 0; }
  .cx-nav__toggle:hover, .cx-nav__link:hover { background: none; }
  .cx-sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .cx-nav__item.is-open > .cx-sub { display: block; }
  .cx-nav__item.is-open > .cx-nav__toggle svg { transform: rotate(180deg); }
  body.cx-menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .cx-header__cta { display: none; }
  .cx-logo__text { font-size: 20px; }
}

/* Главный экран */
.cx-hero {
  position: relative; color: #dbe6f5; overflow: hidden;
  background: radial-gradient(900px 420px at 85% 10%, rgba(47, 211, 163, .16), transparent 60%), linear-gradient(160deg, var(--cx-navy) 0%, var(--cx-navy-2) 60%, var(--cx-navy-3) 100%);
}
.cx-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.cx-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.cx-hero__eyebrow { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(47, 211, 163, .14); color: var(--cx-mint); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.cx-hero__title { color: var(--cx-white); font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 18px; }
.cx-hero__lead { font-size: 19px; color: #c5d4e8; max-width: 560px; }
.cx-hero__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.cx-hero__points li { position: relative; padding-left: 28px; color: #e6eef9; font-size: 15.5px; }
.cx-hero__points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--cx-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.cx-hero__tool .cx-tool { margin: 0; box-shadow: var(--cx-shadow-l); border: 0; }
@media (max-width: 960px) {
  .cx-hero__in { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; padding-bottom: 52px; }
}
@media (max-width: 520px) {
  .cx-hero__points { grid-template-columns: 1fr; }
  .cx-hero__lead { font-size: 17px; }
}

/* Заголовок внутренней страницы */
.cx-pagehead { background: linear-gradient(180deg, var(--cx-soft) 0%, var(--cx-white) 100%); border-bottom: 1px solid var(--cx-line); padding: 28px 0 30px; }
.cx-pagehead__title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 10px 0 0; max-width: 900px; }
.cx-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--cx-muted); }
.cx-crumbs li + li::before { content: "/"; margin-right: 6px; color: #a5b3c6; }
.cx-crumbs a { color: var(--cx-muted); text-decoration: none; }
.cx-crumbs a:hover { color: var(--cx-navy); text-decoration: underline; }

/* Раскладка */
.cx-main { min-height: 50vh; }
.cx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 64px; }
.cx-layout--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
@media (max-width: 1024px) { .cx-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Контент */
.cx-content { min-width: 0; }
.cx-content > * { max-width: 780px; }
.cx-content > .cx-tool, .cx-content > .cx-lead, .cx-content > .cx-related, .cx-content > .cx-services, .cx-content--home > * { max-width: none; }
.cx-content > p:first-child { font-size: 19px; color: var(--cx-ink); }
.cx-content h2 { font-size: clamp(24px, 2.6vw, 31px); font-weight: 750; margin-top: 1.8em; }
.cx-content h3 { font-size: 21px; font-weight: 700; margin-top: 1.5em; }
.cx-content .wp-block-list { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.cx-content .wp-block-list > li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.cx-content ul.wp-block-list > li::before { content: ""; position: absolute; left: 8px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--cx-accent); }
.cx-content ol.wp-block-list { counter-reset: cx; }
.cx-content ol.wp-block-list > li { counter-increment: cx; }
.cx-content ol.wp-block-list > li::before { content: counter(cx); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 50%; background: var(--cx-navy); color: var(--cx-white); font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; }
.cx-content .wp-block-table { margin: 0 0 1.5em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cx-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
.cx-content th, .cx-content td { border: 1px solid var(--cx-line); padding: 10px 14px; text-align: left; vertical-align: top; }
.cx-content th { background: var(--cx-soft); color: var(--cx-ink); font-weight: 600; }
.cx-content .cx-note { margin: 1.4em 0; padding: 18px 20px 4px; border-left: 4px solid var(--cx-accent); background: var(--cx-accent-l); border-radius: 0 var(--cx-radius-s) var(--cx-radius-s) 0; }
.cx-content .wp-block-details { border: 1px solid var(--cx-line); border-radius: var(--cx-radius-s); margin: 0 0 10px; background: var(--cx-white); }
.cx-content .wp-block-details summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--cx-ink); list-style: none; position: relative; }
.cx-content .wp-block-details summary::-webkit-details-marker { display: none; }
.cx-content .wp-block-details summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--cx-muted); border-bottom: 2px solid var(--cx-muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.cx-content .wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.cx-content .wp-block-details > :not(summary) { padding: 0 18px; }
.cx-content .wp-block-details[open] { box-shadow: var(--cx-shadow); }

/* Инструменты проверки */
.cx-tool { margin: 28px 0; padding: 24px; background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: var(--cx-radius); box-shadow: var(--cx-shadow); color: var(--cx-text); }
.cx-tool__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.cx-tool__head .cx-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--cx-accent-l); color: var(--cx-accent-d); }
.cx-tool__title { margin: 0; font-size: 20px; font-weight: 700; color: var(--cx-ink); }
.cx-tool__sub { margin: 2px 0 0; font-size: 15px; color: var(--cx-muted); }
.cx-tool__form { display: flex; gap: 10px; }
.cx-tool__form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid #cdd7e4; border-radius: 12px; font: 400 16px var(--cx-font); color: var(--cx-ink); background: var(--cx-white); }
.cx-tool__form input:focus { border-color: var(--cx-accent); outline: none; box-shadow: 0 0 0 4px rgba(19, 165, 124, .15); }
.cx-tool__form .cx-btn { min-height: 52px; }
.cx-tool__result { margin-top: 16px; }
.cx-tool__loading { color: var(--cx-muted); font-size: 15px; }
.cx-tool__note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--cx-muted); }
.cx-result { margin: 0 0 12px; border: 1px solid var(--cx-line); border-radius: var(--cx-radius-s); overflow: hidden; }
.cx-result__row { display: grid; grid-template-columns: 44% 56%; border-top: 1px solid var(--cx-line); }
.cx-result__row:first-child { border-top: 0; }
.cx-result dt, .cx-result dd { margin: 0; padding: 10px 14px; font-size: 15px; overflow-wrap: anywhere; }
.cx-result dt { background: var(--cx-soft); color: var(--cx-muted); }
.cx-result dd { color: var(--cx-ink); font-weight: 600; }
.cx-result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cx-flag { margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.cx-flag--ok { background: var(--cx-ok-l); color: var(--cx-ok); }
.cx-flag--warn { background: var(--cx-warn-l); color: var(--cx-warn); }
.cx-flag--bad { background: var(--cx-bad-l); color: var(--cx-bad); }
@media (max-width: 560px) {
  .cx-tool { padding: 18px; }
  .cx-tool__form { flex-direction: column; }
  .cx-tool__form input { flex: none; width: 100%; }
  .cx-result__row { grid-template-columns: 1fr; }
  .cx-result dt { padding-bottom: 4px; }
  .cx-result dd { padding-top: 4px; }
}

/* Форма заявки */
.cx-lead { margin: 36px 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; padding: 32px; border-radius: 18px; background: var(--cx-navy); color: #d3dfef; }
.cx-lead__title { margin: 0 0 10px; color: var(--cx-white); font-size: 26px; font-weight: 750; line-height: 1.2; }
.cx-lead__text { color: #c1d0e4; }
.cx-lead__points { list-style: none; margin: 18px 0 0; padding: 0; }
.cx-lead__points li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; padding: 0; font-size: 15.5px; color: #e3ecf7; }
.cx-lead__points li::before { display: none; }
.cx-lead__points .cx-icon { width: 20px; height: 20px; color: var(--cx-mint); margin-top: 3px; }
.cx-lead__form { display: grid; gap: 14px; }
.cx-field label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 500; color: #dce6f3; }
.cx-field input, .cx-field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #2c4a74; border-radius: 12px; background: #0f2747; color: var(--cx-white); font: 400 16px/1.4 var(--cx-font); }
.cx-field textarea { resize: vertical; min-height: 110px; }
.cx-field input::placeholder, .cx-field textarea::placeholder { color: #7f95b3; }
.cx-field input:focus, .cx-field textarea:focus { outline: none; border-color: var(--cx-mint); box-shadow: 0 0 0 4px rgba(47, 211, 163, .18); }
.cx-field .is-invalid, .cx-field input.is-invalid { border-color: #f97066; }
.cx-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #b8c8de; cursor: pointer; }
.cx-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cx-accent); flex: none; }
.cx-consent a { color: var(--cx-mint); }
.cx-consent.is-invalid span { color: #fda29b; }
.cx-lead__status { margin: 0; min-height: 1.4em; font-size: 15px; }
.cx-lead__status.is-ok { color: var(--cx-mint); font-weight: 600; }
.cx-lead__status.is-error { color: #fda29b; }
@media (max-width: 860px) { .cx-lead { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; } }

.cx-bottom-lead { padding: 56px 0; background: var(--cx-soft); border-top: 1px solid var(--cx-line); }
.cx-bottom-lead .cx-lead { margin: 0; }

/* Карточки */
.cx-related { margin: 40px 0; }
.cx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cx-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: var(--cx-white); text-decoration: none; color: var(--cx-text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cx-card:hover { border-color: #b9c8db; box-shadow: var(--cx-shadow); transform: translateY(-2px); color: var(--cx-text); }
.cx-card > .cx-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--cx-soft-2); color: var(--cx-navy); }
.cx-card__title { font-weight: 700; color: var(--cx-ink); line-height: 1.3; }
.cx-card__text { font-size: 14.5px; line-height: 1.5; color: var(--cx-muted); flex: 1; }
.cx-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--cx-accent-d); }
.cx-card__more .cx-icon { width: 16px; height: 16px; }

.cx-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0 32px; }
.cx-service-group { padding: 24px; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: var(--cx-white); }
.cx-service-group__title { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 21px; }
.cx-service-group__title .cx-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--cx-accent-l); color: var(--cx-accent-d); }
.cx-service-group ul { list-style: none; margin: 0; padding: 0; }
.cx-service-group li { margin: 0; padding: 0; border-top: 1px solid var(--cx-line); }
.cx-service-group li:first-child { border-top: 0; }
.cx-service-group li::before { display: none; }
.cx-service-group a { display: block; padding: 12px 0; text-decoration: none; color: var(--cx-text); }
.cx-service-group a strong { display: block; color: var(--cx-ink); font-weight: 600; }
.cx-service-group a span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--cx-muted); }
.cx-service-group a:hover strong { color: var(--cx-accent-d); }
@media (max-width: 760px) { .cx-services { grid-template-columns: 1fr; } }

/* Главная: секции из блоков */
.cx-content--home { padding: 56px 0 24px; }
.cx-content--home > p:first-child { font-size: 17px; color: var(--cx-text); }
.cx-content--home > h2 { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.cx-content--home > p, .cx-content--home > ul, .cx-content--home > ol, .cx-content--home > .wp-block-details, .cx-content--home > .wp-block-table, .cx-content--home > .cx-note, .cx-content--home > h3 { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Боковая колонка */
.cx-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.cx-aside__card { padding: 22px; border-radius: var(--cx-radius); background: var(--cx-navy); color: #c9d7ea; font-size: 15px; }
.cx-aside__title { margin: 0 0 8px; color: var(--cx-white); font-size: 19px; font-weight: 700; }
.cx-aside__card .cx-btn { margin: 6px 0 4px; }
.cx-aside__contact { display: block; margin-top: 10px; color: var(--cx-white); text-decoration: none; font-weight: 600; }
.cx-aside__contact span { color: #8fa6c4; font-weight: 400; }
.cx-aside__nav { padding: 18px 20px; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); }
.cx-aside__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cx-muted); }
.cx-aside__nav ul { list-style: none; margin: 0; padding: 0; }
.cx-aside__nav a { display: block; padding: 7px 0; color: var(--cx-text); text-decoration: none; font-size: 15px; }
.cx-aside__nav a:hover { color: var(--cx-accent-d); }
.cx-aside__nav a[aria-current] { color: var(--cx-accent-d); font-weight: 600; }
@media (max-width: 1024px) { .cx-aside { position: static; } .cx-aside__nav { display: none; } }

/* Контакты */
.cx-contacts { list-style: none; margin: 0 0 1.2em; padding: 0; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); }
.cx-contacts li { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 14px 18px; margin: 0; border-top: 1px solid var(--cx-line); }
.cx-contacts li:first-child { border-top: 0; }
.cx-contacts li::before { display: none; }
.cx-contacts li > span:first-child { color: var(--cx-muted); }
.cx-contacts a { font-weight: 600; }
.cx-contacts--empty { padding: 18px 20px; border-radius: var(--cx-radius); background: var(--cx-soft); }
.cx-operator { font-size: 14.5px; color: var(--cx-muted); }
@media (max-width: 560px) { .cx-contacts li { grid-template-columns: 1fr; gap: 2px; } }

/* 404 / 410 */
.cx-notfound { padding: 64px var(--cx-gutter) 72px; max-width: 980px; }
.cx-notfound__code { margin: 0; font-size: 72px; font-weight: 800; line-height: 1; color: var(--cx-soft-2); }

/* Подвал */
.cx-footer { background: #081627; color: #9fb1c8; font-size: 15px; padding: 56px 0 28px; }
.cx-footer .cx-logo { color: var(--cx-white); }
.cx-footer a { color: #c9d6e7; text-decoration: none; }
.cx-footer a:hover { color: var(--cx-white); text-decoration: underline; }
.cx-footer__top { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 28px; }
.cx-footer__brand p { margin-top: 14px; max-width: 360px; }
.cx-footer__contacts, .cx-footer__col ul { list-style: none; margin: 0; padding: 0; }
.cx-footer__contacts li, .cx-footer__col li { margin-bottom: 8px; }
.cx-footer__title { margin: 0 0 12px; color: var(--cx-white); font-weight: 700; }
.cx-footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #1b2f4a; display: grid; gap: 10px; font-size: 13.5px; }
.cx-footer__legal { margin: 0; max-width: 900px; }
.cx-footer__links { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 1024px) { .cx-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cx-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .cx-footer__top { grid-template-columns: 1fr; } }

/* Редактор */
.editor-styles-wrapper .cx-note { padding: 16px; border-left: 4px solid var(--cx-accent); background: var(--cx-accent-l); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Смысловые блоки контента (inc/content-ui.php) ===== */

/* Иконки для масок: цвет берётся из currentColor */
:root {
  --cx-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
  --cx-i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E");
  --cx-i-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8l-5-5Z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
  --cx-i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 20h20L12 3Z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E");
  --cx-amber: #b45309;
  --cx-amber-l: #fff7e8;
  --cx-amber-b: #f5d9a8;
}

/* Раздел и заголовок с иконкой */
.cx-sec { margin-top: 3.2em; scroll-margin-top: 96px; }
.cx-content > .cx-sec { max-width: 780px; }
.cx-content--home > .cx-sec { max-width: none; }
.cx-content .cx-sec__title { display: flex; align-items: center; gap: 14px; margin-top: 0; }
.cx-sec__icon { flex: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--cx-soft-2); color: var(--cx-navy); }
.cx-sec__icon .cx-icon { width: 24px; height: 24px; }
.cx-content--home .cx-sec__title { justify-content: center; }

.cx-sec--help .cx-sec__icon, .cx-sec--process .cx-sec__icon { background: var(--cx-accent-l); color: var(--cx-accent-d); }
.cx-sec--urgent .cx-sec__icon { background: var(--cx-navy); color: var(--cx-mint); }
.cx-sec--limits .cx-sec__icon, .cx-sec--risk .cx-sec__icon { background: var(--cx-amber-l); color: var(--cx-amber); }

/* «Действуйте сейчас» */
.cx-sec--urgent { position: relative; padding: 30px 28px 12px; border-radius: 20px; background: linear-gradient(180deg, #f2fbf7 0%, #fff 70%); border: 1.5px solid #bfe9da; box-shadow: 0 10px 30px rgba(19, 165, 124, .08); }
.cx-sec--urgent::before { content: "Действуйте сейчас"; position: absolute; top: -12px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--cx-accent); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; }

/* «Что подготовить» */
.cx-sec--prepare { padding: 28px 28px 12px; border-radius: 20px; background: var(--cx-soft); border: 1px solid var(--cx-line); }

/* «Когда помочь нельзя» */
.cx-sec--limits { padding: 28px 28px 12px; border-radius: 20px; background: var(--cx-amber-l); border: 1px solid var(--cx-amber-b); }

/* Списки по типу раздела */
.cx-content .cx-list { display: grid; gap: 10px; }
.cx-content .cx-list > li { margin: 0; padding: 12px 14px 12px 48px; border-radius: 12px; background: var(--cx-white); border: 1px solid var(--cx-line); }
.cx-content ul.cx-list > li::before { left: 15px; top: 14px; width: 20px; height: 20px; border-radius: 0; background: currentColor; -webkit-mask: var(--cx-i-check) center/18px no-repeat; mask: var(--cx-i-check) center/18px no-repeat; color: var(--cx-accent); }
.cx-content .cx-list--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-content .cx-list--cards > li { padding: 16px 16px 16px 54px; box-shadow: 0 1px 2px rgba(15, 27, 45, .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cx-content .cx-list--cards > li:hover { border-color: #b9e3d4; box-shadow: var(--cx-shadow); transform: translateY(-1px); }
.cx-content ul.cx-list--cards > li::before { left: 14px; top: 15px; width: 28px; height: 28px; border-radius: 8px; background: var(--cx-accent-l); -webkit-mask: none; mask: none; }
.cx-content ul.cx-list--cards > li::after { content: ""; position: absolute; left: 19px; top: 20px; width: 18px; height: 18px; background: var(--cx-accent-d); -webkit-mask: var(--cx-i-check) center/16px no-repeat; mask: var(--cx-i-check) center/16px no-repeat; }
.cx-content ul.cx-list--docs > li::before { -webkit-mask-image: var(--cx-i-doc); mask-image: var(--cx-i-doc); color: var(--cx-navy-3); }
.cx-content .cx-list--cross > li { background: rgba(255, 255, 255, .75); border-color: var(--cx-amber-b); }
.cx-content ul.cx-list--cross > li::before { -webkit-mask-image: var(--cx-i-x); mask-image: var(--cx-i-x); color: var(--cx-amber); }
.cx-content .cx-list--warn > li { border-left: 3px solid #f1b45c; }
.cx-content ul.cx-list--warn > li::before { -webkit-mask-image: var(--cx-i-alert); mask-image: var(--cx-i-alert); color: var(--cx-amber); }
@media (max-width: 680px) { .cx-content .cx-list--cards { grid-template-columns: 1fr; } }

/* Нумерованные шаги: таймлайн */
.cx-content ol.wp-block-list > li { padding-left: 46px; padding-bottom: .45em; }
.cx-content ol.wp-block-list > li::before { width: 30px; height: 30px; line-height: 30px; font-size: 14px; top: -.05em; box-shadow: 0 0 0 4px #fff; z-index: 1; }
.cx-content ol.wp-block-list > li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: -.55em; width: 2px; background: var(--cx-soft-2); }
.cx-sec--urgent ol.wp-block-list > li::before { background: var(--cx-accent); box-shadow: 0 0 0 4px #f2fbf7; }
.cx-sec--urgent ol.wp-block-list > li:not(:last-child)::after { background: #cdeee2; }
.cx-sec--prepare ol.wp-block-list > li::before { box-shadow: 0 0 0 4px var(--cx-soft); }

/* «Как проходит работа»: карточки этапов */
.cx-content ol.cx-steps--cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cx-content ol.cx-steps--cards > li { margin: 0; padding: 54px 16px 16px; border-radius: 14px; background: var(--cx-white); border: 1px solid var(--cx-line); }
.cx-content ol.cx-steps--cards > li::before { left: 16px; top: 14px; background: var(--cx-accent); box-shadow: none; }
.cx-content ol.cx-steps--cards > li:not(:last-child)::after { left: auto; right: -9px; top: 26px; bottom: auto; width: 8px; height: 8px; border-top: 2px solid #a7b6c9; border-right: 2px solid #a7b6c9; background: none; transform: rotate(45deg); z-index: 2; }
@media (max-width: 640px) { .cx-content ol.cx-steps--cards > li:not(:last-child)::after { display: none; } }

/* Заметки с иконкой */
.cx-content .cx-note { position: relative; padding: 18px 20px 6px 64px; border-left: 0; border-radius: 16px; }
.cx-note__icon { position: absolute; left: 18px; top: 17px; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 10px; }
.cx-note__icon .cx-icon { width: 20px; height: 20px; }
.cx-content .cx-note--info { background: var(--cx-accent-l); border: 1px solid #bfe9da; }
.cx-note--info .cx-note__icon { background: #fff; color: var(--cx-accent-d); }
.cx-content .cx-note--warn { background: var(--cx-amber-l); border: 1px solid var(--cx-amber-b); }
.cx-note--warn .cx-note__icon { background: #fff; color: var(--cx-amber); }

/* Вопросы и ответы: плюс */
.cx-content .cx-sec--faq .wp-block-details summary::after { border: 0; width: 24px; height: 24px; right: 14px; transform: translateY(-50%); background: linear-gradient(var(--cx-accent-d), var(--cx-accent-d)) center/12px 2px no-repeat, linear-gradient(var(--cx-accent-d), var(--cx-accent-d)) center/2px 12px no-repeat; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #bfe9da; transition: transform .2s; }
.cx-content .cx-sec--faq .wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

/* Таблицы */
.cx-content tbody tr:nth-child(even) td { background: #fafcfe; }
.cx-content tbody td:first-child { font-weight: 600; color: var(--cx-ink); }

/* «На странице» */
.cx-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--cx-soft); border: 1px solid var(--cx-line); }
.cx-content > .cx-toc { max-width: 780px; }
.cx-toc__label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cx-muted); margin-right: 4px; }
.cx-toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--cx-white); border: 1px solid var(--cx-line); color: var(--cx-text); text-decoration: none; font-size: 14px; line-height: 1.3; transition: border-color .15s, color .15s; }
.cx-toc a:hover { border-color: var(--cx-accent); color: var(--cx-accent-d); }
@media (max-width: 640px) { .cx-toc { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .cx-toc a { white-space: nowrap; } }

/* Метка раздела над H1 */
.cx-pagehead__chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--cx-white); border: 1px solid var(--cx-line); font-size: 13.5px; font-weight: 600; color: var(--cx-navy); text-decoration: none; }
.cx-pagehead__chip .cx-icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--cx-accent-l); color: var(--cx-accent-d); }

/* Полоса доверия под первым экраном */
.cx-trust { position: relative; z-index: 2; margin-top: -36px; }
.cx-trust__list { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: var(--cx-white); border: 1px solid var(--cx-line); border-radius: 18px; box-shadow: var(--cx-shadow); }
.cx-trust__item { display: flex; gap: 12px; align-items: center; padding: 6px 8px; font-size: 15px; line-height: 1.35; color: var(--cx-ink); font-weight: 600; }
.cx-trust__item .cx-icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--cx-accent-l); color: var(--cx-accent-d); }
@media (max-width: 960px) { .cx-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cx-trust { margin-top: -24px; } .cx-trust__list { grid-template-columns: 1fr; padding: 12px; } }

/* Сеть узлов на первом экране */
.cx-hero__net { position: absolute; right: -40px; top: 10px; width: 640px; height: 520px; opacity: .55; pointer-events: none; z-index: 0; }
.cx-hero__net circle { fill: var(--cx-mint); }
.cx-hero__net line { stroke: rgba(47, 211, 163, .35); stroke-width: 1; }
.cx-hero__net .cx-pulse { animation: cx-pulse 3.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.cx-hero__net .cx-pulse:nth-of-type(2n) { animation-delay: 1.2s; }
.cx-hero__net .cx-pulse:nth-of-type(3n) { animation-delay: 2.4s; }
@keyframes cx-pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }
@media (max-width: 960px) { .cx-hero__net { width: 420px; height: 340px; right: -140px; top: auto; bottom: 0; opacity: .25; } }

/* Карточка инструмента на первом экране: светящаяся рамка */
.cx-hero__tool .cx-tool { position: relative; }
.cx-hero__tool .cx-tool::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, rgba(47, 211, 163, .95), rgba(47, 211, 163, 0) 40%, rgba(47, 211, 163, 0) 60%, rgba(47, 211, 163, .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* Лёгкий сдвиг разделов при прокрутке. Текст никогда не скрывается: поисковики видят его без прокрутки. */
.cx-js .cx-reveal { transform: translateY(12px); transition: transform .6s ease; }
.cx-js .cx-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .cx-js .cx-reveal { transform: none; }
  .cx-hero__net .cx-pulse { animation: none; }
}

/* Блог: лента статей, мета статьи, услуга по теме в боковой колонке */
.cx-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.cx-post { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); background: var(--cx-white); text-decoration: none; color: var(--cx-text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cx-post:hover { border-color: #b9c8db; box-shadow: var(--cx-shadow); transform: translateY(-2px); color: var(--cx-text); }
.cx-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--cx-muted); }
.cx-post__rubric { padding: 3px 10px; border-radius: 999px; background: var(--cx-accent-l); color: var(--cx-accent-d); font-weight: 600; }
.cx-post__title { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--cx-ink); }
.cx-post__text { font-size: 14.5px; line-height: 1.55; color: var(--cx-muted); flex: 1; }
.cx-pagehead__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 14px; color: var(--cx-muted); }
.cx-pagehead__meta span { display: inline-flex; align-items: center; gap: 6px; }
.cx-pagehead__meta .cx-icon { width: 16px; height: 16px; }
.cx-aside__service { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--cx-line); border-left: 4px solid var(--cx-accent); border-radius: var(--cx-radius); background: var(--cx-white); color: var(--cx-text); text-decoration: none; font-size: 14.5px; line-height: 1.5; }
.cx-aside__service strong { color: var(--cx-ink); font-size: 16px; line-height: 1.3; }
.cx-aside__service span:last-child { color: var(--cx-muted); }
.cx-aside__service:hover strong { color: var(--cx-accent-d); }
@media (max-width: 640px) { .cx-posts { grid-template-columns: 1fr; } .cx-post { padding: 18px; } }
