:root {
  --bg-dark: #192544;
  --bg-dark-2: #243150;
  --line: rgba(255,255,255,.14);
  --blue: #2f67c5;
  --blue-2: #3f82f8;
  --white: #ffffff;
  --text: #dbe4f4;
  --text-dark: #33435f;
  --heading: #f8fbff;
  --heading-dark: #244e92;
  --card: rgba(5, 16, 39, 0.74);
  --shadow: 0 18px 40px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(83,112,171,.22), transparent 28%),
    linear-gradient(180deg, #1b2745 0%, #1d2849 48%, #202f54 100%);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(15, 24, 46, .92);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 90px;
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand img {
  width: 220px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.nav a {
  position: relative;
  color: rgba(255,255,255,.92);
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: var(--blue-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone {
  font-weight: 700;
  color: #f2f5fa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #3673d8 0%, #265fc0 100%);
  color: #fff;
  padding: 15px 24px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(25, 77, 168, .28);
}

.btn:hover { filter: brightness(1.06); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
}
.btn-small { padding: 12px 18px; font-size: .92rem; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 34px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,16,31,.84) 0%, rgba(16,24,40,.54) 34%, rgba(18,28,48,.10) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  align-items: center;
  min-height: 690px;
  gap: 24px;
}

.hero-copy {
  max-width: 520px;
  padding: 24px 0 44px;
}

.eyebrow,
.section-label {
  margin: 0 0 8px;
  color: #74a8ff;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: .01em;
}

.hero h1 {
  font-size: clamp(4rem, 7vw, 6.8rem);
  color: var(--heading);
  text-shadow: 0 3px 16px rgba(0,0,0,.36);
}

.hero-text {
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 18px 0 28px;
  color: rgba(239,246,255,.88);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual img {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  filter: drop-shadow(0 22px 32px rgba(0,0,0,.35));
}

.hero-highlights {
  position: relative;
  z-index: 2;
  padding-bottom: 34px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(21,33,61,.82) 0%, rgba(18,28,53,.92) 100%);
  box-shadow: var(--shadow);
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  min-height: 118px;
}
.highlight-card + .highlight-card { border-left: 1px solid rgba(255,255,255,.1); }
.highlight-card strong {
  display: block;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
}
.highlight-card span { color: rgba(255,255,255,.8); }
.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
}

section { scroll-margin-top: 100px; }
.section-light {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(241,245,252,.98) 100%);
  color: var(--text-dark);
}
.section-dark {
  background:
    radial-gradient(circle at center, rgba(64,92,148,.18), transparent 40%),
    linear-gradient(180deg, #1d2746 0%, #1e2949 100%);
}
.section-dark-alt {
  background: linear-gradient(180deg, #223154 0%, #1d2848 100%);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 90px 0;
}

.about h2,
.contact h2 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  color: var(--heading-dark);
  margin-bottom: 18px;
}
.about p,
.contact p,
.services-grid p,
.section-heading p,
.product-body p { line-height: 1.8; }

.about-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 44px rgba(26,39,66,.22);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  padding-left: 28px;
  position: relative;
  margin: 12px 0;
}
.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 700;
}

.section-heading { padding: 90px 0 24px; }
.section-heading.center { text-align: center; }
.section-heading h2 {
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  color: #fff;
}
.section-heading p { margin-top: 14px; color: rgba(233,240,255,.82); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0 96px;
}

.product-card {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(42,53,89,.82), rgba(9,20,44,.95));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-media {
  aspect-ratio: 1.2 / .78;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.product-body h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #fff;
}
.product-body p { margin: 0; color: rgba(233,240,255,.86); }
.product-body a {
  margin-top: auto;
  color: #99bbff;
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 18px 0 96px;
}
.services-grid article {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.services-grid h3 {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.contact-list a { font-weight: 600; color: var(--heading-dark); }

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(36,66,120,.08);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(42,57,89,.12);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d6deeb;
  background: #f9fbff;
  border-radius: 14px;
  padding: 16px 18px;
  font: inherit;
}

.footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #131e38;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  align-items: center;
}

@media (max-width: 1080px) {
  .nav-wrap {
    grid-template-columns: 210px 1fr;
  }
  .header-actions { display: none; }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .product-grid,
  .services-grid,
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .highlight-card + .highlight-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-grid { min-height: auto; padding-bottom: 26px; }
  .hero-copy { max-width: none; }
  .hero-visual img { max-width: 100%; }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }
  .nav-wrap {
    grid-template-columns: 1fr auto;
    padding: 18px 0;
  }
  .nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    flex-direction: column;
    gap: 18px;
    padding: 14px 0 6px;
  }
  .nav.open { display: flex; }
  .brand img { width: 180px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5.1rem); }
  .section-heading,
  .about-grid,
  .contact-grid { padding-top: 72px; }
  .product-grid,
  .services-grid { padding-bottom: 72px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
