/* Первый экран без виджетов Elementor. Поля: data-cms / data-id.
   Десктоп: контент слева в колонке 1080px, gap виджетов 20px + margin 30px у блоков,
   партнёры в ряд gap 60px. Типографика как kit-12 (Montserrat, h2 letter-spacing 4px).
   Mobile ≤767: столбик по центру, меню на всю ширину, видео скрыто.
   Статус: локально закрыт 2026-10-06 (инциденты §16–§18). */
.soz-hero {
  --soz-max: 1080px;
  --soz-white: #fff;
  --soz-accent: #E95B2E;
  --soz-accent-2: #f2295b;
  --soz-menu: #2059F4;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 850px;
  width: 100%;
  color: var(--soz-white);
  overflow: hidden;
  box-sizing: border-box;
}

.soz-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.soz-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.soz-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: flex-start;
  width: min(100%, var(--soz-max));
  max-width: var(--soz-max);
  margin: 0 auto;
  padding: 20px 20px 40px;
  box-sizing: border-box;
  min-height: 850px;
}

.soz-hero__top {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.soz-hero__logo {
  display: block;
  width: 19%;
  max-width: 19%;
  flex: 0 0 19%;
}

.soz-hero__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.soz-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.soz-nav__toggle {
  display: none;
  margin: 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--soz-white);
  cursor: pointer;
  line-height: 0;
}

.soz-nav__toggle svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.soz-nav__toggle[aria-expanded="true"] .soz-nav__icon-open { display: none; }
.soz-nav__toggle[aria-expanded="false"] .soz-nav__icon-close { display: none; }

.soz-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.soz-nav__list a {
  color: var(--soz-white);
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

.soz-nav__dropdown {
  display: none;
}

/* Как Elementor `.e-con-inner`: gap 20px между виджетами + margin-top у отдельных блоков.
   Меню → контент: margin контейнера 9dc82b7 (40px) + gap родителя (~20px) ≈ 60px. */
.soz-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  width: 100%;
  margin-top: 70px;
}

.soz-hero h2.soz-hero__day {
  margin: 0;
  width: auto;
  max-width: 100%;
  color: var(--soz-white);
  font-family: Montserrat, sans-serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.soz-hero h2.soz-hero__day span {
  line-height: 1;
  letter-spacing: 4px;
}

.soz-hero__title {
  display: block;
  width: 69%;
  max-width: 69%;
  margin: 30px 0 0;
  height: auto;
}

.soz-hero__gif {
  display: block;
  width: 59%;
  max-width: 59%;
  margin: 0;
  height: auto;
}

.soz-hero h2.soz-hero__place {
  width: 54%;
  max-width: 54%;
  margin: 30px 0 0;
  color: var(--soz-white);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: left;
}

.soz-hero__lead {
  width: 52%;
  max-width: 52%;
  margin: 30px 0 0;
  color: var(--soz-white);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
}

.soz-hero__cta {
  margin: 28px 0 16px;
  align-self: flex-start;
}

.soz-hero__cta.elementor-hidden-desktop,
.soz-hero__cta.elementor-hidden-tablet,
.soz-hero__cta.elementor-hidden-mobile {
  display: none !important;
}

.soz-hero__cta:not(.elementor-hidden-desktop):not(.elementor-hidden-tablet):not(.elementor-hidden-mobile) {
  display: block;
}

.soz-btn {
  display: inline-block;
  padding: 15px 20px;
  border-radius: 5px;
  color: var(--soz-white);
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(180deg, var(--soz-accent) 0%, var(--soz-accent-2) 100%);
}

.soz-btn:hover,
.soz-btn:focus {
  background-image: linear-gradient(90deg, var(--soz-accent) 0%, var(--soz-accent-2) 100%);
}

/* Divider: от лида уже gap 20px у `.soz-hero__content`; до партнёров — их margin-top 30px.
   `.elementor hr { margin:0 }` сильнее одного класса — повышаем специфичность. */
.soz-hero hr.soz-hero__rule {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--soz-white);
  opacity: 1;
  background: none;
}

.soz-hero__partners {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
  width: 100%;
  margin-top: 30px;
  padding-top: 0;
  box-sizing: border-box;
  min-width: 0;
}

.soz-hero__partners.elementor-hidden-desktop,
.soz-hero__partners.elementor-hidden-tablet,
.soz-hero__partners.elementor-hidden-mobile {
  display: none !important;
}

.soz-hero__partner-label {
  margin: 0;
  flex: 0 0 auto;
  max-width: 100%;
  color: var(--soz-white);
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 100;
  line-height: 1;
  white-space: nowrap;
}

.soz-hero__partner-label.elementor-hidden-desktop,
.soz-hero__partner-label.elementor-hidden-tablet,
.soz-hero__partner-label.elementor-hidden-mobile,
.soz-hero__partner-logo.elementor-hidden-desktop,
.soz-hero__partner-logo.elementor-hidden-tablet,
.soz-hero__partner-logo.elementor-hidden-mobile {
  display: none !important;
}

.soz-hero__partner-logo {
  display: block;
  flex: 0 0 auto;
  min-width: 0;
  box-sizing: border-box;
}

.soz-hero__partner-logo--org {
  width: 11%;
  max-width: 11%;
}

.soz-hero__partner-logo--info {
  width: 23%;
  max-width: 23%;
}

.soz-hero__partner-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.soz-anchor {
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .soz-nav__toggle { display: block; }
  .soz-nav__list--main { display: none; }

  /* Как Elementor stretch: выпадашка на всю ширину окна */
  .soz-nav__dropdown {
    display: none;
    position: fixed;
    top: 63px;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--soz-menu);
    box-sizing: border-box;
  }

  .soz-nav.is-open .soz-nav__dropdown { display: block; }

  .soz-nav__dropdown a {
    display: block;
    padding: 15px 20px;
    color: var(--soz-white);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
  }

  /* Tablet ≤1024: gap как на десктопе (60). 30px только на mobile ≤767 — как Elementor */
}

@media (max-width: 767px) {
  .soz-hero,
  .soz-hero__inner {
    min-height: 850px;
  }

  .soz-hero__inner {
    justify-content: space-between;
  }

  .soz-hero__video-wrap { display: none; }

  .soz-hero__logo {
    width: 30%;
    max-width: 30%;
    flex: 0 0 30%;
  }

  .soz-hero__content {
    align-items: center;
    text-align: center;
  }

  .soz-hero h2.soz-hero__day {
    font-size: 36px;
    letter-spacing: 4px;
    text-align: center;
  }

  .soz-hero__title,
  .soz-hero__gif,
  .soz-hero h2.soz-hero__place,
  .soz-hero__lead {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .soz-hero hr.soz-hero__rule {
    margin: 0;
  }

  /* Каждый пункт на всю ширину колонки — как Elementor width:100% */
  .soz-hero__partners {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 30px;
    column-gap: 30px;
    margin-top: auto;
    padding-top: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .soz-hero__partner-label {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 26px;
    font-weight: 100;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .soz-hero__partner-logo {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .soz-hero__partner-logo--org,
  .soz-hero__partner-logo--info {
    width: 100%;
    max-width: 100%;
  }

  .soz-hero__partner-logo--org img {
    width: 45%;
    max-width: 45%;
    margin: 0 auto;
  }

  .soz-hero__partner-logo--info img {
    width: 96%;
    max-width: 96%;
    margin: 0 auto;
  }
}
