/* ============================================================
   Профи Образование — основная таблица стилей
   Дизайн-система: тёплый айвори + графит + охра, триколор-акценты
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Цветовая схема «Хвойный изумруд» (активная) */
  --c-bg: #f4f7f2;
  --c-surface: #ffffff;
  --c-surface-2: #e9ede2;
  --c-ink: #122d24;
  --c-ink-2: #0b1f19;
  --c-text: #3e4a44;
  --c-muted: #6b7a72;
  --c-line: #d9e0d6;
  --c-gold: #b08d57;
  --c-gold-strong: #8f6e3b;
  --c-gold-soft: #ede5d4;
  --c-on-dark: #f0f3ee;
  --c-on-dark-muted: #a7b5ac;
  --c-success: #2f7d5b;
  --c-danger: #a6402f;

  /* Спокойный триколор (декоративные полосы) */
  --flag-white: #ffffff;
  --flag-blue: #35598f;
  --flag-red: #a84e3e;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --shadow-s: 0 2px 10px rgba(35, 39, 46, .06);
  --shadow-m: 0 10px 30px rgba(35, 39, 46, .10);
  --shadow-l: 0 18px 50px rgba(35, 39, 46, .14);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.22;
  margin: 0 0 .55em;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.32rem); font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--c-gold-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }

ul.list { padding-left: 1.2em; margin: 0 0 1em; }
ul.list li { margin-bottom: .45em; }
ul.list li::marker { color: var(--c-gold); }

strong { color: var(--c-ink); }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: clamp(44px, 7vw, 84px) 0; }
.section--alt { background: var(--c-surface-2); }
.section--dark { background: var(--c-ink); color: var(--c-on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--c-on-dark); }

.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold-strong);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--flag-white) 0 30%, var(--flag-blue) 30% 65%, var(--flag-red) 65% 100%); }

/* Триколор-полоса */
.flagline {
  height: 5px;
  border: 0;
  background: linear-gradient(90deg,
    var(--flag-white) 0 33.3%,
    var(--flag-blue) 33.3% 66.6%,
    var(--flag-red) 66.6% 100%);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-ink); color: var(--c-on-dark); }
.btn--primary:hover { background: var(--c-ink-2); color: var(--c-on-dark); }

.btn--gold { background: var(--c-gold); color: #fff; }
.btn--gold:hover { background: var(--c-gold-strong); color: #fff; }

.btn--ghost { background: transparent; border-color: var(--c-ink); color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-on-dark); }

.btn--light { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-line); }
.btn--light:hover { border-color: var(--c-gold); color: var(--c-gold-strong); }

.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.topbar {
  background: var(--c-ink-2);
  color: var(--c-on-dark-muted);
  font-size: .86rem;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: var(--c-on-dark-muted); }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__msg { display: flex; align-items: center; gap: 10px; }
.topbar__note { white-space: nowrap; }

/* фиксированная шапка при прокрутке: обёртка topbar + header */
.site-top { position: sticky; top: 0; z-index: 100; }
.site-header {
  background: color-mix(in srgb, var(--c-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 1px 0 rgba(35,39,46,.02);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo__mark { flex: none; }
.logo__name { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; line-height: 1.1; color: var(--c-ink); letter-spacing: -.01em; white-space: nowrap; }
.logo__sub { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; min-width: 0; overflow: hidden; flex: 1; justify-content: flex-start; }
.main-nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }


.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--c-ink);
  padding: 7px 8px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--c-gold-soft); color: var(--c-gold-strong); text-decoration: none; }
.main-nav a.is-active { background: var(--c-ink); color: var(--c-on-dark); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; min-width: 0; }
.logo__name, .logo__sub { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 1081px) {
  
.main-nav { display: flex; align-items: center; min-width: 0; flex: 1; justify-content: flex-start; }
.main-nav a { font-size: .82rem; padding: 8px 9px; }
  .logo__name { font-size: 1.02rem; }
  .logo__sub { font-size: .64rem; }
}

@media (max-width: 640px) {
  .logo__name { font-size: .88rem; white-space: nowrap; line-height: 1.2; max-width: none; overflow-wrap: anywhere; }
  .logo__sub { display: none; }
  .logo__mark svg { width: 34px; height: 34px; }
}
@media (max-width: 640px) and (min-width: 320px) and (max-width: 639px) {
  .logo__text { display: flex; flex-direction: column; align-items: flex-start; }
}

.burger {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-surface);
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--c-ink); position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.burger span::before { content: ""; position: absolute; top: -7px; left: 0; }
.burger span::after { content: ""; position: absolute; top: 7px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: rotate(45deg) translate(5px, 5px); }
.burger[aria-expanded="true"] span::after { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--c-line);
  background: var(--c-surface);
  padding: 18px 20px 26px;
}
.mobile-panel.is-open { display: block; }
.mobile-panel ul { list-style: none; margin: 0 0 18px; padding: 0; }
.mobile-panel a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--c-ink); padding: 12px 4px; border-bottom: 1px dashed var(--c-line); }
.mobile-panel a:hover { text-decoration: none; color: var(--c-gold-strong); }
.mobile-panel .msgr-row { justify-content: flex-start; }

/* ---------- Иконки мессенджеров ---------- */
.msgr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: transform .16s ease, box-shadow .16s ease;
}
.msgr:hover { transform: translateY(-2px) scale(1.05); box-shadow: var(--shadow-m); }
.msgr svg { width: 100%; height: 100%; display: block; }
.msgr--sm { width: 30px; height: 30px; }
.msgr-row { display: flex; align-items: center; gap: 10px; }
.msgr-row--inline { display: inline-flex; margin-left: 8px; }

/* ---------- Хиро ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 460px at 85% -10%, rgba(176,141,87,.16), transparent 60%),
  radial-gradient(700px 420px at -10% 110%, rgba(53,89,143,.10), transparent 60%),
  var(--c-surface);
}
.hero__grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: start; padding: clamp(40px, 6vw, 78px) 0; }
.hero__bg { position: absolute; right: -60px; bottom: -30px; width: 520px; opacity: .07; pointer-events: none; }
.hero h1 { max-width: 15ch; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--c-text); max-width: 56ch; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 999px; padding: 9px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--c-ink);
}
.chip::before { content: "✓"; color: var(--c-success); font-weight: 800; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-aside { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-l); box-shadow: var(--shadow-m); padding: 28px; position: relative; z-index: 1; }
.hero-aside h2 { font-size: 1.3rem; }
.hero-aside .small { font-size: .88rem; color: var(--c-muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.stat { background: var(--c-surface-2); border-radius: var(--radius-m); padding: 18px 20px; text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--c-ink); }
.stat__label { font-size: .85rem; color: var(--c-muted); }

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

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--c-gold); }
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: 0; font-size: .98rem; }
.card__ico {
  display: inline-flex; width: 46px; height: 46px; border-radius: 14px;
  align-items: center; justify-content: center;
  background: var(--c-gold-soft); color: var(--c-gold-strong);
  margin-bottom: 14px;
}
.card__ico svg { width: 24px; height: 24px; }
.card--flat:hover { transform: none; }

.link-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.link-card:hover { text-decoration: none; }
.link-card strong { font-family: var(--font-head); }
.link-card span { color: var(--c-muted); font-size: .82rem; }
.link-card:hover strong { color: var(--c-gold-strong); }

/* ---------- Шаги ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 24px 26px 22px 86px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 24px; top: 22px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem;
  color: var(--c-gold);
}
.step h3 { margin-bottom: .3em; }

/* ---------- Таблицы ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius-m); background: var(--c-surface); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .97rem; }
table.tbl th, table.tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
table.tbl thead th { font-family: var(--font-head); background: var(--c-surface-2); color: var(--c-ink); font-weight: 700; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: color-mix(in srgb, var(--c-gold-soft) 45%, transparent); }

/* ---------- Аккордеон / FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 56px 18px 22px;
  font-family: var(--font-head); font-weight: 700; color: var(--c-ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--c-gold); line-height: 1; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__body { padding: 0 22px 20px; }

/* ---------- Отзывы ---------- */
.review { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 26px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.review__head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: var(--c-ink); }
.review__name { font-family: var(--font-head); font-weight: 700; color: var(--c-ink); }
.review__tag { font-size: .84rem; color: var(--c-muted); }
.stars { color: var(--c-gold); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: .98rem; }
.review__ok { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--c-success); }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { padding: 16px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .86rem; color: var(--c-muted); }
.breadcrumbs li:not(:last-child)::after { content: "→"; margin-left: 6px; color: var(--c-gold); }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-gold-strong); }
.breadcrumbs [aria-current="page"] { color: var(--c-ink); font-weight: 600; }

/* ---------- Страницы-списки ---------- */
.page-titlebox { padding: clamp(26px, 4vw, 48px) 0 8px; }
.page-titlebox .lead { max-width: 62ch; font-size: 1.05rem; }

.ucard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ucard {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-gold);
  border-radius: 12px; padding: 18px 20px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ucard:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-left-color: var(--c-ink); text-decoration: none; }
.ucard strong { color: var(--c-ink); font-family: var(--font-head); font-size: .98rem; }
.ucard span { color: var(--c-muted); font-size: .84rem; }

/* ---------- Формы ---------- */
.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-l); padding: 30px; box-shadow: var(--shadow-s); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: var(--c-ink); margin-bottom: 7px; }
.field .req { color: var(--c-danger); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--c-ink);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-gold) 22%, transparent);
}
textarea { min-height: 120px; resize: vertical; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--c-muted); margin: 14px 0 18px; }
.checkline input { margin-top: 4px; accent-color: var(--c-gold); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Полоса CTA ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--c-ink) 0%, #1d4235 100%);
  color: var(--c-on-dark-muted);
  border-radius: var(--radius-l);
  padding: clamp(28px, 5vw, 48px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: center;
}
.cta-strip h2 { color: var(--c-on-dark); margin-bottom: .3em; }
.cta-strip .flagline { height: 4px; max-width: 220px; border-radius: 4px; margin: 14px 0 0; }

.price-tag {
  display: inline-flex; flex-direction: column; gap: 2px;
  background: var(--c-gold-soft); border: 1px dashed var(--c-gold);
  padding: 14px 22px; border-radius: 14px; text-align: center;
}
.price-tag b { font-family: var(--font-head); font-size: 1.5rem; color: var(--c-gold-strong); }
.price-tag span { font-size: .82rem; color: var(--c-muted); }

/* ---------- Калькулятор ---------- */
.calc { display: grid; gap: 4px; }
.calc__result {
  margin-top: 18px; padding: 18px 22px; border-radius: var(--radius-m);
  background: var(--c-gold-soft); border: 1px dashed var(--c-gold);
  font-family: var(--font-head); font-weight: 700; color: var(--c-gold-strong); font-size: 1.15rem;
}

/* ---------- Списки ссылок ---------- */
.link-list { columns: 2; column-gap: 34px; padding-left: 1.2em; }
.link-list li { break-inside: avoid; margin-bottom: .55em; }

/* ---------- Гео-блок вуза ---------- */
.uni-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.uni-item {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px;
  padding: 13px 16px; font-size: .95rem;
}
.uni-item b { color: var(--c-ink); }

/* ---------- Футер ---------- */
.site-footer { background: var(--c-ink-2); color: var(--c-on-dark-muted); margin-top: auto; }
.site-footer a { color: var(--c-on-dark-muted); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr .9fr 1.1fr; gap: 30px; padding: 54px 0 34px; }
.site-footer h3 { color: var(--c-on-dark); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: .92rem; }
.footer-about { font-size: .92rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .85rem; }
.footer-logo .logo__name { color: var(--c-on-dark); }
.footer-logo .logo__sub { color: var(--c-on-dark-muted); }

/* Мессенджеры в футере/топбаре — крупнее, цветные */
.msgr--footer { width: 44px; height: 44px; }


/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 23, 28, .55); }
.modal__dialog {
  position: relative; z-index: 1;
  max-width: 480px; margin: 8vh auto 0; padding: 30px;
  background: var(--c-surface); border-radius: var(--radius-l); box-shadow: var(--shadow-l);
}
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-surface); cursor: pointer; font-size: 1.1rem; color: var(--c-muted); }
.modal__close:hover { color: var(--c-ink); border-color: var(--c-gold); }

/* ---------- Служебное ---------- */
.notice { background: var(--c-gold-soft); border: 1px solid color-mix(in srgb, var(--c-gold) 35%, transparent); border-radius: var(--radius-m); padding: 18px 22px; font-size: .98rem; }
.notice strong { color: var(--c-gold-strong); }

.text-columns-2 { columns: 2; column-gap: 44px; text-align: justify; hyphens: auto; }
.text-columns-2 p { break-inside: avoid-column; }
@media (max-width: 900px) { .text-columns-2 { columns: 1; } }

.sroki-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px;
  padding: 8px 16px; font-size: .86rem; font-weight: 600; color: var(--c-ink);
}
.sroki-chip::before { content: "⏱"; color: var(--c-gold-strong); }

/* ---------- Анимации появления ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

.article-body p { text-align: justify; hyphens: auto; }
.article-body h2 { margin-top: 1.5em; }
.article-body h3 { margin-top: 1.2em; }
.article-body ul.list { margin-bottom: 1.2em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .ucard:hover, .msgr:hover { transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__bg { width: 380px; opacity: .05; }
  .main-nav { display: none; }
  .burger { display: flex; }
  .mobile-panel.is-open { display: block; }
  .header-cta .btn--ghost { display: none; }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar .topbar__note { display: none; }
  .text-columns-2 { columns: 1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__grid { padding-top: 30px; }
  .stats { grid-template-columns: 1fr; }
  .link-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 26px; }
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: center; }
  .header-cta .btn { display: none; }
  .burger { display: flex; }
  .ucard-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .hero-aside { padding: 22px; }
}
