/* Публичная часть сайта. Шрифты системные — ничего не грузится с внешних серверов. */
:root {
  --accent: #7a1f2b;
  --gold: #a8844c;
  --ink: #2a2223;
  --muted: #6b5f5f;
  --bg: #fbf8f3;
  --paper: #ffffff;
  --line: #e6ddd0;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "PT Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--accent) 70%, black); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Шапка */
.topbar { background: var(--ink); color: #f1e9dd; font-size: 14px; }
.topbar__in { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; padding: 6px 20px; }
.topbar a { color: #f1e9dd; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.sep { opacity: .5; margin: 0 2px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 14px; }
.brand__link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.brand__logo { max-height: 64px; width: auto; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 600 24px/1.2 var(--serif); letter-spacing: .01em; }
.brand__tag { color: var(--gold); font: italic 16px/1.3 var(--serif); }

/* Меню */
.nav { border-top: 1px solid var(--line); }
.nav__list, .nav .sub { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav a { display: block; padding: 12px 10px; color: var(--ink); text-decoration: none; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.nav li.active > a { color: var(--accent); }
.nav a:hover { color: var(--accent); }
.sub-toggle { display: none; }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(42,34,35,.12); padding: 6px 0; display: none; }
.nav .sub a { text-transform: none; letter-spacing: 0; font-size: 15px; padding: 8px 16px; }
.nav li.has-sub:hover > .sub, .nav li.has-sub:focus-within > .sub { display: block; }
.nav-toggle { display: none; flex: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { top: -7px; left: 0; right: 0; }
.nav-toggle span:first-child::after { top: 7px; left: 0; right: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; padding: 4px 0 12px; }
  .nav__list > li { flex-wrap: wrap; }
  .nav__list > li > a { flex: 1; }
  .sub-toggle { display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .sub-toggle::after { content: "▾"; font-size: 18px; color: var(--muted); }
  .sub-toggle[aria-expanded="true"]::after { content: "▴"; }
  .nav .sub { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); margin-left: 12px; flex-basis: 100%; }
  .nav li.has-sub:hover > .sub, .nav li.has-sub:focus-within > .sub { display: none; }
  .nav li.has-sub.open > .sub { display: block; }
  .brand__name { font-size: 20px; }
  .topbar__in { justify-content: center; flex-direction: column; align-items: center; gap: 0; }
  .topbar .sep { display: none; }
  .brand__logo { max-height: 48px; max-width: 110px; }
}

/* Контент */
.content { padding-top: 36px; padding-bottom: 64px; min-height: 50vh; }
.page-title, .content h1 { font: 600 clamp(28px, 4vw, 40px)/1.2 var(--serif); margin: 0 0 24px; }
.content h2 { font: 600 clamp(22px, 3vw, 30px)/1.25 var(--serif); margin: 40px 0 16px; }
.content h3 { font: 600 22px/1.3 var(--serif); margin: 28px 0 12px; }
.content h4 { font: 600 19px/1.3 var(--serif); margin: 24px 0 10px; }
.b-text { max-width: 820px; }
.b-text p { margin: 0 0 14px; }
.b-text ul, .b-text ol { padding-left: 22px; }
.b-text blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); font-style: italic; color: var(--muted); }
.align-center { text-align: center; margin-left: auto; margin-right: auto; }
.align-right { text-align: right; margin-left: auto; }
.align-justify { text-align: justify; }
.b-heading.align-center { max-width: none; }

.btn { display: inline-block; padding: 12px 26px; border-radius: 2px; text-decoration: none; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; border: 2px solid var(--accent); cursor: pointer; font-family: var(--sans); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(1.1); }
.btn--outline { background: transparent; color: var(--accent); }
.b-button { margin: 24px 0; }

.b-hero { position: relative; margin: -36px calc(50% - 50vw) 36px; background: var(--ink) center/cover no-repeat; color: #fff; display: flex; align-items: flex-end; }
.b-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,14,.15), rgba(20,12,14,.7)); }
.b-hero--small { min-height: 260px; } .b-hero--medium { min-height: 420px; } .b-hero--large { min-height: 600px; }
.b-hero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 40px 20px; width: 100%; }
.content .b-hero__title { color: #fff; font: 600 clamp(30px, 5vw, 52px)/1.15 var(--serif); margin: 0 0 12px; max-width: 840px; }
.b-hero__sub { font: italic clamp(18px, 2.4vw, 22px)/1.45 var(--serif); max-width: 720px; margin: 0 0 22px; color: #f1e9dd; }

.b-image { margin: 24px 0; }
.b-image--small { max-width: 320px; } .b-image--medium { max-width: 640px; } .b-image--full { max-width: none; }
.b-image img, .b-media__img img, .b-gallery img { border-radius: 2px; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.b-gallery { margin: 32px 0; }
.b-gallery__grid { gap: 12px; }
.b-gallery figure { margin: 0; }
.b-gallery img { aspect-ratio: 3/2; object-fit: cover; width: 100%; height: auto; }
.b-gallery a[data-lightbox], .b-image a[data-lightbox], .b-media__img a[data-lightbox] { display: block; cursor: zoom-in; }

.b-media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; margin: 40px 0; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.b-media--right .b-media__img { order: 2; }
.b-media__body h2 { margin-top: 0; }
@media (max-width: 760px) { .b-media { grid-template-columns: 1fr; } .b-media--right .b-media__img { order: 0; } }

.b-video { margin: 28px 0; max-width: 820px; }
.b-video__frame { position: relative; aspect-ratio: 16/9; background: #000; }
.b-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.b-video figcaption { margin-top: 8px; font-size: 14px; color: var(--muted, #666); }
.player__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); box-shadow: 0 0 0 2px rgba(255,255,255,.85); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.player__play::before { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.player__play:hover, .player__play:focus-visible { transform: scale(1.08); background: rgba(0,0,0,.75); }
.player:not(.is-idle) .player__play { display: none; }
.b-divider { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.b-spacer--s { height: 16px; } .b-spacer--m { height: 40px; } .b-spacer--l { height: 80px; }

.b-form { background: var(--paper); border: 1px solid var(--line); padding: 28px; max-width: 680px; margin: 36px 0; }
.b-form h2 { margin-top: 0; }
.f-row { margin-bottom: 14px; }
.f-row label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.f-row input, .f-row select, .f-row textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbbfae; border-radius: 2px; font: inherit; background: #fff; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.f-check { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 18px; font-size: 15px; }
.f-check input { margin-top: 5px; }
.req { color: var(--accent); }
.f-hp { position: absolute; left: -9999px; }
.draft-banner { background: #fff3cd; border: 1px solid #e5c766; padding: 10px 14px; margin-bottom: 20px; }

/* Подвал */
.site-footer { background: var(--ink); color: #e9e0d3; padding: 36px 0 24px; font-size: 15px; }
.site-footer a { color: #f1e9dd; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer__name { font: 600 19px/1.3 var(--serif); margin-bottom: 8px; color: #fff; }
.footer__in p { margin: 4px 0; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: flex-start; }
.footer__note { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: #b9ad9c; }

/* Просмотр фото */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,10,24,.97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 56px 64px 24px; }
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; width: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__cap { color: #eee; font-size: 15px; text-align: center; max-width: 70ch; min-height: 1em; }
.lightbox__count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font: 600 14px/20px system-ui, sans-serif; letter-spacing: .08em; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox__btn i { position: relative; display: block; width: 18px; height: 18px; }
/* стрелка: уголок из двух линий, сдвинут на треть своей ширины, чтобы визуально был по центру */
.lightbox__prev i::before, .lightbox__next i::before { content: ""; position: absolute; inset: 0; border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor; border-radius: 1px; }
.lightbox__prev i::before { transform: translateX(3px) rotate(-45deg); }
.lightbox__next i::before { transform: translateX(-3px) rotate(135deg); }
/* крестик: две линии крест-накрест */
.lightbox__close i::before, .lightbox__close i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2.5px; margin: -1.25px 0 0 -11px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.lightbox__close i::after { transform: rotate(-45deg); }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: rgba(255,255,255,.25); }
.lightbox__close { top: 12px; right: 12px; width: 48px; height: 48px; }
.lightbox__prev { left: 12px; top: 50%; margin-top: -28px; }
.lightbox__next { right: 12px; top: 50%; margin-top: -28px; }
@media (max-width: 640px) { .lightbox { padding: 56px 8px 16px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; margin: 0; } .lightbox img { max-height: calc(100vh - 170px); } }
/* галерея: фото одного размера; неполный последний ряд — по центру */
.b-gallery__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.b-gallery__grid > figure { flex: 0 0 calc((100% - 12px * 2) / 3); }
.b-gallery__grid.cols-2 > figure { flex-basis: calc((100% - 12px) / 2); }
.b-gallery__grid.cols-4 > figure { flex-basis: calc((100% - 12px * 3) / 4); }
@media (max-width: 640px) { .b-gallery__grid > figure, .b-gallery__grid.cols-4 > figure { flex-basis: calc((100% - 12px) / 2); } }
/* галерея-лента */
.b-gallery__slider { position: relative; }
.b-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px * 2) / 3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.b-gallery__track::-webkit-scrollbar { display: none; }
.b-gallery__track.cols-2 { grid-auto-columns: calc((100% - 12px) / 2); }
.b-gallery__track.cols-4 { grid-auto-columns: calc((100% - 12px * 3) / 4); }
.b-gallery__track > figure { scroll-snap-align: start; margin: 0; }
@media (max-width: 640px) { .b-gallery__track, .b-gallery__track.cols-4, .b-gallery__track.cols-2 { grid-auto-columns: 82%; } }
.b-gallery__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; }
.b-gallery__nav::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.b-gallery__nav--prev { left: 8px; } .b-gallery__nav--prev::before { transform: translateX(2px) rotate(-135deg); }
.b-gallery__nav--next { right: 8px; }
.b-gallery__nav:disabled { opacity: .3; cursor: default; }

/* Заглушка для недоступной картинки */
img.img-missing { aspect-ratio: 3/2; width: 100%; object-fit: cover; color: transparent; font-size: 0; background: linear-gradient(135deg, #efe7da, #e2d6c3); border-radius: 2px; }
.brand__logo.img-missing { display: none; }

/* Не дублируем линию, если после блока сразу идёт разделитель */
.b-media:has(+ .b-divider) { border-bottom: 0; padding-bottom: 0; }

/* ===================== Оформление «как на прежнем сайте» (style-classic) =====================
   Цвета сняты с прежнего сайта на Wix: шапка #2d3554, фон #bbc9df, текст #343f64, рамки #a8b3c4.
   Шрифты подставляет theme.css, перенесённый импортом. */
.brand__contacts { display: none; }
.b-media-group { display: block; }

.style-classic { --ink: #343f64; --line: #a8b3c4; }
body.style-classic { background: var(--page-color, #bbc9df); color: var(--ink); position: relative; }
body.style-classic::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--page-bg, none) center bottom / cover no-repeat; opacity: .35; pointer-events: none; }

/* Шапка: тёмно-синяя, с фото и полупрозрачным слоем */
.style-classic .topbar { display: none; }
.style-classic .site-header { background: var(--header-color, #2d3554) var(--header-bg, none) center / cover no-repeat; border-bottom: 0; color: #fff; }
.style-classic .site-header::before { content: ""; position: absolute; inset: 0; background: var(--header-color, #2d3554); opacity: .82; z-index: 0; }
.style-classic .site-header > * { position: relative; z-index: 1; }
.style-classic .brand { padding-top: 22px; padding-bottom: 8px; align-items: center; }
.style-classic .brand__link { flex: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; color: #fff; }
.style-classic .brand__logo { background: #fff; padding: 4px; max-height: 80px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.style-classic .brand__text { text-align: center; }
.style-classic .brand__name, .style-classic .brand__tag { color: #fff; font-family: var(--serif); font-style: normal; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3; letter-spacing: .02em; font-weight: 600; }
.style-classic .brand__contacts { display: block; background: #fff; color: var(--ink); padding: 10px 12px; font: 13px/1.5 var(--sans); box-shadow: 0 1px 4px rgba(0,0,0,.3); white-space: nowrap; margin-left: 24px; }
.style-classic .brand__contacts a { color: var(--ink); text-decoration: none; }
.style-classic .brand__contacts a:hover { text-decoration: underline; }
.style-classic .nav { border-top: 0; }
.style-classic .nav__list { justify-content: center; }
.style-classic .nav a { color: #fff; font-size: 13px; letter-spacing: .03em; padding: 12px 14px 16px; }
.style-classic .nav li.active > a, .style-classic .nav a:hover { color: #f0b860; }
.style-classic .nav .sub { background: var(--header-color, #2d3554); border-color: rgba(255,255,255,.15); }
.style-classic .nav .sub a { color: #fff; }
.style-classic .nav-toggle span:first-child, .style-classic .nav-toggle span:first-child::before, .style-classic .nav-toggle span:first-child::after { background: #fff; }

/* Содержимое */
.style-classic .content { background: transparent; }
.style-classic .content h1, .style-classic .content h2, .style-classic .content h3, .style-classic .content h4, .style-classic .page-title { color: var(--ink); }
.style-classic .content > .b-heading:is(h1, h2) { text-align: center; font-weight: 400; }
.style-classic a { color: #0b2f5b; }

/* Карточки в рамке, как на Wix: картинка сверху, текст снизу, по две в ряд */
.style-classic .b-media-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; margin: 32px 0; align-items: start; }
.style-classic .b-media { display: flex; flex-direction: column; gap: 0; margin: 32px 0; padding: 7px; border: 3px solid var(--line); outline: 1px solid rgba(255,255,255,.55); outline-offset: -6px; background: rgba(255,255,255,.12); box-shadow: 0 2px 6px rgba(43,52,84,.25); }
.style-classic .b-media-group .b-media { margin: 0; }
.style-classic .b-media--right .b-media__img { order: 0; }
.style-classic .b-media__img img { width: 100%; border-radius: 0; }
.style-classic .b-media__body { padding: 14px 6px 6px; }
.style-classic .b-media__body h2 { font-size: 21px; text-align: center; margin: 0 0 10px; }
.style-classic .b-media:has(+ .b-divider), .style-classic .b-media { border-bottom: 3px solid var(--line); }
.style-classic .b-gallery img, .style-classic .b-image img { box-shadow: 0 2px 6px rgba(43,52,84,.25); }
.style-classic .b-divider { background: var(--line); }

/* Кнопки — подчёркнутая надпись на светлой плашке, как «ПОДАТЬ ЗАЯВКУ» на прежнем сайте */
.style-classic .btn--primary { background: rgba(255,255,255,.85); color: var(--ink); border: 1px solid var(--line); text-decoration: underline; text-underline-offset: 4px; font-family: var(--serif); letter-spacing: .02em; font-size: 17px; padding: 8px 18px; }
.style-classic .btn--primary:hover { background: #fff; color: var(--ink); filter: none; }
.style-classic .btn--outline { color: var(--ink); border-color: var(--ink); }
.style-classic .b-hero .btn--primary { background: #fff; }
.style-classic .b-form { background: rgba(255,255,255,.55); border: 3px solid var(--line); }
.style-classic .site-footer { background: var(--header-color, #2d3554); }

@media (max-width: 860px) {
  .style-classic .brand__contacts { display: none; }
  .style-classic .topbar { display: block; background: transparent; }
  .style-classic .brand__link { grid-template-columns: auto 1fr; gap: 12px; }
  .style-classic .brand__name, .style-classic .brand__tag { font-size: 17px; }
  .style-classic .b-media-group { grid-template-columns: 1fr; }
  .style-classic .nav__list { justify-content: flex-start; }
}
/* светлые ссылки на тёмном фоне шапки и подвала */
.style-classic .site-footer a, .style-classic .topbar a { color: #eef2fb; }
.style-classic .site-footer a:hover, .style-classic .topbar a:hover { color: #f0b860; }
.style-classic .topbar { color: #eef2fb; }

/* значок + текст */
.ci { display: inline-flex; align-items: center; gap: 6px; }
.ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; object-fit: contain; }
.socials .ci { text-decoration: none; }
.socials .ci span { text-decoration: underline; text-underline-offset: 3px; }
.brand__contacts .ico { color: var(--header-color, #2d3554); }

.f-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.f-note { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.btn.ci { gap: 8px; }

.style-classic .btn--outline { font-family: var(--serif); letter-spacing: .02em; font-size: 17px; padding: 8px 18px; border-width: 1px; background: rgba(255,255,255,.6); text-transform: uppercase; }
.style-classic .btn--outline:hover { background: #fff; }

/* Шапка: логотип и контакты — две одинаковые карточки по краям, название по центру.
   Белая карточка с тонкой золотистой рамкой внутри, как паспарту театральной афиши. */
.style-classic { --card-w: 250px; --card-h: 104px; --card-gold: #c9a86a; }
@media (min-width: 861px) {
  .style-classic .brand { display: grid; grid-template-columns: var(--card-w) minmax(0, 1fr) var(--card-w); align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 14px; }
  .style-classic .brand__link { display: contents; }
  .style-classic .brand__logo,
  .style-classic .brand__contacts {
    box-sizing: border-box; width: var(--card-w); height: var(--card-h); margin: 0;
    background: #fff; padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(10, 14, 32, .35), inset 0 0 0 5px #fff, inset 0 0 0 6px var(--card-gold);
  }
  .style-classic .brand__logo { max-height: none; object-fit: contain; }
  .style-classic .brand__contacts { display: flex; flex-direction: column; justify-content: center; gap: 4px; white-space: nowrap; overflow: hidden; font-size: 13px; line-height: 1.35; }
  .style-classic .brand__contacts .ci { gap: 8px; }
  .style-classic .brand__contacts .ico { color: var(--card-gold); width: 16px; height: 16px; }
  .style-classic .brand__text { grid-column: 2; }
  .style-classic .nav-toggle { display: none; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .style-classic { --card-w: 210px; --card-h: 92px; }
  .style-classic .brand__contacts { font-size: 12px; padding: 10px 12px; }
}
@media (max-width: 860px) {
  .style-classic .brand__logo { height: 64px; width: auto; max-width: 150px; padding: 6px 8px; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--card-gold); }
}

/* список ссылок и документов (классическое оформление) */
.b-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0; }
.b-links__kind { margin-left: 6px; padding: 0 5px; border-radius: 3px; font-size: 10px; font-weight: 700; color: #fff; background: var(--accent, #7a1f2b); vertical-align: 2px; }

/* документы, обращения, партнёры (классическое оформление) */
.b-docs { margin: 24px 0; }
.b-docs__list { list-style: none; padding: 0; margin: 12px 0; }
.doc { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; }
.doc__ico { flex: none; min-width: 38px; padding: 10px 4px 4px; border-radius: 4px; background: var(--accent, #7a1f2b); color: #fff; font-size: 10px; font-weight: 700; text-align: center; }
.doc__text { display: grid; } .doc__text small { color: #666; } .doc--soon { opacity: .6; } .doc__go { margin-left: auto; }
.b-words__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin: 20px 0; }
.word { display: flex; flex-direction: column; }
.word__head { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; margin-bottom: 12px; }
.word__more { align-self: center; margin-top: auto; padding-top: 10px; }
.word__photo img { width: 110px; border-radius: 6px; } .word__name { margin: 0 0 4px; } .word__role { margin: 0 0 8px; font-size: 14px; color: #555; } .word__text { font-style: italic; }
.word__text.is-clamped { max-height: 9em; overflow: hidden; }
.word__more { padding: 0; border: 0; background: none; color: var(--accent, #7a1f2b); cursor: pointer; text-decoration: underline; }
.b-partners__row { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 12px 0; }
.b-partners__row li { flex: none; }
.partner { box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 150px; height: 76px; padding: 8px 10px; background: #fff; border: 1px solid #ddd; border-radius: 6px; }
.partner img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
/* бегущие ленты партнёров (public/site.js) */
.b-partners.is-moving .b-partners__viewport { display: grid; gap: 12px; overflow: hidden; padding: 8px 0; }
.b-partners.is-moving .b-partners__track { flex-wrap: nowrap; gap: 0; width: max-content; margin: 0; animation: partners-run var(--run, 40s) linear infinite; }
.b-partners.is-moving .b-partners__track li { padding: 0 6px; }
.b-partners.is-moving .b-partners__viewport:hover .b-partners__track, .b-partners.is-moving .b-partners__viewport:focus-within .b-partners__track { animation-play-state: paused; }
@keyframes partners-run { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.b-partners__caption { min-height: 1.5em; color: #555; }
