:root {
  --navy-black: #000016;
  --navy-deep: #06084a;
  --navy-mid: #0b1a6b;
  --accent-blue: #2049e1;
  --gray-bg: #ebebf2;
  --text-dark: #14141c;
  --text-gray: #4a4a55;
  --card-navy: #1b2456;
  --font-main: 'Quicksand', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.2; }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn:hover { opacity: 0.85; }

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-navy {
  background: var(--navy-deep);
  color: #fff;
}
.btn-blue {
  background: var(--accent-blue);
  color: #fff;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a:hover { color: #9fb1ff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
  padding-top: 78px;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 64px);
  max-width: 900px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-sub {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 36px;
}

/* About */
.about {
  padding: 100px 0 80px;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-mark { display: flex; justify-content: flex-start; }
.about-mark img { width: 100%; max-width: 450px; }
.about-content .eyebrow {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-content h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 22px;
  color: var(--text-dark);
}
.about-content p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 560px;
}
.about-content strong { color: var(--text-dark); }

/* Purpose */
.purpose {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 110px 0;
  color: #fff;
}
.purpose .eyebrow {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 40px;
}
.purpose h2 {
  font-size: clamp(28px, 4vw, 48px);
  text-transform: uppercase;
  max-width: 950px;
  margin-bottom: 28px;
}
.purpose-sub {
  font-size: 18px;
  font-weight: 600;
  max-width: 700px;
}

/* Markets */
.markets { background: var(--gray-bg); padding: 90px 0 100px; }
.markets-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}
.markets-intro h2 { font-size: 30px; font-weight: 500; max-width: 420px; }
.markets-intro p { font-size: 15px; color: var(--text-gray); max-width: 480px; justify-self: end; }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.market-card { background: #fff; }
.market-card img { width: 100%; height: 220px; object-fit: cover; }
.market-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 20px 20px 12px;
}
.market-card p {
  font-size: 14.5px;
  color: var(--text-gray);
  margin: 0 20px 24px;
}

/* Systems & Solutions */
.systems {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-black) 100%);
  padding: 90px 0 100px;
  color: #fff;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.systems-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 10px;
}
.systems-intro h2 { font-size: 34px; margin-bottom: 20px; font-weight: 600; line-height: 1.15; }
.systems-intro p { font-size: 16px; margin-bottom: 36px; opacity: 0.9; max-width: 300px; }
.systems-intro .btn { align-self: flex-start; }

.system-card {
  background: var(--card-navy);
}
.system-card img { width: 100%; height: 240px; object-fit: cover; }
.system-card h3 {
  font-size: 16px;
  letter-spacing: 0.3px;
  margin: 24px 24px 14px;
  line-height: 1.3;
}
.system-card p {
  font-size: 14px;
  opacity: 0.8;
  margin: 0 24px 28px;
  line-height: 1.55;
}

/* Products & Services */
.products { background: var(--gray-bg); padding: 90px 0 100px; }
.products h2 { font-size: 30px; font-weight: 500; margin-bottom: 44px; }
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.product-card { background: #fff; }
.product-card img { width: 100%; height: 260px; object-fit: cover; }
.product-card h3 { font-size: 22px; font-weight: 600; margin: 22px 22px 6px; }
.product-tag {
  font-size: 13px;
  font-style: italic;
  color: var(--text-gray);
  margin: 0 22px 26px;
}

/* Cooperation */
.cooperation { padding: 100px 0; background: #fff; }
.cooperation-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.cooperation-content h2 { font-size: 28px; font-weight: 600; margin-bottom: 20px; max-width: 420px; }
.cooperation-content p { font-size: 15px; color: var(--text-gray); margin-bottom: 18px; max-width: 460px; }
.cooperation-content strong { color: var(--text-dark); }
.cooperation-content .btn { margin-top: 12px; }

/* Footer */
.site-footer { background: var(--navy-black); color: #fff; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 80px 24px 60px;
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 22px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.footer-col a:hover { color: #fff; }

.footer-bottom { background: var(--gray-bg); color: var(--text-dark); }
.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 24px;
  padding: 50px 24px;
  align-items: start;
}
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--text-gray); line-height: 1.7; }
.footer-col-small a {
  display: block;
  font-size: 14.5px;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.footer-social p { font-size: 14px; margin-bottom: 14px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--text-dark);
  color: #fff;
  transition: opacity 0.2s ease;
}
.social-icons a:hover { opacity: 0.75; }
.social-icons svg { width: 14px; height: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .about-grid, .markets-intro, .products-grid, .cooperation-grid {
    grid-template-columns: 1fr;
  }
  .markets-intro p { justify-self: start; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .systems-intro p { max-width: none; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav a {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-toggle { display: flex; }
  .markets-grid, .systems-grid, .products-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom-inner { grid-template-columns: 1fr; }
  .hero { min-height: 620px; }
}
