* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body {
  position: relative;
  background-color: #0b0b0b;
  color: #ffffff;
  overflow-x: hidden;
}
header {
  width: 100%;
  margin: 0;
  padding: 0;
}
main {
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.main-nav {
  background-color: #0b0b0b;
  border-bottom: 1px solid #222222;
  height: 6.25rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  gap: 15px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0.9375rem;
  padding: 0 1.5%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: transform 0.4s ease-in-out;
  transform: translateY(0);
}
.main-nav.nav-hidden {
  transform: translateY(-6.875rem);
}
.hamburger-cyber {
  display: none;
  order: 2;
  margin-right: 0.0375rem;
  background: none;
  border: none;
  color: #007bc4;
  font-size: 1.75rem;
  cursor: pointer;

  /* 🔥 ЖЁСТКОЕ ПРИНУЖДЕНИЕ: Слой выше шторки, полоски всегда будут видны! */
  position: relative !important;
  z-index: 2000000 !important;
}
.nav-links {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.9375rem);
  white-space: nowrap;
  width: auto;
  flex: 1;
}
.lang-switch {
  color: #666666;
  font-size: 0.875rem;
  font-family: monospace;
  font-weight: bold;
  margin-right: 2.1875rem;
  user-select: none;
  white-space: nowrap;
  border: 1px solid transparent !important;
}
.lang-switch span,
.lang-switch a,
.nav-links a,
a.btn-sales,
.lang-block a {
  display: inline-block !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  text-decoration: none;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 800 !important;
  font-size: 0.875rem;
  padding: 0.625rem 0.9375rem !important;
  border: 1px solid transparent !important;
  border-radius: 4px;
  flex-shrink: 0 !important;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    text-shadow 0.2s ease !important;
}
span.lang-current {
  color: #33b5ff !important;
  font-weight: bold !important;
  text-shadow: 0 0 10px rgba(51, 181, 255, 0.4);
}
.nav-links a.active {
  color: #007bc4 !important;
  text-shadow: 0 0 12px rgba(0, 123, 196, 0.6) !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
.btn-sales {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 700;
  color: #ffffff;
  background-color: #007bc4;
  flex-shrink: 1;
  margin-left: auto;
  display: block !important;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 15px rgba(0, 123, 196, 0.3);
}
.btn-sales:hover {
  background-color: #064569 !important;
  box-shadow: 0 0.375rem 1.25rem #ffffff !important;
  transform: scale(1.02) !important;
  opacity: 1 !important;
  text-shadow: 0 0 12px #33b5ff;
  border-color: rgb(255, 255, 0) !important;
}

.logo-block span:hover,
.nav-links a:hover,
.lang-switch a:hover {
  color: #33b5ff !important;
  opacity: 1 !important;
  text-shadow: 0 0 0.75rem #33b5ff;
  border-color: yellow !important;
}
.main-nav .logo-block a {
  display: flex !important;
  align-items: center !important;
  gap: 0.9375rem !important;
  text-decoration: none !important;
  width: auto !important;
  height: auto !important;
  margin-right: 0 !important;
}
.brand-logo-cyber img,
.logo-block img {
  width: 5.625rem !important;
  height: 5.625rem !important;
  object-fit: contain !important;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-logo-cyber .logo-text,
.logo-block span {
  font-size: 1.25rem !important;
  font-weight: bold !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  letter-spacing: 1px;
  border: 1px solid transparent;
  padding: 0.625rem;
  border-radius: 4px;
  transition: 0.25s ease;
}
.sci-fi-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group input,
.form-group-message,
.form-group select {
  width: 100%;
  background-color: #0b0b0b;
  border: 1px solid #222222;
  padding: 10px;
  color: #ffffff;
  border-radius: 0.25rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-group-message {
  resize: vertical;
}
.btn-form-submit {
  background: #007bc4;
  color: #fff;
  border: none;
  padding: 0.9375rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #007bc4;
}

.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(../pfoto/View_01.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 1;
}
.intro-robot-layer {
  position: absolute;
  top: 6.875rem;
  right: 5%;
  width: 45%;
  height: 80vh;
  background-image: url(../pfoto/Robot_02.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  mix-blend-mode: multiply;
  z-index: 3;
}
.site-section {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #050505;
  border-bottom: 1px solid #111111;
  box-sizing: border-box;
}
#products {
  margin-top: 100vh;
}
.site-section + .site-section {
  margin-top: 6.25rem;
}
.section-content {
  width: 100%;
  max-width: 1200px;
  padding: 0.9375rem;
  text-align: left;
  box-sizing: border-box;
}
.section-contakt {
  flex: 1;
  min-width: 250px;
}
.section-content_site {
  display: flex;
  flex-wrap: wrap;
  gap: 6.25rem;
  align-items: flex-start;
}
.service-promo-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.e_mail {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.2s;
}
.e-mail {
  color: #007bc4;
  margin-right: 0.625rem;
}
.adress {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.8;
  font-family: monospace;
}
.request {
  flex: 1;
  max-width: 700px;
  background-color: #121212;
  border: 1px solid #1a1a1a;
  padding: 0 0.625rem;
  border-radius: 4px;
  margin-top: 1.25rem;
}
h1.portfolio-title {
  color: #ffffff;
  font-size: clamp(1.2rem, 1.2vw + 0.8rem, 1.8rem);
  border-left: 0.25rem solid #007bc4; /* 4px → 0.25rem */
  padding-left: 0.9375rem;
  margin: 0;
  letter-spacing: 0.0625rem;
}
h1.cyber-title-main {
  word-wrap: break-word;
  width: 100%;
  font-size: clamp(1.4rem, 3vw + 0.5rem, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03125rem;
  color: #ffffff;
}
h1.cybertitle-star {
  display: flex;
  justify-content: center;
}
h2.cyber-title-section {
  font-size: clamp(1rem, 2vw + 0.2rem, 1.6rem);
  line-height: 1.3;
  font-weight: 700;
  color: #007bc4;
  letter-spacing: 0.03125rem;
  text-transform: uppercase;
}
h3.cyber-title-card {
  font-size: clamp(0.95rem, 1.5vw + 0.2rem, 1.25rem);
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 1.5625rem;
  color: #ffffff;
}
h3.devlog-title {
  margin-top: 0;
  color: #fff;
}
h4.tech-tag-sub {
  font-size: clamp(0.7rem, 1vw + 0.1rem, 0.9rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.0625rem;
  text-transform: uppercase;
}
p.intro-text {
  font-size: clamp(0.625rem, 1.2vw + 0.2rem, 1.1rem);
  line-height: 1.6;
  color: #b3b3b3;
}
p.devlog-description {
  color: #666;
  font-size: 0.9375rem;
  max-width: 500px;
  margin: 0 auto 1.25rem auto;
}
p.conect {
  margin-top: 1.25rem;
}
span.logo-text {
  font-size: clamp(1rem, 2vw + 0.2rem, 1.4rem);
  font-weight: bold;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.0625rem;
  padding: 0.625rem;
  border-radius: 0.25rem;
  transition: 0.25s ease;
}
span.devlog-status {
  color: #007bc4;
  font-weight: bold;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}
span.blue-neon {
  color: #007bc4;
  text-shadow: 0 0 0.625rem rgba(0, 123, 196, 0.5);
}
span.info-label {
  font-size: clamp(0.65rem, 1vw + 0.1rem, 0.85rem);
  font-weight: 700;
  color: #007bc4;
  letter-spacing: 0.125rem;
}
span.msg-icon {
  font-size: clamp(0.85rem, 1.5vw + 0.1rem, 1.1rem);
}
span.case-status {
  color: #555;
  font-size: clamp(0.65rem, 1vw + 0.1rem, 0.85rem);
  font-family: monospace;
}
span.input-tag {
  font-size: clamp(0.65rem, 1vw + 0.1rem, 0.85rem);
  font-weight: 700;
  color: #555555;
  letter-spacing: 0.0625rem;
  white-space: nowrap;
}
span.lang-current {
  color: #33b5ff;
  font-weight: bold;
  font-size: clamp(0.75rem, 1.2vw + 0.1rem, 1rem);
  text-shadow: 0 0 0.625rem rgba(51, 181, 255, 0.4);
}
.product-media-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  margin-top: 3.125rem;
  width: 100%;
}
.gallery-devlog {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.product-block {
  margin-bottom: 2.5rem;
}
.video-box {
  background-color: #0b0b0b !important;
  border: 1px solid #1c1c1c !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.devlog-episode {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: #0b0b0b;
  padding: 2.5rem;
  border: 1px solid #222;
  border-radius: 4px;
}
.devlog-emoji {
  font-size: 3px;
  color: #007bc4;
  margin-bottom: 0.9275rem;
}
.product-video {
  width: 100%;
  height: 28.125rem;
  background-color: #000000;
  object-fit: contain;
  border-radius: 4px;
}
.media-images {
  display: flex;
  gap: 1.25rem;
  width: 100%;
}
.media-images .media-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #111111;
  padding: 0.9375rem;
  border-radius: 6px;
  border: 1px solid #222222;
  box-sizing: border-box;
}
.product-thumb {
  width: 100%;
  max-height: 500px;
  background-color: #0b0b0b;
}
.media-item span {
  color: #666666;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.625rem;
}
.product-media-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  margin-top: 3.125rem;
  width: 100%;
}
.media-item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background-color: #111111;
  padding: 0.9375rem;
  border-radius: 6px;
  border: 1px solid #222222;
  box-sizing: border-box;
}
.media-item span {
  color: #666666;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.video-box {
  background-color: #0b0b0b !important;
  border: 1px solid #1c1c1c !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-video {
  width: 100%;
  height: 28.125rem;
  background-color: #000000;
  object-fit: contain;
  border-radius: 4px;
}
.media-images {
  display: flex;
  gap: 1.25rem;
  width: 100%;
}
.media-images .media-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #111111;
  padding: 0.9375rem;
  border-radius: 6px;
  border: 1px solid #222222;
}
.media-images .media-item:nth-child(2) .product-thumb {
  object-fit: contain;
}
.media-images .media-item:first-child .product-thumb {
  object-fit: fill;
}
.product-thumb {
  width: 100%;
  max-height: 500px;
  background-color: #0b0b0b;
}
.contacts-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contacts-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  margin-top: 1.875rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #111111;
  border: 1px solid #222222;
  padding: 1.125rem 1.5625rem;
  border-radius: 6px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1rem;
  font-family: monospace;
  transition: 0.3s ease-in-out;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}
.contact-item:hover {
  background-color: #0c1a24;
  border-color: #007bc4;
  transform: translateX(5px);
}
.contact-icon {
  font-size: 20px;
  color: #007bc4;
  width: 1.5625rem;
  text-align: center;
}
.contact-label {
  color: #888888;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}
.site-footer {
  background-color: #0b0b0b;
  border-top: 1px solid #222222;
  padding: 3.75rem 5% 1.875rem 5%;
  width: 100%;
  box-sizing: border-box;
  font-family: sans-serif;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  flex: 1;
  min-width: 200px;
}
.footer-logo {
  height: 3.75rem;
  width: 3.75rem;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #444444;
  margin-bottom: 1.25rem;
  cursor: pointer;
}
.footer-socials {
  display: flex;
  gap: 0.9375rem;
}
.footer-socials a {
  color: #888888;
  text-decoration: none;
  font-size: 1.125rem;
  transition: 0.2s;
}
.footer-socials a:hover {
  color: #007bc4;
}
.footer-column {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-column a {
  color: #888888;
  text-decoration: none;
  font-size: 0.875rem;
  transition: 0.2s;
}
.footer-column a:hover {
  color: #ffffff;
}
.footer-bottom {
  margin-top: 3.125rem;
  border-top: 1px solid #1c1c1c;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  color: #444444;
  font-size: 0.75rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.intro-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  position: absolute;
  top: 65%;
  left: 3%;
  right: 3%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 800px;
  z-index: 5;
  padding: 5vh 1% 1% 1%;
  background: rgba(5, 5, 5, 0.65);
  border-left: 5px solid #007bc4;
  border-radius: 4px;
}
.cyber-title-main {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.cyber-title-section {
  color: #007bc4;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5625rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.intro-text {
  color: #ffffff !important;
  font-size: 1.125rem !important;
  line-height: 1.8 !important;
  margin: 0;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  background-color: #111111;
  border: 1px solid #222222;
  padding: 1.125rem 1.5625rem;
  border-radius: 6px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1rem;
  font-family: monospace;
  transition: 0.3s ease-in-out;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}
.contact-item:hover {
  background-color: #0c1a24;
  border-color: #007bc4;
  transform: translateX(5px);
}
.contact-icon {
  font-size: 1.25rem;
  color: #007bc4;
  width: 1.5625rem;
  text-align: center;
}
.contact-label {
  color: #888888;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}
@media (max-width: 1441px) and (min-width: 1385px) {
  div.div-intro-bg,
  div.intro-bg,
  .intro-bg {
    margin-top: 5.3125rem !important;
    padding-top: 0px !important;
  }
  div.intro-content {
    top: 50%;
  }
  .section-content {
    width: 94%;
    padding: 0.9375rem;
    text-align: left;
    box-sizing: border-box;
  }
}
@media (max-width: 1385px) and (min-width: 1165px) {
  div.div-intro-bg,
  div.intro-bg,
  .intro-bg {
    margin-top: 5.3125rem !important;
    padding-top: 0px !important;
  }
  .logo-block span {
    display: none;
  }
  div.intro-content {
    top: 50%;
  }
  .section-content {
    width: 94%;
    padding: 0.9375rem;
    text-align: left;
    box-sizing: border-box;
  }
}
@media (max-width: 1165px) {
  .logo-text,
  .nav-links {
    display: none !important;
  }
  div.intro-content {
    top: 60%;
  }
  .hamburger-cyber {
    display: inline-block !important;
    order: 2;
    font-size: 1.375rem !important;
    color: #ffffff !important;
    cursor: pointer !important;
    padding: 0 0.25rem !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: 1.5625rem !important;
  }

  .hamburger-cyber:hover {
    border: 1px solid ye;
  }
  .nav-links.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    position: absolute !important;
    top: 6.875rem !important;
    right: 0 !important;
    left: auto !important;
    height: auto !important;
    max-height: calc(100vh - 6.875rem) !important;
    width: 18.75rem !important;
    background-color: #0b0b0b !important;
    border-left: 1px solid #1c1c1c !important;
    border-bottom: 2px solid #007bc4 !important;
    overflow-y: auto !important;
    padding: 1.25rem 0 !important;
    gap: 0.3125rem;
    z-index: 999999 !important;
  }
  .nav-links.active .nav-item {
    display: block !important;
    width: calc(100% - 2.5rem) !important;
    margin: 0.4375rem auto !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0.875rem 0 !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
  }
  .nav-links.active .nav-item:hover,
  .nav-links.active .nav-item.active {
    background-color: #111111 !important;
    color: #007bc4 !important;
  }
  .nav-links.active .btn-sales {
    display: block !important;
    width: calc(100% - 2.5rem) !important;
    margin: 0.4375rem auto !important;
    background-color: #007bc4 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0.875rem 0 !important;
    border-radius: 4px !important;
    border: 1px solid #33b5ff !important;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 123, 196, 0.4) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
  }
  .nav-links.active .btn-sales:hover {
    background-color: #064569 !important;
    box-shadow: 0 0.375rem 1.25rem #33b5ff !important;
    transform: scale(1.02) !important;
    opacity: 1 !important;
    text-shadow: 0 0 12px #33b5ff;
    border-color: rgb(255, 255, 0) !important;
  }
  .section-content {
    width: 94%;
    padding: 0.9375rem;
    text-align: left;
    box-sizing: border-box;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  /* Задаем родителю вертикальное отображение */
  .section-content_site {
    display: flex;
    flex-direction: column; /* Элементы встанут один под другим */
    gap: 1.25rem; /* Делаем красивый отступ между ними по вертикали */
  }

  /* Опционально: делаем дочерние блоки эластичными на весь экран */
  .section-contakt,
  .request {
    width: 100%; /* Каждый блок займет всю ширину родителя */
  }
}
