:root {
  --bg: #05080e;
  --bg-soft: #0b121c;
  --text: #edf2fb;
  --muted: #9ea9ba;
  --line: #1d2a3c;
  --brand: #71beff;
  --brand-2: #9be7ff;
  --brand-3: #7b7cff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  background:
  radial-gradient(circle at 12% -8%, rgba(64, 101, 170, 0.26), transparent 45%),
  radial-gradient(circle at 86% 20%, rgba(58, 88, 146, 0.2), transparent 38%),
  var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

body::before,
body::after {
  position: fixed;
  top: 50%;
  left: 40%;
  width: 400px;
  height: 520px;
  border-radius: 50%;
  content: "";
  filter: blur(20px);
  opacity: 0.09;
  mix-blend-mode: normal;
  animation: background-move 54s -27s infinite ease-in-out alternate;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background-color: #173b68;
  animation-duration: 54s;
  animation-delay: -27s;
}

body::after {
  background-color: #4b277b;
  animation-duration: 63s;
  animation-delay: -32s;
}

@keyframes background-move {
  from {
    transform: rotate(0deg) scale(0.7) translate(-50vw, 10vh);
  }

  to {
    transform: rotate(360deg) scale(2) translate(20vw, -10vh);
  }
}

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

header,
nav,
main,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-3) 100%);
  box-shadow: 0 0 20px rgba(120, 170, 255, 0.5);
}

.topbar {
  border-bottom: 1px solid #24364f;
  font-size: 14px;
  color: var(--muted);
  background: linear-gradient(90deg, rgba(14, 25, 40, 0.85), rgba(11, 16, 26, 0.85));
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 18, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #24364f;
  box-shadow: 0 12px 30px rgba(2, 7, 16, 0.38);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 180px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid #314967;
  border-radius: 999px;
  background: rgba(14, 22, 34, 0.8);
  padding: 3px;
}

.lang-switch a {
  min-width: 38px;
  text-align: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(114, 192, 255, 0.36), rgba(108, 123, 255, 0.36));
}

.nav-contact-btn {
  padding: 11px 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease, opacity 0.25s ease;
  opacity: 0.86;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  opacity: 1;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
}

.section {
  padding: 98px 0;
}

.hero {
  padding-top: 124px;
}

.hero-full {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 130px 0 96px;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
  linear-gradient(90deg, rgba(6, 11, 18, 0.82) 0%, rgba(7, 12, 20, 0.62) 42%, rgba(8, 12, 20, 0.34) 100%),
  linear-gradient(180deg, rgba(5, 8, 14, 0.38) 0%, rgba(5, 8, 14, 0.68) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.62fr;
  gap: 24px;
  align-items: end;
}

.hero-grid,
.grid-2 {
  display: grid;
  gap: 26px;
}

.hero-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
/*  border: 1px solid rgba(56, 83, 116, 0.75);
  border-radius: 16px;*/
/*  padding: 28px;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.72), rgba(8, 14, 24, 0.84));
  backdrop-filter: blur(6px);*/
}

.hero-copy h1 {
  font-size: clamp(30px, 4.1vw, 52px);
}

.hero-copy .lead {
  max-width: 520px;
  font-size: 17px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.15;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.lead {
  margin-top: 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-kpi {
  justify-self: end;
  width: min(360px, 100%);
  border: 1px solid rgba(59, 86, 118, 0.78);
  border-radius: 16px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(13, 23, 36, 0.78), rgba(9, 15, 24, 0.9));
  box-shadow: 0 14px 32px rgba(3, 8, 16, 0.35);
}

.btn {
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, #74c1ff 0%, #6c7bff 100%);
  color: #fff;
  box-shadow: 0 15px 40px rgba(90, 126, 255, 0.3);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(16, 24, 36, 0.6);
}

.hero-card,
.panel,
.feature,
.product-type,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 30, 46, 0.7), rgba(12, 19, 30, 0.86));
}

.hero-stage {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background:
  linear-gradient(145deg, rgba(35, 52, 78, 0.5), rgba(16, 24, 38, 0.85)),
  #0c131f;
}

.stage-card {
  position: absolute;
  border: 1px solid #30445f;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 33, 50, 0.85), rgba(11, 18, 30, 0.92));
  backdrop-filter: blur(8px);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(4, 10, 20, 0.38);
}

.stage-card-main {
  bottom: 34px;
  left: 34px;
  right: 36px;
}

.stage-label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
}

.stage-card h3,
.stage-card h4 {
  margin-bottom: 8px;
}

.stage-card p {
  color: var(--muted);
  line-height: 1.55;
}

.stage-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 180, 255, 0.45) 0%, rgba(122, 180, 255, 0.08) 42%, transparent 68%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  filter: saturate(1.05) contrast(1.06);
}

.hero-card h3 {
  font-size: 22px;
}

.hero-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.section-head {
  margin-bottom: 26px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  padding: 28px;
}

.panel p,
.feature p,
.product-type p,
.timeline-item p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.74;
}

.panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2d3e56;
  margin-bottom: 16px;
}

.accent {
  background: linear-gradient(180deg, rgba(9, 15, 24, 0), rgba(12, 22, 34, 0.55));
}

.cards-4,
.cards-3,
.cards-2,
.list-grid,
.timeline {
  display: grid;
  gap: 20px;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.section-cards .cards-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature,
.product-type,
.timeline-item {
  padding: 24px;
}

.feature h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature h3::before {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(155, 231, 255, 0.34);
  border-radius: 10px;
  background:
  url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7.5L12 3L20 7.5V16.5L12 21L4 16.5V7.5Z' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M12 12L20 7.5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M12 12V21' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M12 12L4 7.5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 21px 21px no-repeat,
  linear-gradient(135deg, rgba(116, 193, 255, 0.95), rgba(108, 123, 255, 0.88));
  box-shadow: 0 14px 28px rgba(90, 126, 255, 0.22);
  content: "";
}

.feature img,
.product-type img,
.timeline-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2d3e56;
  margin-bottom: 16px;
}

.product-type ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.product-type li {
  margin-top: 8px;
}

.list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: 1fr;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.timeline-item h3,
.timeline-item p {
  grid-column: 1;
}

.timeline-item h3 {
  align-self: end;
  font-size: clamp(22px, 2vw, 30px);
}

.timeline-item p {
  align-self: start;
  max-width: 560px;
}

.timeline-item img {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 100%;
  min-height: 260px;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 22px 48px rgba(2, 8, 18, 0.34);
}

.list-grid p {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(13, 21, 34, 0.7);
}

.accent .list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.list-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(155, 231, 255, 0.18);
  border-radius: 16px;
  background: #0c141f;
  box-shadow: 0 20px 46px rgba(2, 8, 18, 0.24);
}

.list-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.list-card::before,
.list-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.list-card::before {
    background: linear-gradient(180deg, rgb(5 8 14 / 1%), rgb(5 8 14 / 45%)), linear-gradient(135deg, rgb(116 193 255 / 0%), rgb(108 123 255 / 0%) 42%, rgb(5 8 14 / 0%));
    z-index: 1;
}

.list-card::after {
  inset: auto 18px 18px 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(155, 231, 255, 0.9), rgba(155, 231, 255, 0));
  z-index: 2;
}

.list-card h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 28px;
  z-index: 2;
  margin: 0;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.18;
  text-wrap: balance;
}

.list-card:hover img {
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.08);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.split-media {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0e1623;
}

.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-copy {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(21, 33, 50, 0.72), rgba(11, 18, 30, 0.9));
  min-height: 100%;
}

.split-copy h2 {
  margin-bottom: 14px;
}

.split-copy p + p {
  margin-top: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: rgba(13, 21, 33, 0.75);
}

.stat-value {
  font-family: Manrope, sans-serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: var(--brand-2);
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
section.section.not-pad {
  padding: 0;
}
.contact-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #2b3d56;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(9, 14, 22, 0.86);
  font: inherit;
}
.contact-form textarea {
  max-height: 80px;
}
.split-media.reveal {
  height: 100%;
}

.split-media.reveal img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(124, 170, 255, 0.32);
  border-color: #3f5f88;
}

.page-hero {
  padding-top: 118px;
}

.footer {
  margin-top: 40px;
  border-top: 1px solid #2a3d58;
  padding: 48px 0 64px;
  background: linear-gradient(180deg, rgb(255 255 255 / 78%), rgb(179 179 179 / 94%)), #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer h3,
.footer h4 {
  margin-bottom: 12px;
  font-family: Manrope, sans-serif;
  color: #05080e;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 46px;
  max-width: 190px;
  object-fit: contain;
}

.footer p {
  color: #0c121e;
  line-height: 1.7;
}

.footer a:hover {
  color: #000;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.contact-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-dialog {
    width: min(560px, calc(100% - 28px));
    border: 1px solid #334b6b;
    border-radius: 18px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(18, 29, 45, 0.95), rgba(10, 15, 24, 0.96));
    box-shadow: 0 22px 50px rgba(5, 10, 18, 0.48);
    overflow-y: auto;
    max-height: 680px;
}
.contact-modal-dialog::-webkit-scrollbar {
    width: 6px;
}
.contact-modal-dialog::-webkit-scrollbar-track {
    background: transparent;
}
.contact-modal-dialog::-webkit-scrollbar-thumb {
    background-color: #334b6b;
    border-radius: 10px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid #385173;
  border-radius: 50%;
  color: var(--text);
  background: rgba(16, 26, 39, 0.85);
  cursor: pointer;
}

.modal-note {
  color: var(--muted);
  margin-bottom: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.28s;
}
.container.split-grid p {
  text-align: justify;
}
.feature h3 {
  min-height: 60px;
}
section.section.page-hero + section.section {
  padding-top: 0;
}










@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .cards-4,
  .cards-3,
  .cards-2,
  .footer-grid,
  .split-grid,
  .contacts-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-kpi {
    justify-self: start;
  }

  .list-grid {
    grid-template-columns: 1fr;
  }

  .accent .list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .timeline-item h3,
  .timeline-item p,
  .timeline-item img {
    grid-column: 1;
  }

  .timeline-item img {
    grid-row: auto;
    min-height: 240px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--line);
    background: #0c141f;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-contact-btn {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-stage {
    min-height: 340px;
  }

}

@media (max-width: 680px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .topbar {
    display: none;
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-full {
    min-height: 84vh;
    padding: 112px 0 72px;
  }

  .hero-copy {
    padding: 20px;
  }

  .hero-stage {
    min-height: 300px;
  }

  .timeline-item {
    padding: 18px;
  }

  .timeline-item img {
    min-height: 210px;
  }

  .accent .list-grid {
    grid-template-columns: 1fr;
  }

  .list-card,
  .list-card img {
    min-height: 230px;
  }

  body::before,
  body::after {
    width: 260px;
    height: 340px;
  }

  .stage-card-main {
    left: 16px;
    right: 16px;
  }
}
