:root {
  --navy: #0b2545;
  --navy-2: #123a6b;
  --blue: #2f7fe0;
  --blue-light: #eaf2fd;
  --text-dark: #17202a;
  --text-mid: #55606b;
  --border: #e4e9ef;
  --white: #ffffff;
  --radius: 10px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.logo svg { width: 30px; height: 30px; }
nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
nav a {
  color: #cfe0f7;
  font-weight: 500;
  font-size: 15px;
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--white); }
.btn-quote {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.btn-quote:hover { background: #2569c2; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }

@media (max-width: 820px) {
  nav ul { display: none; }
  .nav-toggle { display: block; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 32px;
    gap: 18px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(11,37,69,.92), rgba(18,58,107,.85));
  padding: 100px 0 70px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(47,127,224,.25), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.eyebrow {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.35);
  color: #cfe0f7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--white);
  font-size: 46px;
  margin-bottom: 22px;
}
.hero p {
  color: #d9e6f7;
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: #2569c2; }
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}
.btn-secondary:hover { background: rgba(255,255,255,.08); }

/* ---------- Stats bar ---------- */
.stats {
  background: var(--navy-2);
  padding: 40px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats .stat + .stat { border-left: 1px solid rgba(255,255,255,.15); }
.stats .num {
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.stats .label { color: #b9cbe3; font-size: 14px; margin-top: 4px; }

.badges {
  background: var(--blue-light);
  padding: 20px 0;
}
.badges .container {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
.badge { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 14px; font-weight: 600; }
.badge svg { width: 18px; height: 18px; }

/* ---------- About / feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 90px 0;
  align-items: center;
}
.split .eyebrow-plain {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: block;
}
.split h2 { font-size: 32px; margin-bottom: 18px; }
.split p { color: var(--text-mid); margin-bottom: 16px; }

.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-card {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
}
.feature-card svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.feature-card h4 { font-size: 15px; margin-bottom: 4px; }
.feature-card p { color: var(--text-mid); font-size: 14px; margin: 0; }

/* ---------- Product grid (shared: home preview + products page) ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head .eyebrow-plain { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .08em; display: block; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; }

.products-section { padding: 90px 0; background: #fafbfd; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,37,69,.08); }
.product-icon-wrap {
  background: var(--blue-light);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-icon-wrap svg { width: 64px; height: 64px; color: var(--blue); }
.product-body { padding: 20px; }
.product-body h4 { font-size: 17px; margin-bottom: 8px; }
.product-body p { color: var(--text-mid); font-size: 14px; margin-bottom: 14px; }
.view-details { color: var(--blue); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.cta-center { text-align: center; margin-top: 44px; }
.btn-dark {
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.btn-dark:hover { background: #081a33; }

/* ---------- Products page specific ---------- */
.page-hero {
  background: var(--navy);
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 38px; margin-bottom: 12px; }
.page-hero p { color: #cfe0f7; max-width: 560px; margin: 0 auto; }

.product-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.product-detail-card .icon-box {
  background: var(--blue-light);
  border-radius: 8px;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-card .icon-box svg { width: 38px; height: 38px; color: var(--blue); }
.product-detail-card h3 { font-size: 18px; margin-bottom: 6px; }
.product-detail-card p { color: var(--text-mid); font-size: 14px; margin-bottom: 10px; }
.spec-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.spec-list li { font-size: 13px; color: var(--text-mid); display: flex; gap: 8px; }
.spec-list li::before { content: "\2713"; color: var(--blue); font-weight: 700; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 70px 0 90px;
}

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  padding: 70px 0 90px;
}
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); font-size: 20px; margin-bottom: 22px; }
.contact-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-row svg { width: 20px; height: 20px; color: #9dc3f4; flex-shrink: 0; margin-top: 2px; }
.contact-row span { color: #d9e6f7; font-size: 14px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.form-card h3 { font-size: 20px; margin-bottom: 6px; }
.form-card > p { color: var(--text-mid); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47,127,224,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.submit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}
.submit-btn:hover { background: #2569c2; }
.form-note { font-size: 12px; color: var(--text-mid); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: #cfe0f7;
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 14px;
}
.footer-logo svg { width: 26px; height: 26px; }
.footer-grid p { font-size: 14px; color: #a9c1de; max-width: 320px; }
.footer-grid h5 { color: #8fa9c9; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: #cfe0f7; }
.footer-grid a:hover { color: var(--white); }
.footer-contact-row { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-row svg { width: 17px; height: 17px; color: #7ea8dd; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #8fa9c9;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .split, .detail-grid, .contact-wrap, .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stats .stat:nth-child(3) { border-left: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}
