/* ============================================================================
   public-site.css — скин публичной витрины по дизайну publicsitedesign
   (PART-M-PUBLIC-redesign). Самодостаточный: без Bootstrap и grant-design.css.

   Палитра «пергамент/золото» — литеральные значения дизайна. Тенант с другим
   брендом получает override --ps-accent* из _PublicLayout (color-mix-производные);
   для дефолтного золота действуют точные значения макета.
   ========================================================================== */

:root {
  /* фон/поверхности/линии */
  --ps-bg: #f4f2ee;
  --ps-card: #fff;
  --ps-line: #eceae4;
  --ps-line2: #e6e2d8;
  --ps-foot: #fdfbf5;
  /* текст */
  --ps-ink: #2a2c30;
  --ps-muted: #5c6066;
  --ps-muted2: #6f7379;
  --ps-faint: #8b8f96;
  --ps-faint2: #a9a49a;
  /* акцент (золото макета; тенант может переопределить) */
  --ps-accent: #c9a45c;        /* заливки кнопок/чипов */
  --ps-accent-ink: #a8752c;    /* текст-ссылки, бейджи */
  --ps-accent-deep: #8c5f20;   /* hover ссылок */
  --ps-accent-strong: #b3822e; /* активный пункт меню */
  --ps-accent-soft: #f6ead2;   /* светлая плашка */
  --ps-accent-line: #e0c890;   /* hover-бордер карточек */
  /* статусные цвета (бейджи статусов/рубрик) */
  --ps-green-ink: #3e6b52;
  --ps-green-soft: #e5efe6;
  --ps-leaf-ink: #5a7a4e;
  --ps-leaf-soft: #e8f0e2;
  --ps-terra-ink: #9a5c4a;
  --ps-terra-soft: #f4e8e4;
  --ps-neutral-ink: #6f7379;
  --ps-neutral-soft: #eeece7;
  /* глубокий синий макета — второй цвет диаграммы бюджета (софинансирование) */
  --ps-deep: #1b3a4b;
  /* форматы файлов */
  --ps-doc-docx: #5b7fa6;
  --ps-doc-xlsx: #4e8f74;
  --ps-doc-pdf: #b35a4a;
  /* тени/радиусы */
  --ps-shadow-sm: 0 1px 2px rgba(42, 36, 22, .04);
  --ps-shadow-card: 0 8px 22px rgba(42, 36, 22, .08);
  --ps-shadow-pop: 0 20px 56px rgba(42, 36, 22, .2);
  --ps-r-sm: 10px;
  --ps-r: 12px;
  --ps-r-md: 14px;
  --ps-r-lg: 16px;
  --ps-r-xl: 18px;
  --ps-pill: 999px;
}

/* ── база (без Bootstrap) ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* [hidden] сильнее display-классов (грабля из каталога) */
html, body {
  margin: 0;
  padding: 0;
  background: var(--ps-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ps-ink);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--ps-accent-ink); text-decoration: none; }
a:hover { color: var(--ps-accent-deep); }
img { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.ps-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.ps-main { flex: 1 0 auto; padding: 44px 0 72px; }
.ps-narrow { max-width: 880px; }

@keyframes psFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes psPopIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.ps-fadeup { animation: psFadeUp .45s cubic-bezier(.4, 0, .2, 1) both; }
.ps-fadeup--late { animation: psFadeUp .5s cubic-bezier(.4, 0, .2, 1) .06s both; }

/* ── шапка ────────────────────────────────────────────────────────────── */
.ps-header { background: var(--ps-card); border-bottom: 1px solid var(--ps-line); }
.ps-header__inner {
  max-width: 1160px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.ps-brand { display: flex; align-items: center; gap: 12px; }
.ps-brand__logo { width: 44px; height: 58px; object-fit: contain; }
.ps-brand__name {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ps-ink); line-height: 1.5;
}
.ps-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* нейтральная кнопка шапки (a11y, «Все сервисы») */
.ps-hbtn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--ps-ink);
  background: var(--ps-bg); border: 0; border-radius: var(--ps-r);
  padding: 11px 18px; cursor: pointer; text-decoration: none;
}
.ps-hbtn:hover { background: #ece8e0; color: var(--ps-ink); }
.ps-hbtn .ps-i { width: 18px; height: 18px; }

/* панель «Все сервисы»: широкая, под шапкой (как в ЛК; шапка — контейнер позиционирования) */
.ps-services { display: inline-flex; }
.ps-header { position: relative; }
.ps-services__pop {
  position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%);
  width: min(1160px, calc(100vw - 32px));
  background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: 0 0 var(--ps-r-xl) var(--ps-r-xl);
  box-shadow: var(--ps-shadow-pop); padding: 28px 36px 24px; z-index: 300;
  animation: psPopIn .18s ease;
}
.ps-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px; align-items: start; }
.ps-services__col { display: flex; flex-direction: column; gap: 4px; }
.ps-services__item {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 12px; border-radius: var(--ps-r-sm);
  font-size: 14.5px; font-weight: 500; color: var(--ps-ink);
}
.ps-services__item:hover { background: var(--ps-bg); color: var(--ps-accent-ink); }
.ps-services__item img { width: 28px; height: 28px; flex: none; object-fit: contain; }
.ps-services__socials { display: flex; gap: 10px; margin-top: 18px; padding-left: 12px; }
.ps-services__socials a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ps-bg); display: grid; place-items: center; transition: background .15s;
}
.ps-services__socials a:hover { background: #ece8e0; }
.ps-services__socials img { width: 22px; height: 22px; object-fit: contain; }

/* профиль-пилюля */
.ps-profile { position: relative; }
.ps-profile__btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--ps-ink);
  background: var(--ps-card); border: 1px solid var(--ps-line2); border-radius: var(--ps-pill);
  padding: 6px 14px 6px 6px; cursor: pointer;
}
.ps-profile__btn:hover { background: var(--ps-bg); }
.ps-profile__who { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.ps-profile__role {
  font-size: 11px; font-weight: 500; line-height: 1; color: var(--ps-faint);
  max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ps-profile__name {
  max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ps-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ps-accent-soft); color: var(--ps-accent-ink);
  display: grid; place-items: center; font-weight: 700; font-size: 12px;
}
.ps-profile__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 210px;
  background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: var(--ps-r-md);
  box-shadow: var(--ps-shadow-pop); padding: 8px; z-index: 300;
  display: flex; flex-direction: column; animation: psPopIn .18s ease;
}
.ps-profile__menu a {
  padding: 10px 14px; border-radius: var(--ps-r-sm);
  font-size: 14px; font-weight: 500; color: var(--ps-ink);
}
.ps-profile__menu a:hover { background: var(--ps-bg); color: var(--ps-accent-ink); }

/* меню */
.ps-nav {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: center; gap: 34px;
}
.ps-nav a {
  padding: 14px 0; font-size: 15px; font-weight: 500; color: var(--ps-ink);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.ps-nav a:hover { color: var(--ps-accent-ink); }
.ps-nav a[aria-current="page"] {
  font-weight: 600; color: var(--ps-accent-strong);
  border-bottom-color: var(--ps-accent);
}

/* ── кнопки ───────────────────────────────────────────────────────────── */
.ps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 14px; font-weight: 600; line-height: 1;
  border-radius: var(--ps-r-sm); padding: 13px 22px;
  border: 1px solid var(--ps-line2); background: var(--ps-card); color: var(--ps-muted);
  cursor: pointer; text-decoration: none; transition: all .15s;
}
.ps-btn:hover { border-color: var(--ps-accent); color: var(--ps-accent-ink); }
.ps-btn .ps-i { width: 15px; height: 15px; }

@keyframes psBtnSheen {
  0%, 68% { transform: translateX(-160%) skewX(-22deg); }
  84%, 100% { transform: translateX(280%) skewX(-22deg); }
}
.ps-btn--accent {
  position: relative; overflow: hidden; border: 0; color: #fff;
  background: linear-gradient(135deg, var(--ps-accent) 0%, var(--ps-accent-strong) 100%);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--ps-accent) 38%, transparent);
}
.ps-btn--accent:hover { color: #fff; filter: brightness(1.05); }
.ps-btn--accent::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: psBtnSheen 4.5s ease-in-out infinite;
}
/* светлое золото макета: тёмный текст на песочном градиенте (герой лендинга и CTA) */
.ps-btn--gold {
  position: relative; overflow: hidden; border: 0; color: #241d0e;
  border-radius: var(--ps-r); padding: 14px 26px;
  background: linear-gradient(105deg, #e3c98f, #d4b984 60%, #c9ab6e);
  box-shadow: 0 6px 18px rgba(201, 164, 92, .35);
}
.ps-btn--gold:hover { color: #241d0e; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(201, 164, 92, .45); }
.ps-btn--gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  animation: psBtnSheen 6s ease-in-out infinite; pointer-events: none;
}
.ps-btn--sm { padding: 10px 18px; font-size: 13.5px; }

/* ── чипы-фильтры ─────────────────────────────────────────────────────── */
.ps-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ps-chip {
  font-size: 13px; font-weight: 500; color: var(--ps-muted);
  background: var(--ps-card); border: 1px solid var(--ps-line2); border-radius: var(--ps-pill);
  padding: 8px 16px; cursor: pointer; text-decoration: none; transition: all .15s;
  display: inline-flex; align-items: center; gap: 7px;
}
.ps-chip:hover { border-color: var(--ps-accent); color: var(--ps-accent-ink); }
.ps-chip.is-active, .ps-chip[aria-current] {
  font-weight: 700; color: #fff; background: var(--ps-accent); border-color: var(--ps-accent);
}
.ps-chip.is-active:hover { color: #fff; }

/* ── карточки ─────────────────────────────────────────────────────────── */
.ps-card {
  background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: var(--ps-r-lg);
  box-shadow: var(--ps-shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ps-card--hover:hover { border-color: var(--ps-accent-line); box-shadow: var(--ps-shadow-card); }
.ps-card--lift:hover { transform: translateY(-2px); }

/* ── страница входа (DSDC-638) ────────────────────────────────────────── */
/* Вход живёт на этом же скине, что и витрина (замечание ОР от 07.08: «страница входа
   не похожа на сайт площадки»), поэтому его карточка — компонент дизайн-системы витрины,
   а не набор инлайновых стилей. Текст согласия набран основным кеглем и цветом --ps-muted
   (контраст 6.8:1): это юридически значимый текст, а не подпись поля. */
.ps-login { display: flex; justify-content: center; }
.ps-login__card { width: 100%; max-width: 460px; padding: 36px 32px; text-align: center; }
.ps-login__title { font-size: 30px; margin-bottom: 20px; }
.ps-login__text { font-size: 15px; line-height: 1.55; color: var(--ps-muted); margin-bottom: 16px; }
.ps-login__text a { text-decoration: underline; }
.ps-login__btn { width: 100%; margin-top: 8px; }
.ps-login__error {
  margin-bottom: 16px; padding: 12px 16px; border-radius: var(--ps-r-sm);
  background: #fdecec; color: #8c2b2b; font-size: 14px; text-align: left;
}
.ps-login__dev { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ps-line); text-align: left; }
.ps-login__dev p { font-size: 13px; color: var(--ps-faint); margin-bottom: 10px; }
.ps-login__dev form { margin-bottom: 8px; }
.ps-login__dev .ps-btn { width: 100%; }
.ps-login__dev .ps-input { width: 100%; margin-bottom: 8px; }

/* ── бейджи ───────────────────────────────────────────────────────────── */
.ps-badge {
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  border-radius: var(--ps-pill); padding: 4px 10px; white-space: nowrap;
}
.ps-badge--gold { color: var(--ps-accent-ink); background: var(--ps-accent-soft); }
.ps-badge--green { color: var(--ps-green-ink); background: var(--ps-green-soft); }
.ps-badge--leaf { color: var(--ps-leaf-ink); background: var(--ps-leaf-soft); }
.ps-badge--terra { color: var(--ps-terra-ink); background: var(--ps-terra-soft); }
.ps-badge--neutral { color: var(--ps-neutral-ink); background: var(--ps-neutral-soft); }

/* ── типографика (DSDC-681) ───────────────────────────────────────────── */
/* Телефон, завёрнутый хелпером Typo: неразрывен целиком, вместе с дефисами. */
.ps-nowrap { white-space: nowrap; }

/* ── заголовки страниц/секций ─────────────────────────────────────────── */
.ps-h1 { font-size: 36px; letter-spacing: -.02em; }
.ps-titlerow { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ps-titlerow .ps-chips { margin-left: auto; }
.ps-sechead { display: flex; align-items: center; gap: 18px; }
.ps-sechead h2 { font-size: 24px; letter-spacing: -.01em; flex: none; }
.ps-sechead::after { content: ""; flex: 1; height: 1px; background: var(--ps-line2); }

/* ── формы (фильтры) ──────────────────────────────────────────────────── */
.ps-input, .ps-select, .ps-textarea {
  width: 100%; font-size: 14px; color: var(--ps-ink);
  background: var(--ps-card); border: 1px solid var(--ps-line2); border-radius: var(--ps-r-sm);
  padding: 10px 12px; outline: none; transition: border-color .15s;
}
.ps-input:focus, .ps-select:focus, .ps-textarea:focus { border-color: var(--ps-accent); }
.ps-input::placeholder, .ps-textarea::placeholder { color: var(--ps-faint); }
.ps-select { appearance: none; -webkit-appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8f96' stroke-width='1.75' 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 10px center; background-size: 14px;
}
.ps-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ps-muted); cursor: pointer; }
.ps-check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 18px; height: 18px; border: 1.5px solid var(--ps-line2); border-radius: 5px;
  background: var(--ps-card); cursor: pointer; display: grid; place-items: center; margin: 0;
}
.ps-check input:checked { background: var(--ps-accent); border-color: var(--ps-accent); }
.ps-check input:checked::after {
  content: ""; width: 10px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── пагинация ────────────────────────────────────────────────────────── */
.ps-pager { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ps-pager a, .ps-pager span {
  min-width: 38px; height: 38px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--ps-muted);
  background: var(--ps-card); border: 1px solid var(--ps-line2); border-radius: var(--ps-r-sm);
}
.ps-pager a:hover { border-color: var(--ps-accent); color: var(--ps-accent-ink); }
.ps-pager .is-current { color: #fff; background: var(--ps-accent); border-color: var(--ps-accent); }
.ps-pager .ps-pager__dots { border: 0; background: none; color: var(--ps-faint2); min-width: auto; }

/* ── пустое состояние ─────────────────────────────────────────────────── */
.ps-empty {
  text-align: center; padding: 64px 24px;
  background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: var(--ps-r-lg);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ps-empty__title { font-size: 18px; font-weight: 700; }
.ps-empty__sub { font-size: 14px; color: var(--ps-muted2); }
.ps-empty .ps-btn { margin-top: 10px; }

/* ── футер ────────────────────────────────────────────────────────────── */
.ps-footer { flex: none; background: var(--ps-foot); border-top: 1px solid var(--ps-line); color: var(--ps-ink); }
.ps-footer__inner {
  max-width: 1160px; margin: 0 auto; padding: 44px 24px 36px;
  display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between;
}
.ps-footer__brand { flex: none; max-width: 300px; display: flex; flex-direction: column; gap: 14px; }
.ps-footer__coltitle {
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ps-faint2);
}
.ps-footer__nav { flex: none; display: flex; flex-direction: column; gap: 16px; }
.ps-footer__navgrid { display: grid; grid-template-columns: auto auto; gap: 12px 44px; }
.ps-footer__navgrid a { font-size: 14px; color: var(--ps-muted); }
.ps-footer__navgrid a:hover { color: var(--ps-accent-ink); }
.ps-footer__contacts { flex: none; min-width: 260px; display: flex; flex-direction: column; gap: 16px; }
.ps-footer__clist { display: flex; flex-direction: column; gap: 10px; }
.ps-footer__clist a, .ps-footer__caddr {
  display: flex; align-items: center; gap: 11px;
  font-size: 14px; font-weight: 600; color: var(--ps-ink);
}
.ps-footer__clist a:hover { color: var(--ps-accent-ink); }
.ps-footer__clist .ps-i { width: 15px; height: 15px; flex: none; stroke: var(--ps-accent); }
.ps-footer__caddr { align-items: flex-start; font-size: 13.5px; font-weight: 400; line-height: 1.55; color: var(--ps-muted2); }
.ps-footer__caddr .ps-i { margin-top: 2px; }
.ps-footer__bottom { border-top: 1px solid var(--ps-line); }
.ps-footer__bottominner {
  max-width: 1160px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.ps-footer__copy { font-size: 13px; color: var(--ps-faint); }
.ps-footer__copy a { color: var(--ps-muted); text-decoration: underline; text-underline-offset: 3px; }
.ps-footer__copy a:hover { color: var(--ps-accent-ink); }
.ps-footer__note { margin-left: auto; font-size: 12.5px; color: var(--ps-faint2); }
.ps-footer__note strong { color: var(--ps-muted2); font-weight: 600; }

/* ── иконки ───────────────────────────────────────────────────────────── */
.ps-i {
  width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none;
}

/* ── кнопка «Наверх» ──────────────────────────────────────────────────── */
.ps-totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ps-card); border: 1px solid var(--ps-line2); color: var(--ps-muted);
  box-shadow: var(--ps-shadow-card); cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.ps-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ps-totop:hover { color: var(--ps-accent-ink); border-color: var(--ps-accent); }

/* ── панель «Версия для слабовидящих» ─────────────────────────────────── */
.ps-a11y { position: relative; display: inline-flex; }
.ps-a11y__pop {
  position: absolute; top: calc(100% + 12px); right: 0; width: 372px;
  background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: var(--ps-r-xl);
  box-shadow: var(--ps-shadow-pop); padding: 22px 24px; z-index: 300;
  display: flex; flex-direction: column; gap: 20px; animation: psPopIn .18s ease;
}
.ps-a11y__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ps-a11y__label { font-size: 14.5px; font-weight: 600; color: var(--ps-ink); white-space: nowrap; }
.ps-a11y__group { display: flex; align-items: center; gap: 8px; }
.ps-a11y__round {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ps-bg); border: 2px solid var(--ps-line2); color: var(--ps-ink);
  font-weight: 600; cursor: pointer; display: grid; place-items: center;
}
.ps-a11y__round[data-active="1"] { border-color: var(--ps-accent); }
.ps-a11y__round[data-fs="1"] { font-size: 13px; }
.ps-a11y__round[data-fs="2"] { font-size: 17px; }
.ps-a11y__round[data-fs="3"] { font-size: 21px; font-weight: 700; }
.ps-a11y__round[data-swatch] { font-size: 14px; font-weight: 700; }
.ps-a11y__round[data-swatch="default"] { background: var(--ps-accent-soft); color: var(--ps-accent-ink); }
.ps-a11y__round[data-swatch="white"] { background: #fff; color: #000; }
.ps-a11y__round[data-swatch="yellow"] { background: #fff7cf; color: #4a3b00; }
.ps-a11y__round[data-swatch="blue"] { background: #9dd1ff; color: #063462; }
.ps-a11y__round[data-swatch="black"] { background: #000; color: #fff; }
.ps-a11y__toggle {
  position: relative; flex: none; width: 48px; height: 27px; border-radius: var(--ps-pill);
  background: #d8d4cb; border: 0; cursor: pointer; padding: 0; transition: background .15s;
}
.ps-a11y__toggle[aria-checked="true"] { background: var(--ps-accent); }
.ps-a11y__knob {
  position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .15s;
}
.ps-a11y__toggle[aria-checked="true"] .ps-a11y__knob { left: 24px; }
.ps-a11y__reset {
  width: 100%; font-size: 14px; font-weight: 600; color: var(--ps-ink);
  background: var(--ps-bg); border: 0; border-radius: var(--ps-r); padding: 13px; cursor: pointer;
}
.ps-a11y__reset:hover { background: #ece8e0; }

/* контрастные схемы: глобальное упрощение вида (по макету) */
html[data-scheme] * {
  background-image: none !important; box-shadow: none !important; text-shadow: none !important;
  animation: none !important; transition: none !important;
  font-family: Arial, Helvetica, sans-serif !important; border-radius: 0 !important;
}
html[data-scheme] svg, html[data-scheme] svg * { stroke: currentColor !important; }
html[data-scheme] *::before, html[data-scheme] *::after {
  background-image: none !important; animation: none !important; box-shadow: none !important;
}
html[data-scheme] a { text-decoration: underline !important; text-underline-offset: 3px; }
html[data-scheme] button { border: 2px solid currentColor !important; }
html[data-scheme="white"] { background-color: #fff; }
html[data-scheme="black"] { background-color: #000; }
html[data-scheme="yellow"] { background-color: #fff7cf; }
html[data-scheme="blue"] { background-color: #9dd1ff; }
html[data-scheme="white"] :is(body, header, footer, nav, main, section, article, aside, div, ul, li, p, h1, h2, h3, h4, span, a, button, label, strong, b, em, form, input, select, option, textarea, summary, details)
  { background-color: #fff !important; color: #000 !important; border-color: #000 !important; }
html[data-scheme="black"] :is(body, header, footer, nav, main, section, article, aside, div, ul, li, p, h1, h2, h3, h4, span, a, button, label, strong, b, em, form, input, select, option, textarea, summary, details)
  { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
html[data-scheme="yellow"] :is(body, header, footer, nav, main, section, article, aside, div, ul, li, p, h1, h2, h3, h4, span, a, button, label, strong, b, em, form, input, select, option, textarea, summary, details)
  { background-color: #fff7cf !important; color: #4a3b00 !important; border-color: #4a3b00 !important; }
html[data-scheme="blue"] :is(body, header, footer, nav, main, section, article, aside, div, ul, li, p, h1, h2, h3, h4, span, a, button, label, strong, b, em, form, input, select, option, textarea, summary, details)
  { background-color: #9dd1ff !important; color: #063462 !important; border-color: #063462 !important; }
/* свотчи в панели сохраняют свои цвета при любой схеме */
html[data-scheme] .ps-a11y__round[data-swatch="default"] { background-color: #f6ead2 !important; color: #a8752c !important; }
html[data-scheme] .ps-a11y__round[data-swatch="white"] { background-color: #fff !important; color: #000 !important; }
html[data-scheme] .ps-a11y__round[data-swatch="yellow"] { background-color: #fff7cf !important; color: #4a3b00 !important; }
html[data-scheme] .ps-a11y__round[data-swatch="blue"] { background-color: #9dd1ff !important; color: #063462 !important; }
html[data-scheme] .ps-a11y__round[data-swatch="black"] { background-color: #000 !important; color: #fff !important; }
html[data-scheme] .ps-a11y__knob { background-color: currentColor !important; }
html[data-scheme] [data-active="1"] { outline: 3px solid currentColor !important; outline-offset: 2px; }
/* тумблер «Изображения» */
html[data-img="off"] img { display: none !important; }

/* ── CMS-проза (страницы /page/{slug}) ────────────────────────────────── */
.ps-prose { font-size: 15px; line-height: 1.7; color: var(--ps-ink); }
.ps-prose h1 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 18px; }
.ps-prose h2 { font-size: 24px; letter-spacing: -.01em; margin: 28px 0 12px; }
.ps-prose h3 { font-size: 18px; margin: 22px 0 10px; }
.ps-prose p { margin: 0 0 14px; }
.ps-prose ul, .ps-prose ol { margin: 0 0 14px; padding-left: 24px; }
.ps-prose img { border-radius: var(--ps-r-lg); }

/* ── документы ────────────────────────────────────────────────────────── */
.ps-docs { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.ps-doc { padding: 20px 24px; display: flex; align-items: center; gap: 20px; }
.ps-doc__icon {
  flex: none; width: 46px; height: 54px; border-radius: var(--ps-r-sm);
  background: var(--ps-neutral-ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.ps-doc__icon--docx { background: var(--ps-doc-docx); }
.ps-doc__icon--xlsx { background: var(--ps-doc-xlsx); }
.ps-doc__icon--pdf { background: var(--ps-doc-pdf); }
.ps-doc__ext { font-size: 8.5px; font-weight: 800; letter-spacing: .04em; }
.ps-doc__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ps-doc__title { font-size: 15.5px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.ps-doc__desc { font-size: 13px; line-height: 1.55; color: var(--ps-muted2); max-width: 640px; text-wrap: pretty; }
.ps-doc__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.ps-doc__size { font-size: 12.5px; color: var(--ps-faint2); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.ps-faq { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.ps-faq__item { transition: border-color .15s, box-shadow .15s; }
.ps-faq__item[open] { border-color: var(--ps-accent-line); box-shadow: var(--ps-shadow-card); }
.ps-faq__q {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-size: 15.5px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em;
}
.ps-faq__q::-webkit-details-marker { display: none; }
.ps-faq__chev {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--ps-bg); color: var(--ps-muted);
  display: grid; place-items: center; transition: transform .2s, background .15s, color .15s;
}
.ps-faq__item[open] .ps-faq__chev {
  transform: rotate(180deg); background: var(--ps-accent-soft); color: var(--ps-accent-ink);
}
.ps-faq__a {
  margin: 0 22px; padding: 16px 0 20px; border-top: 1px solid var(--ps-line);
  font-size: 14.5px; line-height: 1.65; color: var(--ps-muted);
}
.ps-faq__a p { margin: 0 0 10px; }
.ps-faq__a p:last-child { margin-bottom: 0; }
/* Призыв под аккордеоном: ведёт на страницу «Обратная связь» (DSDC-638). */
.ps-cta-ask {
  margin-top: 40px; padding: 36px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ps-cta-ask__title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.ps-cta-ask__sub { font-size: 14px; color: var(--ps-muted2); }
.ps-cta-ask .ps-btn { margin-top: 14px; }

/* ── страница «Обратная связь» (DSDC-638) ─────────────────────────────── */
/* Отдельная страница «Обратная связь» (фидбэк заказчика): форма слева, контакты площадки
   справа — как на референсе ОР. На узком экране колонки схлопываются в одну. */
.ps-feedback { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; }
/* Контактов у площадки нет — колонка одна, иначе справа зияет пустая треть страницы. */
.ps-feedback--solo { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.ps-feedback__form { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
/* Заголовки колонок страницы «Обратная связь»: h1 слева и h2 справа выглядят одинаково —
   разный уровень нужен структуре документа, а не глазу (макет ОР). */
.ps-feedback__title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.ps-feedback__field { display: flex; flex-direction: column; gap: 6px; }
.ps-feedback__label { font-size: 13px; font-weight: 600; color: var(--ps-muted); }
.ps-feedback__area { min-height: 120px; resize: vertical; }
.ps-feedback__note { font-size: 13px; line-height: 1.5; color: var(--ps-muted); }
.ps-feedback__note a { text-decoration: underline; }
.ps-feedback__warn { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ps-accent-ink); }
/* Правило display в классе перебивает браузерное [hidden] { display: none } — без этой строки
   блок с атрибутом hidden виден всегда (грабля записана в памяти проекта). */
.ps-feedback__warn[hidden] { display: none; }
.ps-feedback__msg { padding: 12px 16px; border-radius: var(--ps-r-sm); font-size: 14px; line-height: 1.5; }
.ps-feedback__msg--ok { background: var(--ps-green-soft); color: var(--ps-green-ink); }
.ps-feedback__msg--err { background: var(--ps-terra-soft); color: var(--ps-terra-ink); }
/* Honeypot: поле-приманка для ботов — человеку не видно и в фокус не попадает. */
.ps-feedback__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ps-feedback__contacts { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.ps-feedback__contact { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.ps-feedback__contact .ps-i { flex: none; width: 18px; height: 18px; margin-top: 2px; stroke: var(--ps-accent-ink); }
@media (max-width: 900px) { .ps-feedback { grid-template-columns: 1fr; } }

/* ── экспертный совет ─────────────────────────────────────────────────── */
/* карточка председателя: по центру, шириной в колонку грида (правка заказчика 2026-08-03) */
.ps-chair {
  margin: 18px auto 0; width: calc(50% - 7px); padding: 24px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
}
.ps-chair__photo { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.ps-chair__name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ps-chair__role { font-size: 13px; color: var(--ps-muted2); line-height: 1.5; margin-top: 3px; max-width: 480px; }
.ps-experts-head { margin-top: 36px; }
.ps-experts { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ps-expert { padding: 18px 22px; display: flex; align-items: center; gap: 18px; }
.ps-expert__photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.ps-expert__ph {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  background: var(--ps-accent-soft); color: var(--ps-accent-ink);
  display: grid; place-items: center; font-size: 22px; font-weight: 700;
}
.ps-chair .ps-expert__ph { width: 76px; height: 76px; font-size: 24px; }
/* нечётное число членов совета: последняя карточка — по центру на всю строку */
.ps-expert:nth-child(odd):last-child {
  grid-column: 1 / -1; justify-self: center;
  width: calc(50% - 7px); /* половина грида минус половина gap — как обычная колонка */
}
.ps-expert__name { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.ps-expert__role { font-size: 13px; color: var(--ps-muted2); line-height: 1.5; margin-top: 3px; }

/* ── реестр проектов ──────────────────────────────────────────────────── */
.ps-projgrid { margin-top: 22px; display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.ps-projmain { min-width: 0; }
.ps-projtop { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ps-projtotal { font-size: 13.5px; font-weight: 600; color: var(--ps-muted2); margin-right: 4px; }
.ps-sortform { margin-left: auto; flex: none; }
.ps-sortform .ps-select { width: auto; font-size: 13.5px; }
.ps-plist { display: flex; flex-direction: column; gap: 12px; }
.ps-pcard { position: relative; overflow: hidden; padding: 20px 24px; display: flex; gap: 24px; color: inherit; }
.ps-pcard:hover { color: inherit; }
.ps-pcard__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ps-pcard__title { font-size: 16.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.ps-pcard:hover .ps-pcard__title { color: var(--ps-accent-ink); }
.ps-pcard__org { font-size: 13.5px; font-weight: 600; color: var(--ps-muted); }
.ps-pcard__meta { font-size: 12.5px; color: var(--ps-faint); line-height: 1.5; }
.ps-pcard__num { font-size: 12.5px; font-weight: 600; color: var(--ps-muted2); margin-top: 4px; }
.ps-pcard__aside {
  flex: none; width: 210px; display: flex; flex-direction: column; align-items: flex-end;
  gap: 2px; text-align: right;
}
.ps-pcard__amountlbl { font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ps-faint2); margin-top: 6px; }
.ps-pcard__amountlbl:first-child { margin-top: 0; }
.ps-pcard__amount { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ps-pcard__amount--sub { font-size: 13.5px; font-weight: 600; color: var(--ps-muted); }
.ps-pcard__aside .ps-badge { margin-top: 10px; }
/* glow за курсором (по макету): радиальный градиент в точке --mx/--my */
[data-ps-glow]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--ps-accent) 10%, transparent), transparent 60%);
  transition: opacity .2s;
}
[data-ps-glow]:hover::after { opacity: 1; }

/* панель фильтров */
.ps-filters { position: sticky; top: 16px; }
.ps-filters__card { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; }
.ps-filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ps-filters__title { font-size: 16px; font-weight: 700; }
.ps-filters__reset { font-size: 13px; font-weight: 600; }
.ps-filters__group { display: flex; flex-direction: column; gap: 9px; }
.ps-filters__lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ps-faint2); }
.ps-filters__dates { display: flex; flex-wrap: wrap; gap: 8px; }
/* базис min-content: пара стоит в строку, пока нативный type=date влезает, иначе переносится — DSDC-743 */
.ps-filters__dates > .ps-input { flex: 1 1 min-content; min-width: 0; }
.ps-filters__apply { width: 100%; }

/* ── карточка проекта (DSDC-694) ───────────────────────────────────────── */
.ps-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ps-faint); margin-bottom: 20px; }
.ps-crumbs a { color: var(--ps-muted); }
.ps-crumbs a:hover { color: var(--ps-accent-ink); }
.ps-crumbs__sep { color: var(--ps-faint2); }

/* пары «подпись — значение» (карточка конкурса) */
.ps-kv { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ps-kv__row { display: flex; flex-direction: column; gap: 3px; }
.ps-kv__lbl { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ps-faint2); }
.ps-kv__val { font-size: 14px; line-height: 1.5; color: var(--ps-muted); }
.ps-kv__val--strong { font-weight: 700; color: var(--ps-ink); }
a.ps-kv__val--strong { color: var(--ps-accent-ink); }

.ps-phead { overflow: hidden; }
.ps-phead__main { padding: 22px 28px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ps-phead__toprow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ps-phead__num {
  margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 14px; color: var(--ps-muted2); font-variant-numeric: tabular-nums;
}
.ps-phead__numval { font-weight: 700; color: var(--ps-ink); }
.ps-phead__numlink {
  font-weight: 700; color: var(--ps-accent-deep);
  border-bottom: 1px dashed var(--ps-accent-line); padding-bottom: 1px;
}
.ps-phead__numlink:hover { color: var(--ps-accent-deep); border-bottom-color: var(--ps-accent-deep); }
.ps-phead__title {
  margin: 0; font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em;
  max-width: 900px; overflow-wrap: break-word;
}
.ps-phead__org { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; max-width: 900px; min-width: 0; }
.ps-phead__orgname { font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: break-word; }
.ps-phead__ids { font-size: 14px; color: var(--ps-muted2); font-variant-numeric: tabular-nums; overflow-wrap: break-word; }

.ps-pmeta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 28px;
  margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--ps-line);
}
.ps-pmeta__item { display: flex; flex-direction: column; gap: 3px; min-width: 0; align-items: flex-start; }
.ps-pmeta__lbl { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ps-faint2); }
.ps-pmeta__val { font-size: 14px; line-height: 1.45; color: var(--ps-muted); overflow-wrap: break-word; }
a.ps-pmeta__val:hover { color: var(--ps-accent-ink); }
.ps-pmeta__val--nums { font-variant-numeric: tabular-nums; white-space: nowrap; }
/* свёрнутый длинный текст: кнопку раскрытия показывает JS, только если текст не поместился */
.ps-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ps-clamp.is-open { -webkit-line-clamp: unset; }
.ps-clamp__more {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ps-accent-ink);
  background: none; border: 0; padding: 2px 0 0; cursor: pointer;
}
.ps-clamp__more:hover { color: var(--ps-accent-deep); }

/* бюджет: кольцо + строки */
.ps-budget {
  background: #faf7f1; border-top: 1px solid var(--ps-line); padding: 20px 28px;
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.ps-budget__ring { position: relative; width: 156px; height: 156px; flex: none; }
.ps-budget__ring svg { width: 100%; height: 100%; }
.ps-donut__track { fill: none; stroke: #ded5c3; stroke-width: 13; }
/* Длина дуги и её смещение заданы АТРИБУТАМИ разметки: анимация только доращивает дугу от нуля.
   Держать конечное состояние в кадрах нельзя — анимации глушит и системная «уменьшить движение»,
   и своя «версия для слабовидящих», а диаграмма обязана рисовать верные доли в любом режиме. */
.ps-donut__seg {
  fill: none; stroke-width: 13; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%;
  animation: psDonutIn 1.1s cubic-bezier(.4, 0, .2, 1);
  transition: stroke-width .22s ease, opacity .22s ease;
}
.ps-donut__seg--main { stroke: var(--ps-accent); }
.ps-donut__seg--co { stroke: var(--ps-deep); }
/* DSDC-718 */
.ps-donut--sliver .ps-donut__seg { stroke-linecap: butt; }
@keyframes psDonutIn { from { stroke-dasharray: 0 var(--ps-ring); } }
.ps-donut__center {
  position: absolute; inset: 22px; border-radius: 50%; pointer-events: none;
  display: grid; place-items: center;
}
.ps-donut__pct {
  font-size: 25px; font-weight: 700; letter-spacing: -.02em; line-height: 1;
  font-variant-numeric: tabular-nums; grid-area: 1 / 1;
}
.ps-donut__pct--main { color: var(--ps-accent-deep); }
.ps-donut__pct--co { color: var(--ps-deep); display: none; }
/* подсветка доли: наведение на сегмент или на его строку гасит вторую долю */
.ps-budget:has(.ps-donut__seg--co:hover) .ps-donut__pct--main,
.ps-budget:has(.ps-bline--co:hover) .ps-donut__pct--main { display: none; }
.ps-budget:has(.ps-donut__seg--co:hover) .ps-donut__pct--co,
.ps-budget:has(.ps-bline--co:hover) .ps-donut__pct--co { display: block; }
.ps-budget:has(.ps-donut__seg--co:hover) .ps-donut__seg--main,
.ps-budget:has(.ps-bline--co:hover) .ps-donut__seg--main { opacity: .32; }
.ps-budget:has(.ps-donut__seg--main:hover) .ps-donut__seg--co,
.ps-budget:has(.ps-bline--main:hover) .ps-donut__seg--co { opacity: .32; }
.ps-donut__seg--main:hover, .ps-donut__seg--co:hover { stroke-width: 17; }

.ps-budget__rows { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.ps-bline {
  display: flex; align-items: baseline; gap: 16px; padding: 9px 12px; margin: 0 -12px;
  border-radius: var(--ps-r-sm); transition: background .22s ease;
}
.ps-bline:hover { background: var(--ps-card); }
.ps-bline__dot { flex: none; width: 9px; height: 9px; border-radius: 3px; align-self: center; }
.ps-bline--main .ps-bline__dot { background: var(--ps-accent); }
.ps-bline--co .ps-bline__dot { background: var(--ps-deep); }
.ps-bline__lbl { font-size: 14px; font-weight: 500; color: var(--ps-ink); }
.ps-bline__lead { flex: 1; border-bottom: 1px dotted #d8d2c4; min-width: 24px; }
.ps-bline__pct { font-size: 14px; color: var(--ps-muted2); font-variant-numeric: tabular-nums; }
.ps-bline__sum { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ps-bline--main .ps-bline__sum { color: var(--ps-accent-deep); }
.ps-bline--co .ps-bline__sum { color: var(--ps-ink); }
.ps-btotal {
  display: flex; align-items: baseline; gap: 16px; padding: 13px 0 0; margin-top: 6px;
  border-top: 2px solid #e0d7c4;
}
.ps-btotal__lbl {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ps-accent-deep);
}
.ps-btotal__sum {
  margin-left: auto; font-size: 21px; font-weight: 700; color: var(--ps-deep);
  font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.015em;
}

/* якорная навигация по разделам заявки */
.ps-pnav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 24px;
  padding: 0 36px; border-top: 1px solid var(--ps-line);
}
.ps-pnav__item {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ps-muted); text-decoration: none;
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 14px 2px 13px; cursor: pointer; transition: color .15s, border-color .15s;
}
.ps-pnav__item:hover { color: var(--ps-accent-ink); }
.ps-pnav__item.is-active { font-weight: 600; color: var(--ps-accent-deep); border-bottom-color: var(--ps-accent); }

/* тело: разделы заявки */
.ps-pbody { margin-top: 16px; padding: 8px 48px 40px; }
.ps-psec { padding-top: 28px; max-width: 860px; scroll-margin-top: 16px; }
.ps-psec__head { display: flex; align-items: center; gap: 14px; }
.ps-psec__head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.ps-psec__rule { flex: 1; height: 1px; background: var(--ps-line); }
.ps-psec__text { margin: 14px 0 0; font-size: 14px; line-height: 1.65; color: var(--ps-muted); white-space: pre-line; }
.ps-psec__list { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ps-psec__item { display: flex; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--ps-muted); }
.ps-psec__n {
  flex: none; width: 24px; height: 24px; border-radius: 8px; margin-top: 1px;
  background: var(--ps-accent-soft); color: var(--ps-accent-ink);
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.ps-pback { margin-top: 16px; }

/* ── новости ──────────────────────────────────────────────────────────── */
.ps-nfeat { margin-top: 24px; display: flex; overflow: hidden; color: inherit; }
.ps-nfeat:hover { color: inherit; }
.ps-nfeat__img { flex: 0 0 55%; min-height: 280px; }
.ps-nfeat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-nfeat__body { flex: 1; padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; align-items: flex-start; }
.ps-nfeat__meta { display: flex; align-items: center; gap: 12px; }
.ps-nfeat__title { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.ps-nfeat:hover .ps-nfeat__title { color: var(--ps-accent-ink); }
.ps-nfeat__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ps-accent-ink); }
.ps-nfeat__more .ps-i { width: 15px; height: 15px; }
.ps-newsgrid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ps-ncard { display: flex; flex-direction: column; overflow: hidden; color: inherit; }
.ps-ncard:hover { color: inherit; }
.ps-ncard__img { aspect-ratio: 16 / 9.5; background: var(--ps-bg); }
.ps-ncard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-ncard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.ps-ncard__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ps-ncard__date { font-size: 12.5px; color: var(--ps-faint); }
.ps-ncard__title {
  font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ps-ncard:hover .ps-ncard__title { color: var(--ps-accent-ink); }

/* ── лендинг «О конкурсе» (главная; классы используются CMS-контентом) ── */
@keyframes psLogoSpin { 0%, 82% { transform: rotateY(0); } 92% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes psCoinFloat { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes psMoneySheen { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 80%, 100% { transform: translateX(320%) skewX(-20deg); } }
@keyframes psLineGrow { 0% { transform: scaleX(0); opacity: 1; } 2% { transform: scaleX(0); opacity: 1; } 58% { transform: scaleX(1); opacity: 1; } 92% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes psComet { 0%, 2% { left: calc(10% + 18px); opacity: 0; } 5% { opacity: 1; } 54% { opacity: 1; } 58%, 100% { left: calc(90% - 18px); opacity: 0; } }
/* последовательная подсветка кружков этапов (10-секундный цикл, по макету) */
@keyframes psSt1 { 0%, 2% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } 5% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1.22); } 8% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(.97); } 10%, 92% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1); } 97%, 100% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } }
@keyframes psSt2 { 0%, 16% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } 19% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1.22); } 22% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(.97); } 24%, 92% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1); } 97%, 100% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } }
@keyframes psSt3 { 0%, 30% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } 33% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1.22); } 36% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(.97); } 38%, 92% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1); } 97%, 100% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } }
@keyframes psSt4 { 0%, 44% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } 47% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1.22); } 50% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(.97); } 52%, 92% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1); } 97%, 100% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } }
@keyframes psSt5 { 0%, 58% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } 61% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1.22); } 64% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(.97); } 66%, 92% { background: var(--ps-accent); color: #fff; border-color: var(--ps-accent); transform: scale(1); } 97%, 100% { background: #fff; color: var(--ps-accent-ink); border-color: #e8d3a8; transform: scale(1); } }

.ps-lhero {
  background: linear-gradient(135deg, #fff 55%, #fbf6ea);
  border: 1px solid var(--ps-line); border-radius: 20px; box-shadow: var(--ps-shadow-sm);
  overflow: hidden; animation: psFadeUp .45s cubic-bezier(.4, 0, .2, 1) both;
}
.ps-lhero__grid { display: flex; gap: 48px; padding: 44px 48px 40px; align-items: flex-start; }
.ps-lhero__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ps-lhero__title { font-size: 42px; line-height: 1.15; letter-spacing: -.02em; max-width: 640px; }
.ps-lhero__sub { font-size: 17px; line-height: 1.6; color: var(--ps-muted); max-width: 600px; }
.ps-lhero__fund { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.ps-lhero__fund img { width: 34px; height: 38px; flex: none; object-fit: contain; animation: psLogoSpin 9s ease-in-out infinite; }
.ps-lhero__fund span { font-size: 12.5px; line-height: 1.5; color: var(--ps-faint); }
.ps-lhero__fund strong { color: var(--ps-muted); }
.ps-lhero__btns { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.ps-lfacts { flex: none; width: 320px; display: flex; flex-direction: column; gap: 10px; }
.ps-lfact {
  background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: var(--ps-r-md);
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.ps-licon {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  background: var(--ps-accent-soft); color: var(--ps-accent-ink); display: grid; place-items: center;
}
.ps-licon .ps-i { width: 18px; height: 18px; }
.ps-lfact__lbl { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ps-faint2); }
.ps-lfact__val { margin-top: 3px; font-size: 15px; font-weight: 600; }
.ps-lhero__panorama { position: relative; height: 180px; overflow: hidden; }
.ps-lhero__panorama img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.ps-lhero__panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ps-foot) 0%, rgba(253, 251, 245, 0) 34%); }
.ps-lchips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 16px 48px; background: #faf7f1; border-top: 1px solid var(--ps-line);
}

/* фото-герой: панорама во всю карточку под вуалью, контент по центру.
   Вуаль — отдельный div, а не ::before секции: контрастные схемы a11y гасят
   background-image, и заливка вуали закрывает фото, оставляя текст читаемым. */
.ps-lhero--photo { position: relative; background: var(--ps-foot); }
.ps-lhero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%; display: block;
}
.ps-lhero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(253, 251, 245, .8) 0%, rgba(253, 251, 245, .72) 45%,
    rgba(253, 251, 245, .48) 62%, rgba(253, 251, 245, .15) 80%, rgba(253, 251, 245, 0) 100%);
}
.ps-lhero__center {
  position: relative; padding: 40px 24px 34px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.ps-lhero__head { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ps-lhero--photo .ps-lhero__title {
  max-width: none; font-size: 34px; font-weight: 400; letter-spacing: -.01em; color: #5c4632;
}
.ps-lhero--photo .ps-lhero__title strong { font-weight: 700; }
.ps-lhero--photo .ps-lhero__sub { max-width: 640px; color: #6b5744; text-wrap: pretty; }
.ps-lhero--photo .ps-lhero__fund { margin-top: 0; }
.ps-lhero--photo .ps-lhero__fund img { width: 50px; height: 56px; }
.ps-lhero__fundname { text-align: left; line-height: 1.18; }
.ps-lhero__fundname span {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ps-faint);
}
.ps-lhero__fundname b {
  display: block; font-size: 18px; font-weight: 800; letter-spacing: .01em;
  text-transform: uppercase; color: var(--ps-ink);
}
/* полоса фото ниже контента: её высота и есть «панорама» фото-героя */
.ps-lhero__reveal { position: relative; height: 170px; }
html[data-img="off"] .ps-lhero__reveal, html[data-scheme] .ps-lhero__reveal { display: none; }
.ps-lhero--photo .ps-lchips { position: relative; }
/* активный чип-якорь лендинга — мягкая плашка макета, а не заливка фильтров */
.ps-lchips .ps-chip.is-active {
  font-weight: 600; color: var(--ps-accent-deep);
  background: var(--ps-accent-soft); border-color: #e8d3a8;
}

.ps-lsection {
  margin-top: 24px; background: var(--ps-card); border: 1px solid var(--ps-line);
  border-radius: var(--ps-r-lg); box-shadow: var(--ps-shadow-sm);
  padding: 36px 48px 44px; animation: psFadeUp .5s cubic-bezier(.4, 0, .2, 1) .06s both;
}
.ps-lsection--flush { padding: 0; overflow: hidden; }

.ps-lgeo { display: flex; align-items: stretch; gap: 24px; }
.ps-lgeo__text { flex: 1; min-width: 0; padding: 36px 8px 40px 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.ps-lgeo__place { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ps-lgeo__map { flex: none; width: 46%; position: relative; min-height: 320px; overflow: hidden; }
.ps-lgeo__map img { position: absolute; inset: 4% 3%; width: 94%; height: 92%; object-fit: contain; }
.ps-ltext { font-size: 15px; line-height: 1.65; color: #42464c; max-width: 820px; text-wrap: pretty; }

.ps-lchecks { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ps-lchecks li { display: flex; gap: 14px; font-size: 15px; line-height: 1.6; color: #42464c; }
.ps-lchecks .ps-lcheck {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--ps-accent-soft); color: var(--ps-accent-ink); display: grid; place-items: center;
}
.ps-lchecks .ps-lcheck .ps-i { width: 12px; height: 12px; stroke-width: 2.4; }

.ps-lmoney {
  margin-top: 24px; position: relative; overflow: hidden;
  background: linear-gradient(115deg, #fdf9f0 0%, #f9efdb 55%, #f3e3c0 100%);
  border: 1px solid #e7dcc4; border-radius: var(--ps-r-xl); padding: 40px 44px;
  display: flex; gap: 36px; align-items: center; flex-wrap: wrap;
}
.ps-lmoney__coin {
  position: absolute; right: -30px; bottom: -58px; font-size: 250px; font-weight: 800;
  color: rgba(201, 164, 92, .13); line-height: 1; pointer-events: none; user-select: none;
  animation: psCoinFloat 7s ease-in-out infinite;
}
.ps-lmoney__sheen {
  position: absolute; top: 0; left: 0; bottom: 0; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: psMoneySheen 5.5s ease-in-out infinite; pointer-events: none;
}
.ps-lmoney__sum { position: relative; flex: none; display: flex; flex-direction: column; gap: 6px; }
.ps-lmoney__row { display: flex; align-items: baseline; gap: 14px; }
.ps-lmoney__pre { font-size: 26px; font-weight: 600; color: var(--ps-accent-deep); }
.ps-lmoney__num {
  font-size: 72px; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  background: linear-gradient(100deg, #8c5f20, #b3822e 45%, #c9a45c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ps-lmoney__cur { font-size: 44px; font-weight: 800; color: var(--ps-accent-strong); line-height: 1; }
.ps-lmoney__note { font-size: 14.5px; font-weight: 500; color: #8a7a58; padding-left: 2px; }
.ps-lmoney__points { position: relative; flex: 1; min-width: 280px; max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.ps-lmoney__point { display: flex; align-items: flex-start; gap: 14px; }
.ps-lmoney__picon {
  flex: none; width: 34px; height: 34px; border-radius: var(--ps-r-sm);
  background: rgba(255, 255, 255, .65); border: 1px solid #e7dcc4;
  display: flex; align-items: center; justify-content: center; color: var(--ps-accent-strong);
}
.ps-lmoney__picon .ps-i { width: 17px; height: 17px; }
.ps-lmoney__ptitle { font-size: 15px; font-weight: 650; color: #42464c; line-height: 1.4; }
.ps-lmoney__ptext { font-size: 13.5px; line-height: 1.55; color: #8a7a58; text-wrap: pretty; margin-top: 3px; }
.ps-lmoney__sep { height: 1px; background: #e7dcc4; margin-left: 48px; }

.ps-lstages { margin-top: 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.ps-lstages__track { position: absolute; left: calc(10% + 18px); right: calc(10% + 18px); top: 17px; height: 2px; background: var(--ps-line); }
.ps-lstages__progress {
  position: absolute; left: calc(10% + 18px); right: calc(10% + 18px); top: 17px; height: 2px;
  background: linear-gradient(90deg, #c9a45c, #d4b984);
  transform-origin: left; transform: scaleX(0); animation: psLineGrow 10s linear infinite;
}
.ps-lstages__comet {
  position: absolute; top: 18px; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--ps-accent); box-shadow: 0 0 10px 3px rgba(201, 164, 92, .5);
  opacity: 0; animation: psComet 10s linear infinite; pointer-events: none;
}
.ps-lstage { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 10px; }
.ps-lstage__n {
  width: 36px; height: 36px; border-radius: 50%; box-sizing: border-box;
  background: #fff; color: var(--ps-accent-ink); border: 2px solid #e8d3a8;
  display: grid; place-items: center; font-size: 14px; font-weight: 700; position: relative; z-index: 1;
}
.ps-lstage--1 .ps-lstage__n { animation: psSt1 10s linear infinite; }
.ps-lstage--2 .ps-lstage__n { animation: psSt2 10s linear infinite; }
.ps-lstage--3 .ps-lstage__n { animation: psSt3 10s linear infinite; }
.ps-lstage--4 .ps-lstage__n { animation: psSt4 10s linear infinite; }
.ps-lstage--5 .ps-lstage__n { animation: psSt5 10s linear infinite; }
.ps-lstage__title { font-size: 14.5px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.ps-lstage__date { margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--ps-faint); }

.ps-ldirs { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 40px; }
.ps-ldir { display: flex; flex-direction: column; gap: 9px; }
.ps-ldir--sep { padding-top: 16px; border-top: 1px solid var(--ps-line); }
.ps-ldir__head { display: flex; align-items: center; gap: 11px; }
.ps-ldir__head .ps-licon { width: 30px; height: 30px; border-radius: 9px; }
.ps-ldir__head .ps-licon .ps-i { width: 16px; height: 16px; }
.ps-ldir__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ps-ldir__desc { font-size: 13px; line-height: 1.55; color: #6e6960; text-wrap: pretty; }

.ps-ldocs { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.ps-ldoc {
  display: flex; align-items: center; gap: 16px;
  background: #faf9f6; border: 1px solid #f0ede6; border-radius: var(--ps-r-md);
  padding: 16px 20px; color: var(--ps-ink); transition: all .15s;
}
.ps-ldoc:hover { border-color: #dcc394; background: #fff; color: var(--ps-ink); box-shadow: 0 6px 18px rgba(42, 36, 22, .07); }
.ps-ldoc__ext {
  flex: none; width: 40px; height: 40px; border-radius: 11px; color: #fff;
  display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  background: var(--ps-neutral-ink);
}
.ps-ldoc__title { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.ps-ldoc__meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ps-faint2); }
.ps-ldoc .ps-i { color: var(--ps-accent-ink); width: 17px; height: 17px; stroke-width: 1.9; }

.ps-lcta {
  position: relative; margin-top: 24px; border: 1px solid #e2cf9f; border-radius: var(--ps-r-lg);
  overflow: hidden; min-height: 260px; display: flex; align-items: center;
  animation: psFadeUp .5s cubic-bezier(.4, 0, .2, 1) .1s both;
}
.ps-lcta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.ps-lcta__grad { position: absolute; inset: 0; background: linear-gradient(95deg, #f5edd6 0%, #f5edd6 40%, rgba(245, 237, 214, .72) 58%, rgba(245, 237, 214, 0) 82%); }
.ps-lcta__box { position: relative; padding: 40px 48px; max-width: 54%; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.ps-lcta--photo { background: var(--ps-foot); }
.ps-lcta--photo .ps-lcta__img { object-fit: contain; object-position: right center; }
.ps-lcta--photo .ps-lcta__grad {
  background: linear-gradient(90deg, var(--ps-foot) 0%, var(--ps-foot) 60%, rgba(253, 251, 245, 0) 78%);
}
.ps-lcta__title { font-size: 22px; letter-spacing: -.01em; color: #241d0e; }
.ps-lcta__sub { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #5f5230; max-width: 520px; text-wrap: pretty; }

/* ── карточки конкурсов (главная-fallback, /competitions) ─────────────── */
.ps-ccards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ps-ccard { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ps-ccard__title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.ps-ccard__title a { color: inherit; }
.ps-ccard__title a:hover { color: var(--ps-accent-ink); }
.ps-ccard__sub { font-size: 13.5px; color: var(--ps-muted2); line-height: 1.5; }
.ps-ccard__meta { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ps-muted); }

/* ── доступность/движение ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html, body { scroll-behavior: auto; }
}

/* ── мобильная версия ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ps-a11y__btnlabel { display: none; }
  .ps-hbtn { padding: 10px 12px; }
  .ps-hbtn--services { display: none; }
  .ps-profile__name, .ps-profile__role { display: none; }
  .ps-profile__btn { padding: 5px 10px 5px 5px; gap: 6px; }
  .ps-header__inner { padding: 12px 16px; gap: 10px; }
  .ps-a11y__pop { position: fixed; top: 70px; right: 12px; left: auto; width: min(360px, calc(100vw - 24px)); }
  .ps-services__pop { width: calc(100vw - 24px); padding: 18px 16px; border-radius: var(--ps-r-lg); }
  .ps-services__grid { grid-template-columns: 1fr; }
  .ps-nav {
    padding: 0 16px; gap: 18px; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ps-nav::-webkit-scrollbar { display: none; }
  .ps-nav a { flex: none; font-size: 14px; padding: 12px 0; }
  .ps-main { padding: 24px 0 56px; }
  .ps-container { padding: 0 16px; }
  .ps-h1 { font-size: 26px; }
  .ps-titlerow .ps-chips {
    margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none;
  }
  .ps-titlerow .ps-chips::-webkit-scrollbar { display: none; }
  .ps-titlerow .ps-chip { flex: none; }
  .ps-footer__inner { flex-direction: column; padding: 32px 20px 24px; gap: 26px; }
  .ps-footer__note { margin-left: 0; }
  .ps-ccards { grid-template-columns: 1fr; }
  .ps-lhero__grid { flex-direction: column; gap: 26px; padding: 28px 20px 24px; }
  .ps-lhero__title { font-size: 30px; }
  .ps-lfacts { width: 100%; }
  .ps-lhero__panorama { height: 120px; }
  .ps-lhero__center { padding: 26px 20px 24px; gap: 18px; }
  .ps-lhero--photo .ps-lhero__title { font-size: 27px; }
  .ps-lhero--photo .ps-lhero__sub { font-size: 15.5px; }
  .ps-lhero__reveal { height: 110px; }
  /* заголовок секции на узком экране переносится, а не вылезает за вьюпорт (flex: none у него — desktop-раскладка) */
  .ps-sechead h2 { font-size: 20px; flex: 0 1 auto; min-width: 0; }
  /* перенос в заголовке CTA авторский (<br> из контента) — на узком экране уменьшаем кегль, а не ломаем перенос */
  .ps-lcta__title { font-size: 19px; }
  .ps-lcta--photo .ps-lcta__grad {
    background: linear-gradient(180deg, var(--ps-foot) 0%, rgba(253, 251, 245, .92) 62%, rgba(253, 251, 245, .68) 100%);
  }
  .ps-lchips { padding: 14px 16px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .ps-lchips::-webkit-scrollbar { display: none; }
  .ps-lchips .ps-chip { flex: none; }
  .ps-lsection { padding: 26px 20px 30px; }
  .ps-lgeo { flex-direction: column; gap: 0; }
  .ps-lgeo__text { padding: 26px 20px 8px; }
  .ps-lgeo__map { width: 100%; min-height: 240px; }
  .ps-lmoney { padding: 26px 22px; gap: 24px; }
  .ps-lmoney__num { font-size: 46px; }
  .ps-lmoney__cur { font-size: 30px; }
  .ps-lstages { grid-template-columns: 1fr; gap: 22px; }
  .ps-lstages__track, .ps-lstages__progress, .ps-lstages__comet { display: none; }
  .ps-lstage { flex-direction: row; text-align: left; align-items: flex-start; }
  .ps-ldirs { grid-template-columns: 1fr; gap: 18px; }
  .ps-ldir--sep { padding-top: 18px; }
  .ps-lcta__box { max-width: 100%; padding: 28px 22px; }
  .ps-newsgrid { grid-template-columns: 1fr; }
  .ps-nfeat { flex-direction: column; }
  .ps-nfeat__img { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .ps-projgrid { grid-template-columns: 1fr; }
  .ps-filters { position: static; order: -1; }
  .ps-pcard { flex-direction: column; gap: 14px; }
  .ps-pcard__aside { width: 100%; align-items: flex-start; text-align: left; }
  .ps-sortform { margin-left: 0; }
  .ps-phead__main { padding: 18px 18px 16px; }
  .ps-phead__num { margin-left: 0; width: 100%; }
  .ps-budget { padding: 18px; gap: 20px; justify-content: center; }
  .ps-budget__rows { flex-basis: 100%; }
  /* строка бюджета в одну линию не влезает — подпись сверху, доля и сумма под ней */
  .ps-bline, .ps-btotal { flex-wrap: wrap; gap: 4px 12px; }
  .ps-bline__lead { display: none; }
  .ps-bline__lbl { flex: 1 1 0; }
  .ps-btotal__lbl { flex: 1 1 100%; }
  .ps-bline__sum, .ps-btotal__sum { margin-left: auto; }
  .ps-pnav { padding: 0 12px; gap: 0 16px; justify-content: flex-start; }
  .ps-pbody { padding: 8px 18px 28px; }
  .ps-doc { flex-wrap: wrap; gap: 14px; }
  .ps-doc__main { flex-basis: calc(100% - 66px); }
  .ps-doc > .ps-btn { width: 100%; }
  .ps-experts { grid-template-columns: 1fr; }
  .ps-expert:nth-child(odd):last-child { grid-column: auto; width: 100%; }
  .ps-chair { width: 100%; padding: 22px 18px; }
}
