/* Тема сайта «Региональный кадровый центр» — стили старой площадки (index/header/footer). */


  :root {
    --bg: #f2f7fb;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --border: #dfe9f2;
    --text: #1c1c1c;
    --muted: #5b6b78;
    --accent: #0072bc;
    --accent-2: #157fc4;
    --accent-3: #38bafe;
    --radius: 14px;
  }






  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Roboto", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
  }
  ::selection { background: rgba(0,114,188,.35); color: #fff; }

  /* ---------- Фон ---------- */
  .bg {
    position: fixed; inset: 0; z-index: -2;
    background:
      radial-gradient(60% 45% at 12% 8%, rgba(0,114,188,.10), transparent 60%),
      radial-gradient(55% 45% at 88% 12%, rgba(56,186,254,.08), transparent 60%),
      radial-gradient(70% 55% at 60% 95%, rgba(1,142,163,.06), transparent 60%),
      var(--bg);
  }
  .glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .35; z-index: -1; }
  .glow.a { width: 420px; height: 420px; background: #38bafe; top: -120px; left: -80px; }
  .glow.b { width: 380px; height: 380px; background: #018ea3; bottom: -100px; right: -60px; }

  /* ---------- Шапка ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    display: flex; flex-direction: column; gap: 12px;
    padding: 14px 24px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,114,188,.08);
  }
  .header-top { display: flex; align-items: center; justify-content: flex-end; width: 100%; }
  .header-top.with-back { justify-content: space-between; }
  .back-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--card);
    color: var(--accent); text-decoration: none;
    font-size: 14px; font-weight: 600;
    transition: border-color .2s, background .2s, transform .2s;
  }
  .back-link:hover { border-color: rgba(0,114,188,.5); background: rgba(21,127,196,.06); transform: translateY(-1px); }
  nav { display: flex; justify-content: center; gap: 22px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; scrollbar-width: thin; }
  nav a { color: #1f3f5c; text-decoration: none; font-size: 15.5px; transition: color .2s; flex: 0 0 auto; }
  nav a:hover { color: var(--accent); }
  nav a.active { color: var(--accent); font-weight: 600; }
  .burger { display: none; background: none; border: 0; cursor: pointer; color: var(--text); font-size: 24px; }

  /* ---------- Секции ---------- */
  section { padding: 56px 24px 40px; max-width: 1400px; margin: 0 auto; }
  .page-head { text-align: center; }
  h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
  p.sub { color: var(--muted); max-width: 800px; margin: 16px auto 0; font-size: 16.5px; }
  .page-body { margin: 28px auto 0; }
  .page-body > div { margin-bottom: 26px; }
  .page-body h2 { font-size: clamp(21px, 3vw, 28px); font-weight: 800; letter-spacing: -.3px; margin-bottom: 18px; scroll-margin-top: 130px; }
  .eyebrow {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--accent-2);
    font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
    margin-bottom: 18px;
  }
  .block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: justify; }
  .block p { margin-bottom: 12px; }
  .block p:last-child { margin-bottom: 0; }
  .block ul { margin: 0 0 12px 22px; }
  .block li { margin-bottom: 6px; }
  .block a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .block a:hover { text-decoration: underline; }
  .block b { color: var(--text); }

  /* ---------- Примечания ---------- */
  .note {
    background: #fdeef0; border: 1px solid rgba(220,53,69,.35);
    border-radius: 10px; padding: 14px 16px; color: #a11d2e;
    font-weight: 600; margin-bottom: 12px;
  }
  .note-muted { color: var(--muted); font-size: 14px; margin-top: 14px; }

  /* ---------- Таблицы ---------- */
  .table-wrap { overflow-x: auto; margin-bottom: 16px; }
  table.sched { width: 100%; border-collapse: collapse; min-width: 460px; }
  table.sched th, table.sched td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; font-size: 14.5px; }
  table.sched thead th { background: rgba(0,114,188,.08); color: var(--accent-2); text-align: center; font-weight: 700; }
  table.sched td.spec { background: rgba(21,127,196,.03); font-weight: 700; color: var(--text); width: 22%; }
  table.sched td .row-label { display: block; font-size: 13px; font-weight: 700; color: var(--accent-2); margin-bottom: 4px; }

  /* ---------- Плитки ---------- */
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 8px; }
  .grid.top-lg { margin-top: 44px; }
  .card {
    padding: 28px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--card);
    transition: transform .25s, border-color .25s, background .25s;
    text-decoration: none; color: var(--text); display: block;
  }
  .card:hover { transform: translateY(-6px); border-color: rgba(0,114,188,.4); background: rgba(21,127,196,.05); }
  .card.center h3, .card.center p { text-align: center; }
  .card .icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    font-size: 24px; margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(0,114,188,.14), rgba(56,186,254,.16));
    border: 1px solid rgba(0,114,188,.3);
  }
  .card h3 { font-size: 18px; margin-bottom: 10px; }
  .card p { color: var(--muted); font-size: 14.5px; }
  .card .more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14px; }

  /* ---------- Скачивания ---------- */
  .files { list-style: none; margin: 6px 0 0; padding: 0; }
  .files li { margin: 8px 0; }
  .files a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--border); background: var(--bg); border-radius: 10px; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .2s, background .2s; }
  .files a:hover { border-color: rgba(0,114,188,.5); background: rgba(21,127,196,.06); }
  .files .ftag { flex: 0 0 auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 6px; background: rgba(0,114,188,.12); color: var(--accent); }

  .files li.is-plain { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--border); background: var(--bg); border-radius: 10px; color: var(--text); font-size: 14px; }

  /* ---------- Кнопки ---------- */
  .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
  .btn-row a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border: 1px solid var(--border);
    background: var(--bg); border-radius: 10px;
    color: var(--accent); font-weight: 600; text-decoration: none;
    transition: border-color .2s, background .2s;
  }
  .btn-row a:hover { border-color: rgba(0,114,188,.5); background: rgba(21,127,196,.06); }

  /* ---------- Контакты ---------- */
  .contacts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
  .contact-card { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; background: var(--bg); }
  .contact-card b { display: inline-block; font-size: 13.5px; margin-bottom: 6px; }
  .contact-card a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 16px; white-space: nowrap; }
  .contact-card a:hover { text-decoration: underline; }
  .contact-card .cd { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; }
  .contact-card .cl { font-size: 13.5px; font-weight: 700; margin-right: 8px; }
  .contact-card .cx { margin-bottom: 8px; }
  .contact-card .cx:last-child { margin-bottom: 0; }

  /* ---------- Ссылки-списки ---------- */
  ul.links { list-style: none; margin: 0; padding: 0; }
  ul.links li { margin: 0 0 10px; }
  ul.links li:last-child { margin-bottom: 0; }
  ul.links a {
    display: block; padding: 12px 16px;
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--bg); color: var(--text);
    font-weight: 600; text-decoration: none;
    transition: border-color .2s, background .2s, transform .2s;
  }
  ul.links a:hover {
    border-color: rgba(0,114,188,.5); background: #fff;
    color: var(--accent); text-decoration: none; transform: translateY(-1px);
  }

  /* ---------- Аккордеоны ---------- */
  details.acc {
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--bg); margin-bottom: 10px; overflow: hidden;
  }
  details.acc summary {
    cursor: pointer; padding: 14px 16px; font-weight: 700;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    list-style: none; user-select: none;
  }
  details.acc summary::-webkit-details-marker { display: none; }
  details.acc summary::after { content: "+"; font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1; }
  details.acc[open] summary::after { content: "−"; }
  details.acc summary:hover { background: rgba(21,127,196,.06); }
  details.acc[open] summary { border-bottom: 1px solid var(--border); }
  details.acc .acc-body { padding: 4px 16px 16px; }
  details.acc .stage-label { font-weight: 700; margin: 14px 0 8px; color: var(--accent-2); text-align: left; }

  /* ---------- Адаптив ---------- */
  @media (max-width: 860px) {
    nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
          background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 8px 0; max-height: 70vh; overflow-y: auto; white-space: normal; }
    nav.open { display: flex; }
    nav a {     padding: 14px 24px; }
    .burger { display: block; }
    section { padding: 42px 20px 30px; }
    header { padding: 14px 20px; }
    .page-body { margin-top: 24px; }
    .block { padding: 24px 20px; }
    .contacts-row { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }

section { max-width: px; }


  .site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 24px; }
  .site-footer .sfc-cols { max-width: 1400px; margin: 0 auto; padding: 48px 24px 40px; display: grid; grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .site-footer h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
  .site-footer p, .site-footer a { color: var(--muted); font-size: 14px; line-height: 1.8; }
  .site-footer a { display: inline-block; color: var(--accent); text-decoration: none; }
  .site-footer a:hover { text-decoration: underline; }
  .site-footer .addr b { display: block; font-size: 14.5px; color: var(--text); line-height: 1.7; }
  .site-footer .phone-row { margin-top: 8px; }
  .site-footer .sfc-policies { max-width: 1400px; margin: 0 auto; padding: 0 24px 22px; text-align: center; }
  .site-footer .sfc-policies a { color: var(--muted); font-size: 13px; text-decoration: none; }
  .site-footer .sfc-policies a:hover { color: var(--accent); text-decoration: underline; }
  .site-footer .sfc-copy { max-width: 1400px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid var(--border); }
  .site-footer .sfc-copy p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 960px; }
  .site-footer .sfc-socials { display: flex; gap: 9px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
  .site-footer .sfc-socials a {
    width: 34px; height: 34px; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 9px;
    transition: all .2s;
  }
  .site-footer .sfc-socials a:hover { border-color: var(--accent); background: var(--accent); transform: translateY(-2px); }
  .site-footer .sfc-socials img { width: 18px; height: 18px; object-fit: contain; transition: filter .2s; }
  .site-footer .sfc-socials a:hover img { filter: brightness(0) invert(1); }
  @media (max-width: 860px) {
    .site-footer .sfc-cols { gap: 28px; padding: 44px 20px 30px; }
    .site-footer .sfc-policies { padding: 0 20px 18px; }
    .site-footer .sfc-copy { padding: 16px 20px 24px; }
  }


  





  :root {
    --bg: #f2f7fb;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --border: #dfe9f2;
    --text: #1c1c1c;
    --muted: #5b6b78;
    --accent: #0072bc;
    --accent-2: #157fc4;
    --accent-3: #38bafe;
    --radius: 14px;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Roboto", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
  }
  ::selection { background: rgba(0,114,188,.35); color: #fff; }

  /* ---------- Фон ---------- */
  .bg {
    position: fixed; inset: 0; z-index: -2;
    background:
      radial-gradient(60% 45% at 12% 8%, rgba(0,114,188,.10), transparent 60%),
      radial-gradient(55% 45% at 88% 12%, rgba(56,186,254,.08), transparent 60%),
      radial-gradient(70% 55% at 60% 95%, rgba(1,142,163,.06), transparent 60%),
      var(--bg);
  }
  .glow {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: .35; z-index: -1;
  }
  .glow.a { width: 420px; height: 420px; background: #38bafe; top: -120px; left: -80px; }
  .glow.b { width: 380px; height: 380px; background: #018ea3; bottom: -100px; right: -60px; }

  /* ---------- Шапка ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,114,188,.08);
  }
.topbar {
    display: flex; align-items: center; gap: 28px;
    max-width: 1550px; margin: 0 auto; padding: 14px 24px;
  }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand .logo {
    width: auto; height: 50px; max-width: 150px;
    object-fit: contain; display: block;
  }
.brand .bname { display: inline-block; font-size: 17px; font-weight: 800; line-height: 1.2; }
  .brand .bt { display: inline-block; }
  .brand .bsub { display: block; width: 100%; margin-top: 4px; font-size: 11.2px; color: var(--muted); font-weight: 700; }
  .brand .bsub span { display: block; text-align: justify; text-align-last: justify; }
  .toplinks { display: flex; align-items: center; gap: 4px; }
  .toplinks > a,
  .toplinks .has-sub > a {
    padding: 8px 12px; border-radius: 8px;
    color: #1f3f5c; text-decoration: none; font-size: 14.5px; font-weight: 600;
    transition: background .2s, color .2s; white-space: nowrap;
  }
  .toplinks > a:hover,
  .toplinks .has-sub > a:hover { color: var(--accent); background: rgba(0,114,188,.06); }
  .toplinks > a.active,
  .toplinks .has-sub > a.active { color: var(--accent); }

  /* Выпадающее меню «О центре» */
  .has-sub { position: relative; }
  .has-sub > a { display: inline-flex; align-items: center; gap: 7px; }
  .has-sub > a::after { content: "▾"; font-size: 11px; transition: transform .2s; }
  .has-sub.open > a::after { transform: rotate(180deg); }
  .dropdown {
    display: none; position: absolute; top: 100%; left: 0; min-width: 280px;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,114,188,.18); padding: 8px; z-index: 60;
  }
  .has-sub:hover > .dropdown, .has-sub.open > .dropdown, .has-sub:focus-within > .dropdown { display: block; }
  .dropdown a {
    display: block; padding: 10px 12px; border-radius: 8px;
    color: #1f3f5c !important; text-decoration: none; font-size: 13.5px !important; font-weight: 600 !important;
    white-space: nowrap; transition: background .2s, color .2s;
  }
  .dropdown a:hover { background: rgba(0,114,188,.08); color: var(--accent) !important; }
  .topright { margin-left: auto; display: flex; align-items: center; gap: 18px; }
  .phone { text-align: right; white-space: nowrap; }
  .phone a { text-decoration: none; color: var(--text); font-weight: 700; font-size: 16px; }
  .phone a:hover { color: var(--accent); }
  .phone small { display: block; color: var(--muted); font-size: 11.5px; }
  .socials { display: flex; gap: 9px; }
  .socials a {
    width: 34px; height: 34px; display: grid; place-items: center;
    border: 1px solid var(--border); border-radius: 9px;
    color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700;
    transition: all .2s;
  }
  .socials a:hover { color: #fff; border-color: var(--accent); background: var(--accent); transform: translateY(-2px); }
  .socials a img { width: 18px; height: 18px; object-fit: contain; transition: filter .2s; }
  .socials a:hover img { filter: brightness(0) invert(1); }
  .a11y-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s;
  }
.a11y-btn:hover { border-color: var(--accent); color: var(--accent); }
  .search-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); color: var(--text); font: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s;
  }
  .search-btn:hover { border-color: var(--accent); color: var(--accent); }
  .searchbar {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
    border-top: 1px solid var(--border); background: var(--bg-soft);
  }
  .searchbar.open { grid-template-rows: 1fr; }
  .searchbar-inner { overflow: hidden; min-height: 0; }
  .sbar-form { display: flex; gap: 10px; max-width: 1400px; margin: 0 auto; padding: 14px 24px; }
  .sbar-form input {
    flex: 1; min-width: 0;
    padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); font: inherit; font-size: 15px; color: var(--text); outline: none;
    transition: border-color .2s;
  }
  .sbar-form input:focus { border-color: var(--accent); }
  .sbar-form button {
    flex: 0 0 auto; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); color: var(--accent); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: border-color .2s, background .2s;
  }
  .sbar-form button:hover { border-color: var(--accent); background: rgba(0,114,188,.06); }
  .mainnav {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
  }
  nav { display: flex; justify-content: center; align-items: center; gap: 2px; flex-wrap: nowrap; max-width: 1400px; margin: 0 auto; padding: 6px 24px; overflow-x: auto; scrollbar-width: thin; }
  nav a { color: #1f3f5c; text-decoration: none; font-size: 14.5px; font-weight: 600; transition: color .2s; padding: 8px 10px; border-radius: 8px; white-space: nowrap; flex: 0 0 auto; }
  nav a:hover { color: var(--accent); background: rgba(0,114,188,.06); }
  nav a.active { color: var(--accent); }
  .burger { display: none; background: none; border: 0; cursor: pointer; color: var(--text); font-size: 26px; line-height: 1; }

  /* ---------- Общие ---------- */
  section { padding: 56px 24px; max-width: 1400px; margin: 0 auto; }
  h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
  .sub { color: var(--muted); max-width: 680px; margin-top: 16px; font-size: 16.5px; }
  .center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
  .about { margin: 24px auto 0; text-align: justify; text-align-last: left; }
  .about p { color: var(--muted); font-size: 16.5px; line-height: 1.8; margin-bottom: 16px; }
  .about ol { margin: 4px 0 0; padding-left: 22px; color: var(--muted); font-size: 16px; line-height: 1.75; }
  .about li { margin-bottom: 10px; text-align: justify; }
  .grad { background: linear-gradient(100deg, #0072bc, #38bafe 60%, #018ea3); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .about-title { font-size: clamp(40px, 7vw, 72px); font-weight: 900; letter-spacing: -2px; line-height: 1.08; margin: 0 auto; max-width: 900px; }

  /* ---------- Hero ---------- */
  .hero { padding: 110px 24px 90px; text-align: center; }
  .hero .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--card);
    font-size: 13.5px; color: var(--muted);
  }
  .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
  .hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900; letter-spacing: -2px; line-height: 1.08;
    margin: 26px auto 0; max-width: 900px;
  }
  .hero p { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 640px; margin: 22px auto 0; }
  .hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
  .btn {
    display: inline-block;
    padding: 14px 30px; border-radius: 12px; font-size: 15.5px; font-weight: 700;
    text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
  }
  .btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 30px rgba(0,114,188,.35);
  }
  .btn.primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(0,114,188,.5); }
  .btn.ghost { color: var(--text); border: 1px solid var(--border); background: var(--card); }
  .btn.ghost:hover { background: rgba(0,114,188,.06); transform: translateY(-3px); }

  /* ---------- Карточки ---------- */
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
  .card {
    padding: 30px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--card);
    transition: transform .25s, border-color .25s, background .25s;
    text-decoration: none; color: var(--text); display: block;
  }
  .card:hover { transform: translateY(-6px); border-color: rgba(0,114,188,.4); background: rgba(21,127,196,.05); }
  .card .icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    font-size: 24px; margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(0,114,188,.14), rgba(56,186,254,.16));
    border: 1px solid rgba(0,114,188,.3);
  }
  .card h3 { font-size: 18px; margin-bottom: 10px; }
  .card p { color: var(--muted); font-size: 14.5px; }
  .card .more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 14px; }
  .card .news-date {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
    color: var(--accent); background: rgba(0,114,188,.1);
    border: 1px solid rgba(0,114,188,.25); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
  }

  /* ---------- Инфо-блок ---------- */
  .info {
    border-radius: 24px; border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0,114,188,.12), rgba(56,186,254,.10)), var(--bg-soft);
    padding: 64px 40px; position: relative; overflow: hidden;
  }
  .info::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 60% at 50% 0%, rgba(0,114,188,.18), transparent 70%); }
  .info > * { position: relative; }
  .info h2 + p { color: var(--muted); max-width: 520px; margin: 16px auto 0; }
  .info .center .sub { margin-left: auto; margin-right: auto; }

  /* ---------- Подвал ---------- */
  /* Стили подвала подключаются из main_site/footer.php */

  /* ---------- Cookie-баннер ---------- */
  .cookie-banner {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100;
    max-width: 720px; margin: 0 auto;
    display: none; align-items: center; gap: 18px;
    padding: 18px 22px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0,114,188,.18);
  }
  .cookie-banner.show { display: flex; }
  .cookie-banner p { flex: 1; font-size: 14px; color: var(--muted); }
  .cookie-banner p a { color: var(--accent); }
  .cookie-banner .btn { padding: 10px 20px; margin: 0; font-size: 14.5px; border-radius: 10px; white-space: nowrap; }
  .cookie-banner .btn.ghost { background: transparent; }

  /* ---------- Панель слабовидящих ---------- */
  .a11y-panel {
    position: fixed; top: 0; right: -340px; bottom: 0; width: 320px; z-index: 200;
    background: var(--bg-soft); border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px rgba(0,114,188,.15);
    padding: 24px; overflow-y: auto;
    transition: right .3s ease;
  }
  .a11y-panel.open { right: 0; }
  .a11y-panel h3 { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
  .a11y-panel .a11y-group { margin-bottom: 18px; }
  .a11y-panel .a11y-group > b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
  .a11y-panel .a11y-option {
    display: block; width: 100%; text-align: left;
    padding: 9px 12px; margin-bottom: 6px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--card);
    color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer;
    transition: border-color .2s;
  }
  .a11y-panel .a11y-option:hover { border-color: var(--accent); }
  .a11y-panel .a11y-option.on { border-color: var(--accent); background: rgba(0,114,188,.1); font-weight: 700; }
  .a11y-panel .a11y-sizes { display: flex; gap: 6px; }
  .a11y-panel .a11y-sizes button {
    flex: 1; padding: 8px 0; border-radius: 8px; border: 1px solid var(--border);
    background: var(--card); color: var(--text); font: inherit; font-size: 13px; cursor: pointer;
  }
  .a11y-panel .a11y-sizes button.on { border-color: var(--accent); background: rgba(0,114,188,.1); font-weight: 700; }
  .a11y-panel .a11y-reset {
    width: 100%; padding: 11px; border-radius: 8px; border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
    font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 6px;
  }
  .a11y-close {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
    display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px;
    background: var(--card); color: var(--text); font-size: 16px; cursor: pointer;
  }
  .a11y-backdrop { position: fixed; inset: 0; z-index: 199; background: rgba(12,20,30,.35); display: none; }
  .a11y-backdrop.open { display: block; }

  /* Режимы слабовидящих */
  body.a11y-bw { filter: grayscale(1) contrast(1.2); }
  body.a11y-bw .brand .logo, body.a11y-bw .btn.primary,
  body.a11y-bw .toplinks a.active, body.a11y-bw .a11y-reset { filter: grayscale(1); }
  body.a11y-wb { filter: invert(1) hue-rotate(180deg) contrast(1.1); }
  body.a11y-wb .bg { display: none; }
  body.a11y-brown, body.a11y-brown .bg { filter: sepia(.85) saturate(.6) contrast(.95); }
  body.a11y-blue, body.a11y-blue .bg { filter: hue-rotate(190deg) saturate(1.6) contrast(1.05); }
  body.a11y-noimg img { visibility: hidden !important; }
  body.a11y-bigcursor, body.a11y-bigcursor * { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><circle cx="16" cy="16" r="13" fill="none" stroke="black" stroke-width="3"/><circle cx="16" cy="16" r="6" fill="black"/></svg>') 16 16, auto !important; }
  body.a11y-m { font-size: 14px; }
  body.a11y-xl { font-size: 17px; }
  body.a11y-xl .about-title { font-size: clamp(44px, 7vw, 80px); }
  body.a11y-xl h2 { font-size: clamp(32px, 4vw, 48px); }
  body.a11y-xl .hero p, body.a11y-xl .sub { font-size: 18.5px; }
  body.a11y-xl nav a { font-size: 16px; }

  /* ---------- Reveal ---------- */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.show { opacity: 1; transform: none; }

  /* ---------- Адаптив ---------- */
  @media (max-width: 860px) {
    .topbar { gap: 14px; padding: 12px 20px; flex-wrap: wrap; }
    .topbar .socials { display: none; }
.topbar .a11y-btn span,
    .topbar .search-btn span { display: none; }
    .topbar .a11y-btn,
    .topbar .search-btn { padding: 8px 10px; }
    .burger { display: block; margin-left: auto; order: 3; }
    .topright { margin-left: 0; gap: 12px; }
    .brand .bsub { display: none; }
    nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
          background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 8px 0; max-height: 60vh; overflow-y: auto; }
    nav.open { display: flex; }
    nav a { padding: 13px 40px; }
    .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px; }
    .cookie-banner p { flex: none; }
section { padding: 44px 20px; }
    .grid { grid-template-columns: 1fr; }
    .hero { padding: 84px 20px 64px; }
    .a11y-panel { width: 290px; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
  }


/* ---------- Внутренние страницы: сетка как в старой header.php (растягивается и центрируется),
   а не 3-колоночная сетка главной (те стили идут выше и иначе перебивают плитки). ---------- */
.rcc-site:not(.rcc-home) .rcc-content .grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Публичная форма (/forms/<slug>) и встроенная — в стиле старой площадки ---------- */
.rcc-site .page-head { text-align: center; }
.rcc-site .content.form-page__intro { text-align: center; color: var(--muted); max-width: 640px; margin: 16px auto 0; }
.rcc-site .form-page { max-width: 900px; margin: 0 auto; }
.rcc-site .form-card { margin-top: 40px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: 0 20px 50px rgba(0,114,188,.12); padding: 40px; }
.rcc-site .form-card--success { text-align: center; }
.rcc-site .site-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rcc-site .site-field { margin-bottom: 20px; }
.rcc-site .site-field--full { grid-column: 1 / -1; }
.rcc-site .site-field__label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.rcc-site .req { color: #d1453b; font-weight: 700; }
.rcc-site .site-field input, .rcc-site .site-field select, .rcc-site .site-field textarea {
  width: 100%; box-sizing: border-box; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-soft); color: var(--text); font: inherit; font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.rcc-site .site-field textarea { min-height: 140px; resize: vertical; }
.rcc-site .site-field input:focus, .rcc-site .site-field select:focus, .rcc-site .site-field textarea:focus {
  border-color: var(--accent-3); box-shadow: 0 0 0 3px rgba(0,114,188,.15);
}
.rcc-site .site-field__hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.rcc-site .site-field__error { color: #d1453b; font-size: 13px; margin-top: 6px; }
.rcc-site .site-check { display: flex; gap: 12px; align-items: flex-start; }
.rcc-site .site-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.rcc-site .site-check span { font-size: 13px; color: var(--muted); }
.rcc-site .site-form__consent { margin-top: 6px; }
.rcc-site .site-form__consent a { color: var(--accent); }
.rcc-site .site-form__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 10px; }
.rcc-site .site-form .btn, .rcc-site .btn--primary {
  display: inline-block; padding: 14px 34px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 15.5px; font-weight: 700; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 30px rgba(0,114,188,.35);
  transition: transform .2s, box-shadow .2s;
}
.rcc-site .site-form .btn:hover, .rcc-site .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(0,114,188,.5); }
.rcc-site .site-form__note { color: var(--muted); font-size: 12.5px; text-align: center; }
@media (max-width: 860px) {
  .rcc-site .site-form__grid { grid-template-columns: 1fr; }
  .rcc-site .form-card { padding: 26px; }
}

/* Honeypot-поле формы (не для людей) — как в forms.css: скрыто за краем экрана */
.rcc-site .site-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
