/* HEADER */
.main-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  width: 100vw;
  height: 80px;
  z-index: 100;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.logo {
  position: relative;
  left: 48px;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(30,30,30,0.07);
  z-index: 101;
  background: #fff;
  pointer-events: auto;
}
.logo svg { width: 34px; height: 34px; }

.lang-switch {
  position: relative;
  right: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(30,30,30,0.08);
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  cursor: pointer;
  border: none;
  pointer-events: auto;
}
.lang-switch img {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 50%;
  border: none;
}

/* Фиксированный футер */
.contact-info {
  position: fixed;
  right: 36px;
  bottom: 22px;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(30,30,30,0.10);
  border-radius: 14px;
  padding: 18px 28px 16px 20px;
  font-size: 1.07rem;
  color: #111;
  text-align: left;
  font-weight: 500;
  min-width: 250px;
  max-width: 304px;
  pointer-events: auto;
}
.contact-info strong {
  font-size: 1.08em;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}
.contact-info a, .contact-info a:visited {
  color: #111;
  text-decoration: none;
  pointer-events: auto;
}

/* Убрать выделение и синие цвета */
a, a:visited, a:active {
  color: #111;
  text-decoration: none;
}
a:focus, a:hover {
  color: #111;
  text-decoration: none;
  outline: none;
}

/* Запретить скролл вниз (если контент не влезет — появится скролл только по оси y) */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #f7f8fa;
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
}
body {
  min-height: 100vh;
  overflow-y: hidden;
}

.hero-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 93vh;
  gap: 64px;
  position: relative;
  z-index: 1;
}

/* --- ОСНОВНЫЕ КАРТОЧКИ --- */
.content-card,
.video-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.content-card {
  max-width: 680px;
  min-width: 420px;
}
.content-card h1 {
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.13;
  margin-bottom: 24px;
  letter-spacing: -0.4px;
}
.content-card p {
  font-size: 1.40rem;
  margin: 0;
  line-height: 1.43;
}

.video-card {
  padding: 50px 44px 50px 44px;
  max-width: 650px;
  min-width: 320px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card video {
  width: 100%;
  max-width: 720px;
  max-height: 540px;
  min-height: 260px;
  min-width: 340px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  opacity: 0.99;
}

.bottom-section {
  display: none;
}

/* --- АДАПТИВ --- */
@media (max-width: 1150px) {
  .hero-section {
    gap: 34px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .content-card {
    padding: 39px 11px 26px 11px;
    max-width: 98vw;
    min-width: 170px;
  }
  .video-card {
    padding: 23px 5vw 23px 5vw;
    max-width: 98vw;
    min-width: 120px;
  }
  .video-card video {
    max-width: 97vw;
  }
}
@media (max-width: 820px) {
  .hero-section {
    flex-direction: column;
    gap: 28px;
    min-height: 640px;
    padding: 16px 2vw 10vw 2vw;
  }
}
@media (max-width: 550px) {
  .content-card,
  .video-card {
    min-width: unset;
    padding: 9vw 2vw 7vw 2vw;
    border-radius: 20px;
  }
  .hero-section {
    padding-top: 40px;
  }
  .video-card video {
    border-radius: 15px;
  }
}
