/* promexpo · тема editorial — светлая, редакционная.
   Заголовки: Noto Serif Display / Noto Serif Armenian. Текст: Manrope / Noto Sans Armenian.
   Без теней: блоки разделены воздухом и тонкими линиями. */
:root {
  --white: #ffffff;
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --ink: #0f1b2d;
  --navy: #041c36;
  --line: #e6e1d8;
  --muted: #6b6f76;
  --live: #1f7a4d;
  --serif: "Noto Serif Display", "Noto Serif Armenian", "Noto Serif", Georgia, serif;
  --sans: "Manrope", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- армянский: только 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; --serif: "Bokonique", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
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(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--navy); color: var(--white); }
.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(--ink); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ph { display: block; width: 100%; height: 100%; min-height: 120px; background: linear-gradient(135deg, var(--paper-2), var(--paper)); }

/* ---------- типографика-помощники ---------- */
.eyebrow {
  display: block; margin: 0 0 14px; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5;
}
.lead { font-size: 19px; line-height: 1.65; color: #2a3444; }
.empty { color: var(--muted); }
.arrow-link {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: 15px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px;
  transition: background-size .35s var(--ease);
}
.arrow-link:hover { background-size: 100% 1px; }
.arrow-link span { transition: transform .35s 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: 15px 26px; background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em; line-height: 1.2;
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--navy); }
.btn--block { display: flex; width: 100%; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header__in { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .3s var(--ease); }
.header.is-compact .header__in { height: 64px; }
.header__logo img { width: 112px; height: auto; transition: width .3s var(--ease); }
.header.is-compact .header__logo img { width: 96px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; }
.nav__link { position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #3b4556; padding: 6px 0; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.langs { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.langs li + li::before { content: "·"; color: var(--line); margin-right: 4px; }
.langs a { color: var(--muted); }
.langs a:hover, .langs .is-current { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; padding: 12px 10px; }
.burger span:not(.sr-only) { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- секции ---------- */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: clamp(24px, 4vw, 48px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #e9ecf1; }
.section--ink .section__title { color: #fff; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__title { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: clamp(28px, 4vw, 48px); }
.section__head .section__title { margin: 0; }
.section__after { margin-top: clamp(40px, 5vw, 64px); }
.grid { display: grid; gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 32px); }
.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, 8vw, 104px); padding-bottom: clamp(24px, 3vw, 40px); }
.phead__title { font-size: clamp(38px, 5.6vw, 76px); max-width: 24ch; }
.lang-hy .phead__title, .lang-hy .hero__title { letter-spacing: 0; }
.phead__lead { max-width: 60ch; margin: 24px 0 0; font-size: clamp(18px, 1.6vw, 21px); color: #2a3444; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(48px, 7vw, 96px); padding-bottom: var(--section); }
.hero__title { font-size: clamp(40px, 5.8vw, 88px); line-height: 1.04; overflow-wrap: break-word; }
.lang-hy .hero__title { font-size: clamp(30px, 3.9vw, 58px); line-height: 1.14; }
.lang-hy .phead__title { font-size: clamp(34px, 5vw, 68px); }
.hero__text { min-width: 0; }
.hero__sub { margin: 28px 0 0; font-size: 19px; color: #2a3444; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 40px 0 0; }
.hero__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.hero__media img, .hero__media .ph { width: 100%; height: 100%; object-fit: cover; }
/* видео-фон всей секции hero; светлая вуаль цвета бумаги держит тёмный текст читаемым, фото в кадре остаётся */
.hero--video { position: relative; isolation: isolate; container-type: inline-size; }
.hero--video::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--paper) 80%, transparent); }
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero__video--embed { overflow: hidden; }
.hero__video--embed iframe { position: absolute; top: 50%; left: 50%; width: 100cqw; height: 56.25cqw; min-height: 100%; border: 0; transform: translate(-50%, -50%); }
@media (max-width: 960px) { .hero__video--embed iframe { width: auto; height: 100%; aspect-ratio: 16 / 9; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } .hero--video::before { background: none; } }
.hero__note { position: absolute; left: 0; bottom: 0; max-width: 88%; padding: 20px 24px; background: var(--white); }
.hero__note .eyebrow { margin-bottom: 6px; }
.hero__note a { font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.hero__note a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- карточка выставки ---------- */
.ecard__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); margin-bottom: 22px; }
.ecard__media img, .ecard__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ecard:hover .ecard__media img { transform: scale(1.035); }
.ecard__title { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 16px; }
.ecard--large { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ecard--large .ecard__media { grid-row: 1 / span 3; aspect-ratio: 16 / 10; margin: 0; }
.ecard--large .ecard__title { font-size: clamp(28px, 3.4vw, 44px); }
.ecard--large .arrow-link { align-self: start; }

/* ---------- редакционный список событий ---------- */
.elist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.erow { border-bottom: 1px solid var(--line); }
.erow__link { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, .7fr) 32px; gap: 24px; align-items: center; padding: 26px 0; transition: padding .35s var(--ease), background .35s; }
.erow__link:hover { background: var(--paper); padding-left: 16px; padding-right: 16px; }
.erow__date { display: flex; flex-direction: column; }
.erow__days { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-variant-numeric: lining-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(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; }
.erow__venue { font-size: 15px; color: var(--muted); }
.erow__arrow { font-size: 22px; justify-self: end; transition: transform .35s var(--ease); }
.erow__link:hover .erow__arrow { transform: translateX(6px); }
.badge-live { display: inline-block; margin-left: 8px; padding: 2px 8px; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--live); border: 1px solid currentColor; vertical-align: middle; }

/* ---------- выставка: баннер, текст, «билет» ---------- */
.expo__banner { margin: 0 auto; }
.expo__banner img { width: 100%; max-height: 640px; object-fit: cover; }
.expo__body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--section); }
.read { max-width: 68ch; }
.read--wide { max-width: 920px; }
.ticket { position: sticky; top: 104px; background: var(--paper); border: 1px solid var(--line); }
.ticket__logo { padding: 24px; display: flex; justify-content: center; border-bottom: 1px dashed var(--line); }
.ticket__logo img { max-height: 96px; width: auto; object-fit: contain; }
.ticket__rows { margin: 0; padding: 8px 24px; }
.ticket__rows > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.ticket__rows > div:last-child { border-bottom: 0; }
.ticket__rows dt { margin-bottom: 6px; }
.ticket__rows dd { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.ticket__rows dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ticket__rows small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
/* перфорация «билета» */
.ticket__stub { position: relative; padding: 24px; border-top: 1px dashed var(--line); }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); }
.ticket__stub::before { left: -12px; clip-path: inset(0 0 0 50%); }
.ticket__stub::after { right: -12px; clip-path: inset(0 50% 0 0); }

/* ---------- текст ---------- */
.prose { font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 23px; margin: 1.4em 0 .5em; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 24px; border-left: 1px solid var(--ink); font-family: var(--serif); font-size: 24px; line-height: 1.4; }
.prose--lead > p:first-of-type { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; display: block; overflow-x: auto; }
.prose thead th { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink); }
.prose td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose td:last-child, .prose th:last-child { text-align: right; white-space: nowrap; padding-right: 0; }
.prose td:last-child { font-family: var(--serif); font-size: 19px; font-variant-numeric: lining-nums tabular-nums; }
.prose td a { color: var(--muted); font-size: 14px; }

/* ---------- мозаика и лайтбокс ---------- */
.mosaic { columns: 3 260px; column-gap: 16px; }
.mosaic__item { display: block; margin: 0 0 16px; overflow: hidden; break-inside: avoid; background: var(--paper); }
.mosaic__item img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.mosaic__item:hover img { transform: scale(1.03); }
.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: 16px; }
.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; }

/* ---------- каталоги ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 18vw, 230px); gap: 24px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > * { scroll-snap-align: start; }
.catalogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 32px 24px; }
.catalog { display: block; }
.catalog .cover { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.catalog .cover img, .catalog .cover .ph { width: 100%; height: 100%; object-fit: cover; }
a.catalog:hover .cover { transform: translateY(-6px) rotate(-.6deg); }
.cover-title { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.45; }

/* ---------- 3D-туры ---------- */
.tours { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; }
.tour { grid-column: span 2; }
.tour { position: relative; display: block; color: #fff; }
.tour--big { grid-column: span 3; }
.tour__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #1c2a3f; }
.tour__media img, .tour__media .ph { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1.1s var(--ease), opacity .4s; }
.tour:hover .tour__media img { transform: scale(1.04); opacity: 1; }
.tour__badge { position: absolute; top: 14px; left: 14px; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; border: 1px solid rgba(255, 255, 255, .7); }
.tour__title { display: block; margin-top: 14px; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.tour--big .tour__title { font-size: 26px; }

/* ---------- партнёры ---------- */
.plogos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.plogo > a, .plogo > span { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; min-height: 220px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.plogo > a:hover { background: var(--paper); }
.plogo__img { flex: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.plogo__img img { max-height: 84px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.plogo > a:hover .plogo__img img { filter: none; opacity: 1; }
.plogo .eyebrow { margin: 0; }
.plogo__name { font-size: 14px; color: var(--muted); line-height: 1.45; }
/* главные роли (перед павильонами): роль сверху, крупный логотип, подпись */
.plogos--featured { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plogos--featured .plogo > a, .plogos--featured .plogo > span { justify-content: flex-start; align-items: center; text-align: center; min-height: 260px; }
.plogos--featured .plogo .eyebrow { margin-bottom: 8px; }
.plogos--featured .plogo__img { width: 100%; min-height: 130px; }
.plogos--featured .plogo__img img { max-height: 110px; filter: none; opacity: 1; }
/* обычные партнёры: только логотипы */
.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 { justify-content: center; min-height: 140px; }
.plogos--plain .plogo__img { margin: 0; }

/* ---------- медиаархив ---------- */
.acard__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); margin-bottom: 18px; }
.acard__media img, .acard__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.acard:hover .acard__media img { transform: scale(1.04); }
.acard .eyebrow { margin-bottom: 8px; }
.acard__title { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.25; }
.back { margin-top: 48px; }

/* ---------- услуги ---------- */
.features { display: grid; gap: clamp(56px, 8vw, 112px); }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.feature__media img, .feature__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__title { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 20px; }
.feature__text p { color: #2a3444; }
.links-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--ink); }
.links-list a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); transition: padding .35s var(--ease); }
.links-list a:hover { padding-left: 12px; }

/* ---------- о нас ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__media { margin: 0; position: sticky; top: 104px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.person { display: flex; flex-direction: column; }
.person__photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); margin-bottom: 18px; }
.person__photo img, .person__photo .ph { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .5s; }
.person:hover .person__photo img { filter: none; }
.person__name { font-family: var(--serif); font-size: 22px; line-height: 1.25; margin-bottom: 6px; }
.person .eyebrow { margin: 0; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contacts__big p { margin: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contacts__big p:first-child { border-top: 1px solid var(--ink); }
.contacts__big .eyebrow { margin-bottom: 8px; }
.contacts__big a, .contacts__big p > span:not(.eyebrow):not(.social) { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; word-break: break-word; }
.contacts__big a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contacts__map { aspect-ratio: 4 / 5; background: var(--paper); filter: grayscale(.6) contrast(1.05); }
.contacts__map iframe { width: 100%; height: 100%; border: 0; }

.social { display: inline-flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: inherit; transition: background .25s, color .25s, border-color .25s; font-size: 0; }
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social .ico { width: 17px; height: 17px; fill: currentColor; }

/* ---------- пагинация ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 56px; }
.pager__item { min-width: 44px; padding: 10px 14px; text-align: center; font-weight: 600; font-size: 14px; border-bottom: 1px solid transparent; }
.pager__item:hover { border-color: var(--ink); }
.pager__item.is-current { border-color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { padding-top: clamp(64px, 10vw, 140px); padding-bottom: var(--section); }
.notfound__code { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(96px, 16vw, 200px); line-height: .9; color: var(--paper-2); -webkit-text-stroke: 1px var(--line); }
.notfound .phead__lead { margin-bottom: 36px; }

/* ---------- подвал ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.footer__lead { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; max-width: 22ch; }
.footer__mail { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px 0; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__links a { color: #2a3444; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- появление при прокрутке (JS добавляет .js на <html>) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .erow__link { grid-template-columns: 170px minmax(0, 1fr) 28px; }
  .erow__venue { display: none; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour, .tour--big { grid-column: span 1; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .langs { margin-left: auto; }
  .nav { position: fixed; inset: 64px 0 0; z-index: 49; background: var(--white); display: block; padding: 32px 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 { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .nav__link::after { display: none; }
  .header__in { height: 64px; gap: 20px; }
  .hero, .pav, .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: 22px; }
  .hero__media { aspect-ratio: 4 / 3; }
  .ticket, .split__media { position: static; }
  .grid--3 { 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; }
  .erow__link { grid-template-columns: 1fr 24px; gap: 8px 16px; padding: 22px 0; }
  .erow__date { flex-direction: row; align-items: baseline; gap: 12px; grid-column: 1 / -1; }
  .erow__days { font-size: 30px; }
  .erow__month { margin: 0; }
  .erow__link:hover { padding-left: 0; padding-right: 0; background: none; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .person__name { font-size: 18px; }
  .tours { grid-template-columns: 1fr; }
  .tour, .tour--big { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .hero__note { position: static; max-width: none; padding: 16px 0 0; }
  .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 { display: table; font-size: 14px; }
  .prose thead th, .prose td { padding-right: 10px; }
  .prose td:last-child { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* баннеры выставок — рекламные макеты с текстом: не кадрируем, естественные пропорции */
.ecard__media, .ecard--large .ecard__media { aspect-ratio: auto; background: none; }
.ecard__media img { height: auto; object-fit: contain; }
.ecard--large { align-items: center; }

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

/* Длинные армянские слова не должны рваться посреди слова на узких экранах */
@media (max-width: 480px) {
  .lang-hy .hero__title { font-size: clamp(20px, 6vw, 28px); }
  .lang-hy .phead__title { font-size: clamp(24px, 6.8vw, 34px); }
}
.hero__title, .phead__title { overflow-wrap: anywhere; }

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

/* меню из админки: выпадающий второй уровень */
.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(--line); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* UX-аудит: области нажатия, переносы заголовка, 404 */
.langs a, .langs .is-current { display: inline-block; padding: 12px 7px; margin: -12px -3px; }
.arrow-link { padding-block: 10px; margin-block: -10px; }
.lang-hy .hero__title { font-size: clamp(28px, 3.3vw, 50px); }
.notfound__code { -webkit-text-stroke: 1.5px var(--muted); }
@media (max-width: 900px) {
  .footer__links a { display: inline-block; padding: 7px 0; }
}
@media (max-width: 640px) {
  .section__head { flex-wrap: wrap; align-items: flex-start; gap: 8px 16px; }
  .section__head .arrow-link { white-space: nowrap; }
}

/* Первый экран с видео: фон на всю ширину окна, а не только контейнера */
.hero--video::before, .hero--video .hero__video { left: 50%; right: auto; width: 100vw; margin-left: -50vw; }
.hero--video .hero__video--embed iframe { width: max(100vw, 177.78vh); height: max(56.25vw, 100vh); min-height: 100%; }
.section--ink .arrow-link { color: #fff; }
body { overflow-x: clip; }

:root { --hd-ink: var(--ink); --hd-line: var(--line); --hd-bg: var(--paper); --hd-hover: var(--paper-2); --hd-cta-bg: var(--ink); --hd-cta-ink: #fff; --hd-radius: 0px; --tg: 24px; }

/* ---- Шапка: переключатель языка (иконка + список), кнопка-призыв (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; }
/* мобильное меню: backdrop-filter у .header делал его контейнером для position: fixed — панель меню схлопывалась до высоты шапки */
@media (max-width: 960px) {
  .header { backdrop-filter: none; background: var(--white); }
}
/* узкий ноутбук/планшет и длинное армянское меню: кнопка-призыв уступает место навигации */
@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); }

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

/* Фильтр архива по мероприятию: плоские вкладки с подчёркиванием, без скруглений; на узких экранах листаются по горизонтали */
.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; border-top: 1px solid var(--ink); }
.eq__row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 8px clamp(16px, 3vw, 32px); padding: 18px 0; border-bottom: 1px solid var(--line); }
.eq__photo { display: block; width: 88px; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.eq__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.eq__photo { cursor: zoom-in; }
a.eq__photo:hover img { transform: scale(1.06); }
.eq__photo--empty { background: repeating-linear-gradient(135deg, var(--paper-2) 0 8px, transparent 8px 16px); border: 1px solid var(--line); }
.eq__name { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.25; }
.eq__size { margin-top: 4px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.eq__note { margin-top: 6px; color: var(--muted); 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(--serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); font-variant-numeric: lining-nums 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); padding: 14px 0; }
  .eq__photo { width: 64px; }
  .eq__price { grid-column: 2; align-items: flex-start; flex-direction: row; align-items: baseline; gap: 8px; }
}
