/* ============ Палитра — взята из логотипа ============ */
:root {
  --bg: #232c6b;          /* фон логотипа, чуть темнее */
  --bg-deep: #19205c;
  --surface: #2d3787;
  --surface-2: #38439a;
  --ink: #f4f2ff;
  --muted: #b4b8ec;
  --lav: #c7bffb;         /* лаванда букв AI */
  --lav-soft: rgba(199, 191, 251, 0.14);
  --violet: #6c4dd0;      /* корпус телевизора */
  --violet-deep: #4a32a8;
  --on-lav: #1c2360;      /* тёмный текст на лаванде */
  --line: rgba(199, 191, 251, 0.24);
  --mark: #ffe08a;
  --radius: 24px;
  --pop: 0 5px 0 rgba(12, 16, 60, 0.6);          /* «мультяшная» жёсткая тень */
  --pop-hover: 0 8px 0 rgba(12, 16, 60, 0.6);
  --header-h: 72px;
  --font-head: "Unbounded", "Nunito", system-ui, sans-serif;
  color-scheme: dark;
}

/* ============ База ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(108, 77, 208, 0.5), transparent 62%),
    radial-gradient(760px 520px at -4% 18%, rgba(199, 191, 251, 0.1), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
/* зерно, как на логотипе */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header { position: sticky; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
img { max-width: 100%; display: block; }
a { color: var(--lav); }
h1, h2 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; overflow-wrap: break-word; }
h3 { line-height: 1.25; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lav); color: var(--on-lav);
  padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 800;
}
.skip:focus { top: 12px; }

/* искры */
.spark { width: 1em; height: 1em; fill: currentColor; flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lav);
}
.eyebrow .spark { color: #fff; width: 14px; height: 14px; }
@keyframes twinkle { 0%, 100% { transform: scale(0.65) rotate(0deg); opacity: 0.55; } 50% { transform: scale(1) rotate(18deg); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
.twinkle { animation: twinkle 3.2s ease-in-out infinite; }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--on-lav);
  background: var(--lav); color: var(--on-lav);
  font-family: inherit; font-size: 1rem; font-weight: 800; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--on-lav);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--on-lav); background: #d8d2ff; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--on-lav); }
.btn-violet { background: var(--violet); color: #fff; border-color: var(--on-lav); }
.btn-violet:hover { background: #7a5ce0; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; box-shadow: 0 3px 0 var(--on-lav); }
.btn-ghost { background: transparent; color: var(--lav); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--lav-soft); box-shadow: none; border-color: var(--lav); }
.btn-ghost:active { transform: translateY(1px); box-shadow: none; }
.btn.is-disabled { background: rgba(255, 255, 255, 0.08); color: var(--muted); border-color: transparent; box-shadow: none; cursor: default; pointer-events: none; }

/* ============ Шапка ============ */
.site-header {
  top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-deep) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1.5px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
/* знак РУДН слева от названия, отделён тонкой чертой */
.brand-logo { height: 44px; width: auto; flex: none; padding-right: 14px; border-right: 2px solid var(--line); box-sizing: content-box; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-text b { font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; }
.brand-text small { color: var(--muted); font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-weight: 800; font-size: 0.96rem;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { color: var(--ink); background: var(--lav-soft); }
.nav a[aria-current="page"] { color: var(--on-lav); background: var(--lav); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; cursor: pointer;
  border: 2px solid var(--line); background: var(--lav-soft); color: var(--ink);
  place-items: center;
}

/* ============ Главная: hero ============ */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.hero h1 { font-size: clamp(1.9rem, 5.2vw, 3.7rem); font-weight: 800; margin: 16px 0 20px; }
.hero h1 .hl { color: var(--lav); }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 50ch; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-art { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-art img {
  width: 100%; height: auto; border-radius: 40px; border: 3px solid rgba(199, 191, 251, 0.4);
  box-shadow: 0 9px 0 rgba(12, 16, 60, 0.6), 0 34px 70px rgba(6, 8, 40, 0.5);
  animation: float 7s ease-in-out infinite;
}
.hero-art .spark { position: absolute; color: #fff; }
.hero-art .s1 { width: 38px; height: 38px; top: -14px; left: -16px; }
.hero-art .s2 { width: 26px; height: 26px; top: 12%; right: -14px; animation-delay: 0.9s; }
.hero-art .s3 { width: 32px; height: 32px; bottom: 6%; left: -20px; animation-delay: 1.7s; }
.hero-art .s4 { width: 22px; height: 22px; bottom: -12px; right: 14%; animation-delay: 0.4s; }

/* бегущая строка, как кольцо букв на логотипе */
.ticker-wrap { overflow: hidden; padding: 22px 0; margin-top: 24px; }
.ticker { transform: rotate(-1.6deg); width: 104%; margin-left: -2%; background: var(--lav); color: var(--on-lav); border-block: 3px solid var(--on-lav); box-shadow: 0 6px 0 rgba(12, 16, 60, 0.55); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 28px; padding: 12px 14px; flex: none; }
.ticker-group span { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em; }
.ticker-group .spark { width: 22px; height: 22px; color: var(--violet); }

/* ============ Секции ============ */
.section { padding-top: 68px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section h2 { font-size: clamp(1.4rem, 2.4vw + 0.8rem, 2.1rem); font-weight: 800; }
.section-sub { color: var(--muted); margin-top: 8px; font-weight: 600; }
.more-link { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
main { padding-bottom: 90px; flex: 1 0 auto; }

.page-head { padding: 52px 0 4px; }
.page-head h1 { font-size: clamp(1.7rem, 4vw + 0.4rem, 3rem); font-weight: 800; margin: 14px 0 14px; }
.page-head .lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--pop);
}
a.card { text-decoration: none; color: inherit; display: block; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--pop-hover); border-color: var(--lav); }
a.card:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(12, 16, 60, 0.6); }
.card-ic {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 18px;
  background: var(--lav); color: var(--on-lav); border: 2px solid var(--on-lav); box-shadow: 0 3px 0 var(--on-lav);
}
.card-ic .ic { width: 26px; height: 26px; }
a.card:nth-child(2) .card-ic { background: var(--violet); color: #fff; }
.card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.98rem; font-weight: 600; }
.card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 800; color: var(--lav); font-size: 0.94rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; padding: 12px 24px; border-radius: 999px; text-decoration: none;
  background: var(--lav-soft); border: 2px solid var(--line); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; box-shadow: var(--pop);
  transition: transform 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}
.pill:hover { transform: translateY(-3px); background: var(--lav); color: var(--on-lav); border-color: var(--on-lav); }

/* ============ О нас ============ */
.prose { display: grid; gap: 16px; max-width: 68ch; font-size: 1.1rem; font-weight: 600; }

.org { display: grid; justify-items: center; gap: 0; padding: 32px 16px; }
.org-node {
  padding: 12px 24px; border-radius: 999px; background: var(--lav-soft); border: 2px solid var(--line);
  font-weight: 800; text-align: center; box-shadow: var(--pop);
}
.org-top { background: var(--violet); color: #fff; border-color: var(--on-lav); }
.org-line { width: 3px; height: 26px; background: var(--line); border-radius: 2px; }
.org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
a.org-node { text-decoration: none; color: var(--lav); font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; transition: background 0.15s, color 0.15s, transform 0.15s; }
a.org-node:hover { background: var(--lav); color: var(--on-lav); transform: translateY(-3px); }
/* «Председатель» и «Заместители» — обычным шрифтом, как ФИО ниже; председатель остаётся фиолетовым */
a.org-text { font-family: inherit; font-weight: 800; font-size: 1rem; color: var(--ink); }
a.org-top { color: #fff; }
a.org-top:hover { background: #7a5ce0; color: #fff; }
/* карточка, к которой перешли по ссылке из схемы, подсвечивается рамкой */
.card:target, .deputies:target > .card { border-color: var(--lav); box-shadow: var(--pop), 0 0 0 4px rgba(199, 191, 251, 0.35); }

.people { display: grid; gap: 20px; }
.deputies { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.person { display: flex; align-items: center; gap: 18px; }
.person-chair { padding: 30px; background: linear-gradient(135deg, rgba(108, 77, 208, 0.55), rgba(255, 255, 255, 0.04)); }
.avatar {
  width: 76px; height: 76px; flex: none; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--on-lav);
  background: var(--lav); border: 3px solid var(--on-lav); box-shadow: 0 4px 0 rgba(12, 16, 60, 0.6);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-chair .avatar { width: 104px; height: 104px; font-size: 1.8rem; }
.person h3 { font-size: 1.12rem; }
.person-chair h3 { font-size: 1.4rem; }
.person .role { color: var(--muted); font-size: 0.94rem; margin-top: 2px; font-weight: 600; }
.person .tg { display: inline-block; margin-top: 8px; font-weight: 800; font-size: 0.94rem; }

.commissions { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.commission { display: flex; flex-direction: column; gap: 12px; }
.abbr {
  align-self: flex-start; padding: 6px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--on-lav); background: var(--lav); border: 2px solid var(--on-lav); box-shadow: 0 3px 0 var(--on-lav);
}
.commission h3 { font-size: 1.08rem; }
.commission .empty { color: var(--muted); font-style: italic; }
.commission .head { color: var(--muted); font-size: 0.94rem; font-weight: 600; }
.commission .head b { color: var(--ink); font-weight: 800; }
.commission .card-link { margin-top: auto; padding-top: 6px; font-weight: 800; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.commission .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============ Соцсети ============ */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.social {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  padding: 32px; border-radius: 30px; min-height: 280px;
  border: 3px solid var(--on-lav); box-shadow: 0 8px 0 rgba(12, 16, 60, 0.65);
}
.social .spark-bg { position: absolute; right: 22px; top: 22px; width: 34px; height: 34px; color: #fff; }
.social-telegram { background: var(--lav); color: var(--on-lav); }
.social-tiktok { background: var(--violet); color: #fff; }
.social-other { background: var(--surface-2); color: var(--ink); }
.social-ic {
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px;
  background: var(--on-lav); color: var(--lav); border: 2px solid var(--on-lav);
}
.social-tiktok .social-ic { background: var(--lav); color: var(--on-lav); }
.social-ic svg { width: 30px; height: 30px; fill: currentColor; }
.social h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; }
.social .handle { font-weight: 800; opacity: 0.85; }
.social p { max-width: 38ch; font-weight: 600; }
.social .btn { margin-top: auto; align-self: flex-start; }
.social-telegram .btn:not(.is-disabled) { background: var(--on-lav); color: var(--lav); }
.social-telegram .btn:not(.is-disabled):hover { background: #2a3380; }
.social-tiktok .btn:not(.is-disabled) { background: var(--lav); color: var(--on-lav); }
.social .btn.is-disabled { background: rgba(255, 255, 255, 0.18); color: inherit; opacity: 0.8; }
.social-telegram .btn.is-disabled { background: rgba(28, 35, 96, 0.14); }
.contact-card { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.contact-card p { margin-top: 2px; }

/* ============ Документы ============ */
.tools { margin-top: 30px; display: grid; gap: 16px; }
.search {
  position: relative; display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.08); border: 2.5px solid var(--line); border-radius: 22px; box-shadow: var(--pop);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search:focus-within { border-color: var(--lav); box-shadow: var(--pop), 0 0 0 5px rgba(199, 191, 251, 0.2); }
.search > .ic { position: absolute; left: 20px; width: 24px; height: 24px; color: var(--lav); pointer-events: none; }
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 1.1rem; font-weight: 700; padding: 19px 56px 19px 56px; border-radius: 22px;
}
.search input:focus { outline: none; }
.search input::placeholder { color: var(--muted); opacity: 0.85; font-weight: 600; }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear {
  position: absolute; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--lav-soft); color: var(--ink); display: grid; place-items: center;
}
.search .clear[hidden] { display: none; }
.search .clear:hover { background: var(--lav); color: var(--on-lav); }
.kbd {
  position: absolute; right: 16px; padding: 2px 10px; border-radius: 8px; border: 2px solid var(--line);
  color: var(--muted); font-size: 0.85rem; font-weight: 800; pointer-events: none;
}
.search:focus-within .kbd, .search.has-value .kbd { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(12, 16, 60, 0.4); border: 2px solid var(--line); gap: 2px; flex-wrap: wrap; }
.seg button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font: inherit; font-size: 0.94rem; font-weight: 800;
  transition: background 0.15s, color 0.15s;
}
.seg button small { font-weight: 800; opacity: 0.7; margin-left: 5px; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--lav); color: var(--on-lav); }
.select {
  font: inherit; font-size: 0.94rem; font-weight: 800; color: var(--ink); cursor: pointer;
  padding: 12px 40px 12px 18px; border-radius: 999px; border: 2px solid var(--line); background-color: rgba(12, 16, 60, 0.4);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c7bffb' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.select:hover { border-color: var(--lav); }
.select option { background: var(--surface); color: var(--ink); }

.status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 16px; color: var(--muted); font-weight: 700; min-height: 28px; }
.status strong { color: var(--ink); }
.reset { border: 0; background: none; color: var(--lav); font: inherit; font-weight: 800; cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; }

.doc-list { display: grid; gap: 16px; }
.doc {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--pop);
}
.doc-ic {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px;
  background: var(--lav); color: var(--on-lav); border: 2px solid var(--on-lav); box-shadow: 0 3px 0 var(--on-lav);
}
.doc-ic .ic { width: 27px; height: 27px; }
.doc.is-order .doc-ic { background: var(--violet); color: #fff; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 0.9rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.badge { padding: 3px 12px; border-radius: 999px; font-weight: 800; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--lav); color: var(--on-lav); }
.is-order .badge { background: var(--violet); color: #fff; }
.doc-num { color: var(--ink); font-weight: 800; }
.doc-title { font-size: 1.12rem; font-weight: 800; }
.doc-sum { color: var(--muted); margin-top: 4px; font-weight: 600; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  padding: 3px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.03em; text-decoration: none;
  background: rgba(12, 16, 60, 0.45); color: var(--lav); border: 1.5px solid var(--line);
}
a.chip:hover { background: var(--lav); color: var(--on-lav); border-color: var(--on-lav); }
.chip-static { color: var(--muted); }
.doc-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 130px; }
.nofile { color: var(--muted); font-size: 0.86rem; font-weight: 700; text-align: center; }
mark { background: var(--mark); color: var(--on-lav); border-radius: 5px; padding: 0 3px; }

.empty-state { text-align: center; padding: 52px 20px; background: rgba(12, 16, 60, 0.3); border: 2.5px dashed var(--line); border-radius: var(--radius); }
.empty-state > .ic { width: 46px; height: 46px; color: var(--lav); margin: 0 auto 14px; }
.empty-state h3 { font-size: 1.25rem; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 0 auto 20px; max-width: 46ch; font-weight: 600; }
.load-more { display: flex; justify-content: center; margin-top: 24px; }
.load-more[hidden] { display: none; }

/* ============ Подвал ============ */
.site-footer { border-top: 1.5px solid var(--line); background: var(--bg-deep); }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; padding: 30px 0; }
.foot p { color: var(--muted); font-size: 0.93rem; font-weight: 600; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 0.94rem; }
.foot nav a:hover { color: var(--lav); }

/* ============ Адаптив ============ */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { width: min(340px, 86%); order: -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 4px; padding: 14px 16px 18px;
    background: var(--bg-deep); border-bottom: 1.5px solid var(--line); box-shadow: 0 14px 30px rgba(6, 8, 40, 0.5);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 18px; border-radius: 16px; }
  .brand-text small { display: none; }
}

@media (max-width: 640px) {
  .doc { grid-template-columns: 1fr; gap: 14px; }
  .doc-ic { display: none; }
  .doc-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .doc-actions .btn { flex: 1; }
  .person-chair { flex-direction: column; text-align: center; }
  .filters .select { flex: 1; min-width: 140px; }
  .seg { border-radius: 24px; }
  .seg button { padding: 9px 14px; font-size: 0.9rem; }
  .kbd { display: none; }
  .section { padding-top: 52px; }
  .social { padding: 26px; }
  .ticker-group span { font-size: 1.2rem; }
}

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