

/* Start:/local/templates/praktik/template_styles.css?179568160334006*/
/* Self-hosted fonts (no external fonts.* links)
   Bitter 600-800 / Golos Text 400-600 / JetBrains Mono 400-500
   woff2, variable, subsets: cyrillic + latin (served from /local/templates/praktik/fonts/) */
/* Bitter - cyrillic-ext */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/bitter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Bitter - cyrillic */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/bitter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Bitter - latin-ext */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/bitter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Bitter - latin */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/bitter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Golos Text - cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/golos-text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Golos Text - cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/golos-text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Golos Text - latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/golos-text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Golos Text - latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/golos-text-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono - cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/jetbrains-mono-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* JetBrains Mono - cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/jetbrains-mono-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* JetBrains Mono - latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/jetbrains-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono - latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/local/templates/praktik/fonts/jetbrains-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   Битрикс-Практик - прототипы каркаса (Фаза R -> Ф2)
   Палитра: бумага #FBFAF7 / чернила #29241D / синий среды #0E6DA3
   Шрифты: Bitter (заголовки) + Golos Text (текст) + JetBrains Mono (код)
   ============================================================ */

:root {
  --paper: #FBFAF7;
  --card: #F1EEE7;
  --line: #E4DFD5;
  --ink: #29241D;
  --soft: #6B6458;

  --blue: #0E6DA3;
  --blue-dark: #0A5580;
  --blue-tint: #E3EEF6;

  --pain: #B3402A;
  --why: #996A12;
  --done: #2F7A46;

  --b24: #B45309;
  --b24-tint: #F6EDDF;

  --code-bg: #23272D;
  --code-bar: #2C3138;
  --code-ink: #E8EAED;
  --code-soft: #8B94A1;
  --code-key: #6FB3E0;
  --code-str: #9CCC81;
  --code-com: #7E8794;

  --r: 10px;
  --f-head: "Bitter", Georgia, serif;
  --f-body: "Golos Text", "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

/* Контейнер: резиновый - 1.25rem поля по краям, потолок 90rem на больших мониторах */
.wrap, .narrow { width: min(100% - 2.5rem, 90rem); margin-inline: auto; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--blue-tint); color: var(--ink); }

/* ---------- Шапка ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; gap: .1rem; }
.brand__name { font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand__tag { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .02em; color: var(--soft); white-space: nowrap; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--blue); }
.site-nav a.is-active { color: var(--blue-dark); }
.site-nav .btn { padding: .42rem .95rem; font-size: .88rem; color: #fff; }

/* ---------- Хлебные крошки ---------- */

.breadcrumbs {
  font-family: var(--f-mono); font-size: .78rem; color: var(--soft);
  padding: 1.4rem 0 0; overflow-wrap: anywhere;
}
.breadcrumbs a { color: var(--soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs .sep { margin: 0 .45em; color: var(--line); }

/* ---------- Мета-строка статьи ---------- */

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1rem; margin-top: 1.4rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; text-decoration: none;
  background: var(--blue-tint); color: var(--blue-dark);
  padding: .22rem .7rem; border-radius: 999px;
}
a.chip:hover { background: #D3E4F0; }
.meta-dates {
  font-family: var(--f-mono); font-size: .76rem; color: var(--soft);
  display: inline-flex; flex-wrap: wrap; gap: .35rem 1rem;
}

/* ---------- Типографика статьи ---------- */

.page-title {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(1.85rem, 4.6vw, 2.5rem);
  line-height: 1.18; letter-spacing: -0.02em;
  margin: .9rem 0 0;
}

.prose { margin-top: 1.6rem; }
.prose p { margin: 0 0 1.05rem; }
.prose ul, .prose ol { margin: 0 0 1.05rem 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose strong { font-weight: 600; }

.prose h2 {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.55rem); line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 2.6rem 0 .9rem; scroll-margin-top: 1rem;
}
.prose h3 {
  font-family: var(--f-head); font-weight: 700;
  font-size: 1.12rem; margin: 1.8rem 0 .6rem; scroll-margin-top: 1rem;
}

.inline-code, td code, li code, p code {
  font-family: var(--f-mono); font-size: .86em;
  background: var(--card); border-radius: 5px; padding: .1em .38em;
}

/* Метки разделов: симптом -> причина -> решение */

.sec-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em;
  margin-bottom: -.4rem;
}
.sec-tag::before { content: ""; width: .55em; height: .55em; border-radius: 50%; }
.sec-tag--symptom { color: var(--pain); }
.sec-tag--symptom::before { background: var(--pain); }
.sec-tag--cause { color: var(--why); }
.sec-tag--cause::before { background: var(--why); }
.sec-tag--fix { color: var(--done); }
.sec-tag--fix::before { background: var(--done); }

/* Прямой ответ в первых абзацах */

.lede {
  border-left: 3px solid var(--blue);
  padding: .2rem 0 .2rem 1.1rem;
  margin: 1.4rem 0 1.6rem;
}
.lede p { font-size: 1.15rem; line-height: 1.55; }
.lede .label {
  display: block; font-family: var(--f-mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--blue); margin-bottom: .35rem;
}

/* Врезка-глоссарий */

.aside-note {
  background: var(--card); border-radius: var(--r);
  padding: .85rem 1.1rem; margin: 1.4rem 0;
  font-size: .95rem; color: var(--soft);
}
.aside-note b { color: var(--ink); font-weight: 600; }

/* Оглавление */

.toc {
  border: 1px solid var(--line); border-radius: var(--r);
  max-width: 46rem;
  margin: 1.6rem 0; overflow: hidden;
}
.toc summary {
  cursor: pointer; list-style: none;
  padding: .8rem 1.1rem;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em; color: var(--soft);
  display: flex; align-items: center; justify-content: space-between;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1rem; }
.toc[open] summary::after { content: "-"; }
.toc ol { list-style: none; padding: 0 1.1rem .9rem; }
.toc li { margin: 0; border-top: 1px solid var(--line); }
.toc a {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; text-decoration: none; color: var(--ink);
  font-size: .97rem;
}
.toc a:hover { color: var(--blue); }
.toc .toc-num { font-family: var(--f-mono); font-size: .75rem; color: var(--soft); flex: none; padding-top: .2rem; }
@media (max-width: 640px) { .toc .toc-num { display: none; } }

/* Окно кода: сигнатурный элемент */

.codewin {
  background: var(--code-bg); border-radius: var(--r);
  margin: 1.5rem 0; overflow: hidden;
}
.codewin__bar {
  display: flex; align-items: center; gap: .55rem;
  background: var(--code-bar); padding: .5rem .95rem;
}
.codewin__dots { display: inline-flex; gap: .32rem; flex: none; }
.codewin__dots i { width: .58em; height: .58em; border-radius: 50%; background: #4A525C; }
.codewin__path {
  font-family: var(--f-mono); font-size: .74rem; color: var(--code-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.codewin pre {
  padding: 1rem 1.15rem; overflow-x: auto;
  font-family: var(--f-mono); font-size: .84rem; line-height: 1.6;
  color: var(--code-ink);
}
.codewin ::selection { background: #B9D6ED; color: #14202B; }
.tk-c { color: var(--code-com); font-style: italic; }
.tk-k { color: var(--code-key); }
.tk-s { color: var(--code-str); }
.tk-f { color: #E0B36A; }

/* Место под скриншот (медиа-стандарт: скриншот на каждый шаг) */

.shot { margin: 1.5rem 0; }
.shot__box {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1.5px dashed #CDC5B4; border-radius: var(--r);
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(41,36,29,.022) 14px 28px),
    #F6F4EF;
  display: grid; place-items: center;
}
.shot__label {
  font-family: var(--f-mono); font-size: .78rem; color: var(--soft);
  text-align: center; padding: 0 1rem; max-width: 34rem;
}
.shot__wm {
  position: absolute; top: .6rem; right: .6rem;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .06em;
  color: var(--soft); background: var(--paper);
  border: 1px solid var(--line); border-radius: 5px; padding: .12rem .4rem;
}
.shot figcaption {
  font-size: .85rem; color: var(--soft); margin-top: .5rem; line-height: 1.5;
}

/* Реальный скриншот: обёртка по ширине картинки, клик открывает полный размер */
.article-figure {
  margin: 1.5rem 0;
  width: fit-content;
  min-width: min(100%, 20rem);
  max-width: 100%;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card);
  padding: .45rem;
}
.article-figure__link {
  position: relative; display: block;
  width: fit-content; max-width: 100%;
  line-height: 0; cursor: zoom-in; text-decoration: none;
}
.article-figure__link::after {
  content: "\21A5";
  position: absolute; right: .45rem; bottom: .45rem;
  font: 500 .85rem/1 var(--f-mono); line-height: 1;
  color: var(--ink); background: rgba(255,255,255,.9);
  border: 1px solid var(--line); border-radius: 4px;
  padding: .3rem .4rem;
}
.article-figure img {
  display: block; max-width: 100%; height: auto;
  border-radius: calc(var(--r) - 3px);
}
.article-figure figcaption {
  font-size: .85rem; color: var(--soft); line-height: 1.5;
  padding: .55rem .4rem .3rem;
}
.article-figure figcaption code { font-family: var(--f-mono); font-size: .95em; }

/* GLightbox: подписи под снимком в полноэкранном просмотре */
.glightbox-container .gslide-description { background: rgba(20,18,15,.94); }
.glightbox-container .gdesc-inner {
  color: var(--card); font-family: var(--f-body); font-size: .95rem;
}

/* Грабли: делайте / не делайте */

.grabli {
  display: grid; gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 640px) { .grabli { grid-template-columns: 1fr 1fr; } }
.grabli__col {
  border-radius: var(--r); padding: 1rem 1.2rem 1.1rem;
  background: var(--card);
}
.grabli__col--no { background: #F6EAE6; }
.grabli__title {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em;
  display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem;
}
.grabli__title--yes { color: var(--done); }
.grabli__title--no { color: var(--pain); }
.grabli__col ul { margin-left: 1.2rem; font-size: .95rem; }
.grabli__col li { margin-bottom: .4rem; }

/* ---------- CTA: один на страницу, без продажи ---------- */

.cta-card {
  background: var(--card); border-radius: var(--r);
  padding: 1.5rem 1.5rem 1.6rem;
  margin: 2.8rem 0 0;
}
.cta-card .cta-label {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em; color: var(--soft);
  margin-bottom: .55rem;
}
.cta-card p { margin-bottom: 1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--f-body); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  border-radius: 8px; padding: .58rem 1.1rem;
  transition: background-color .15s ease;
}
.btn--primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue-dark); border: 1px solid var(--line); background: var(--paper); }
.btn--ghost:hover { border-color: var(--blue); }

/* ---------- Что дальше ---------- */

.next { margin-top: 2.6rem; }
.block-label {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em; color: var(--soft);
  margin-bottom: .8rem;
}
.next ol { list-style: none; counter-reset: nx; }
.next li { counter-increment: nx; border-top: 1px solid var(--line); }
.next li:first-child { border-top: 0; }
.next a {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .65rem 0; text-decoration: none; color: var(--ink);
}
.next a:hover { color: var(--blue); }
.next a::before {
  content: counter(nx);
  font-family: var(--f-mono); font-size: .78rem; color: var(--soft);
  flex: none;
}
.next .next-hub { margin-top: .8rem; font-size: .92rem; }

/* ---------- Подпись практика ---------- */

.author {
  display: flex; gap: 1rem; align-items: flex-start;
  border-top: 1px solid var(--line);
  margin-top: 2.6rem; padding-top: 1.5rem;
}
.author__ava { flex: none; }
.author p { font-size: .93rem; color: var(--soft); }
.author b { color: var(--ink); font-weight: 600; }
.author .tg { font-family: var(--f-mono); font-size: .85rem; }

/* ---------- Связанные статьи ---------- */

.related { margin-top: 2.6rem; }
.related-grid { display: grid; gap: .9rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.rel-card {
  display: flex; flex-direction: column; gap: .55rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.1rem 1.1rem; text-decoration: none; color: var(--ink);
}
.rel-card:hover { border-color: var(--blue); }
.rel-card__meta {
  display: flex; gap: .6rem; align-items: center;
  font-family: var(--f-mono); font-size: .7rem; color: var(--soft);
}
.plat {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  border: 1px solid; border-radius: 5px; padding: .06rem .38rem;
}
.plat--bus { color: var(--blue); border-color: #BBD4E5; }
.plat--b24 { color: var(--b24); border-color: #E8D3B8; }
.diff {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  border: 1px solid; border-radius: 5px; padding: .06rem .38rem;
}
.diff--easy { color: var(--done); border-color: #BFD8C6; }
.diff--mid { color: var(--why); border-color: #E4D3AE; }
.diff--hard { color: var(--pain); border-color: #E8C4BA; }
.rel-card__title { font-family: var(--f-head); font-weight: 700; font-size: 1rem; line-height: 1.35; }

/* ---------- Что дальше ---------- */

.further-list { margin: .5rem 0 0; padding: 0; list-style: none; }
.further-list li { padding: .35rem 0; border-top: 1px solid var(--line); }
.further-list a { color: var(--ink); text-decoration: none; }
.further-list a:hover { color: var(--blue); }

/* ---------- Форма заявки ---------- */

.request { margin-top: 2.8rem; scroll-margin-top: 1rem; }
.request-form { max-width: 30rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .3rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: .55rem .8rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--soft) 50%), linear-gradient(135deg, var(--soft) 50%, transparent 50%); background-position: calc(100% - 1.05rem) 55%, calc(100% - .7rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.2rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.consent { display: flex; gap: .55rem; font-size: .82rem; color: var(--soft); margin: 1rem 0 1.2rem; }
.consent input { margin-top: .25rem; }
.form-hint { font-size: .84rem; color: var(--soft); margin-top: .8rem; }

/* Индикация отправки (2026-11-05, фидбек Константина: нативный POST занимает
   секунды - капча и серверная проверка - и выглядел как «ничего не происходит»,
   провоцируя повторные клики). Класс is-sending ставит modal.js: форма
   затемняется, в центре крутится индикатор, кнопка не активна до навигации. */
.request-form { position: relative; }
.request-form.is-sending { pointer-events: none; }
.request-form.is-sending::before {
  content: ""; position: absolute; inset: 0; z-index: 5;
  background: rgba(41, 36, 29, .55); border-radius: 10px; pointer-events: none;
}
.request-form.is-sending::after {
  content: ""; position: absolute; top: 50%; left: 50%; z-index: 6;
  width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem;
  border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  border-radius: 50%; animation: praktik-spin .9s linear infinite; pointer-events: none;
}
@keyframes praktik-spin { to { transform: rotate(360deg); } }
@keyframes praktik-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .request-form.is-sending::after { animation-name: praktik-pulse; animation-duration: 1.4s; }
}

/* ---------- Главная ---------- */

.hero { padding: 3.2rem 0 2.4rem; }
.hero h1 {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.16; letter-spacing: -0.02em;
  max-width: 21ch;
}
.hero p.sub { margin-top: 1rem; font-size: 1.13rem; color: var(--soft); max-width: 52ch; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.hero-chips .chip { background: var(--card); color: var(--ink); font-weight: 500; }
.hero-chips .chip:hover { background: var(--blue-tint); color: var(--blue-dark); }

.home-section { padding: 1.8rem 0 2.2rem; border-top: 1px solid var(--line); }
.home-section:last-of-type { padding-bottom: 3rem; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-bottom: 1.1rem;
}
.section-head h2 {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.5rem); letter-spacing: -0.015em;
}
.section-head a { font-size: .88rem; white-space: nowrap; }

.row-list { list-style: none; }
.row-list li { border-top: 1px solid var(--line); }
.row-list li:first-child { border-top: 0; }
.row-list a {
  display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline;
  padding: .8rem 0; text-decoration: none; color: var(--ink);
}
.row-list a:hover .row-title { color: var(--blue); }
.row-title { font-family: var(--f-head); font-weight: 600; font-size: 1.03rem; }
.row-meta { display: flex; gap: .6rem; align-items: center; margin-left: auto; }
.row-date { font-family: var(--f-mono); font-size: .73rem; color: var(--soft); }

.series-box {
  background: var(--card); border-radius: var(--r);
  padding: 1.4rem 1.5rem 1.5rem;
}
.series-box > p { color: var(--soft); font-size: .97rem; margin-bottom: 1rem; }
.series-parts { list-style: none; }
.series-parts li { border-top: 1px solid var(--line); }
.series-parts a {
  display: flex; gap: .9rem; align-items: baseline; padding: .55rem 0;
  text-decoration: none; color: var(--ink);
}
.series-parts a:hover { color: var(--blue); }
.sp-num { font-family: var(--f-mono); font-size: .75rem; color: var(--soft); flex: none; }
.sp-soon { font-family: var(--f-mono); font-size: .75rem; color: var(--soft); padding: .55rem 0; border-top: 1px solid var(--line); display: flex; gap: .9rem; }

.about-strip { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.about-strip + .about-strip { margin-top: 1.1rem; }
.about-strip p { color: var(--soft); font-size: .98rem; }
.services-strip p { color: var(--soft); font-size: .98rem; margin-bottom: 1rem; }

/* ---------- Хаб рубрики и «все разборы» ---------- */

.hub-intro { color: var(--soft); margin-top: 1.1rem; }
.count-line {
  font-family: var(--f-mono); font-size: .78rem; color: var(--soft);
  margin: 1.3rem 0 1.6rem;
}
.spoke-list { list-style: none; }
.spoke-list li { border-top: 1px solid var(--line); }
.spoke-list a { display: block; padding: .85rem 0; text-decoration: none; color: var(--ink); }
.spoke-list a:hover .spoke-title { color: var(--blue); }
.spoke-title { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; }
.spoke-note { color: var(--soft); font-size: .92rem; margin-top: .15rem; }
.spoke-meta { display: flex; gap: .6rem; align-items: center; margin-top: .45rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1.4rem 0 1.8rem; }
.filter-label {
  font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--soft);
}
.filter-chip {
  font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .28rem .85rem;
  background: var(--paper);
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.search-field { display: flex; gap: .5rem; flex: 1 1 16rem; max-width: 22rem; }
.search-field input {
  flex: 1; font: inherit; font-size: .95rem;
  border: 1px solid var(--line); border-radius: 8px; padding: .45rem .8rem; background: #fff;
}
.search-field input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

.rubric-block { margin-top: 2.2rem; }
.rubric-block > h2 {
  font-family: var(--f-head); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: baseline; gap: .7rem;
}
.rubric-block > h2 .rb-count {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 400; color: var(--soft);
}
/* Аудит 2026-08-26: ссылочных тегов нет - облако состоит из кнопок фильтра (см. ниже) */
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }

/* ---------- Услуги ---------- */

.price-card {
  background: var(--card); border-radius: var(--r);
  padding: 1.3rem 1.5rem 1.4rem; margin: 1.6rem 0;
}
.price-row { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: .6rem 0; }
.price-row:first-child { border-top: 0; padding-top: 0; }
.price-name { font-weight: 600; font-size: .97rem; }
.price-val { font-family: var(--f-mono); font-size: .88rem; color: var(--soft); text-align: right; }
.price-note { font-size: .84rem; color: var(--soft); margin-top: .8rem; }

/* Дуэт: два трека услуг (решение 2026-08-26) */

.tracks { display: grid; gap: 1rem; margin: 1.6rem 0 0; }
@media (min-width: 720px) { .tracks { grid-template-columns: 1fr 1fr; } }
.track {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; padding: 1.3rem 1.4rem 1.4rem;
}
.track h2 {
  font-family: var(--f-head); font-weight: 700;
  font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.25;
  margin: 0;
}
.track__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.track ul { margin: 0 0 1.2rem 1.2rem; font-size: .95rem; }
.track li { margin-bottom: .45rem; }
.track__who {
  display: flex; align-items: center; gap: .7rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem; margin-top: auto; margin-bottom: 1.1rem;
}
.track__who p { font-size: .88rem; color: var(--soft); line-height: 1.45; }
.track__who b { color: var(--ink); font-weight: 600; }
.track-note {
  background: var(--blue-tint); border-radius: var(--r);
  padding: .9rem 1.2rem; margin-top: 1.2rem;
  font-size: .95rem;
}

/* Страница авторов */

.bio {
  display: grid; gap: 1.1rem 1.4rem;
  border-top: 1px solid var(--line);
  margin-top: 2.2rem; padding-top: 2rem;
}
@media (min-width: 720px) { .bio { grid-template-columns: auto 1fr; } }
.bio__ava { grid-row: span 3; }
.bio__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.bio h2 {
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.55rem); letter-spacing: -0.015em;
  margin: 0;
}
.bio-role {
  font-family: var(--f-mono); font-size: .78rem; color: var(--soft);
  width: 100%;
}
.bio-facts { list-style: none; }
.bio-facts li {
  border-top: 1px solid var(--line); padding: .5rem 0;
  font-size: .97rem;
}
.bio-facts li:first-child { border-top: 0; padding-top: 0; }
.bio-contact { font-family: var(--f-mono); font-size: .88rem; }

/* ---------- Подвал ---------- */

.site-footer {
  border-top: 1px solid var(--line); margin-top: 4rem;
  padding: 1.8rem 0 2.2rem;
}
.foot-top {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; justify-content: space-between;
}
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.foot-nav a { color: var(--soft); text-decoration: none; font-size: .92rem; font-weight: 500; }
.foot-nav a:hover { color: var(--blue); }
.foot-nav a.is-active { color: var(--blue-dark); }
.foot-base {
  display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; justify-content: space-between;
  margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: .73rem; color: var(--soft);
}

/* ---------- Модальное окно заявки ---------- */

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(41, 36, 29, .45); }
.modal__window {
  position: relative; width: min(100%, 30rem);
  max-height: 90vh; overflow: auto;
  background: var(--paper); border-radius: 14px;
  padding: 1.5rem 1.6rem 1.3rem;
  box-shadow: 0 24px 60px rgba(41, 36, 29, .28);
}
.modal__close {
  position: absolute; top: .7rem; right: .7rem;
  width: 2rem; height: 2rem; border: 0; border-radius: 8px;
  background: var(--card); color: var(--soft);
  font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.modal__close:hover { color: var(--ink); }
.modal .form-hint { margin-top: .7rem; }
.modal__window:focus { outline: none; } /* окно фокусируем как контейнер (tabindex=-1) */

/* ---------- Страница контактов ---------- */

.contact-list { display: grid; gap: .9rem; margin: 1.6rem 0 0; }
.contact-row {
  display: flex; gap: 1rem; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.2rem; text-decoration: none; color: var(--ink);
}
.contact-row:hover { border-color: var(--blue); }
.contact-row b { display: block; font-weight: 600; }
.contact-row span { color: var(--soft); font-size: .9rem; }
/* строка-кнопка (форма в попапе, 2026-11-04): сброс дефолтов кнопки до вида контакт-строки */
button.contact-row {
  font-family: var(--f-body); font-size: 1rem; width: 100%;
  background: transparent; text-align: left; cursor: pointer;
}
button.contact-row:focus-visible { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 2px; }
.cr-ico {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 10px;
  background: var(--blue-tint); display: grid; place-items: center; color: var(--blue-dark);
}

/* ---------- Фильтры, теги и поиск (прототипный JS) ---------- */

button.filter-chip { font-family: var(--f-body); cursor: pointer; }
.filter-reset {
  border: 0; background: none; cursor: pointer; padding: 0;
  font-family: var(--f-mono); font-size: .78rem; color: var(--blue);
  text-decoration: underline;
}
.tag-cloud button {
  font-family: var(--f-mono); font-size: .78rem; cursor: pointer;
  color: var(--soft); background: var(--card); border: 1px solid transparent;
  border-radius: 6px; padding: .22rem .55rem;
}
.tag-cloud button:hover { color: var(--blue-dark); }
.tag-cloud button.is-on { background: var(--ink); color: var(--paper); }
mark { background: #F3E3AF; color: inherit; border-radius: 3px; padding: 0 .12em; }
.result-note { color: var(--soft); font-size: .92rem; margin: .2rem 0 .8rem; max-width: 75ch; }
.empty-state {
  border: 1.5px dashed #CDC5B4; border-radius: var(--r);
  padding: 1.6rem 1.6rem 1.7rem; margin: 1.6rem 0;
  background: #F6F4EF;
}
.empty-state p { margin-bottom: 1rem; }
.empty-state .hero-chips { margin-top: 1.2rem; }

/* End */
/* /local/templates/praktik/template_styles.css?179568160334006 */
