/* promexpo · тема night — «ночная выставка». Тёмная схема по умолчанию + светлая ([data-scheme="light"]).
   Заголовки: Unbounded (армянский — Noto Sans Armenian 700). Текст: Onest / Noto Sans Armenian. */
:root, [data-scheme="dark"] {
  --bg: #070d18;
  --bg-2: #0b1322;
  --surface: rgba(255, 255, 255, .045);
  --surface-solid: #0e1726;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);
  --text: #e8edf5;
  --text-2: #a7b1c2;
  --muted: #768399;
  --accent: #3d8bff;
  --accent-2: #7cc4ff;
  --glow: 0 0 0 1px rgba(61, 139, 255, .45), 0 10px 40px -8px rgba(61, 139, 255, .55);
  --shadow: none;
  --scrim: linear-gradient(180deg, rgba(7, 13, 24, .55) 0%, rgba(7, 13, 24, .72) 45%, #070d18 100%);
  --header-bg: rgba(7, 13, 24, .72);
  --img-dim: .82;
  --logo-filter: brightness(0) invert(1);
  color-scheme: dark;
}

/* ---------- армянский: только Bokonique (свои файлы темы, без Google Fonts на hy-страницах) ----------
   Regular отвечает за веса 100–500, Bold — за 600–900 (в теме 400–800): у каждого веса — своё начертание, без «ложного жирного». */
@font-face { font-family: "Bokonique"; src: url("../fonts/Bokonique-Regular.woff") format("woff"); font-weight: 100 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Bokonique"; src: url("../fonts/Bokonique-Bold.woff") format("woff"); font-weight: 600 900; font-style: normal; font-display: swap; }
.lang-hy { --sans: "Bokonique", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Bokonique", system-ui, sans-serif; }
[data-scheme="light"] {
  --bg: #f4f6fa;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --border: #e3e8f0;
  --border-strong: #cfd7e3;
  --text: #0b1628;
  --text-2: #3c4a60;
  --muted: #6a778b;
  --accent: #1f6fff;
  --accent-2: #1f6fff;
  --glow: 0 0 0 1px rgba(31, 111, 255, .35), 0 10px 30px -10px rgba(31, 111, 255, .45);
  --shadow: 0 1px 2px rgba(11, 22, 40, .04), 0 12px 32px -12px rgba(11, 22, 40, .14);
  --scrim: linear-gradient(180deg, rgba(244, 246, 250, .35) 0%, rgba(244, 246, 250, .78) 50%, #f4f6fa 100%);
  --header-bg: rgba(255, 255, 255, .8);
  --img-dim: 1;
  --logo-filter: none;
  color-scheme: light;
}
:root {
  --display: "Unbounded", "Noto Sans Armenian", system-ui, sans-serif;
  --sans: "Onest", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 0;
  --radius-sm: 0;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; transition: background .4s, color .4s; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.lang-hy h1, .lang-hy h2, .lang-hy h3 { letter-spacing: 0; font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent-strong, #1f5fd0); color: #fff; padding: 8px 16px; border-radius: 0; }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ph { display: block; width: 100%; height: 100%; min-height: 120px; background: radial-gradient(120% 120% at 20% 0%, rgba(61, 139, 255, .25), transparent 60%), var(--surface-solid); }

/* ---------- мелочи ---------- */
.kicker, .eyebrow { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.kicker--accent { color: var(--accent-2); }
.lead { font-size: 19px; color: var(--text-2); }
.empty { color: var(--muted); }
.glass { background: var(--surface); border: 1px solid var(--border); border-radius: 0; box-shadow: var(--shadow); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.arrow-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: 15px; color: var(--text-2); transition: color .25s; }
.arrow-link:hover { color: var(--text); }
.arrow-link span { transition: transform .3s var(--ease); }
.arrow-link:hover span { transform: translateX(4px); }
.arrow-link--back:hover span { transform: translateX(-4px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 14px 24px; border-radius: 0; background: var(--accent); color: #fff; border: 1px solid var(--accent); font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .3s, background .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.btn--glow { box-shadow: var(--glow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn--block { display: flex; width: 100%; }

/* ---------- шапка ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.header.is-compact, body:not(.is-home) .header { background: var(--header-bg); border-color: var(--border); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; transition: height .3s var(--ease); }
.header.is-compact .header__in { height: 64px; }
.header__logo img { width: 108px; height: auto; }
.logo--light { display: none; }
[data-scheme="light"] body:not(.is-home) .logo--dark, [data-scheme="light"] .header.is-compact .logo--dark { display: none; }
[data-scheme="light"] body:not(.is-home) .logo--light, [data-scheme="light"] .header.is-compact .logo--light { display: block; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { list-style: none; display: flex; gap: clamp(16px, 2.2vw, 32px); margin: 0; padding: 0; }
.nav__link { position: relative; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 6px 0; transition: color .2s; }
.is-home .header:not(.is-compact) .nav__link, .is-home .header:not(.is-compact) .langs a { color: rgba(255, 255, 255, .78); }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 0; background: var(--accent); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.is-home .header:not(.is-compact) .nav__link:hover, .is-home .header:not(.is-compact) .nav__link.is-active { color: #fff; }
.nav__link.is-active::after, .nav__link:hover::after { opacity: 1; transform: none; box-shadow: 0 0 10px var(--accent); }
.langs { list-style: none; display: flex; gap: 2px; margin: 0; padding: 3px; font-size: 12px; font-weight: 600; letter-spacing: .06em; border: 1px solid var(--border); border-radius: 0; }
.langs a, .langs .is-current { display: block; padding: 5px 10px; border-radius: 0; color: var(--muted); }
.langs .is-current { background: var(--accent); color: #fff; }
.langs a:hover { color: var(--text); }
.scheme-toggle { position: relative; width: 40px; height: 40px; border-radius: 0; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: border-color .25s, transform .4s var(--ease); }
.is-home .header:not(.is-compact) .scheme-toggle { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }
.scheme-toggle:hover { border-color: var(--accent); transform: rotate(-20deg); }
.scheme-toggle__sun { display: none; }
[data-scheme="light"] .scheme-toggle__sun { display: inline; }
[data-scheme="light"] .scheme-toggle__moon { display: none; }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; padding: 12px 10px; color: var(--text); }
.is-home .header:not(.is-compact) .burger { color: #fff; }
.burger span:not(.sr-only) { display: block; height: 2px; border-radius: 0; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.main { min-height: 60vh; }
body:not(.is-home) .main { padding-top: 76px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #070d18; }
.hero__bg { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(1.1); }
/* видео-фон hero (когда оно задано, фото не выводится; при «меньше движения» — только тёмный фон) */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(1.1); pointer-events: none; }
.hero__video--embed { overflow: hidden; }
.hero__video--embed iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); border: 0; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__sub { max-width: 46ch; margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .8); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 60% at 80% 30%, rgba(61, 139, 255, .28), transparent 60%), linear-gradient(180deg, rgba(7, 13, 24, .35) 0%, rgba(7, 13, 24, .55) 45%, #070d18 100%); }
[data-scheme="light"] .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; background: linear-gradient(180deg, transparent, var(--bg)); }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: end; padding-top: 140px; padding-bottom: clamp(56px, 8vw, 104px); }
.hero .kicker { color: rgba(255, 255, 255, .7); grid-column: 1 / -1; margin: 0; }
.hero .kicker--accent { color: var(--accent-2); }
.hero__title { font-size: clamp(38px, 6vw, 88px); line-height: 1.02; color: #fff; }
.lang-hy .hero__title { font-size: clamp(28px, 3.7vw, 54px); line-height: 1.15; }
.hero__in > * { min-width: 0; }
.hero__title { overflow-wrap: break-word; }
.hero__next { padding: 28px; color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.hero__event { display: block; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; font-weight: 600; margin-bottom: 8px; }
.hero__event:hover { color: var(--accent-2); }
.hero__meta { margin: 0 0 20px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- обратный отсчёт ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown__cell { display: flex; flex-direction: column; align-items: center; padding: 12px 4px 10px; border-radius: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.countdown__cell b { font-family: var(--display); font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 22px rgba(124, 196, 255, .55); }
.countdown__cell small { margin-top: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.countdown--sm .countdown__cell { background: var(--bg-2); border-color: var(--border); }
.countdown--sm .countdown__cell b { color: var(--text); font-size: 26px; text-shadow: none; }
.countdown--sm .countdown__cell small { color: var(--muted); }
[data-scheme="dark"] .countdown--sm .countdown__cell b { text-shadow: 0 0 18px rgba(124, 196, 255, .45); }

/* ---------- секции ---------- */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: clamp(24px, 3vw, 40px); }
.section--raised, .section--paper { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__title { font-size: clamp(28px, 3.6vw, 48px); margin-bottom: clamp(24px, 3.5vw, 44px); }
.section__after { margin-top: clamp(40px, 5vw, 64px); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- заголовки страниц ---------- */
.phead { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-title { font-size: clamp(34px, 5.2vw, 72px); max-width: 22ch; }
.lang-hy .page-title { font-size: clamp(30px, 4.4vw, 60px); }
.phead__lead { max-width: 62ch; margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); }

/* ---------- лента и карточки событий ---------- */
.ecard { display: flex; flex-direction: column; padding: 14px 14px 22px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.ecard:hover { transform: translateY(-4px); border-color: rgba(61, 139, 255, .5); box-shadow: var(--glow); }
.ecard__media { display: block; border-radius: 0; overflow: hidden; background: var(--bg-2); margin-bottom: 18px; }
.ecard__media img { width: 100%; height: auto; }
.ecard .eyebrow { padding: 0 6px; margin-bottom: 8px; color: var(--accent-2); }
.ecard__title { padding: 0 6px; font-size: clamp(18px, 1.5vw, 21px); margin-bottom: 16px; line-height: 1.25; }
.ecard .arrow-link { padding: 0 6px; margin-top: auto; }
/* главная: «Скоро» (карточки в колонку) + компактный календарь */
.soon { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.soon__list { display: grid; gap: 20px; }
.soon__side { position: sticky; top: 96px; }
.ncal { padding: clamp(20px, 2.4vw, 30px); }
.ncal__title { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 18px; }
.ncal__list { list-style: none; margin: 0 0 20px; padding: 0; }
.ncal__list li + li { border-top: 1px solid var(--border); }
.ncal__item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; transition: color .25s; }
.ncal__item:hover { color: var(--accent-2); }
.ncal__date { display: flex; flex-direction: column; }
.ncal__date b { width: max-content; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.ncal__date small { margin-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ncal__name { font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.ecard--large { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 32px; align-items: center; padding: 16px; margin-bottom: 32px; }
.ecard--large .ecard__media { grid-row: 1 / span 3; margin: 0; }
.ecard--large .ecard__title { font-size: clamp(24px, 2.6vw, 36px); }

.elist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.erow__link { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, .7fr) 44px; gap: 20px; align-items: center; padding: 20px 24px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: border-color .3s, box-shadow .35s, transform .35s var(--ease); }
.erow__link:hover { border-color: rgba(61, 139, 255, .5); box-shadow: var(--glow); transform: translateX(4px); }
.erow__date { display: flex; flex-direction: column; }
.erow__days { font-family: var(--display); font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; line-height: 1; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.erow__month { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.erow__title { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; }
.erow__venue { font-size: 14px; color: var(--muted); }
.erow__arrow { width: 44px; height: 44px; border-radius: 0; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s, color .25s; }
.erow__link:hover .erow__arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px; border-radius: 0; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3ee089; background: rgba(62, 224, 137, .12); vertical-align: middle; }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 0; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse 1.6s infinite; }
[data-scheme="light"] .badge-live { color: #0d8a4a; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- цифры ---------- */
.stats { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 28px 28px 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; }
.stat__num { font-family: var(--display); font-size: clamp(44px, 5.4vw, 76px); font-weight: 600; line-height: 1; background: linear-gradient(120deg, var(--text), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__plus { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); color: var(--accent); }
.stat__label { flex-basis: 100%; margin-top: 10px; color: var(--text-2); font-size: 15px; }

/* ---------- выставка ---------- */
.stage { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 4vw, 56px); }
.stage__glow { position: absolute; inset: -20% -10% auto; height: 120%; z-index: 0; opacity: .5; filter: blur(80px) saturate(1.4); pointer-events: none; }
.stage__glow img { width: 100%; height: 100%; object-fit: cover; }
[data-scheme="light"] .stage__glow { opacity: .28; }
.stage__in { position: relative; z-index: 1; }
.stage__banner { margin: clamp(28px, 4vw, 48px) 0 0; border-radius: 0; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.stage__banner img { width: 100%; height: auto; }
.expo__banner { margin: 0 auto 0; }
.expo__banner img { width: 100%; border-radius: 0; max-height: 640px; object-fit: cover; }
.expo__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(24px, 3vw, 40px); padding-bottom: var(--section); }
.read { max-width: 70ch; }
.read--wide { max-width: 960px; }
.panel { position: sticky; top: 96px; padding: 24px; display: grid; gap: 18px; }
.panel__logo { display: flex; justify-content: center; padding: 16px; border-radius: 0; background: #fff; }
.panel__logo img { max-height: 90px; width: auto; object-fit: contain; }
.panel__rows { margin: 0; }
.panel__rows > div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.panel__rows > div:first-child { padding-top: 0; }
.panel__rows dt { margin-bottom: 4px; }
.panel__rows dd { margin: 0; font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.35; }
.panel__rows dd a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.panel__rows small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); }

/* ---------- текст ---------- */
.prose { font-size: 17px; color: var(--text-2); }
.prose strong, .prose b { color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--text); font-size: clamp(22px, 2.2vw, 30px); margin: 1.6em 0 .6em; }
.prose h3 { color: var(--text); font-size: 20px; margin: 1.4em 0 .5em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote { margin: 1.8em 0; padding: 18px 22px; border-radius: 0; background: var(--surface); border-left: 3px solid var(--accent); color: var(--text); }
.prose--lead > p:first-of-type { font-size: clamp(19px, 1.8vw, 23px); color: var(--text); line-height: 1.5; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5em 0; font-size: 15px; border: 1px solid var(--border); border-radius: 0; overflow: hidden; }
.prose thead th { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 14px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.prose td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: var(--surface); }
.prose td:last-child, .prose th:last-child { text-align: right; white-space: nowrap; }
.prose td:last-child { font-family: var(--display); font-weight: 500; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.prose td a { color: var(--muted); font-size: 13px; }

/* ---------- мозаика, лайтбокс ---------- */
.mosaic { columns: 3 260px; column-gap: 14px; }
.mosaic__item { display: block; margin: 0 0 14px; border-radius: 0; overflow: hidden; break-inside: avoid; background: var(--bg-2); }
.mosaic__item img { width: 100%; opacity: var(--img-dim); transition: transform .9s var(--ease), opacity .4s; }
.mosaic__item:hover img { transform: scale(1.04); opacity: 1; }
/* павильоны: ровная мозаика — 4 колонки, в каждой высокое + низкое фото (чередуются), низ колонок на одной линии */
.mosaic--pav { columns: auto; display: grid; grid-template-rows: repeat(3, clamp(110px, 12vw, 170px)); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.mosaic--pav .mosaic__item { margin: 0; }
.mosaic--pav .mosaic__item:nth-child(4n+1), .mosaic--pav .mosaic__item:nth-child(4n) { grid-row: span 2; }
.mosaic--pav .mosaic__item img { height: 100%; object-fit: cover; }

/* ---------- павильоны ---------- */
.pav { display: grid; gap: clamp(28px, 4vw, 48px); }
.pav__text { max-width: 760px; }
.pav .btn { margin-top: 8px; }

/* ---------- партнёры ---------- */
.plogos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.plogo > a, .plogo > span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; }
.plogo:hover { border-color: rgba(61, 139, 255, .45); }
.plogo__img { display: flex; align-items: center; justify-content: center; height: 96px; margin-bottom: 14px; padding: 14px; border-radius: 0; background: #fff; }
.plogo__img img { max-height: 68px; width: auto; object-fit: contain; }
.plogo .kicker { margin: 0; color: var(--accent-2); }
.plogo__name { font-size: 14px; color: var(--text-2); line-height: 1.45; }
/* главные роли (перед павильонами): роль сверху, крупный логотип, подпись */
.plogos--featured { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plogos--featured .plogo > a, .plogos--featured .plogo > span { align-items: center; text-align: center; padding: 26px 24px 28px; }
.plogos--featured .plogo .kicker { margin-bottom: 12px; }
.plogos--featured .plogo__img { width: 100%; height: 140px; margin-bottom: 16px; }
.plogos--featured .plogo__img img { max-height: 108px; }
/* обычные партнёры: только логотипы */
.plogos--plain { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .plogos--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plogos--plain .plogo > a, .plogos--plain .plogo > span { padding: 12px; }
.plogos--plain .plogo__img { margin: 0; }

/* ---------- медиаархив ---------- */
.acard { display: flex; flex-direction: column; padding: 12px 12px 20px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.acard:hover { transform: translateY(-4px); border-color: rgba(61, 139, 255, .5); box-shadow: var(--glow); }
.acard__media { display: block; aspect-ratio: 3 / 2; border-radius: 0; overflow: hidden; background: var(--bg-2); margin-bottom: 16px; }
.acard__media img, .acard__media .ph { width: 100%; height: 100%; object-fit: cover; opacity: var(--img-dim); transition: transform .9s var(--ease), opacity .4s; }
.acard:hover .acard__media img { transform: scale(1.05); opacity: 1; }
.acard .eyebrow { padding: 0 6px; margin-bottom: 6px; color: var(--accent-2); }
.acard__title { padding: 0 6px; font-size: 18px; line-height: 1.3; }
.back { margin-top: 44px; }

/* ---------- услуги ---------- */
.features { display: grid; gap: clamp(24px, 3vw, 36px); }
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 16px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.feature--flip .feature__media { order: 2; }
.feature__media { display: block; aspect-ratio: 4 / 3; border-radius: 0; overflow: hidden; background: var(--bg-2); }
.feature__media img, .feature__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__text { padding: 12px; }
.feature__text .eyebrow { color: var(--accent-2); font-family: var(--display); font-size: 14px; letter-spacing: .1em; }
.feature__title { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 16px; }
.feature__text p { color: var(--text-2); }
.links-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.links-list a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); transition: border-color .3s, box-shadow .35s; }
.links-list a:hover { border-color: rgba(61, 139, 255, .5); box-shadow: var(--glow); }

/* ---------- о нас ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split__media { margin: 0; position: sticky; top: 96px; border-radius: 0; overflow: hidden; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; padding: 12px 12px 18px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.person__photo { display: block; aspect-ratio: 4 / 5; border-radius: 0; overflow: hidden; background: var(--bg-2); margin-bottom: 14px; }
.person__photo img, .person__photo .ph { width: 100%; height: 100%; object-fit: cover; }
.person__name { padding: 0 4px; font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.25; margin-bottom: 4px; }
.person .eyebrow { padding: 0 4px; margin: 0; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.contacts__big { display: grid; gap: 12px; }
.contacts__big p { margin: 0; padding: 20px 22px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contacts__big .eyebrow { margin-bottom: 6px; }
.contacts__big a, .contacts__big p > span:not(.eyebrow):not(.social) { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 26px); line-height: 1.3; word-break: break-word; }
.contacts__big a:hover { color: var(--accent-2); }
.contacts__map { aspect-ratio: 4 / 5; border-radius: 0; overflow: hidden; border: 1px solid var(--border); }
[data-scheme="dark"] .contacts__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
.contacts__map iframe { width: 100%; height: 100%; border: 0; }
.social { display: inline-flex; gap: 8px; }
.social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 0; border: 1px solid var(--border); font-size: 0; transition: background .25s, border-color .25s, box-shadow .3s; }
.social a:hover { background: var(--accent); border-color: var(--accent); box-shadow: var(--glow); color: #fff; }
.social .ico { width: 17px; height: 17px; fill: currentColor; }

/* ---------- пагинация ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 48px; }
.pager__item { min-width: 44px; padding: 10px 14px; text-align: center; font-weight: 600; font-size: 14px; border-radius: 0; border: 1px solid var(--border); }
.pager__item:hover { border-color: var(--accent); }
.pager__item.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 404 ---------- */
.notfound { padding-top: clamp(64px, 10vw, 140px); padding-bottom: var(--section); }
.notfound__code { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: clamp(96px, 18vw, 220px); line-height: .9; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(61, 139, 255, .35)); }
.notfound .phead__lead { margin-bottom: 32px; }

/* ---------- подвал ---------- */
.footer { position: relative; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--border); padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer::before { content: ""; position: absolute; left: 50%; top: -240px; width: 900px; height: 480px; margin-left: -450px; background: radial-gradient(closest-side, rgba(61, 139, 255, .22), transparent); pointer-events: none; }
[data-scheme="light"] .footer::before { opacity: .5; }
.footer .wrap { position: relative; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: end; padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--border); }
.footer__lead { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; max-width: 26ch; }
.footer__mail { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.6vw, 22px); color: var(--accent-2); }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 44px 0; }
.footer__grid .eyebrow { color: var(--text); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__links a { color: var(--text-2); }
.footer__links a:hover { color: var(--accent-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ---------- появление ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .erow__link { grid-template-columns: 160px minmax(0, 1fr) 44px; }
  .erow__venue { display: none; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .langs { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 0; z-index: 49; background: var(--bg); display: block; padding: 28px var(--gutter); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link, .is-home .header:not(.is-compact) .nav__link { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--text); }
  .nav__link::after { display: none; }
  .header__in { height: 64px; gap: 14px; }
  body:not(.is-home) .main { padding-top: 64px; }
  .hero__in, .pav, .soon, .expo__body, .split, .contacts, .feature, .ecard--large { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .ecard--large .ecard__media { grid-row: auto; margin-bottom: 18px; }
  .panel, .split__media, .soon__side { position: static; }
  .grid--3, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .langs { display: none; }
  .nav.is-open ~ .langs { display: flex; }
  .erow__link { grid-template-columns: 1fr 40px; gap: 8px 14px; padding: 18px; }
  .erow__date { flex-direction: row; align-items: baseline; gap: 10px; grid-column: 1 / -1; }
  .erow__month { margin: 0; }
  .erow__arrow { width: 40px; height: 40px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .person__name { font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; padding: 34px 0; }
  .countdown__cell { padding: 10px 2px 8px; }
  .countdown__cell small { font-size: 9px; letter-spacing: .06em; }
  .mosaic { columns: 2 140px; column-gap: 10px; }
  .mosaic__item { margin-bottom: 10px; }
  .mosaic--pav { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mosaic--pav .mosaic__item { margin: 0; aspect-ratio: 4 / 3; }
  .mosaic--pav .mosaic__item:nth-child(4n+1), .mosaic--pav .mosaic__item:nth-child(4n) { grid-row: auto; }
  .prose table { font-size: 13px; }
  .prose thead th, .prose td { padding: 10px 8px; }
  .hero__next { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none !important; }
}

/* ---------- карусель каталогов и 3D-туров (единый UI) + архивы /catalogs, /tours ---------- */
.carousel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 40px); }
.carousel__head .section__title { margin: 0; }
.carousel__nav { display: flex; align-items: center; gap: 10px; }
.carousel__btn { width: 46px; height: 46px; border-radius: 0; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 18px; cursor: pointer; transition: background .25s, border-color .25s, box-shadow .3s, opacity .25s; }
.carousel__btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--glow); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 3.5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.mcard { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 18px; border-radius: 0; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
a.mcard:hover { transform: translateY(-6px); border-color: rgba(61, 139, 255, .5); box-shadow: var(--glow); }
.mcard__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 0; overflow: hidden; background: var(--bg-2); margin-bottom: 14px; }
.mcard__media img, .mcard__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.mcard:hover .mcard__media img { transform: scale(1.05); }
.mcard__badge { position: absolute; top: 10px; left: 10px; padding: 5px 11px; border-radius: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(61, 139, 255, .88); box-shadow: 0 0 16px rgba(61, 139, 255, .6); }
.mcard__title { padding: 0 4px; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.mcard__action { margin-top: auto; padding: 10px 4px 0; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.mgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mgrid [hidden] { display: none; }
/* архивы каталогов и туров: фильтр по годам слева */
.archive { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.archive__side { position: sticky; top: 96px; }
.yfilter { padding: 18px 14px; }
.yfilter .kicker { padding: 0 10px; margin-bottom: 10px; }
.yfilter__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.yfilter__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 9px 10px; border: 0; border-radius: 0; background: none; color: var(--text-2); font: inherit; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.yfilter__btn small { font-size: 12px; font-weight: 500; color: var(--muted); }
.yfilter__btn:hover { background: var(--bg-2); color: var(--text); }
.yfilter__btn[aria-pressed="true"] { background: var(--accent); color: #fff; }
.yfilter__btn[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
@media (max-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 2.5); } }
@media (max-width: 960px) {
  .archive { grid-template-columns: minmax(0, 1fr); }
  .archive__side { position: static; min-width: 0; }
  .yfilter { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .yfilter .kicker { display: none; }
  .yfilter__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .yfilter__btn { width: auto; gap: 8px; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--border); border-radius: 0; }
  .mgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .carousel__track { grid-auto-columns: 68%; gap: 14px; }
  .carousel__btn { display: none; }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* просмотр фото галерей (PhotoSwipe, core/assets/front/gallery.*) */
html .pswp { --pswp-bg: #050a14; --pswp-accent: #3d8bff; --pswp-icon-color: #fff; }

/* без скруглений — и в просмотре фото (миниатюры, подпись) */
html .pswp__thumb, html .pswp__caption { border-radius: 0; }

/* Длинные армянские слова («համագործակցության») не должны рваться посреди слова на узких экранах */
@media (max-width: 480px) {
  .lang-hy .hero__title { font-size: clamp(20px, 6vw, 28px); }
  .lang-hy .page-title { font-size: clamp(22px, 6.4vw, 30px); }
}
.hero__title, .page-title { overflow-wrap: anywhere; }

/* Списки выставок: «Предстоящие» / «Прошедшие» */
.elist__group { margin: 36px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.elist__group:first-child { margin-top: 0; }
.elist + .elist__group { margin-top: 44px; }

@media (max-width: 480px) {
  .hero__title { font-size: clamp(28px, 8vw, 38px); }
}

/* меню из админки: выпадающий второй уровень */
.nav__list .has-sub { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 200px; display: none; z-index: 30; background: var(--bg, #fff); border: 1px solid rgba(128, 128, 128, .25); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.nav__sub a { display: block; padding: 8px 12px; border-radius: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: rgba(128, 128, 128, .15); }
.has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { display: block; }
@media (max-width: 900px) { .nav__sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; } }

/* фильтр медиаархива по мероприятию */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.chip { padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-2); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* UX-аудит: контраст белого текста на акценте (WCAG AA), мелкий текст, области нажатия */
:root { --accent-strong: #1f5fd0; }
.btn:not(.btn--ghost), .chip.is-active, .yfilter__btn[aria-pressed="true"], .yfilter__btn.is-active, .langs .is-current { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.btn:not(.btn--ghost):hover { background: var(--accent); border-color: var(--accent); }
.countdown__cell small { font-size: 11px; color: var(--text-2); }
.arrow-link { padding-block: 10px; margin-block: -10px; }
.header__logo { padding-block: 6px; }
.footer__mail { display: inline-block; padding-block: 8px; }
@media (max-width: 900px) {
  .footer__links a { display: inline-block; padding: 7px 0; }
}

:root { --hd-ink: var(--text); --hd-line: var(--border-strong); --hd-bg: var(--surface-solid); --hd-hover: var(--surface); --hd-cta-bg: var(--accent-strong, #1f5fd0); --hd-cta-ink: #fff; --hd-radius: 0px; --tg: 20px; }

/* ---- Шапка: переключатель языка (иконка + список), кнопка-призыв (CTA) ---- */
.header__tools { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch { position: relative; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); background: transparent; color: var(--hd-ink); font: 700 12px/1 inherit; letter-spacing: .06em; cursor: pointer; }
.lang-switch__btn:hover, .lang-switch.is-open .lang-switch__btn { background: var(--hd-hover); }
.lang-switch__btn .ico { width: 18px; height: 18px; }
.lang-switch__btn .lang-switch__chev { width: 16px; height: 16px; transition: transform .2s; }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__menu { list-style: none; margin: 0; padding: 6px; position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; z-index: 70; background: var(--hd-bg); border: 1px solid var(--hd-line); border-radius: var(--hd-radius); box-shadow: 0 16px 36px rgba(0, 0, 0, .2); }
.lang-switch__menu[hidden] { display: none; }
.lang-switch__item { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; color: var(--hd-ink); font-size: 14px; text-decoration: none; }
.lang-switch__item b { min-width: 28px; font-size: 12px; letter-spacing: .06em; }
a.lang-switch__item:hover { background: var(--hd-hover); text-decoration: none; color: var(--hd-ink); }
.lang-switch__item.is-current { background: var(--hd-hover); font-weight: 700; }
.header__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--hd-cta-bg); border-radius: var(--hd-radius); background: var(--hd-cta-bg); color: var(--hd-cta-ink); font: 700 13px/1 inherit; letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: filter .2s; }
.header__cta:hover { filter: brightness(1.14); color: var(--hd-cta-ink); text-decoration: none; }
.header__cta--nav { display: none; }
@media (max-width: 640px) {
  .header__tools { gap: 6px; }
  .header__tools > .header__cta { display: none; }
  .header__cta--nav { display: flex; margin-top: 18px; width: 100%; min-height: 48px; }
  .lang-switch__menu { position: fixed; left: 12px; right: 12px; top: auto; min-width: 0; }
}

/* ---- Команда: сетка или карусель (вид выбирается на странице «О нас») ---- */
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.team-head .section__title { margin: 0; }
.team-nav { display: flex; gap: 8px; flex: none; }
.team-nav__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--hd-line); border-radius: var(--hd-radius); background: transparent; color: var(--hd-ink); cursor: pointer; }
.team-nav__btn:hover:not(:disabled) { background: var(--hd-hover); }
.team-nav__btn:disabled { opacity: .35; cursor: default; }
.team-nav__btn .ico { width: 22px; height: 22px; }
.team--carousel { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--tg)) / 4); gap: var(--tg) !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; outline-offset: 4px; }
.team--carousel::-webkit-scrollbar { display: none; }
.team--carousel > * { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1024px) { .team--carousel { grid-auto-columns: calc((100% - 2 * var(--tg)) / 3); } }
@media (max-width: 640px) { .team--carousel { grid-auto-columns: calc((100% - var(--tg)) / 2); } }

/* шапка: правая группа прижата вправо, иконки наследуют цвет текста */
.header__tools { margin-left: auto; }
.header__tools svg.ico, .team-nav svg.ico { fill: currentColor; flex: none; }
/* узкий ноутбук/планшет и длинное армянское меню: кнопка-призыв уступает место навигации */
@media (min-width: 961px) and (max-width: 1100px) {
  .lang-hy .header__tools > .header__cta { display: none; }
  .lang-hy .nav__list { gap: 18px; }
}

/* Единый размер контентного текста (не заголовков) по всему сайту: абзацы, списки, таблицы, цитаты.
   Свои размеры оставлены у подписей-меток (eyebrow, kicker), крупной фразы в подвале и цифры 404 */
:root { --fs-p: 14px; }
body p:not(.eyebrow):not(.kicker):not(.footer__lead):not(.notfound__code), body .intro,
body .prose, body .prose li, body .prose td, body .prose th, body .prose blockquote, body .prose dd, body .prose figcaption { font-size: var(--fs-p); }

/* мобильное меню: backdrop-filter у .header делал его контейнером для position: fixed - панель меню схлопывалась до высоты шапки
   (меню открывалось только на главной до прокрутки, когда фильтра ещё нет) */
@media (max-width: 960px) {
  .header.is-compact, body:not(.is-home) .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}

:root { --ft-line: var(--border); --ft-muted: var(--text-2); --ft-ink: var(--text); --ft-accent: var(--accent); }

/* Фильтр архива по мероприятию: плоские вкладки с подчёркиванием, без скруглений; на узких экранах листаются по горизонтали */
.ftabs { display: flex; gap: clamp(18px, 3vw, 36px); margin: 0 0 clamp(24px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ft-line); }
.ftabs::-webkit-scrollbar { display: none; }
.ftabs__item { position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 14px 0; color: var(--ft-muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ftabs__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ft-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.ftabs__item:hover { color: var(--ft-ink); text-decoration: none; }
.ftabs__item:hover::after { transform: scaleX(.4); }
.ftabs__item.is-active { color: var(--ft-ink); }
.ftabs__item.is-active::after { transform: scaleX(1); }
.ftabs__n { font-size: 12px; font-weight: 500; color: var(--ft-muted); font-variant-numeric: tabular-nums; }
.ftabs__item.is-active .ftabs__n { color: var(--ft-accent); }

/* ---------- Прайс «Дополнительное оборудование»: строки с фото, названием, размером и ценой ---------- */
.eq { list-style: none; margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; display: grid; gap: 10px; }
.eq__row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 8px clamp(16px, 3vw, 28px); padding: 12px clamp(12px, 2vw, 20px) 12px 12px; background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, background .25s; }
.eq__row:hover { border-color: var(--border-strong); background: var(--surface-solid); }
.eq__photo { display: block; width: 88px; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.eq__photo img { width: 100%; height: 100%; object-fit: cover; opacity: var(--img-dim, 1); transition: transform .5s var(--ease), opacity .3s; }
a.eq__photo { cursor: zoom-in; }
a.eq__photo:hover img { transform: scale(1.06); opacity: 1; }
.eq__photo--empty { border: 1px dashed var(--border-strong); background: transparent; }
.eq__name { margin: 0; font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.3; color: var(--text); letter-spacing: 0; }
.eq__size { margin-top: 4px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.eq__note { margin-top: 6px; color: var(--text-2); font-size: 14px; max-width: 60ch; }
.eq__price { display: flex; flex-direction: column; align-items: flex-end; margin: 0; white-space: nowrap; }
.eq__price b { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.8vw, 22px); color: var(--accent-2); font-variant-numeric: tabular-nums; }
.eq__price small { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px) {
  .eq__row { grid-template-columns: 64px minmax(0, 1fr); }
  .eq__photo { width: 64px; }
  .eq__price { grid-column: 2; flex-direction: row; align-items: baseline; gap: 8px; }
}
