/* =========================================================
   ЗМИР Дентал Бизнес — Афанютин
   STYLE.CSS — desktop макет + удобные границы редактирования

   Главное:
   1) Все основные блоки выровнены по одной рабочей оси.
   2) Ширина рабочей зоны, отступ слева, ширина формы и карточек
      вынесены в переменные ниже.
   3) Второй блок "Обсудим" собран отдельно и аккуратно по макету.
========================================================= */

/* =========================
   FONTS
========================= */

@font-face {
  font-family: 'a_LCDNova';
  src: url('../fonts/a_LCDNova.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix';
  src: url('../fonts/WixMadeforDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix';
  src: url('../fonts/WixMadeforDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wix';
  src: url('../fonts/WixMadeforDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================
   EDITABLE DESIGN VARIABLES
   Меняешь границы тут, а не по всему CSS
========================= */

:root {
  --red: #c31a33;
  --red-dark: #79111d;
  --black: #050506;
  --white: #ffffff;

  /*
    Макет сделан как 16:9.
    Секции на десктопе тянутся пропорционально ширине экрана.
  */
  --screen-h: 56.25vw;

  /*
    Главная рабочая ось макета.
    На PDF 2560px левый край контента примерно 550px.
    550 / 2560 = 21.48vw.
  */
  --work-left: 21.5vw;

  /*
    Основная ширина рабочей зоны.
    Для второго блока и формы в макете около 1440px на 2560px.
  */
  --work-width: 56.25vw;

  /*
    Узкая правая колонка в блоке спикера.
  */
  --speaker-text-width: 26.5vw;

  /*
    Баннеры и кнопки в нижних блоках.
  */
  --banner-width: 56.25vw;
  --form-width: 56.25vw;
  --video-left-width: 23.4vw;
  --video-right-width: 32.1vw;

  /*
    Минимальные и максимальные ограничения,
    чтобы верстка не ломалась на нестандартных экранах.
  */
  --min-desktop-width: 1024px;
}

/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: 'Wix', Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

button,
input {
  font-family: inherit;
}

.page-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Общая схема секций */
.hero-afanyutin,
.discussion,
.speaker-section,
.partners-section,
.videos-section,
.site-footer {
  position: relative;
  width: 100%;
  min-height: var(--screen-h);
  height: var(--screen-h);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero-afanyutin__inner,
.discussion__inner,
.speaker-section__inner,
.partners-section__inner,
.videos-section__inner,
.site-footer__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: 6vw;
  padding: 0;
  background: transparent;
}

.header-inner {
  position: relative;
  height: 100%;
}

.header-logo {
  position: absolute;
  left: var(--work-left);
  top: 3.05vw;
  width: 12.1vw;
  z-index: 5;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-symbol {
  position: absolute;
  left: calc(var(--work-left) + 18.4vw);
  top: 3.1vw;
  width: 2.25vw;
  height: 2.25vw;
  z-index: 5;
}

.header-symbol span {
  position: absolute;
  width: .72vw;
  height: 1.32vw;
  border-radius: 999px 999px .16vw 999px;
  background: #fff;
  transform-origin: 50% 100%;
}

.header-symbol span:nth-child(1) {
  left: .72vw;
  top: 0;
  transform: rotate(38deg);
}

.header-symbol span:nth-child(2) {
  left: 1.14vw;
  top: .78vw;
  transform: rotate(150deg);
}

.header-symbol span:nth-child(3) {
  left: .2vw;
  top: .84vw;
  transform: rotate(-96deg);
}

.header-nav {
  position: absolute;
  right: 31.5vw;
  top: 3.28vw;
  display: flex;
  align-items: center;
  gap: 1.2vw;
  font-size: .7vw;
  line-height: 1;
  color: #fff;
}

.header-nav a {
  opacity: .96;
}

.header-register {
  position: absolute;
  right: 23.6vw;
  top: 2.78vw;
  width: 7.1vw;
  height: 2vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .72vw;
  line-height: 1;
  font-weight: 700;
}

/* =========================
   HERO
========================= */

.hero-afanyutin {
  background-image: url('../img/hero-bg.png');
}

.hero-afanyutin__content {
  position: absolute;
  left: var(--work-left);
  top: 14.8vw;
  width: 35vw;
  z-index: 4;
}

.hero-afanyutin__logo {
  width: 22vw;
  height: auto;
  margin: 0 0 1.25vw;
}

.hero-afanyutin__badge {
  width: 34.9vw;
  height: 2.15vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #020203;
  color: var(--red);
  font-family: 'a_LCDNova', Arial, sans-serif;
  font-size: 1.75vw;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 .55vw;
}

.hero-afanyutin__title {
  margin: 0 0 4.2vw;
  font-family: 'a_LCDNova', Arial, sans-serif;
  font-size: 3.18vw;
  line-height: 1.08;
  letter-spacing: .018em;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}

.hero-afanyutin__subtitle {
  margin: 0 0 3.45vw;
  font-size: 1.78vw;
  line-height: 1.1;
  font-weight: 400;
}

.hero-afanyutin__button {
  width: 17.1vw;
  height: 3.95vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #020203;
  color: #fff;
  font-size: 1.14vw;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 0 2.2vw rgba(209, 15, 45, .88);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-afanyutin__button:hover {
  transform: translateY(-.15vw);
  box-shadow: 0 0 2.9vw rgba(209, 15, 45, 1);
}

.hero-afanyutin__media {
  position: absolute;
  right: 8.6vw;
  top: 10.4vw;
  width: 49vw;
  z-index: 3;
}

.hero-afanyutin__person {
  width: 107%;
  height: auto;
}

.hero-afanyutin__caption {
  position: absolute;
  left: 10.8vw;
  bottom: -2.35vw;
  width: 21vw;
  margin: 0;
  text-align: center;
  font-size: .82vw;
  line-height: 1.08;
  color: #fff;
}

/* =========================
   DISCUSSION / REGISTRATION
   Второй блок — основной фокус
========================= */

.discussion {
  background-image: url('../img/discussion-bg.png');
}

/*
  Все ключевые отступы второго блока собраны здесь:
  --work-left отвечает за левый край;
  --form-width отвечает за ширину формы;
  top у элементов выставлен в vw по PDF-макету.
*/

.discussion__title {
  position: absolute;
  left: var(--work-left);
  top: 3.75vw;
  margin: 0;
  font-family: 'a_LCDNova', Arial, sans-serif;
  font-size: 3.12vw;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}

.discussion__list {
  position: absolute;
  left: var(--work-left);
  top: 10.55vw;
  width: 49vw;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.76vw;
  line-height: 1.12;
  font-weight: 400;
  color: #fff;
}

.discussion__list li {
  margin: 0 0 1.38vw;
}

.discussion__list li:last-child {
  margin-bottom: 0;
}

.discussion-form {
  position: absolute;
  left: var(--work-left);
  top: 28.05vw;
  width: var(--form-width);
  min-height: 15vw;
  padding: 2.75vw 2.42vw 1.6vw;
  border-radius: 2.25vw;
  background: #160507 url('../img/form-bg.png') center center / 100% 100% no-repeat;
  box-shadow: 0 0 2.1vw rgba(0, 0, 0, .18);
}

.discussion-form__fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7vw;
  margin: 0 0 1.1vw;
}

.discussion-form input[type="text"],
.discussion-form input[type="tel"],
.discussion-form input[type="email"] {
  width: 100%;
  height: 2.65vw;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 0 .95vw;
  background: rgba(2, 2, 3, .34);
  color: #fff;
  font-family: 'Wix', Arial, sans-serif;
  font-size: .86vw;
  line-height: 1;
  text-align: center;
  outline: none;
}

.discussion-form input::placeholder {
  color: rgba(195, 26, 51, .9);
}

.discussion-form__agree {
  display: flex;
  align-items: flex-start;
  gap: .7vw;
  margin: 0 0 1.35vw;
  color: rgba(195, 26, 51, .92);
  font-size: .52vw;
  line-height: 1.12;
}

.discussion-form__agree input {
  appearance: none;
  flex: 0 0 1.28vw;
  width: 1.28vw;
  height: 1.28vw;
  margin: 0;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.discussion-form__agree input:checked {
  background: radial-gradient(circle, var(--red) 0 42%, transparent 44%);
}

.discussion-form__button {
  width: 100%;
  height: 3.45vw;
  border: 0;
  border-radius: 999px;
  background: #020203;
  color: #fff;
  font-family: 'Wix', Arial, sans-serif;
  font-size: 1.16vw;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 2vw rgba(209, 15, 45, .9);
}

.discussion-form__note {
  margin: 1.38vw 0 0;
  text-align: center;
  color: rgba(195, 26, 51, .88);
  font-size: .52vw;
  line-height: 1.15;
}

/* =========================
   SPEAKER
========================= */

.speaker-section {
  background-image: url('../img/speaker-bg.png');
}

.speaker-section__title {
  position: absolute;
  left: var(--work-left);
  top: .05vw;
  margin: 0;
  font-family: 'a_LCDNova', Arial, sans-serif;
  font-size: 3.12vw;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}

.speaker-section__grid {
  position: absolute;
  left: var(--work-left);
  top: 7.8vw;
  width: 51vw;
  display: grid;
  grid-template-columns: 22vw var(--speaker-text-width);
  column-gap: 4.5vw;
  align-items: start;
}

.speaker-section__name {
  margin: 0 0 4.75vw;
  font-size: 1.42vw;
  line-height: 1.28;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.speaker-section__photo-wrap {
  width: 22vw;
  height: 22vw;
  border-radius: 50%;
  overflow: hidden;
  background: #851221;
}

.speaker-section__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-section__text {
  width: var(--speaker-text-width);
  font-size: 1.72vw;
  line-height: 1.1;
  font-weight: 400;
  color: #fff;
}

.speaker-section__text p {
  margin: 0 0 2.35vw;
}

.speaker-section__text p:last-child {
  margin-bottom: 0;
}

.speaker-section__wings {
  position: absolute;
  left: 50%;
  bottom: 0vw;
  width: 36vw;
  max-width: none;
  transform: translateX(-50%);
  opacity: .62;
  pointer-events: none;
}

/* =========================
   PARTNERS
========================= */

.partners-section {
  background-image: url('../img/partners-bg.png');
}

.partners-section__banner {
  position: absolute;
  left: var(--work-left);
  top: 5.85vw;
  width: var(--banner-width);
  height: 6.1vw;
  display: block;
  border-radius: 2.3vw;
  overflow: hidden;
}

.partners-section__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partners-section__banner-arrow {
  position: absolute;
  right: 2vw;
  top: 50%;
  width: 2.15vw;
  height: auto;
  max-width: none;
  transform: translateY(-50%);
  pointer-events: none;
}

.partners-section__title,
.partners-section__video-title {
  position: absolute;
  left: var(--work-left);
  margin: 0;
  font-family: 'a_LCDNova', Arial, sans-serif;
  font-size: 3.12vw;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}

.partners-section__title {
  top: 24.95vw;
}

.partners-section__logos {
  position: absolute;
  left: var(--work-left);
  top: 32.9vw;
  width: var(--banner-width);
  display: grid;
  grid-template-columns: 16.2vw 16.2vw 16.2vw 16.2vw;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.partners-section__logos img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.partners-section__button {
  position: absolute;
  left: var(--work-left);
  top: 43.25vw;
  width: var(--banner-width);
  height: 4.15vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #020203;
  color: #fff;
  font-size: 1.32vw;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 0 2vw rgba(209, 15, 45, .92);
}




/* =========================
   VIDEOS + SECOND FORM
========================= */

.videos-section {
  min-height: 72vw;
  height: 72vw;
 
}

.videos-section__grid {
  position: absolute;
  left: var(--work-left);
  top: 0;
  width: var(--work-width);
  display: grid;
  grid-template-columns: var(--video-left-width) var(--video-right-width);
  gap: 1.55vw 1.55vw;
}

.video-card {
  position: relative;
  min-height: 14.8vw;
  height: 14.8vw;
  border-radius: 1.35vw;
  overflow: hidden;
  color: #fff;
}

.video-card--text {
  display: flex;
  align-items: center;
  padding: 2.1vw;
  background: linear-gradient(135deg, #be142d 0%, #5a1018 100%);
}

.video-card--text span {
  font-size: 1.55vw;
  line-height: 1.12;
  font-weight: 400;
}

.video-card--image {
  background: #090305;
}

.video-card--image iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.videos-section__form {
  top: 44.4vw;
}

.bottom-banner {
  position: absolute;
  left: var(--work-left);
  top: 64.65vw;
  width: var(--banner-width);
  height: 6.1vw;
  display: block;
  border-radius: 2.3vw;
  overflow: hidden;
}

.bottom-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bottom-banner__arrow {
  position: absolute;
  right: 2vw;
  top: 50%;
  width: 2.15vw;
  height: auto;
  max-width: none;
  transform: translateY(-50%);
  pointer-events: none;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  min-height: 44vw;
  height: 44vw;

}

.site-footer__top {
  position: absolute;
  left: var(--work-left);
  top: 11.35vw;
  width: var(--work-width);
  display: grid;
  grid-template-columns: 1fr 25vw;
  column-gap: 12vw;
  align-items: start;
}

.site-footer__logo {
  width: 24vw;
  height: auto;
  margin: 0 0 4.6vw;
}

.site-footer__brand p,
.site-footer__contacts p,
.site-footer__contacts a {
  margin: 0;
  font-size: 1.26vw;
  line-height: 1.18;
  font-weight: 400;
  color: #fff;
}

.site-footer__contacts {
  text-align: center;
}

.site-footer__socials {
  display: flex;
  justify-content: flex-end;
  gap: 1.05vw;
  margin: 0 0 4.2vw;
}

.site-footer__socials a {
  width: 2vw;
  height: 2vw;
  display: block;
}

.site-footer__socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__contacts p {
  margin-bottom: 1.45vw;
  text-align: right;
}

.site-footer__contacts a {
  display: block;
  text-align: right;
}

.site-footer__bottom {
  position: absolute;
  left: var(--work-left);
  bottom: 3.1vw;
  width: var(--work-width);
  padding-top: 1.3vw;
  border-top: 1px solid rgba(255, 255, 255, .62);
  text-align: right;
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, .72);
  font-size: .88vw;
}

/* =========================
   SUCCESS MODAL + SERVICE
========================= */

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .68);
  padding: 20px;
}

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

.success-modal__box {
  position: relative;
  width: 430px;
  min-height: 235px;
  border-radius: 18px;
  padding: 30px 35px 26px;
  background: var(--red);
  text-align: center;
  color: #fff;
}

.success-modal__close {
  position: absolute;
  right: 14px;
  top: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.success-modal__box p {
  margin: 0 0 22px;
  font-size: 21px;
  line-height: 1.16;
}

.success-modal__telegram {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 17px;
}

.success-modal__box span {
  display: block;
  font-size: 13px;
  line-height: 1.15;
}

.form-server-error {
  position: fixed;
  left: 50%;
  top: 24px;
  z-index: 120;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  padding: 16px 24px;
  border-radius: 14px;
  background: #bd102b;
  color: #fff;
  font-family: 'Wix', Arial, sans-serif;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 0 30px rgba(189, 16, 43, .65);
}

.zmir-form-hidden {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================
   OPTIONAL DEBUG BORDERS
   Включить временно:
   body.debug-layout .page-container { outline: 1px solid lime; }
========================= */

body.debug-layout .hero-afanyutin__content,
body.debug-layout .discussion__title,
body.debug-layout .discussion__list,
body.debug-layout .discussion-form,
body.debug-layout .speaker-section__grid,
body.debug-layout .partners-section__banner,
body.debug-layout .partners-section__logos,
body.debug-layout .partners-section__button,
body.debug-layout .videos-section__grid,
body.debug-layout .videos-section__form,
body.debug-layout .bottom-banner,
body.debug-layout .site-footer__top {
  outline: 2px solid rgba(0, 255, 0, .7);
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1180px) {
  :root {
    --screen-h: 64vw;
    --work-left: 8vw;
    --work-width: 84vw;
    --form-width: 84vw;
    --banner-width: 84vw;
    --speaker-text-width: 36vw;
    --video-left-width: 32vw;
    --video-right-width: 50vw;
  }

  .hero-afanyutin__content {
    left: var(--work-left);
    top: 14vw;
    width: 52vw;
  }

  .hero-afanyutin__media {
    right: -22vw;
    top: 11vw;
    width: 60vw;
  }

  .hero-afanyutin__badge {
    width: 44vw;
    font-size: 2.2vw;
  }

  .hero-afanyutin__title {
    font-size: 4vw;
  }

  .speaker-section__grid {
    width: 78vw;
    grid-template-columns: 35vw 36vw;
    column-gap: 7vw;
  }

  .speaker-section__photo-wrap {
    width: 28vw;
    height: 28vw;
  }

  .speaker-section__text {
    font-size: 2.3vw;
  }

  .partners-section__logos {
    grid-template-columns: repeat(4, 1fr);
    gap: 3vw;
  }

  .site-footer__top {
    grid-template-columns: 1fr 34vw;
    column-gap: 8vw;
  }
}

@media (max-width: 900px) {
  :root {
    --screen-h: auto;
    --work-left: 20px;
    --work-width: calc(100vw - 40px);
    --form-width: calc(100vw - 40px);
    --banner-width: calc(100vw - 40px);
  }

  .hero-afanyutin,
  .discussion,
  .speaker-section,
  .partners-section,
  .videos-section,
  .site-footer {
    height: auto;
    min-height: 0;
    background-size: cover;
  }

  .site-header {
    position: absolute;
    height: 90px;
  }

  .header-logo {
    left: 20px;
    top: 24px;
    width: 170px;
  }

  .header-symbol,
  .header-nav {
    display: none;
  }

@media (max-width: 767px) {

  .header-register {
    position: relative;
    width: 34px;
    height: 24px;
    min-width: 34px;
    padding: 0;
    margin: 0;
    font-size: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .header-register::before,
  .header-register::after,
  .header-register span {
    content: "";
    position: absolute;
    left: 0;
    width: 34px;
    height: 4px;
    border-radius: 10px;
    background: #fff;
    transition: .25s ease;
  }

  .header-register::before {
    top: 0;
  }

  .header-register span {
    top: 10px;
  }

  .header-register::after {
    bottom: 0;
  }

  /* OPEN */

  .header-register.is-open span {
    opacity: 0;
  }

  .header-register.is-open::before {
    top: 10px;
    transform: rotate(45deg);
  }

  .header-register.is-open::after {
    bottom: 10px;
    transform: rotate(-45deg);
  }
}

  .hero-afanyutin__inner,
  .discussion__inner,
  .speaker-section__inner,
  .partners-section__inner,
  .videos-section__inner,
  .site-footer__inner {
    height: auto;
    padding: 100px 20px 70px;
  }

  .hero-afanyutin__content,
  .hero-afanyutin__media,
  .discussion__title,
  .discussion__list,
  .discussion-form,
  .speaker-section__title,
  .speaker-section__grid,
  .speaker-section__wings,
  .partners-section__banner,
  .partners-section__title,
  .partners-section__logos,
  .partners-section__button,
  .partners-section__video-title,
  .videos-section__grid,
  .videos-section__form,
  .bottom-banner,
  .site-footer__top,
  .site-footer__bottom {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
  }

  .hero-afanyutin__content {
    z-index: 3;
  }

  .hero-afanyutin__logo {
    width: 280px;
  }

  .hero-afanyutin__badge {
    width: 100%;
    height: auto;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 20px;
    text-align: center;
  }

  .hero-afanyutin__title {
    font-size: 36px;
    line-height: 1.08;
    margin-bottom: 34px;
  }

  .hero-afanyutin__subtitle {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .hero-afanyutin__button {
    width: 100%;
    height: 62px;
    font-size: 20px;
  }

  .hero-afanyutin__media {
    width: 125%;
    margin: 35px 0 0 -10%;
  }

  .hero-afanyutin__caption {
    position: static;
    width: 82%;
    margin: -10px auto 0;
    font-size: 13px;
  }

  .discussion__title,
  .speaker-section__title,
  .partners-section__title,
  .partners-section__video-title {
    font-size: 44px;
    margin-bottom: 32px;
  }

  .discussion__list {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .discussion__list li {
    margin-bottom: 18px;
  }

  .discussion-form {
    padding: 28px 18px;
    border-radius: 24px;
    background-size: cover;
  }

  .discussion-form__fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .discussion-form input[type="text"],
  .discussion-form input[type="tel"],
  .discussion-form input[type="email"] {
    height: 52px;
    font-size: 16px;
  }

  .discussion-form__agree {
    font-size: 12px;
    gap: 10px;
  }

  .discussion-form__agree span br {
    display: none;
  }

  .discussion-form__agree input {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .discussion-form__button {
    height: 62px;
    font-size: 20px;
  }

  .discussion-form__note {
    font-size: 12px;
  }

  .speaker-section__grid {
    display: block;
  }

  .speaker-section__name {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .speaker-section__photo-wrap {
    width: 260px;
    height: 260px;
    margin-bottom: 35px;
  }

  .speaker-section__text {
    width: 100%;
    font-size: 22px;
  }

  .speaker-section__wings {
    width: 80%;
    margin: 40px auto 0;
    transform: none;
  }

  .partners-section__banner,
  .bottom-banner {
    height: 80px;
    margin-bottom: 60px;
  }

  .partners-section__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-bottom: 46px;
  }

  .partners-section__button {
    height: 62px;
    font-size: 20px;
    margin-bottom: 70px;
  }

  .videos-section__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 70px;
  }

  .video-card {
    height: auto;
    min-height: 220px;
  }

  .video-card--image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .video-card--text {
    font-size: 22px;
    padding: 30px;
  }

  .video-card--text span {
    font-size: 26px;
  }

  .videos-section__form {
    margin-bottom: 60px;
  }

  .site-footer__top {
    display: block;
  }

  .site-footer__logo {
    width: 260px;
    margin-bottom: 35px;
  }

  .site-footer__brand p,
  .site-footer__contacts p,
  .site-footer__contacts a {
    font-size: 18px;
  }

  .site-footer__brand {
    margin-bottom: 50px;
  }

  .site-footer__contacts {
    text-align: left;
  }

  .site-footer__socials {
    justify-content: flex-start;
    margin-bottom: 30px;
  }

  .site-footer__socials a {
    width: 38px;
    height: 38px;
  }

  .site-footer__bottom {
    margin-top: 50px;
    padding-top: 22px;
    text-align: left;
  }

  .site-footer__bottom a {
    font-size: 14px;
  }
}
/* =========================================================
   HERO ONLY PATCH
   Вставить в самый конец style.css.
   Правит только первый экран и шапку.
   Остальные блоки не затрагивает.
========================================================= */

:root {
  /* Рабочая ось первого экрана */
  --hero-work-left: 21.5vw;

  /* Левая текстовая колонка */
  --hero-content-top: 13.2vw;
  --hero-content-width: 31.8vw;

  /* Картинка с Афанютиным и микроскопом */
  --hero-media-width: 44vw;
  --hero-media-right: 7.2vw;
  --hero-media-top: 7.3vw;

  /* Отдельные размеры текста */
  --hero-logo-width: 19.5vw;
  --hero-badge-width: 31.8vw;
  --hero-title-size: 2.75vw;
  --hero-subtitle-size: 1.55vw;

  /* Кнопка */
  --hero-button-width: 16.5vw;
  --hero-button-height: 3.65vw;
}

/* Первый экран оставляем 16:9, но чуть даем воздуха под кнопку */
.hero-afanyutin {
  min-height: 56.25vw;
  height: 56.25vw;
  overflow: hidden;
  background-position: center top;
  background-size: cover;
}

.hero-afanyutin__inner {
  height: 100%;
}

/* Левая колонка: уже, чтобы не заходила на мужика */
.hero-afanyutin__content {
  left: var(--hero-work-left);
  top: var(--hero-content-top);
  width: 34vw;
  z-index: 5;
}

/* Лого меньше, ближе к макету */
.hero-afanyutin__logo {
  width: var(--hero-logo-width);
  margin: 0 0 1.05vw;
}

/* Плашка даты не должна быть слишком длинной */
.hero-afanyutin__badge {
  width: var(--hero-badge-width);
  height: 2.15vw;
  font-size: 1.55vw;
  margin: 0 0 .7vw;
}

/* Заголовок чуть меньше и уже */
.hero-afanyutin__title {
  max-width: 34vw;
  margin: 0 0 3.25vw;
  font-size: var(--hero-title-size);
  line-height: 1.08;
}

/* Подзаголовок и кнопку поднимаем, чтобы кнопка помещалась */
.hero-afanyutin__subtitle {
  margin: 0 0 2.25vw;
  font-size: var(--hero-subtitle-size);
  line-height: 1.12;
}

.hero-afanyutin__button {
  width: var(--hero-button-width);
  height: var(--hero-button-height);
  font-size: 1.05vw;
}

/* Мужика двигаем правее и чуть выше, чтобы не залезал под текст */
.hero-afanyutin__media {
  right: var(--hero-media-right);
  top: var(--hero-media-top);
  width: var(--hero-media-width);
  z-index: 3;
}

.hero-afanyutin__person {
  width: 100%;
  max-width: none;
}

/* Подпись возвращаем внутрь первого экрана */
.hero-afanyutin__caption {
  left: 10.2vw;
  bottom: .8vw;
  width: 19.5vw;
  font-size: .72vw;
  line-height: 1.08;
}

/* Шапка остается в той же системе координат, но не влияет на секции ниже */
.header-logo {
  left: var(--hero-work-left);
}

.header-symbol {
  left: calc(var(--hero-work-left) + 18.4vw);
}

/* Для 1920–1440: немного страхуем, чтобы картинка не залезала на текст */
@media (max-width: 1440px) {
  :root {
    --hero-content-top: 13.6vw;
    --hero-content-width: 33vw;

    --hero-media-width: 45vw;
    --hero-media-right: 4.8vw;
    --hero-media-top: 8.2vw;

    --hero-title-size: 2.65vw;
    --hero-subtitle-size: 1.55vw;
  }
}

/* Планшеты: сохраняем твою адаптацию, только чуть правим картинку */
@media (max-width: 1180px) {
  .hero-afanyutin__media {
    right: -18vw;
    top: 10vw;
    width: 58vw;
  }

  .hero-afanyutin__content {
    width: 50vw;
  }

  .hero-afanyutin__title {
    max-width: 50vw;
  }
}

/* Мобилку почти не трогаем */
@media (max-width: 900px) {
  .hero-afanyutin {
    height: auto;
    min-height: 0;
  }

  .hero-afanyutin__content {
    width: 100%;
    max-width: none;
  }

  .hero-afanyutin__title {
    max-width: none;
  }

  .hero-afanyutin__media {
    right: auto;
    top: auto;
    width: 125%;
  }
}
/* =========================================================
   MOBILE HERO — первый экран
   По макету мобильной версии
========================================================= */

@media (max-width: 767px) {
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    padding: 0;
    z-index: 50;
    background: transparent;
  }

  .header-inner {
    width: 100%;
    height: 60px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    position: static;
    width: 190px;
    flex: 0 0 auto;
  }

  .header-logo img {
    width: 190px;
    height: auto;
  }

  .header-symbol {
    position: static;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    margin-left: auto;
    margin-right: 32px;
  }

  .header-nav {
    display: none;
  }

  .header-register {
    position: relative;
    width: 36px;
    height: 26px;
    min-width: 0;
    padding: 0;
    font-size: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .header-register::before,
  .header-register::after,
  .header-register span {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 10px;
    background: #fff;
  }

  .header-register::before {
    position: absolute;
    top: 0;
    left: 0;
  }

  .header-register::after {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .header-register {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* .header-register::after {
    box-shadow: 0 -11px 0 #fff;
  } */

  .hero-afanyutin {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 100px 0 150px;
    overflow: hidden;
    background-image: url("../img/hero-bg.png");
    background-size: cover;
    background-position: center top;
  }

  .hero-afanyutin__inner {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 28px;
  }

  .hero-afanyutin__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    z-index: 5;
  }

  .hero-afanyutin__logo {
    width: 280px;
    margin: 0 0 20px;
  }

  .hero-afanyutin__badge {
    width: 100%;
    max-width: 365px;
    height: auto;
    min-height: 72px;
    padding: 9px 20px 11px;
    margin: 0 0 20px;
    border-radius: 14px;
    font-size: 29px;
    line-height: 31px;
    text-align: left;
    justify-content: flex-start;
    white-space: normal;
  }

  .hero-afanyutin__title {
    width: 100%;
    max-width: none;
    margin: 0 0 60px;
    font-size: 32px;
    line-height: 34px;
    letter-spacing: .015em;
  }

  .hero-afanyutin__subtitle {
    width: 100%;
    margin: 0 0 60px;
    font-size: 24px;
    line-height: 27px;
  }

  .hero-afanyutin__button {
    width: 100%;
    height: 58px;
    border-radius: 999px;
    font-size: 19px;
    line-height: 1;
    position: relative;
    z-index: 8;
  }

  .hero-afanyutin__media {
    position: relative;
    right: auto;
    top: auto;
    width: 118%;
    margin: 24px 0 0 -10%;
    z-index: 3;
  }

  .hero-afanyutin__person {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .hero-afanyutin__caption {
    position: absolute;
    left: 33%;
    right: 4%;
    bottom: 70px;
    width: auto;
    margin: 0;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
  }
}
/* =========================================================
   MOBILE MENU — выпадающая плашка как в макете
========================================================= */

@media (max-width: 767px) {
  .header-inner {
    position: relative;
  }

  .header-nav {
    position: absolute;
    top: 62px;
    left: 28px;
    width: calc(100vw - 56px);
    max-width: 402px;
    min-height: 238px;
    padding: 30px 28px 32px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    background: #030303;
    border-radius: 16px;
    box-shadow: 0 0 36px rgba(225, 17, 52, .45);
    z-index: 100;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    color: #fff;
    font-family: 'Wix', Arial, sans-serif;
    font-size: 24px;
    line-height: 1.2;
    text-decoration: none;
  }

  .header-nav::after {
    content: "Зарегистрироваться";
    width: 100%;
    max-width: 306px;
    height: 60px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #050505;
    color: #fff;
    font-family: 'Wix', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 0 32px rgba(225, 17, 52, .85);
  }

  .header-nav::before {
    content: "";
    position: absolute;
    left: 48px;
    right: 48px;
    bottom: 32px;
    height: 60px;
    border-radius: 999px;
    pointer-events: none;
  }

  .header-register.is-open::before {
    transform: rotate(45deg);
    top: 11px;
  }

  .header-register.is-open::after {
    transform: rotate(-45deg);
    bottom: 11px;
    box-shadow: none;
  }
}
/* =========================================================
   MOBILE RESET — единая мобильная версия
   Вставить в самый конец style.css
   Старые мобильные патчи выше лучше удалить
========================================================= */

@media (max-width: 767px) {
  :root {
    --mob-side: 28px;
    --mob-title: 40px;
    --mob-title-line: 44px;
    --mob-text: 22px;
    --mob-text-line: 25px;
    --mob-small: 13px;
    --mob-red: #bd102b;
  }

  body {
    overflow-x: hidden;
    background: #050506;
  }

  .page-container {
    width: 100%;
    max-width: none;
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
    margin: 0;
  }

  .hero-afanyutin,
  .discussion,
  .speaker-section,
  .partners-section,
  .videos-section,
  .site-footer {
    height: auto;
    min-height: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
  }

  /* HEADER */

  .site-header {
    position: absolute;
    height: 60px;
    padding: 0;
    background: transparent;
    z-index: 50;
  }

  .header-inner {
    height: 60px;
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
    display: flex;
    align-items: center;
  }

  .header-logo {
    position: static;
    width: 150px;
  }

  .header-logo img {
    width: 150px;
  }

  .header-symbol {
    display: block;
    position: static;
    width: 34px;
    margin-left: auto;
    margin-right: 28px;
  }

  .header-nav {
    position: absolute;
    top: 62px;
    left: var(--mob-side);
    right: var(--mob-side);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px;
    background: #000;
    border-radius: 18px;
    z-index: 100;
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    font-size: 22px;
    line-height: 26px;
    color: #fff;
  }

  .header-register {
    position: relative;
    width: 34px;
    height: 24px;
    min-width: 34px;
    padding: 0;
    margin: 0;
    font-size: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .header-register::before,
  .header-register::after {
    content: "";
    position: absolute;
    left: 0;
    width: 34px;
    height: 4px;
    border-radius: 10px;
    background: #fff;
  }

  .header-register::before {
    top: 0;
    box-shadow: 0 10px 0 #fff;
  }

  .header-register::after {
    bottom: 0;
  }

  /* HERO */

  .hero-afanyutin {
    padding: 92px 0 70px;
    background-image: url("../img/hero-bg.png");
  }

  .hero-afanyutin__inner {
    height: auto;
    min-height: 0;
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
  }

  .hero-afanyutin__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    z-index: 5;
  }

  .hero-afanyutin__logo {
    width: 260px;
    margin: 0 0 18px;
  }

  .hero-afanyutin__badge {
    width: 100%;
    min-height: 58px;
    padding: 8px 16px;
    margin: 0 0 18px;
    border-radius: 12px;
    font-size: 24px;
    line-height: 27px;
    white-space: normal;
    text-align: left;
    justify-content: flex-start;
  }

  .hero-afanyutin__title {
    width: 100%;
    max-width: none;
    margin: 0 0 34px;
    font-size: 34px;
    line-height: 38px;
  }

  .hero-afanyutin__subtitle {
    margin: 0 0 34px;
    font-size: 22px;
    line-height: 25px;
  }

  .hero-afanyutin__button {
    width: 100%;
    height: 54px;
    font-size: 20px;
    border-radius: 999px;
  }

  .hero-afanyutin__media {
    position: relative;
    right: auto;
    top: auto;
    width: 120%;
    margin: 34px 0 0 -12%;
  }

  .hero-afanyutin__person {
    width: 100%;
    max-width: none;
  }

  .hero-afanyutin__caption {
    position: absolute;
    left: 32%;
    right: 5%;
    bottom: 34px;
    width: auto;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
  }

  /* DISCUSSION */

  .discussion {
    padding: 60px 0 70px;
    background-image: url("../img/discussion-bg.png");
  }

  .discussion__inner {
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
  }

  .discussion__title {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 0 34px;
    padding: 0;
    font-size: var(--mob-title);
    line-height: var(--mob-title-line);
  }

  .discussion__list {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
  }

  .discussion__list li {
    margin: 0 0 24px;
    font-size: 22px;
    line-height: 25px;
  }

  .discussion-form {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin: 0;
    padding: 28px 24px 28px;
    border-radius: 26px;
  }

  .discussion-form__fields {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 20px;
  }

  .discussion-form__fields input {
    height: 48px;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    border-radius: 999px;
  }

  .discussion-form__agree {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 17px;
  }

  .discussion-form__agree span br {
    display: none;
  }

  .discussion-form__button {
    height: 54px;
    font-size: 21px;
    border-radius: 999px;
  }

  .discussion-form__note {
    margin: 24px 0 0;
    font-size: 14px;
    line-height: 17px;
  }

  /* SPEAKER */

  .speaker-section {
    padding: 60px 0 70px;
    background-image: url("../img/speaker-bg.png");
  }

  .speaker-section__inner {
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
  }

  .speaker-section__title {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 0 34px;
    padding: 0;
    font-size: var(--mob-title);
    line-height: var(--mob-title-line);
  }

  .speaker-section__grid {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    display: block;
  }

  .speaker-section__name {
    margin: 0 0 34px;
    font-size: 24px;
    line-height: 28px;
  }

  .speaker-section__photo-wrap {
    width: 270px;
    height: 270px;
    margin: 0 auto 40px;
  }

  .speaker-section__text {
    width: 100%;
    max-width: none;
    font-size: 22px;
    line-height: 25px;
  }

  .speaker-section__text p {
    margin: 0 0 24px;
  }

  .speaker-section__wings {
    position: relative;
    left: auto;
    bottom: auto;
    width: 86%;
    margin: 50px auto 0;
    transform: none;
    opacity: .7;
  }

  /* PARTNERS */

  .partners-section {
    padding: 60px 0 70px;
    background-image: url("../img/partners-bg.png");
  }

  .partners-section__inner {
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
  }

  .partners-section__banner {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin: 0 0 70px;
    border-radius: 18px;
    overflow: hidden;
  }

  .partners-section__banner-img {
    width: 100%;
    height: auto;
  }

  .partners-section__title,
  .partners-section__video-title {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 0 50px;
    font-size: var(--mob-title);
    line-height: var(--mob-title-line);
  }

  .partners-section__logos {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    margin: 0 0 60px;
  }

  .partners-section__logos a,
  .partners-section__logos img {
    display: block;
  }

  .partners-section__logos img {
    max-width: 230px;
    height: auto;
  }

  .partners-section__button {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 54px;
    margin: 0 0 70px;
    font-size: 21px;
    border-radius: 999px;
  }

  /* VIDEOS */

  .videos-section {
    padding: 0 0 70px;
    
  }

  .videos-section__inner {
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
  }

  .videos-section__grid {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 0 60px;
  }

  .video-card--text {
    min-height: 140px;
    padding: 28px;
    border-radius: 18px;
  }

  .video-card--text span {
    font-size: 22px;
    line-height: 26px;
  }

  .video-card--image {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
  }

  .video-card--image iframe {
    width: 100%;
    height: 100%;
  }

  .videos-section__form {
    margin: 0 0 60px;
  }

  .bottom-banner {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
  }

  .bottom-banner__img {
    width: 100%;
    height: auto;
  }

  /* FOOTER */

  .site-footer {
    padding: 60px 0 40px;
  
  }

  .site-footer__inner {
    padding-left: var(--mob-side);
    padding-right: var(--mob-side);
  }

  .site-footer__top {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    display: block;
  }

  .site-footer__logo {
    width: 220px;
    margin: 0 0 36px;
  }

  .site-footer__brand {
    margin-bottom: 50px;
  }

  .site-footer__brand p,
  .site-footer__contacts p,
  .site-footer__contacts a {
    font-size: 18px;
    line-height: 22px;
  }

  .site-footer__socials {
    justify-content: flex-start;
    margin-bottom: 36px;
  }

  .site-footer__bottom {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 50px;
    text-align: left;
  }
}
/* =========================================
   MOBILE SPACING FIX
========================================= */

@media (max-width: 767px) {

  /* УБИРАЕМ ОГРОМНЫЕ ОТСТУПЫ */

  .hero-afanyutin {
    padding-bottom: 20px;
  }

  .discussion {
    padding-top: 20px;
    padding-bottom: 0px;
  }

  .speaker-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .partners-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .videos-section {
    padding-bottom: 30px;
  }

  .site-footer {
    padding-top: 30px;
  }

  .discussion__title,
  .speaker-section__title,
  .partners-section__title,
  .partners-section__video-title {
    margin-bottom: 20px;
  }

  .discussion__list {
    margin-bottom: 30px;
  }

  .discussion-form,
  .videos-section__form {
    margin-bottom: 30px;
  }

  .speaker-section__photo-wrap {
    margin-bottom: 20px;
  }

  .speaker-section__wings {
    margin-top: 20px;
  }

  .partners-section__banner {
    margin-bottom: 30px;
  }

  .partners-section__logos {
    margin-bottom: 30px;
    gap: 24px;
  }

  .partners-section__button {
    margin-bottom: 30px;
  }

  .videos-section__grid {
    margin-bottom: 30px;
  }

  .bottom-banner {
    margin-top: 20px;
  }

  /* =========================================
     МОБИЛЬНОЕ ФОТО В HERO
  ========================================= */

  .hero-afanyutin__media {
    width: 100%;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
  }

  .hero-afanyutin__person {
    content: url("../img/foto-hero-mob.png");
    width: 110%;
    max-width: none;
    margin-left: 8%;
  }

  .hero-afanyutin__caption {
    left: 22%;
    right: 0%;
    bottom: 20px;
    font-size: 11px;
    line-height: 13px;
    text-align: right;
  }

}
@media (max-width: 900px) {
    .hero-afanyutin__inner, .discussion__inner, .speaker-section__inner, .partners-section__inner, .videos-section__inner, .site-footer__inner {
        height: auto;
        padding: 30px 20px 70px;
    }
    
  }
  @media (max-width: 767px) {
    .partners-section__logos img {
        max-width: 170px;
        height: auto;
        margin-bottom: 40px;
    }
}
@media (max-width: 767px) {
  .header-nav::after {
    display: none !important;
    content: none !important;
  }

  .mobile-menu-register {
    width: 100%;
    height: 60px;
    margin-top: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #050505;
    color: #fff !important;
    font-family: 'Wix', Arial, sans-serif;
    font-size: 22px !important;
    font-weight: 700;
    box-shadow: 0 0 32px rgba(225, 17, 52, .85);
  }
}
@media (max-width: 767px) {
  .header-nav::after {
    display: none !important;
    content: none !important;
  }

  .mobile-menu-register {
    width: 100%;
    max-width: 306px;
    height: 60px;
    margin-top: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #050505;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 32px rgba(225, 17, 52, .85);
  }
}
.partner-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.partner-modal.active {
  display: block;
}

.partner-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}

.partner-modal__box {
  position: relative;
  width: 90%;

  margin: 80px auto;
  padding: 40px;
  border-radius: 30px;
  background: #2a0008;
  z-index: 2;
}

.partner-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.mobile-menu-register {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-menu-register {
    display: flex !important;
  }
}
@media (max-width: 767px) {
  body {
    background: #050506 url("../img/bg-mob.png") center top / 100% auto repeat-y !important;
  }

  .hero-afanyutin,
  .discussion,
  .speaker-section,
  .partners-section,
  .videos-section,
  .site-footer {
    background: transparent !important;
  }
}
@media (max-width: 900px) {
  .header-register {
    position: relative;
    width: 34px;
    height: 24px;
    min-width: 34px;
    padding: 0;
    margin: 0;
    font-size: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .header-register::before,
  .header-register::after,
  .header-register span {
    content: "";
    position: absolute;
    left: 0;
    width: 34px;
    height: 4px;
    border-radius: 10px;
    background: #fff;
    transition: .25s ease;
  }

  .header-register::before {
    top: 0;
  }

  .header-register span {
    top: 10px;
  }

  .header-register::after {
    bottom: 0;
    box-shadow: none !important;
  }

  .header-register.is-open span {
    opacity: 0;
  }

  .header-register.is-open::before {
    top: 10px;
    transform: rotate(45deg);
    box-shadow: none !important;
  }

  .header-register.is-open::after {
    bottom: 10px;
    transform: rotate(-45deg);
    box-shadow: none !important;
  }
 .header-register {
  right: 0 !important;
 }
}
@media (max-width: 767px) {
  .partners-section__banner-img {
    content: url("../img/banner-mob.png");
  }

  .bottom-banner__img {
    content: url("../img/banner-mob.png");
  }
}
/* =====================================================
   ONLY HERO SMALL FIX — desktop only
   1) больше логотип
   2) мужик по правому краю
   3) подпись под ним по правому краю
===================================================== */

@media (min-width: 901px) {
  .hero-afanyutin__logo {
    width: 30.8vw !important;
  }

  .hero-afanyutin__media {
    right: 0;
  }

  .hero-afanyutin__caption {
    left: auto;
    right: 2.8vw;
    text-align: right;
  }
  .header-logo img {
    width: 150%;
    height: auto;
}
img, iframe {
    display: block;
    max-width: 150%;
}
.hero-afanyutin__badge {
    width: 29vw;
    height: 2.15vw;
    font-size: 1.55vw;
    margin: 0 0 .7vw;
}
    .hero-afanyutin__caption {
        left: auto;
        right: 23.8vw;
        text-align: right;
    }
    .partners-section__logos img {
    width: 140px;
    height: 200px;
    object-fit: contain;
}
}
.partner-modal .discussion-form {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 30px 0 0 !important;
}

.partner-modal .discussion-form__fields {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 767px) {
  .partner-modal .discussion-form__fields {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 901px) {
  .videos-section {
    background-position: center -6vw;
  }
}
/* =====================================================
   ЕДИНЫЙ ФОН ВСЕГО ЛЕНДИНГА
===================================================== */

body {
  background: #050506 url("../img/full-bg.png") center top / 100% auto no-repeat;
}

.hero-afanyutin,
.discussion,
.speaker-section,
.partners-section,
.videos-section,
.site-footer {
  background-image: none !important;
  background-color: transparent !important;
}

@media (max-width: 900px) {
  body {
    background: #050506 url("../img/bg-mob.png") center top / 100% auto repeat-y !important;
  }
   .hero-afanyutin__badge {
        height: 3.15vw;
        margin: 0 0 .7vw;
        max-width: 270px;
    }
        .hero-afanyutin__title {
        width: 110%;
        max-width: none;
        margin: 0 0 34px;
        font-size: 30px;
        line-height: 38px;
    }
}
.success-modal__telegram img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
/* FOOTER COMPACT FIX */

@media (min-width: 901px) {
  .site-footer {
    height: 34vw;
    min-height: 34vw;
    overflow: hidden;
  }

  .site-footer__top {
    top: 5.5vw;
  }

  .site-footer__logo {
    width: 18vw;
    margin-bottom: 2.4vw;
  }

  .site-footer__brand p,
  .site-footer__contacts p,
  .site-footer__contacts a {
    font-size: 1.05vw;
    line-height: 1.15;
  }

  .site-footer__socials {
    margin-bottom: 2.4vw;
  }

  .site-footer__bottom {
    bottom: 2vw;
  }
}
.videos-section__title {
  margin: 0 0 60px;
  font-family: 'a_LCDNova', Arial, sans-serif;
  font-size: 3.12vw;
  line-height: 1;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
}
@media (min-width: 901px) {
  .videos-section__title {
    position: absolute;
    left: var(--work-left);
    top: 0;
    margin: 0;
    font-family: 'a_LCDNova', Arial, sans-serif;
    font-size: 3.12vw;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    z-index: 3;
  }

  .videos-section__grid {
    top: 6vw;
  }
}

.videos-section__inner {
  margin-top: 80px;
}
.site-footer__bottom {
  bottom: 3vw;
}
.site-footer {
    min-height: 26vw !important;
    height: 26vw !important;
}
/* FIX VK iframe white stripe */

.video-card--image {
  overflow: hidden;
}

.video-card--image iframe {
  width: calc(100% + 2px);
  margin-right: -2px;
  border: 0;
}
.partners-section__button {
  position: relative;
  border: 0 !important;
  outline: 0 !important;
  overflow: hidden;

  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.partners-section__button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: #020203;
  z-index: -1;
}
/* PARTNER MODAL — layout like mockup */

.partner-modal__box {
  width: 62vw !important;
  max-width: 980px !important;


  margin: 12vw auto 0 !important;
  padding: 2.2vw 2.4vw 2.4vw !important;

  border-radius: 1.4vw !important;
  background: #ab1829 !important;
}

.partner-modal__box h2 {
  margin: 0 0 1.2vw !important;
  font-size: 1.45vw !important;
}

.partner-modal .discussion-form__fields {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: .65vw !important;
}

.partner-modal .discussion-form input[type="text"],
.partner-modal .discussion-form input[type="tel"],
.partner-modal .discussion-form input[type="email"] {
  height: 2.25vw !important;
  min-height: 34px !important;
  font-size: .72vw !important;
}

.partner-modal .discussion-form__button {
  height: 3.2vw !important;
  min-height: 46px !important;
  margin-top: 1vw !important;
}
/* PARTNER MODAL — FINAL LIKE MOCKUP */

.partner-modal__box {
  width: 62vw !important;
  max-width: 980px !important;


  margin: 9vw auto 0 !important;
  padding: 2.2vw 2.4vw 2.6vw !important;

  border-radius: 1.5vw !important;
  background: #ab1829 !important;
}

.partner-modal__box h2 {
  margin: 0 0 1.6vw !important;
  font-size: 1.45vw !important;
  line-height: 1.1 !important;
  color: #fff !important;
}

.partner-modal .discussion-form {
  position: static !important;

  width: 100% !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.partner-modal .discussion-form__fields {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: .65vw !important;
  margin: 0 0 .9vw !important;
}

.partner-modal .discussion-form input[type="text"],
.partner-modal .discussion-form input[type="tel"],
.partner-modal .discussion-form input[type="email"] {
  height: 2.25vw !important;
  min-height: 34px !important;
  padding: 0 .8vw !important;

  background: rgba(2, 2, 3, .35) !important;
  border: 1px solid #c31a33 !important;
  border-radius: 999px !important;

  font-size: .72vw !important;
  color: #fff !important;
}

.partner-modal .discussion-form__agree {
  margin: 0 0 1.45vw !important;
  font-size: .48vw !important;
  line-height: 1.15 !important;
  color: rgba(255, 255, 255, .65) !important;
}

.partner-modal .discussion-form__agree input {
  flex: 0 0 .95vw !important;
  width: .95vw !important;
  height: .95vw !important;
  min-width: 14px !important;
  min-height: 14px !important;
}

.partner-modal .discussion-form__button {
  width: 100% !important;
  height: 3.2vw !important;
  min-height: 48px !important;

  margin: 0 !important;

  border-radius: 999px !important;
  background: #020203 !important;

  font-size: 1.05vw !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.partner-modal__close {
  top: 1vw !important;
  right: 1vw !important;

  width: 2.2vw !important;
  height: 2.2vw !important;
  min-width: 34px !important;
  min-height: 34px !important;

  border-radius: 50% !important;
  background: #fff !important;
  color: #000 !important;
  font-size: 1vw !important;
}
/* =========================================
   PARTNER MODAL — EXACT MOCKUP STYLE
========================================= */

.partner-modal__box {
  position: relative;

  width: 52vw !important;
  max-width: 820px !important;


  margin: 10vw auto 0 !important;

  padding:
    1.8vw
    1.8vw
    1.6vw !important;

  border-radius: 1.4vw !important;

  background:
    linear-gradient(
      180deg,
      #d51f3a 0%,
      #c3172f 55%,
      #cf1c37 100%
    ) !important;

  box-shadow:
    0 0 50px rgba(255,0,60,.28);
}

/* TITLE */

.partner-modal__box h2 {
  margin: 0 0 1.1vw !important;

  font-size: 1.1vw !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  color: #fff !important;
}

/* FORM RESET */

.partner-modal .discussion-form {
  position: static !important;

  width: 100% !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* INPUTS */

.partner-modal .discussion-form__fields {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;

  gap: .55vw !important;

  margin: 0 0 .7vw !important;
}

.partner-modal .discussion-form input[type="text"],
.partner-modal .discussion-form input[type="tel"],
.partner-modal .discussion-form input[type="email"] {

  height: 2vw !important;
  min-height: 30px !important;

  padding: 0 .7vw !important;

  border-radius: 999px !important;

  border: 1px solid rgba(90,0,15,.65) !important;

  background:
    rgba(120,0,20,.14) !important;

  color: #220006 !important;

  font-size: .62vw !important;
}

/* PLACEHOLDER */

.partner-modal .discussion-form input::placeholder {
  color: rgba(60,0,8,.7) !important;
}

/* AGREE */

.partner-modal .discussion-form__agree {
  margin: 0 0 1vw !important;

  font-size: .42vw !important;
  line-height: 1.15 !important;

  color: rgba(60,0,8,.78) !important;
}

.partner-modal .discussion-form__agree input {
  width: .8vw !important;
  height: .8vw !important;

  min-width: 12px !important;
  min-height: 12px !important;

  border: 1px solid rgba(60,0,8,.7) !important;
}

/* BUTTON */

.partner-modal .discussion-form__button {

  height: 2.8vw !important;
  min-height: 42px !important;

  border-radius: 999px !important;

  background: #020203 !important;

  color: #fff !important;

  font-size: .95vw !important;
  font-weight: 700 !important;

  box-shadow:
    0 0 24px rgba(255,0,60,.65) !important;
}

/* CLOSE */

.partner-modal__close {

  position: absolute;

  top: .7vw !important;
  right: .8vw !important;

  width: 1.3vw !important;
  height: 1.3vw !important;

  min-width: 18px !important;
  min-height: 18px !important;

  border: 0 !important;

  background: transparent !important;

  color: #fff !important;

  font-size: .9vw !important;

  cursor: pointer;
}
.partner-modal__box {
  background: #AB1829 !important;
}
.success-modal__box {
  background: #AB1829 !important;
}
@media (min-width: 901px) {
   
}
.success-modal__telegram img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    margin-top: -8px;
}
.partners-section__logos a {
  height: 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-section__logos img {
  width: auto !important;
  height: 100% !important;
  max-width: 70% !important;
  object-fit: contain;

}

.partners-section__logos {
    position: absolute;
    left: var(--work-left);
    top: 32.9vw;
    width: var(--banner-width);
    display: grid;
    grid-template-columns: 16.2vw 16.2vw 16.2vw 16.2vw;
    gap: 0;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.partners-section__logos a:nth-child(4) img {
  height: 4.4vw !important;
}
.speaker-section__title {
  margin-top: 40px;
}
.hero-afanyutin__person {
width: 105%;
}
@media (max-width: 767px) {
    .speaker-section__wings {
        margin-top: 80px;
        margin-bottom: -80px;
    }
}
@media (max-width: 767px) {
     .partners-section__title {
        margin-bottom: 20px;
        margin-top: 200px;
    }
}
@media (max-width: 767px) {

  .partner-modal {
    padding: 20px 12px;
    overflow-y: auto;
  }

  .partner-modal__box {
    width: 100%;
    max-width: 100%;
    padding: 28px 18px 32px;
    border-radius: 28px;
    background: #AB1829;
    box-sizing: border-box;
    position: relative;
  }

  .partner-modal__box h2 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
  }

  .partner-modal .discussion-form__fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100%;
  }

  .partner-modal .discussion-form__fields input {
    width: 100% !important;
    height: 56px;
    border-radius: 40px;
    border: 2px solid rgba(0,0,0,0.7);
    background: transparent;
    padding: 0 24px;
    font-size: 18px;
    color: #000;
    box-sizing: border-box;
  }

  .partner-modal .discussion-form__fields input::placeholder {
    color: rgba(0,0,0,0.8);
  }

  .partner-modal .discussion-form__agree {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
    margin-bottom: 30px;
  }

  .partner-modal .discussion-form__agree input {
    width: 28px;
    min-width: 28px;
    height: 28px;
    margin: 0;
  }

  .partner-modal .discussion-form__agree span {
    font-size: 14px;
    line-height: 1.3;
    color: #000;
  }

  .partner-modal .discussion-form__button {
    width: 100%;
    height: 86px;
    border: none;
    border-radius: 60px;
    background: #000;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.75);
  }

  .partner-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    padding: 0;
  }
}
/* =====================================================
   PARTNER MODAL MOBILE HARD FIX
   вставить самым последним в style.css
===================================================== */

@media (max-width: 900px) {
  .partner-modal.active {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 24px 16px !important;
    overflow-y: auto !important;
  }

  .partner-modal__box {
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
    padding: 28px 18px 28px !important;
    border-radius: 24px !important;
    background: #AB1829 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .partner-modal__box .discussion-form {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .partner-modal__box .discussion-form__fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
  }

  .partner-modal__box .discussion-form input[type="text"],
  .partner-modal__box .discussion-form input[type="tel"],
  .partner-modal__box .discussion-form input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 58px !important;
    padding: 0 20px !important;
    border: 2px solid #000 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #000 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .partner-modal__box .discussion-form__agree {
    display: grid !important;
    grid-template-columns: 28px 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 22px 0 34px !important;
    color: #000 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .partner-modal__box .discussion-form__agree input {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    margin: 0 !important;
    border: 2px solid #000 !important;
  }

  .partner-modal__box .discussion-form__button {
    width: 100% !important;
    max-width: 100% !important;
    height: 76px !important;
    border-radius: 999px !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
  }
}
@media (max-width: 900px) {
  .partner-modal__box {
    width: calc(100vw - 40px) !important;
    max-width: 390px !important;
    padding: 24px 18px 28px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  .partner-modal__box .discussion-form {
    width: 100% !important;
    padding: 0 !important;
    margin: 22px 0 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .partner-modal__box .discussion-form__fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .partner-modal__box .discussion-form input[type="text"],
  .partner-modal__box .discussion-form input[type="tel"],
  .partner-modal__box .discussion-form input[type="email"] {
    width: 100% !important;
    height: 54px !important;
    font-size: 20px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .partner-modal__box .discussion-form__agree {
    grid-template-columns: 24px 1fr !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin: 20px 0 30px !important;
    overflow-wrap: anywhere !important;
  }

  .partner-modal__box .discussion-form__button {
    width: 100% !important;
    height: 64px !important;
    font-size: 24px !important;
  }
  .partner-modal__box h2 {
font-size: 7vw !important;
  }
}
    /* ===== MOBILE PARTNERS FIX ===== */

@media (max-width: 768px) {
  .partners-section {
    padding: 36px 0 46px;
    background: #eef2f8;
  }

  .partners-container {
    padding: 0 22px;
  }

  .partners-title {
    margin: 0 0 28px !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    text-align: center;
  }

  .partners-logos {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 22px !important;
    margin: 0 0 34px !important;
  }

  .partners-logo {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: none !important;
  }

  .partners-logo img {
    max-width: 210px !important;
    max-height: 76px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .partners-logo:first-child img {
    max-height: 90px !important;
  }

  .partners-logo--wide img {
    max-width: 240px !important;
    max-height: 58px !important;
  }

  .partners-button {
    min-width: 260px !important;
    height: 58px !important;
    padding: 0 28px !important;
    border-width: 3px !important;
    font-size: 24px !important;
  }
}
@media (max-width: 767px) {
  img,
  iframe {
    max-width: 100% !important;
  }

  .partners-section__banner-img,
  .bottom-banner__img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .partners-section__logos {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 24px 0 36px !important;
  }

  .partners-section__logos a {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .partners-section__logos img {
    width: auto !important;
    max-width: 190px !important;
    height: auto !important;
    max-height: 70px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  .partners-section__button {
    margin-top: 0 !important;
  }
}
/* =========================================
   MOBILE PARTNERS FIX
========================================= */

@media (max-width: 767px) {

  .partners-section__inner {
    display: flex;
    flex-direction: column;
  }

  .partners-section__banner {
    order: 1;
    margin-bottom: 40px !important;
  }

  .partners-section__title {
    order: 2;
    position: relative !important;
    top: auto !important;
    left: auto !important;

    margin: 0 0 36px !important;

    text-align: left;
  }

  .partners-section__logos {
    order: 3;

    position: relative !important;
    top: auto !important;
    left: auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    width: 100% !important;

    gap: 28px !important;
    margin: 0 0 40px !important;
  }

  .partners-section__logos a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .partners-section__logos img {
    width: auto !important;
    max-width: 180px !important;
    height: auto !important;
    max-height: 70px !important;
    margin: 0 !important;
    object-fit: contain;
  }

  .partners-section__button {
    order: 4;

    position: relative !important;
    top: auto !important;
    left: auto !important;

    width: 100% !important;
    margin: 0 !important;
  }
}
@media (max-width: 767px) {

  .partners-section__logos {
    gap: 34px !important;
  }

  .partners-section__logos a {
    height: 72px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .partners-section__logos img {
    width: auto !important;
    height: auto !important;

    max-width: 220px !important;
    max-height: 58px !important;

    object-fit: contain !important;

    display: block;
  }

  /* индивидуально подгоняем */

  .partners-section__logos a:nth-child(1) img {
    max-width: 170px !important;
  }

  .partners-section__logos a:nth-child(2) img {
    max-width: 190px !important;
  }

  .partners-section__logos a:nth-child(3) img {
    max-width: 170px !important;
  }

  .partners-section__logos a:nth-child(4) img {
    max-width: 95px !important;
  }
}
@media (max-width: 767px) {

  .partners-section__title {
    margin-top: 70px !important;
    margin-bottom: 42px !important;
  }

  .partners-section__logos {
    gap: 42px !important;
    margin-bottom: 52px !important;
  }

  .partners-section__logos a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 72px !important;
  }

  .partners-section__logos img {
    display: block !important;
    object-fit: contain !important;

    width: 190px !important;
    height: 58px !important;

    max-width: none !important;
    max-height: none !important;
  }

  /* MEDPRIBOR чуть меньше */
  .partners-section__logos a:nth-child(4) img {
    width: 95px !important;
    height: 40px !important;
  }
}
@media (max-width: 767px) {
  .site-footer {
    height: auto !important;
    min-height: 0 !important;
    padding: 60px 0 70px !important;
    overflow: visible !important;
  }

  .site-footer__inner {
    height: auto !important;
    padding: 0 28px 0 !important;
  }

  .site-footer__top,
  .site-footer__brand,
  .site-footer__contacts,
  .site-footer__bottom {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .site-footer__contacts p {
    margin-bottom: 1.45vw;
    text-align: left;
}
.site-footer__contacts a {
    display: block;
    text-align: left;
}
}