/* Общие стили публичного сайта. Компоненты — по макетам и брендбуку.
   Соглашения: BEM-подобные имена, без скруглений, цвета только из tokens.css. */

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height, var(--header-h, 0px)) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
}
img {
  display: block;
}
a {
  color: var(--c-navy);
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: var(--fw-bold);
  line-height: 1.25;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--c-red);
  outline-offset: 2px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -200px;
  z-index: 1000;
  background: var(--c-white);
  color: var(--c-navy);
  font-weight: var(--fw-bold);
  padding: 12px 16px;
  border: 2px solid var(--c-navy);
  text-decoration: none;
}
.skip-link:focus {
  top: 8px;
}

/* ---------- Сетка ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  background: var(--c-white);
}
.section--grey {
  background: var(--c-grey-surface);
}
.section--navy {
  background: var(--c-navy);
  color: var(--c-white);
}
.section--navy a {
  color: var(--c-white);
}
.section__inner {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section__inner--tight {
  padding-top: 32px;
  padding-bottom: 64px;
  gap: 22px;
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.section__title {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 40px;
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}
.grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
}
.grid--fit {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stack--lg {
  gap: 32px;
}
.stack--sm {
  gap: 8px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.row--between {
  justify-content: space-between;
}
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.two-col__main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.two-col__aside {
  flex: 1 1 340px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 719px) {
  .two-col__aside {
    max-width: none;
  }
}

/* ---------- Типографика ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-navy);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--c-red);
  flex: none;
}
.section--navy .eyebrow {
  color: var(--c-white);
}
.h2 {
  margin: 0;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--c-navy);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.h2--md {
  font-size: 26px;
}
.h2--sm {
  font-size: 24px;
  line-height: 1.25;
}
.h2--xs {
  font-size: 18px;
}
.section--navy .h2 {
  color: var(--c-white);
}
.h3 {
  font-size: 18px;
  line-height: 1.35;
}
.hb {
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  padding: 0.08em 0.4em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lead {
  font-size: 17px;
  line-height: 1.7;
}
.muted {
  color: var(--c-text-muted);
}
.small {
  font-size: 14px;
}
.tiny {
  font-size: 13px;
  line-height: 1.5;
}
.link-more {
  font-weight: var(--fw-bold);
  font-size: 15px;
  text-transform: uppercase;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.link-more--sm {
  font-size: 14px;
}
.link-more--xs {
  font-size: 13px;
  min-height: 36px;
}
.link-more::after {
  content: "→";
}
.note {
  font-size: 14px;
  line-height: 1.65;
  border-left: 8px solid var(--c-navy);
  padding: 8px 0 8px 14px;
}
.note--red {
  border-left-color: var(--c-red);
}
.prose {
  font-size: 17px;
  line-height: 1.7;
  max-width: 820px;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose table,
.prose figure {
  margin: 0 0 16px;
}
.prose h2 {
  font-size: 24px;
  text-transform: uppercase;
  margin: 32px 0 12px;
}
.prose h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}
.prose ul {
  list-style: disc;
  padding-left: 26px;
}
.prose ol {
  list-style: decimal;
  padding-left: 26px;
}
.prose li {
  margin: 6px 0;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose blockquote {
  border-left: 8px solid var(--c-red);
  padding: 8px 0 8px 20px;
  font-size: 19px;
  font-weight: var(--fw-bold);
}
.prose code {
  background: var(--c-grey-subtle);
  padding: 1px 5px;
  font-size: 0.9em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th,
.prose td {
  border: 1px solid var(--c-grey);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--c-grey-surface);
  font-weight: var(--fw-bold);
}
.prose img {
  width: 100%;
}
.prose figcaption {
  font-size: 14px;
  margin-top: 8px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h-btn);
  padding: 0 26px;
  font-weight: var(--fw-bold);
  font-size: 19px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  background: var(--c-red);
  color: var(--c-white);
  border: 2px solid var(--c-red);
  cursor: pointer;
  transition: background 0.12s;
}
.btn:hover {
  background: var(--c-red-hover);
  border-color: var(--c-red-hover);
  color: var(--c-white);
  text-decoration: none;
}
.btn--navy {
  background: var(--c-navy);
  border-color: var(--c-navy);
  font-size: 15px;
  min-height: 48px;
  padding: 0 22px;
}
.btn--navy:hover {
  background: var(--c-navy-hover);
  border-color: var(--c-navy-hover);
}
.btn--ghost {
  background: transparent;
  border-color: var(--c-navy);
  color: var(--c-navy);
  font-size: 15px;
}
.btn--ghost:hover {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
.btn--white {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-navy);
  font-size: 15px;
}
.btn--white:hover {
  background: var(--c-grey-surface);
  border-color: var(--c-grey);
  color: var(--c-navy);
}
.btn--outline-white {
  background: transparent;
  border-color: var(--c-white);
  color: var(--c-white);
  font-size: 14px;
  min-height: var(--tap);
  padding: 0 16px;
}
.btn--outline-white:hover {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
}
.btn--sm {
  min-height: var(--h-btn-sm);
  padding: 0 18px;
  font-size: 14px;
}
.btn--block {
  display: flex;
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn svg {
  flex: none;
}
.icon-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-navy);
  background: transparent;
  color: var(--c-navy);
  cursor: pointer;
  padding: 0;
}
.icon-btn:hover {
  background: var(--c-navy);
  color: var(--c-white);
}
.icon-btn--filled {
  background: var(--c-navy);
  color: var(--c-white);
}
.icon-btn--filled:hover {
  background: var(--c-navy-hover);
}

/* ---------- Поля форм ---------- */
.fld {
  min-height: var(--h-fld);
  width: 100%;
  padding: 0 16px;
  font-size: 16px;
  border: 2px solid var(--c-navy);
  background: var(--c-white);
  color: var(--c-navy);
  border-radius: var(--radius);
  appearance: none;
}
.fld::placeholder {
  color: #5d6a9c;
  opacity: 1;
}
.fld--select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230C2173' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
textarea.fld {
  min-height: 140px;
  padding: 12px 16px;
  line-height: 1.5;
  resize: vertical;
}
.fld[aria-invalid="true"],
.fld.is-invalid {
  border-color: var(--c-red);
  background: #fff8f8;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field__label .req {
  color: var(--c-red);
}
.field__help {
  font-size: 13px;
  line-height: 1.5;
}
.field__error {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--c-error);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px 24px;
}
.form-grid .field--full {
  grid-column: 1 / -1;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: var(--tap);
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--c-navy);
}
.check--invalid {
  outline: 2px solid var(--c-red);
  outline-offset: 6px;
}
.file-field {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-height: var(--h-fld);
  padding: 6px 6px 6px 6px;
  border: 2px solid var(--c-navy);
  background: var(--c-white);
}
.file-field input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}
.file-field:focus-within {
  outline: 3px solid var(--c-red);
  outline-offset: 2px;
}
.file-field__btn {
  pointer-events: none;
  min-height: 36px;
  font-size: 13px;
  padding: 0 14px;
}
.file-field__status {
  font-size: 15px;
  color: var(--c-text-muted);
  min-width: 0;
  overflow-wrap: anywhere;
}
.file-field__status ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.file-field__status li {
  color: var(--c-navy);
  font-weight: var(--fw-bold);
}
.file-field__status li::before {
  content: "📎 ";
}
.file-field.is-invalid {
  border-color: var(--c-red);
  background: #fff8f8;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.alert {
  padding: 16px 20px;
  border-left: 8px solid var(--c-navy);
  background: var(--c-grey-surface);
  font-size: 15px;
  line-height: 1.6;
}
.alert--error {
  border-left-color: var(--c-red);
  background: var(--c-error-bg);
  color: var(--c-error);
}
.alert--success {
  border-left-color: var(--c-ok);
  background: var(--c-ok-bg);
  color: var(--c-ok);
}
.alert--warning {
  border-left-color: var(--c-warn);
  background: var(--c-warn-bg);
  color: var(--c-warn);
}
.alert a {
  color: inherit;
  font-weight: var(--fw-bold);
}

/* ---------- Чипы и бейджи ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  padding: 5px 10px;
  white-space: nowrap;
  border: 2px solid var(--c-navy);
  background: var(--c-navy);
  color: var(--c-white);
  text-decoration: none;
}
.chip--white {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-navy);
}
.chip--outline {
  background: transparent;
  color: var(--c-navy);
}
.chip--red {
  background: var(--c-white);
  border-color: var(--c-red);
  color: var(--c-navy);
}
.chip--red-fill {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}
.chip--grey {
  background: var(--c-grey-surface);
  border-color: var(--c-grey);
  color: var(--c-navy);
}
.chip--sm {
  font-size: 11px;
  padding: 4px 8px;
}
a.chip:hover {
  text-decoration: none;
  opacity: 0.9;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-red {
  display: inline-block;
  background: var(--c-red);
  color: var(--c-white);
  font-weight: var(--fw-bold);
  font-size: 19px;
  padding: 6px 16px;
  text-transform: uppercase;
}
.cat {
  display: inline-flex;
  gap: 12px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.cat__name {
  background: var(--c-red);
  color: var(--c-white);
  padding: 3px 8px;
}
.cat__date {
  padding: 3px 0;
}

/* ---------- Карточки ---------- */
.card {
  background: var(--c-grey-surface);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--c-navy);
  text-decoration: none;
}
.card--white {
  background: var(--c-white);
}
.card--outline {
  background: transparent;
  border: 2px solid var(--c-navy);
}
.card--navy {
  background: var(--c-navy);
  color: var(--c-white);
}
.card--navy a {
  color: var(--c-white);
}
.card--accent {
  border-top: 8px solid var(--c-red);
}
.card--pad-sm {
  padding: 18px 20px;
}
a.card:hover {
  text-decoration: none;
  outline: 2px solid var(--c-navy);
}
.card__cover {
  background: var(--c-navy);
  height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  margin: -26px -26px 0;
  overflow: hidden;
  position: relative;
}
.card__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__cover img {
  object-fit: contain;
}
.card__cover-label {
  position: relative;
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--c-navy);
  background: var(--c-white);
  padding: 5px 10px;
}
.card__date {
  font-weight: var(--fw-bold);
  font-size: 26px;
}
.card__title {
  font-size: 19px;
  line-height: 1.35;
}
.card__title a {
  text-decoration: none;
}
.card__title a:hover {
  text-decoration: underline;
}
.card__meta {
  font-size: 15px;
}
.card__foot {
  margin-top: auto;
}
.step {
  border: 2px solid var(--c-navy);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  font-weight: var(--fw-regular);
  font-size: 56px;
  line-height: 1;
  color: var(--c-red);
}
.step__num--label {
  font-size: clamp(30px, 4vw, 44px);
}
.step__title {
  font-size: 18px;
  text-transform: uppercase;
}
.step__text {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Списки ссылок ---------- */
.list-links {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--c-navy);
}
.list-links__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-grey);
  color: var(--c-navy);
  text-decoration: none;
}
.list-links__item:hover {
  text-decoration: none;
  background: #f3f4f5;
}
.list-links__title {
  font-weight: var(--fw-bold);
  font-size: 16px;
}
.list-links__meta {
  font-size: 14px;
  text-align: right;
}
.row-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  background: var(--c-grey-surface);
  padding: 18px 22px;
  color: var(--c-navy);
  text-decoration: none;
  min-height: var(--tap);
}
a.row-card:hover {
  text-decoration: none;
  outline: 2px solid var(--c-navy);
}
.row-card__date {
  width: 84px;
  flex: none;
  text-align: center;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 10px 0;
}
.row-card__date b {
  display: block;
  font-size: 24px;
}
.row-card__date span {
  font-size: 13px;
}
.row-card__body {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.row-card__title {
  font-weight: var(--fw-bold);
  font-size: 18px;
  line-height: 1.3;
}
.row-card__meta {
  font-size: 14px;
}
.dl {
  margin: 0;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px 12px;
  font-size: 15px;
  line-height: 1.5;
}
.dl dt {
  font-weight: var(--fw-regular);
}
.dl dd {
  margin: 0;
  font-weight: var(--fw-bold);
  min-width: 0;
  overflow-wrap: anywhere;
}
.dl dd a {
  font-weight: var(--fw-bold);
}

/* ---------- Переключатели и фильтры ---------- */
.segmented {
  display: inline-flex;
  border: 2px solid var(--c-navy);
}
.segmented__btn {
  min-height: var(--tap);
  padding: 0 22px;
  border: 0;
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  cursor: pointer;
  background: var(--c-white);
  color: var(--c-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.segmented__btn[aria-pressed="true"],
.segmented__btn[aria-current="page"],
.segmented__btn.is-active {
  background: var(--c-navy);
  color: var(--c-white);
}
.segmented--block {
  display: flex;
}
.segmented--block .segmented__btn {
  flex: 1;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.filters .fld {
  width: auto;
}
.filters__search {
  flex: 2 1 280px;
}
.filters__select {
  flex: 1 1 190px;
}
.filters__select--sm {
  flex: 1 1 120px;
}
.filters__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--h-fld);
  font-size: 15px;
  font-weight: var(--fw-bold);
}
.filters__check input {
  width: 22px;
  height: 22px;
  accent-color: var(--c-navy);
}
.filters__reset {
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.side-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-tabs__btn {
  text-align: left;
  min-height: var(--tap);
  padding: 0 14px;
  border: 0;
  border-left: 6px solid transparent;
  font-size: 14px;
  font-weight: var(--fw-bold);
  cursor: pointer;
  background: transparent;
  color: var(--c-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.side-tabs__btn:hover {
  background: var(--c-grey-surface);
  text-decoration: none;
}
.side-tabs__btn[aria-pressed="true"],
.side-tabs__btn[aria-current="page"] {
  background: var(--c-navy);
  color: var(--c-white);
  border-left-color: var(--c-red);
}
.result-count {
  font-size: 14px;
}
.result-count strong {
  font-weight: var(--fw-bold);
}

/* ---------- Хлебные крошки, пагинация, пустое состояние ---------- */
.breadcrumbs {
  font-size: 14px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
}
.breadcrumbs a {
  font-weight: var(--fw-bold);
}
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pager__item {
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-navy);
  font-weight: var(--fw-bold);
  font-size: 14px;
  text-decoration: none;
}
.pager__item[aria-current="page"] {
  background: var(--c-navy);
  color: var(--c-white);
}
.pager__item:hover {
  text-decoration: none;
  background: var(--c-grey-surface);
}
.pager__item[aria-current="page"]:hover {
  background: var(--c-navy);
}
.pager__gap {
  padding: 0 4px;
}
.empty {
  background: var(--c-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid var(--c-grey);
}
.empty__title {
  font-weight: var(--fw-bold);
  font-size: 17px;
}
.empty__text {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
}
.header__top {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-grey);
}
.header__top-inner {
  --header-row-height: 68px;
  max-width: 1680px;
  min-height: var(--header-row-height);
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header.is-scrolled .header__top-inner {
  min-height: calc(1.5 * var(--header-row-height));
}
@media (prefers-reduced-motion: no-preference) {
  .header__top-inner {
    transition: min-height 220ms ease;
  }
}
.header__logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: none;
  text-decoration: none;
}
.header__logo:hover {
  text-decoration: none;
}
@media (max-width: 359px) {
  .header__logo .logo__title {
    font-size: 17px !important;
  }
  .header__logo svg {
    width: 52px;
  }
}
.header__actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 8px;
}
.header__nav {
  justify-content: center;
}
.nav {
  display: flex;
  gap: clamp(10px, 1.2vw, 22px);
  white-space: nowrap;
}
.nav__link {
  color: var(--c-navy);
  text-decoration: none;
  font-size: clamp(12px, 0.91vw, 14px);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  border-bottom: 4px solid transparent;
}
.nav__link:hover {
  text-decoration: none;
  border-bottom-color: var(--c-grey);
}
.nav__link[aria-current="page"],
.nav__link.is-active {
  border-bottom-color: var(--c-red);
}
.header__nav:focus-visible,
.nav__link:focus-visible {
  outline-color: var(--c-navy);
}
.burger {
  display: none;
}
.mobile-menu {
  display: none;
}
.search-panel {
  display: none;
  background: var(--c-white);
  border-bottom: 4px solid var(--c-navy);
}
.search-panel.is-open {
  display: block;
}
.search-panel__inner {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  gap: 10px;
}
.search-panel__inner .fld {
  flex: 1 1 auto;
}
@media (max-width: 1099px) {
  .header__top {
    border-bottom: 4px solid var(--c-navy);
  }
  .header__top-inner {
    --header-row-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .header__actions .header__find,
  .header__search {
    display: none;
  }
  .header__actions {
    gap: 6px;
  }
  .burger {
    display: inline-flex;
    width: 48px;
    height: 48px;
  }
  .burger {
    background: var(--c-navy);
    color: var(--c-white);
    border-color: var(--c-navy);
  }
  .burger[aria-expanded="true"] {
    background: var(--c-red);
    border-color: var(--c-red);
  }
  .header__nav {
    display: none;
  }
  .mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 390px);
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    border: 0;
    background: var(--c-navy);
    color: var(--c-white);
    padding: 8px 16px 24px;
    box-shadow: 0 16px 32px rgba(12, 33, 115, 0.25);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-menu[open] {
    display: block;
  }
  .mobile-menu::backdrop {
    background: rgba(12, 33, 115, 0.45);
  }
  .mobile-menu .icon-btn {
    color: var(--c-white);
    border-color: currentColor;
  }
  .mobile-menu .icon-btn:hover {
    background: var(--c-navy-hover);
  }
  html:has(.mobile-menu[open]) {
    overflow: hidden;
  }
  .mobile-menu__close {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
  }
  .mobile-menu__search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }
  .mobile-menu__search[hidden] {
    display: none;
  }
  .mobile-menu__search input {
    min-width: 0;
  }
  .mobile-menu__search button {
    flex: none;
  }
  .mobile-menu__link {
    display: flex;
    align-items: center;
    min-height: 52px;
    color: var(--c-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--c-navy-line);
  }
  .mobile-menu__link[aria-current="page"] {
    box-shadow: inset 6px 0 0 var(--c-red);
    padding-left: 14px;
  }
  .mobile-menu__tools {
    margin-block: 16px 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu[open] {
    animation: mobile-menu-enter 220ms ease-out both;
  }
}
@keyframes mobile-menu-enter {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--c-grey-surface);
}
.hero__star {
  position: absolute;
  right: -80px;
  top: -120px;
  pointer-events: none;
  width: 480px;
  height: 440px;
}
.hero__star svg {
  width: 100%;
  height: 100%;
}
.hero__inner {
  position: relative;
  padding-top: 36px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.55;
  max-width: 760px;
}
.hero__lead {
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
}
.hero--home .hero__star {
  right: -120px;
  top: -50px;
  width: 780px;
  height: 720px;
}
.hero--home .hero__inner {
  padding-top: 88px;
  padding-bottom: 96px;
  gap: 28px;
}
.hero--home .hero__title {
  font-size: 46px;
  line-height: 1.5;
  max-width: 640px;
}
.hero--home .hero__lead {
  font-size: 18px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 719px) {
  .hero__star {
    right: -150px;
    top: 120px;
    width: 410px;
    height: 380px;
    opacity: 0.55;
  }
  .hero__inner {
    padding-top: 24px;
    padding-bottom: 28px;
    gap: 14px;
  }
  .hero__title {
    font-size: 22px;
    line-height: 1.6;
  }
  .hero__lead {
    font-size: 16px;
  }
  .hero--home .hero__inner {
    padding-top: 36px;
    padding-bottom: 40px;
    gap: 20px;
  }
  .hero--home .hero__title {
    font-size: 26px;
    line-height: 1.6;
  }
  .hero--home .hero__actions {
    flex-direction: column;
    align-self: stretch;
    gap: 10px;
    margin-top: 120px;
  }
  .hero--home .hero__actions .btn {
    display: flex;
    font-size: 19px;
  }
  .hero--home .hero__actions .btn--ghost {
    background: var(--c-white);
    font-size: 15px;
  }
}

/* ---------- Карта ---------- */
.map {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background-color: var(--c-white);
  background-image: linear-gradient(var(--c-grey) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-grey) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map--tall {
  height: 700px;
}
.map--small {
  height: 240px;
  min-height: 0;
  border: 2px solid var(--c-grey);
}
.map__canvas {
  position: absolute;
  inset: 0;
}
.map__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--c-white);
  background: var(--c-navy);
  padding: 8px 12px;
  z-index: 2;
}
.map__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 3;
}
.map__fallback[hidden] {
  display: none;
}
.map__card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: var(--c-white);
  border-left: 8px solid var(--c-red);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}
.map__card[hidden] {
  display: none;
}
.map__card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  flex: 1 1 220px;
}
.map__card-title {
  font-weight: var(--fw-bold);
  font-size: 18px;
}
.map__card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pin {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-red);
  border: 3px solid var(--c-navy);
}
.pin--forming {
  background: var(--c-white);
}
.pin--active {
  width: 26px;
  height: 26px;
  background: var(--c-navy);
  border-color: var(--c-red);
}
@media (max-width: 719px) {
  .map--tall {
    height: 560px;
  }
  .map__card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
  }
  .map__card-actions {
    width: 100%;
  }
  .map__card-actions .btn {
    flex: 1;
    font-size: 13px;
    min-height: var(--tap);
    padding: 0 10px;
  }
}

/* ---------- Подвал ---------- */
.footer {
  background: var(--c-navy);
  color: var(--c-white);
  flex: none;
}
.footer__stripe {
  height: 8px;
  background: var(--c-red);
}
.footer__inner {
  padding-top: 56px;
  padding-bottom: 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 40px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__text {
  font-size: 14px;
  line-height: 1.7;
}
.footer__text a {
  color: var(--c-white);
}
.footer__legal-info {
  font-size: 13px;
  color: var(--c-grey);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer__heading {
  font-size: 14px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer__link {
  color: var(--c-white);
  text-decoration: none;
  font-size: 15px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.footer__link:hover {
  text-decoration: underline;
}
.cookie-refusal {
  width: min(33rem, calc(100% - 32px));
  padding: clamp(20px, 6vw, 36px);
  border: 0;
  border-top: 5px solid var(--c-red);
  background: var(--c-white);
  color: var(--c-navy);
  margin: auto;
}
.cookie-refusal[open] {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.cookie-refusal::backdrop {
  background: var(--c-navy);
}
.cookie-refusal [hidden] {
  display: none;
}
html:has(.cookie-refusal[open]) {
  overflow: hidden;
}

.social-links,
.footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  flex: none;
  border: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--c-red);
  background: var(--c-red);
  color: var(--c-white);
}
.footer__hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-grey);
}
.footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--c-navy-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--c-grey);
}
.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer__bottom a {
  color: var(--c-white);
}
.footer__bottom button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--c-white);
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 719px) {
  .footer__inner {
    padding-top: 32px;
  }
  .footer__link {
    min-height: 44px;
  }
}

/* ---------- Плашка cookie ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--c-white);
  border-top: 4px solid var(--c-navy);
  box-shadow: 0 -8px 24px rgba(12, 33, 115, 0.12);
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom));
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.cookie-banner__text {
  flex: 1 1 420px;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-banner__actions .btn {
  min-height: 44px;
  font-size: 14px;
  padding: 0 18px;
}
@media (max-width: 719px) {
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1;
  }
}

/* ---------- Версия для слабовидящих (ГОСТ Р 52872-2019) ---------- */
.a11y-toggle {
  flex: none;
}
@media (max-width: 1099px) {
  .header__actions .a11y-toggle {
    display: none;
  }
}
.a11y-panel {
  background: #fff;
  color: #000;
  border-bottom: 4px solid #000;
  font-family: Arial, sans-serif;
}
.a11y-panel[hidden] {
  display: none;
}
.a11y-panel__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 12px;
  padding-bottom: 12px;
  align-items: center;
}
.a11y-panel__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.a11y-panel__group--actions {
  margin-left: auto;
}
.a11y-panel__label {
  font-size: 14px;
  font-weight: 700;
  margin-right: 6px;
}
.a11y-panel__btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.a11y-panel__btn[aria-pressed="true"] {
  outline: 4px solid #000;
  outline-offset: -6px;
}
.a11y-panel__btn:focus-visible {
  outline: 4px solid #d00;
  outline-offset: 2px;
}
.a11y-panel__btn--scheme {
  font-size: 18px;
}
.a11y-panel__btn--exit {
  background: #000;
  color: #fff;
}

/* Режим включён: без декора и анимаций */
html.a11y {
  scroll-behavior: auto;
}
html.a11y .hero__star,
html.a11y .footer__stripe {
  display: none !important;
}
html.a11y *,
html.a11y *::before,
html.a11y *::after {
  transition: none !important;
  animation: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html.a11y body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
html.a11y--serif body {
  font-family: Georgia, "Times New Roman", Times, serif;
}
html.a11y--font-2 body > :not(.a11y-panel) {
  zoom: 1.3;
}
html.a11y--font-3 body > :not(.a11y-panel) {
  zoom: 1.6;
}
@media (max-width: 719px) {
  html.a11y--font-2 body > :not(.a11y-panel) {
    zoom: 1.15;
  }
  html.a11y--font-3 body > :not(.a11y-panel) {
    zoom: 1.3;
  }
  html.a11y .header__top-inner {
    flex-wrap: wrap;
  }
  html.a11y .hero__title,
  html.a11y .h2 {
    overflow-wrap: anywhere;
  }
}
html.a11y .btn,
html.a11y .chip,
html.a11y .nav__link {
  white-space: normal;
}
html.a11y .segmented {
  display: flex;
  flex-wrap: wrap;
}
html.a11y .segmented__btn {
  flex: 1 1 auto;
  min-width: 0;
}
@media (max-width: 719px) {
  html.a11y .two-col__aside,
  html.a11y .two-col__main,
  html.a11y .filters > * {
    flex-basis: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}
html.a11y .list-links__item,
html.a11y .row-card,
html.a11y .card > .row {
  flex-wrap: wrap;
}
html.a11y .list-links__meta {
  text-align: left;
  min-width: 0;
  overflow-wrap: anywhere;
}
html.a11y--spacing-1 body {
  letter-spacing: 0.08em;
  word-spacing: 0.12em;
}
html.a11y--spacing-2 body {
  letter-spacing: 0.16em;
  word-spacing: 0.24em;
}
html.a11y--images-gray img,
html.a11y--images-gray video,
html.a11y--images-gray svg {
  filter: grayscale(1) !important;
}
html.a11y--images-off img,
html.a11y--images-off video,
html.a11y--images-off .map,
html.a11y--images-off .card__cover,
html.a11y--images-off .media-cover,
html.a11y--images-off .photo-grid,
html.a11y--images-off .video-embed {
  display: none !important;
}

/* Цветовые схемы: все цвета из двух переменных */
html.a11y {
  --a11y-bg: #ffffff;
  --a11y-fg: #000000;
}
html.a11y--scheme-wb {
  --a11y-bg: #000000;
  --a11y-fg: #ffffff;
}
html.a11y--scheme-bl {
  --a11y-bg: #9dd1ff;
  --a11y-fg: #063462;
}
html.a11y--scheme-br {
  --a11y-bg: #f7f3d6;
  --a11y-fg: #4d4b43;
}
html.a11y--scheme-gr {
  --a11y-bg: #3b2716;
  --a11y-fg: #a9e44d;
}
html.a11y body,
html.a11y body *:not(.a11y-panel):not(.a11y-panel *):not(svg):not(svg *):not(img):not(video):not(iframe) {
  background-color: var(--a11y-bg) !important;
  background-image: none !important;
  color: var(--a11y-fg) !important;
  border-color: var(--a11y-fg) !important;
  outline-color: var(--a11y-fg) !important;
}
html.a11y a {
  text-decoration: underline !important;
}
html.a11y .btn,
html.a11y .chip,
html.a11y .hb,
html.a11y .nav__link,
html.a11y .segmented__btn,
html.a11y .side-tabs__btn,
html.a11y .pager__item,
html.a11y .row-card__date,
html.a11y .cat__name,
html.a11y .tag-red,
html.a11y .icon-btn,
html.a11y .fld {
  border: 2px solid var(--a11y-fg) !important;
}
html.a11y .btn,
html.a11y .hb,
html.a11y .segmented__btn[aria-pressed="true"],
html.a11y .segmented__btn[aria-current="page"],
html.a11y .side-tabs__btn[aria-current="page"],
html.a11y .pager__item[aria-current="page"],
html.a11y .cat__name,
html.a11y .tag-red,
html.a11y .month__day--has,
html.a11y .row-card__date {
  background-color: var(--a11y-fg) !important;
  color: var(--a11y-bg) !important;
}
html.a11y .btn *,
html.a11y .hb *,
html.a11y .row-card__date *,
html.a11y .month__day--has * {
  background-color: var(--a11y-fg) !important;
  color: var(--a11y-bg) !important;
}
html.a11y .nav__link[aria-current="page"] {
  border-bottom: 6px solid var(--a11y-fg) !important;
}
html.a11y .eyebrow::before {
  background-color: var(--a11y-fg) !important;
}
html.a11y .card,
html.a11y .row-card,
html.a11y .step,
html.a11y .empty,
html.a11y .note,
html.a11y .alert,
html.a11y .header__top,
html.a11y .header__nav,
html.a11y .footer,
html.a11y .section--grey,
html.a11y .hero,
html.a11y .list-links__item,
html.a11y .month__day,
html.a11y .cookie-banner {
  border: 1px solid var(--a11y-fg) !important;
}
html.a11y .logo svg path {
  fill: var(--a11y-fg) !important;
}

/* ---------- Таблицы и календарь ---------- */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-grey);
  text-align: left;
  vertical-align: top;
}
.table th {
  background: var(--c-grey-surface);
  font-weight: var(--fw-bold);
  font-size: 13px;
  text-transform: uppercase;
}
.table-wrap {
  overflow-x: auto;
}
.month {
  background: var(--c-grey-surface);
  padding: 20px;
}
.month__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
}
.month__title {
  font-weight: var(--fw-bold);
  font-size: 18px;
  text-transform: uppercase;
}
.month__nav {
  width: var(--tap);
  height: var(--tap);
  border: 2px solid var(--c-navy);
  background: var(--c-white);
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.month__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.month__wd {
  text-align: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  padding: 4px 0;
}
.month__day {
  min-height: 74px;
  padding: 6px 8px;
  background: var(--c-white);
  color: var(--c-navy);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  text-decoration: none;
}
.month__day--empty {
  background: transparent;
}
.month__day--has {
  background: var(--c-navy);
  color: var(--c-white);
}
.month__day--has a {
  color: var(--c-white);
}
.month__day-n {
  font-weight: var(--fw-bold);
}
.month__day-ev {
  font-size: 11px;
  font-weight: var(--fw-bold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 719px) {
  .month {
    padding: 10px;
  }
  .month__grid {
    gap: 3px;
  }
  .month__day {
    min-height: 48px;
    padding: 4px;
  }
  .month__day-ev {
    display: none;
  }
}

/* ---------- Медиа ---------- */
.media-cover {
  position: relative;
  height: 200px;
  background: var(--c-navy);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px;
  overflow: hidden;
}
.media-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-cover > span {
  position: relative;
}
.media-cover__count {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--c-white);
  background: var(--c-red);
  padding: 5px 10px;
}
.media-cover__play {
  position: relative;
  width: 64px;
  height: 64px;
  background: var(--c-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}
.media-cover__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--c-navy);
  background: var(--c-white);
  padding: 4px 9px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 10px;
}
.photo-grid__item {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--c-grey-surface);
  overflow: hidden;
}
.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 33, 115, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}
.lightbox__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  color: var(--c-white);
  font-size: 14px;
  text-align: center;
}
.lightbox__btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: var(--tap);
  height: var(--tap);
  background: var(--c-red);
  color: var(--c-white);
  border: 0;
  font-size: 22px;
  cursor: pointer;
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  width: var(--tap);
  height: var(--tap);
  margin-top: -22px;
  background: var(--c-white);
  color: var(--c-navy);
  border: 0;
  font-size: 24px;
  font-weight: var(--fw-bold);
  cursor: pointer;
}
.lightbox__prev {
  left: 8px;
}
.lightbox__next {
  right: 8px;
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--c-navy);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed__play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: var(--fw-bold);
}

/* ---------- Утилиты ---------- */
.u-hidden {
  display: none !important;
}
.u-mt-auto {
  margin-top: auto;
}
.u-self-start {
  align-self: flex-start;
}
.u-nowrap {
  white-space: nowrap;
}
.u-right {
  text-align: right;
}
.u-center {
  text-align: center;
}
.u-wrap {
  overflow-wrap: anywhere;
}
.partner-logo {
  height: 80px;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: var(--fw-bold);
  padding: 10px;
}
.partner-logo img {
  max-height: 60px;
  width: auto;
}
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: inline-flex;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media print {
  .header,
  .footer,
  .cookie-banner,
  .hero__star,
  .btn,
  .skip-link {
    display: none !important;
  }
}
