/* ================= ЛОКАЛЬНЫЕ ШРИФТЫ MONTSERRAT ================= */
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXV0ppC8MLnbtrVK.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXx0ppC8MLnbtrVK.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXd0ppC8MLnbtrVK.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXZ0ppC8MLnbtrVK.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq6R9WXh0ppC8MLnbtg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WRhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459W1hyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WZhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WdhyyTh89ZNpQ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ================= КОНЕЦ ШРИФТОВ ================= */

:root {
  --color-bg: #FFFFFF;
  --color-primary: #222629;
  --color-secondary: #474B4F;
  --color-muted: #868E96;
  --color-border: #E9ECEF;
  --font-base: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1240px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html {
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-primary);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ================= БАЗОВАЯ ДВУХКОЛОНОЧНАЯ СЕТКА =================
   На десктопе: 2 широкие колонки ровно по 50% каждая.
   На мобильном: 1 колонка (друг под другом).
================================================================== */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-6  { grid-column: span 6; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

/* ================= HEADER ================= */
.site-header {
  padding: 30px 0;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  position: relative;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-primary);
  position: relative;
}

.nav-link.active {
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-base);
  cursor: pointer;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ================= ТИПОГРАФИКА ================= */
.section-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.lead-text {
  font-size: 16px;
  color: var(--color-secondary);
  line-height: 1.7;
}

.caption {
  font-size: 14px;
  color: var(--color-secondary);
  margin-top: 10px;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 4px;
  transition: all 0.2s ease;
}

.btn-arrow:hover {
  opacity: 0.7;
  gap: 12px;
}

.btn-telegram {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease;
}

.btn-telegram:hover {
  background-color: #000000;
  opacity: 1;
}

/* ================= ГЛАВНАЯ СТРАНИЦА ================= */
.hero-block {
  margin-top: 30px;
  margin-bottom: 50px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-statement {
  margin-bottom: 80px;
}

.hero-statement h1 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.hero-statement p {
  font-size: 16px;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.home-sections {
  margin-bottom: 80px;
}

.home-curators-box {
  padding: 44px;
  background-color: #E2E6EA;
  border: 1px solid #CED4DA;
  margin-bottom: 80px;
}

.home-curators-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.home-events-preview {
  margin-bottom: 100px;
}

.events-two-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.events-two-photos img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ================= РАБОТЫ ================= */
.works-editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 24px;
  margin-bottom: 40px;
}

.work-card {
  position: relative;
}

.work-img-wrap {
  overflow: hidden;
  background-color: #F4F4F4;
}

.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-img-wrap img {
  transform: scale(1.02);
}

.works-five-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.mosaic-left {
  display: flex;
  flex-direction: column;
}

.mosaic-left .work-img-wrap {
  flex: 1;
  display: flex;
}

.mosaic-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mosaic-right .work-img-wrap {
  aspect-ratio: 4 / 5;
}

.telegram-callout {
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 80px;
  text-align: center;
}

.telegram-callout p {
  font-size: 16px;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.work-exhibit-card {
  grid-column: span 3;
}

.work-exhibit-card .work-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.work-exhibit-card .work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-info {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.work-title {
  font-size: 15px;
  color: var(--color-primary);
  line-height: 1.4;
}

.work-status {
  font-size: 13px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ================= МАСТЕРСКАЯ ================= */
.workshop-split-section {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}

.video-vertical-wrapper {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 420px;
  background-color: #000;
  position: relative;
  overflow: hidden;
  margin-left: auto;
}

.video-vertical-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-bottom-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ================= ДЛЯ КУРАТОРОВ ================= */
.curator-hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  margin-top: 40px;
  margin-bottom: 70px;
  align-items: start;
}

.curator-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.curator-works-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.curator-row-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 70px;
}

.cv-year-block {
  margin-bottom: 24px;
}

.cv-year-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cv-list {
  list-style: none;
  font-size: 15px;
  color: var(--color-secondary);
  line-height: 1.8;
}

/* ================= СОБЫТИЯ ================= */
.events-level {
  margin-bottom: 80px;
}

.events-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flow-card {
  cursor: pointer;
}

.flow-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #F4F4F4;
  margin-bottom: 12px;
}

.flow-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.flow-card:hover .flow-card-img img {
  transform: scale(1.03);
}

.significant-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  margin-bottom: 50px;
}

.sig-event-card {
  cursor: pointer;
}

.sig-event-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #F4F4F4;
  margin-bottom: 16px;
}

.sig-event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-date {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.event-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  max-width: 580px;
  width: 100%;
  padding: 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

/* ================= КОНТАКТЫ (/menu) ================= */
.social-buttons-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 20px 0 60px;
}

.btn-social-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  padding: 16px 24px;
  background-color: #222629;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease;
  text-align: center;
}

.btn-social-full:hover {
  background-color: #000000;
  color: #FFFFFF;
  opacity: 1;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 80px;
}

.contact-row {
  margin-bottom: 28px;
}

.contact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.contact-val {
  font-size: 18px;
  color: var(--color-primary);
}

.editorial-block {
  margin-bottom: 32px;
}

.editorial-block h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-primary);
}

/* ================= ЧЕРНЫЙ ФУТЕР ДЕСКТОП ================= */
.site-footer {
  margin-top: auto;
  padding: 50px 0;
  background-color: #222629;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.7;
}

.footer-inner-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}

.footer-col-1 {
  color: #E9ECEF;
}

.footer-col-2 {
  color: #E9ECEF;
  padding-top: 32px;
}

.footer-col-2 a, .footer-col-1 a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-col-2 a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  background: #FFFFFF;
  color: #222629;
  padding: 20px 36px 20px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid #E9ECEF;
  font-size: 13px;
  line-height: 1.5;
  z-index: 9999;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #474B4F;
  cursor: pointer;
}

/* ==========================================================
   АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ (ЭКРАНЫ МЕНЬШЕ 768px)
   На компьютере (> 768px) — просторные 50% колонки.
   На мобильном (<= 768px) — 100% ширина, всё строго друг под другом.
   ========================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* ВСЕ СЕТКИ ПРЕВРАЩАЮТСЯ В 1 СТОЛБИК НА ТЕЛЕФОНЕ */
  .grid-2-col,
  .home-curators-grid,
  .events-two-photos,
  .contacts-grid,
  .curator-hero-grid,
  .curator-works-grid,
  .curator-row-grid,
  .workshop-split-section,
  .significant-events-grid,
  .footer-inner-grid,
  .works-five-mosaic,
  .events-flow-grid,
  .works-editorial-gallery {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .grid-12 {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  .col-12, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3,
  .work-card.col-7,
  .work-card.col-5,
  .work-card.col-6,
  .work-exhibit-card {
    width: 100% !important;
    grid-column: auto !important;
  }

  .hero-statement h1 {
    font-size: 16px !important;
  }
  .hero-statement p,
  .lead-text {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }
  .home-curators-box {
    padding: 24px 18px !important;
  }

  .hero-block {
    margin-top: 20px !important;
    margin-bottom: 30px !important;
  }
  .hero-statement,
  .home-sections,
  .home-curators-box,
  .home-events-preview,
  .telegram-callout,
  .events-level,
  .contacts-grid {
    margin-bottom: 44px !important;
  }
  .telegram-callout {
    padding: 36px 0 !important;
  }

  .social-buttons-column {
    margin: 15px 0 32px !important;
    width: 100% !important;
  }
  .btn-social-full {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* ФУТЕР В 2 РАЗА МЕНЬШЕ НА ТЕЛЕФОНЕ */
  .site-footer {
    padding: 28px 0 !important;
  }
  .footer-col-1 p,
  .footer-col-2 p,
  .footer-col-2 a {
    font-size: 10.5px !important;
    line-height: 1.5 !important;
  }
  .footer-col-1 p:first-child {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }
  .footer-col-2 {
    padding-top: 0 !important;
  }

  /* Меню */
  .mobile-toggle {
    display: block !important;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav.open {
    display: flex !important;
  }

  .cookie-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: calc(100% - 24px) !important;
    width: auto !important;
    padding: 14px 32px 14px 14px !important;
    font-size: 12px !important;
  }
}

/* Переключатель языков в шапке */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-left: 20px;
}
.lang-switch a {
  opacity: 0.35;
  transition: opacity 0.2s ease;
}
.lang-switch a.active {
  opacity: 1;
  border-bottom: 1.5px solid var(--color-primary);
}
.lang-switch a:hover {
  opacity: 0.8;
}
.lang-sep {
  opacity: 0.3;
}
@media (max-width: 768px) {
  .lang-switch {
    margin-left: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    width: 100%;
  }
}

/* Сетка дипломов у кураторов: 1 и 2 рядом, 3 и 4 друг под другом */
.curator-diplomas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.diplomas-stacked-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.curator-diplomas-layout img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

/* Страница отдельной выставочной работы */
.work-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: start;
}
.work-detail-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.meta-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.meta-label {
  width: 140px;
  color: var(--color-muted);
}
.meta-val {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .curator-diplomas-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .work-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* Лайтбокс: увеличение фото на весь экран при клике */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  cursor: zoom-out;
  padding: 20px;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #FFFFFF;
  font-size: 36px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* Сетка из 2 фото на странице работы */
.work-detail-photos-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 24px;
}
.work-detail-photos-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.work-detail-photos-grid img:hover {
  opacity: 0.95;
  transform: scale(1.01);
}

/* Дипломы: 1, 2, 3 колонки, а Диплом 4 под Дипломом 1 */
.curator-diplomas-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.diplomas-col-1-4 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.curator-diplomas-layout-v2 img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--color-border);
}
@media (max-width: 768px) {
  .curator-diplomas-layout-v2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ================= ПРЕМИУМ КАРТА КОЛЛЕКЦИЙ ================= */
.collections-map-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 48px;
  margin-bottom: 80px;
  position: relative;
}

.map-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.map-badge {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
}

.map-svg-wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.map-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Пульсация точек коллекций */
@keyframes mapPulse {
  0% {
    r: 3.5px;
    opacity: 0.9;
  }
  50% {
    r: 9px;
    opacity: 0;
  }
  100% {
    r: 3.5px;
    opacity: 0;
  }
}

.pulse-ring {
  animation: mapPulse 2.8s infinite ease-out;
  transform-origin: center;
}

.map-continents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}

.continent-group h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.continent-group ul {
  list-style: none;
  font-size: 14px;
  color: var(--color-secondary);
  line-height: 2;
}

@media (max-width: 900px) {
  .collections-map-box {
    padding: 28px 20px !important;
  }
  .map-continents-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 600px) {
  .map-continents-grid {
    grid-template-columns: 1fr !important;
  }
}
.work-detail-video-wrap {
  width: 100%;
  overflow: hidden;
  background-color: transparent;
  border: none;
  outline: none;
}
.work-detail-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  outline: none;
  border: none;
  transform: scale(1.015);
  transform-origin: center;
}

/* Кнопка Контакты в шапке */
.nav-link-btn {
  padding: 8px 18px;
  border: 1px solid var(--color-primary);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  opacity: 1;
}

/* 3 диплома у кураторов */
.curator-diplomas-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.curator-diplomas-three-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

/* Асимметричная сетка 5 выставочных работ */
.exhibits-asym-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 36px 24px;
}

/* Кнопки WhatsApp / Viber для Елены */
.btn-contact-action {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.btn-contact-action:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .curator-diplomas-three-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .exhibits-asym-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }
}

/* Сохранение абзацев и отступов в поп-апах событий */
#modalBody {
  white-space: pre-line;
  line-height: 1.7;
}

/* Кнопки WhatsApp и Viber строго одинаковой ширины */
/* Кнопки WhatsApp и Viber строго по ширине строки с номером (280px) */
/* Кнопки WhatsApp и Viber строго по ширине строки с номером (280px) */
.buttons-equal-row {
  display: flex;
  gap: 12px;
  width: 280px;
  max-width: 100%;
}
.buttons-equal-row .btn-contact-action {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  box-sizing: border-box;
}

#modalBody {
  white-space: pre-line;
  line-height: 1.7;
}

/* 5 работ у кураторов на десктопе */
.curator-works-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.curator-works-5-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
@media (max-width: 900px) {
  .curator-works-5-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .curator-works-5-grid {
    grid-template-columns: 1fr !important;
  }
}





/* Адаптивная строка оплаты: одна строка на десктопе, перенос на смартфонах */
.nowrap-desktop {
  white-space: nowrap;
}

/* Кнопка запроса информации о работе: защита от отрыва стрелки */
.btn-telegram {
  display: inline-block;
  text-align: center;
  line-height: 1.4;
  word-break: normal;
}

@media (max-width: 768px) {
  .nowrap-desktop {
    white-space: normal !important;
    word-break: break-word !important;
  }
  .contacts-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .contacts-info,
  .contacts-editorial {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Аккуратный плавающий cookie-баннер (строго поверх экрана) */
.cookie-banner {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  max-width: 320px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: var(--color-primary) !important;
  padding: 16px 20px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid var(--color-border) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.cookie-btn-accept {
  align-self: flex-start !important;
  padding: 6px 16px !important;
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  letter-spacing: 0.04em !important;
  transition: opacity 0.2s ease !important;
}

.cookie-btn-accept:hover {
  opacity: 0.8 !important;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    max-width: calc(100% - 32px) !important;
  }
}