/* =========================================================
   «Диалог Культур» — главная страница
   ========================================================= */

/* ---------- Шрифты (локально) ---------- */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400-normal.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;}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-cyrillic-500-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/inter-latin-500-normal.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;}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-latin-600-normal.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;}
@font-face{font-family:"Noto Serif";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/noto-serif-cyrillic-400-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Noto Serif";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/noto-serif-latin-400-normal.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;}
@font-face{font-family:"Noto Serif";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/noto-serif-cyrillic-500-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Noto Serif";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/noto-serif-latin-500-normal.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;}
@font-face{font-family:"Noto Serif";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/noto-serif-cyrillic-400-italic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Noto Serif";font-style:italic;font-weight:400;font-display:swap;src:url("../fonts/noto-serif-latin-400-italic.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 {
  --navy: #00376f;
  --navy-hover: #0b4a8c;
  --blue: #3e7fc1;
  --accent: #a67a56;         /* бронзовый: линии, подзаголовки, рамки */
  --accent-soft: #c9ab92;
  --beige: #f8f5f0;
  --icon-bg: #ece2da;
  --gold-1: #f3e9da;
  --gold-2: #e3d1b8;
  --text: #2b2b2b;
  --muted: #877970;
  --white: #fff;

  --serif: "Noto Serif", "PT Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1216px;
  --gutter: 24px;
  --radius: 14px;
  --section-y: 110px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { flex-shrink: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Типографика ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.15;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}
.h2--center { text-align: center; }

.line {
  display: block;
  width: 85px;
  height: 3px;
  background: var(--accent);
  margin: 30px 0 18px;
}
.line--center { margin-left: auto; margin-right: auto; }
.line--light { background: rgba(255,255,255,.85); margin: 0 auto 18px; }

.kicker {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker--center { text-align: center; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  padding: 0 32px;
  border-radius: 6px;
  font-family: var(--serif);
  font-size: 19px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn svg { width: 22px; height: 22px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-hover); }

.btn--outline { border: 1px solid var(--accent); color: var(--accent); background: transparent; padding: 0 28px 0 40px; }
.btn--outline:hover { background: var(--accent); color: var(--white); }

.btn--gold {
  background: linear-gradient(100deg, var(--gold-1) 0%, var(--white) 45%, var(--gold-2) 100%);
  color: var(--navy);
  padding: 0 46px;
  box-shadow: 0 6px 20px rgba(0, 30, 70, .15);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 30, 70, .22); }

/* ---------- Секции ---------- */
.section { padding: var(--section-y) 0; }
.section--beige { background: var(--beige); }

/* =========================================================
   ШАПКА + ГЕРОЙ
   ========================================================= */
.hero {
  position: relative;
  min-height: 893px;
  background: #f4f1ec;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62.5%;
  background: url("../images/hero.jpg") right bottom / cover no-repeat;
  z-index: -1;
}
.hero__bg::after {          /* растушёвка фото влево */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f4f1ec 0%, rgba(244,241,236,.9) 22%, rgba(244,241,236,.35) 45%, rgba(244,241,236,0) 65%),
    linear-gradient(0deg, rgba(244,241,236,.0) 70%, rgba(244,241,236,.35) 100%);
}

.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-top: 30px;
}
.header__logo img { width: 190px; }

.nav { margin-left: auto; padding-top: 6px; }
.nav__list { display: flex; align-items: center; gap: 42px; }
.nav__list > li > a,
.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 19px;
  color: #6b6560;
  transition: color .2s;
}
.nav__list > li > a:hover,
.nav__drop-btn:hover,
.nav__drop.is-open .nav__drop-btn { color: var(--navy); }
.nav__drop-btn svg { width: 16px; height: 16px; transition: transform .2s; }

.nav__drop { position: relative; }
.nav__sub {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 280px;
  padding: 10px 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 30, 70, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub a { display: block; padding: 9px 20px; font-size: 16px; color: var(--text); }
.nav__sub a:hover { background: var(--beige); color: var(--navy); }
@media (hover: hover) and (min-width: 1101px) {
  .nav__drop:hover .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__drop:hover .nav__drop-btn svg { transform: rotate(180deg); }
}
.nav__drop.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__drop.is-open .nav__drop-btn svg { transform: rotate(180deg); }

.lang {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(4px);
}
.lang__item {
  display: grid;
  place-items: center;
  width: 56px;
  height: 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  transition: background-color .2s, color .2s;
}
.lang__item.is-active { background: var(--navy); color: var(--white); }

.burger { display: none; }

.hero__content { position: relative; padding-top: 70px; padding-bottom: 120px; }
.hero__title { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.05; }
.hero__pre { display: block; font-size: clamp(24px, 2.3vw, 34px); text-transform: uppercase; letter-spacing: .01em; }
.hero__name {
  display: block;
  margin-left: -.55em;      /* висячая кавычка, как в макете */
  font-size: clamp(44px, 5.4vw, 78px);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.hero .line { margin: 42px 0 18px; }
.hero__slogan {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__text { max-width: 620px; margin: 28px 0 36px; color: #3a3a3a; line-height: 1.65; }

/* =========================================================
   ЧЕМ МЫ ЗАНИМАЕМСЯ
   ========================================================= */
.about { padding-top: 86px; padding-bottom: 86px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 513px) minmax(0, 1fr);
  gap: 110px;
  align-items: start;
}
.about__photo { border-radius: var(--radius); overflow: hidden; }
.about__photo img { width: 100%; aspect-ratio: 513 / 445; object-fit: cover; }
.about__body .h2 { letter-spacing: .08em; }
@media (min-width: 1101px) { .about__body .h2 { font-size: clamp(30px, 2.9vw, 46px); white-space: nowrap; } }
.about__lead { margin: 28px 0 34px; max-width: 560px; }

.areas { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 22px 16px; margin-left: -5px; }
.area { display: flex; align-items: center; gap: 12px; }
.area__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 8px;
  background: var(--icon-bg);
  color: #9b8a7c;
}
.area__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.area h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.area p { font-size: 15px; color: var(--muted); line-height: 1.4; }

/* =========================================================
   ЦИТАТА
   ========================================================= */
.quote { background: var(--blue); color: var(--white); padding: 70px 0 64px; text-align: center; }
.quote__icon { width: 42px; height: 42px; margin: 0 auto 20px; color: var(--white); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  max-width: 1160px;
  margin: 0 auto 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1.4;
}
.quote cite { font-style: normal; font-weight: 600; font-size: 17px; }

/* =========================================================
   АНОНС МЕРОПРИЯТИЙ
   ========================================================= */
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 62px 0 66px;
}
.event {
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.event:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(110, 80, 50, .14); }
.event__link { display: flex; flex-direction: column; height: 100%; }
.event__img { position: relative; overflow: hidden; }
.event__img img { width: 100%; aspect-ratio: 382 / 260; object-fit: cover; transition: transform .5s; }
.event:hover .event__img img { transform: scale(1.04); }
.date {
  position: absolute; top: 20px; left: 24px;
  display: flex; flex-direction: column; align-items: center;
  min-width: 54px; padding: 4px 6px 6px;
  background: rgba(255,255,255,.95);
  border-radius: 6px;
  line-height: 1;
}
.date b { font-family: var(--serif); font-weight: 400; font-size: 29px; color: var(--navy); line-height: 1.1; }
.date small { font-size: 12px; color: var(--muted); }
.event__body { flex: 1; display: flex; flex-direction: column; padding: 22px 26px 18px; }
.event__meta { font-size: 15px; font-weight: 600; color: var(--accent); }
.event__title {
  margin: 14px 0 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--navy);
}
.event__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--accent-soft);
}
.event__place { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); }
.event__place svg { width: 14px; height: 14px; }
.event__arrow { width: 24px; height: 24px; color: var(--navy); transition: transform .25s; }
.event:hover .event__arrow { transform: translateX(4px); }

/* =========================================================
   ФОТОБАНК
   ========================================================= */
.gallery { padding-bottom: 56px; }
.gallery__viewport { margin-top: 54px; overflow: hidden; }
.gallery__track {
  display: flex;
  gap: 20px;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.gallery__slide {
  flex: 0 0 auto;
  height: 428px;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
}
.gallery__slide img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .5s, opacity .5s;
}
.gallery__slide { width: 321px; }
.gallery__slide--wide { width: 571px; }
.gallery__slide img { width: 100%; }
.gallery__slide.is-active img { filter: none; opacity: 1; }
.gallery__slide:not(.is-active):hover img { opacity: .8; }

.gallery__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 38px; }
.arrows { display: flex; gap: 8px; }
.arrow {
  display: grid; place-items: center;
  width: 55px; height: 55px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  transition: background-color .2s, color .2s;
}
.arrow svg { width: 26px; height: 26px; }
.arrow:hover { background: var(--accent); color: var(--white); }
.arrow:disabled { opacity: .35; pointer-events: none; }

/* =========================================================
   ПАРТНЁРЫ
   ========================================================= */
.partners {
  position: relative;
  padding: 74px 0 82px;
  background: #ecdcc4 url("../images/partners-bg.jpg") center / cover no-repeat;
  isolation: isolate;
}
.partners::before { content: ""; position: absolute; inset: 0; background: rgba(240, 225, 200, .35); z-index: -1; }
.partners__inner { text-align: center; }
.partners__badge {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  color: #6f6964;
}
.partners__badge svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.partners .kicker { font-size: 19px; margin-bottom: 14px; }
.partners .line { margin-top: 40px; margin-bottom: 40px; }
.partners__lead { color: #7a6e64; }

.partners__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 18px;
  min-height: 165px;
  padding: 34px 14px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(120, 90, 50, .06);
  transition: background-color .25s, transform .25s;
}
.partner:hover { background: rgba(255,255,255,.85); transform: translateY(-3px); }
.partner svg { width: 54px; height: 54px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.partner span { font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: #6b6560; line-height: 1.2; }

/* =========================================================
   ПРИСОЕДИНЯЙТЕСЬ
   ========================================================= */
.join { background: var(--blue); color: var(--white); padding: 96px 0 96px; text-align: center; }
.join__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.15;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.join__text { max-width: 680px; margin: 38px auto 50px; color: rgba(255,255,255,.9); }
.join .btn { height: 64px; }

/* =========================================================
   МИССИЯ И ЦЕННОСТИ
   ========================================================= */
.mission { padding-bottom: 180px; }
.mission__lead { max-width: 760px; margin-top: 50px; }
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 88px;
}
.value {
  min-height: 300px;
  padding: 26px 26px 36px;
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s;
}
.value:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(110, 80, 50, .12); }
.value__head { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.value__icon { display: grid; place-items: center; width: 65px; height: 65px; border-radius: 8px; background: var(--navy); color: var(--white); }
.value__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; text-transform: uppercase; color: var(--accent); }
.value p { font-size: 18px; line-height: 1.6; padding-right: 30px; }

/* =========================================================
   ФУТЕР
   ========================================================= */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 34px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 383px;
  grid-template-rows: auto auto;
  column-gap: 0;
}
.footer__logo { width: 92px; margin-bottom: 30px; }
.footer__about p { max-width: 430px; font-family: var(--serif); font-size: 18px; line-height: 1.4; color: rgba(255,255,255,.75); }
.footer__col { padding-top: 46px; }
.footer__col h4 { font-family: var(--serif); font-weight: 500; font-size: 18px; text-transform: uppercase; color: rgba(255,255,255,.88); letter-spacing: .02em; margin-bottom: 18px; }
.footer__col li { margin-bottom: 4px; }
.footer__col a { font-size: 14px; line-height: 2; color: rgba(255,255,255,.75); transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__dev { grid-column: 1 / -1; margin-top: 80px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.35); }
.footer__dev b { font-weight: 600; color: rgba(255,255,255,.5); }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1280px) {
  .nav__list { gap: 28px; }
  .nav__list > li > a, .nav__drop-btn { font-size: 17px; }
  .about__grid { gap: 60px; }
}

@media (max-width: 1100px) {
  :root { --section-y: 84px; }

  /* мобильное меню */
  .header { align-items: center; gap: 16px; padding-top: 20px; }
  .header__logo img { width: 150px; }
  .lang { margin-left: auto; }
  .burger {
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border: 0; border-radius: 10px;
    background: var(--navy);
  }
  .burger span, .burger span::before, .burger span::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--white);
    border-radius: 2px; position: relative; transition: transform .25s, background-color .25s;
  }
  .burger span::before { position: absolute; top: -7px; }
  .burger span::after { position: absolute; top: 7px; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(360px, 88vw);
    margin: 0; padding: 96px 28px 28px;
    background: var(--white);
    box-shadow: -20px 0 50px rgba(0, 30, 70, .18);
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
    z-index: 5;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid #eee6dd; }
  .nav__list > li > a, .nav__drop-btn { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 18px; color: var(--navy); }
  .nav__sub {
    position: static; min-width: 0; padding: 0 0 10px; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__drop.is-open .nav__sub { display: block; }
  .nav__sub a { padding: 7px 12px; font-size: 16px; }
  .header .lang, .header .burger { position: relative; z-index: 6; }
  body.menu-open { overflow: hidden; }

  .hero { min-height: 0; }
  .hero__bg { width: 100%; opacity: .55; }
  .hero__content { padding-top: 60px; padding-bottom: 90px; }
  .hero__name { margin-left: 0; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__photo { max-width: 640px; }

  .events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
  .value { min-height: 0; }
  .mission { padding-bottom: 110px; }

  .footer__grid { grid-template-columns: 1fr 1fr; padding-right: var(--gutter); row-gap: 10px; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; --section-y: 64px; }
  body { font-size: 16px; }

  .header__logo img { width: 116px; }
  .lang__item { width: 44px; height: 32px; font-size: 14px; }
  .burger { width: 44px; height: 44px; }

  .hero__bg { opacity: .4; background-position: 70% bottom; }
  .hero__content { padding-top: 44px; padding-bottom: 64px; }
  .hero .line { margin-top: 28px; }
  .hero__slogan { font-size: 16px; }
  .hero__text { margin: 20px 0 28px; }

  .btn { height: 56px; padding: 0 24px; font-size: 16px; }
  .btn--outline { padding: 0 20px; }
  .line { margin: 22px 0 14px; }
  .kicker { font-size: 15px; }

  .areas { grid-template-columns: 1fr; }
  .events__grid { grid-template-columns: 1fr; gap: 24px; margin: 40px 0 44px; }
  .event__title { font-size: 23px; }

  .gallery__slide { height: 260px; width: 196px; }
  .gallery__slide--wide { width: 330px; }
  .gallery__viewport { margin-top: 36px; }
  .gallery__controls { margin-top: 28px; gap: 12px; }
  .arrow { width: 46px; height: 46px; }

  .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .partner { min-height: 140px; padding: 26px 10px 16px; }
  .partner svg { width: 44px; height: 44px; }
  .partners .line { margin: 26px auto; }

  .join { padding: 70px 0; }
  .join__title br { display: none; }
  .join__text { margin: 26px auto 34px; }

  .values { margin-top: 40px; }
  .value { padding: 22px 20px 26px; }
  .value__icon { width: 54px; height: 54px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__col { padding-top: 26px; }
  .footer__dev { margin-top: 44px; }
}
