:root {
  --g: #05aa56;
  --g2: #04cc66;
  --b: #0f2d5e;
  --b2: #2d4dba;
  --white: #ffffff;
  --off: #f5f8ff;
  --dark: #0d1b3e;
  --mid: #4a5568;
  --muted: #94a3b8;
  --border: rgba(15, 45, 94, 0.12);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --r1: 4px;
  --r2: 10px;
  --r3: 16px;
  --r4: 22px;
  --rf: 9999px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.mobile-nav-open {
  overflow: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6, [class*="title"], [class*="name"] { font-family: var(--font-heading); }

#hdr { position: fixed; inset: 0 0 auto; z-index: 900; transition: background .3s, box-shadow .3s; }
#hdr.solid {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(32,59,143,.05);
}
.h-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.h-logo img { height: 64px; width: auto; }
.desktop-nav { display: block; }
.h-nav { display: flex; align-items: center; gap: 2px; }
.h-nav > li { position: relative; }
.h-nav > li.has-dd {
  padding-bottom: 18px;
  margin-bottom: -18px;
}
.h-nav > li > a {
  display: block;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--r2);
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.h-nav > li > a:hover { color: var(--b); background: rgba(15,45,94,.05); }
.h-nav > li > a.active { color: var(--g); font-weight: 700; }
.h-nav > li.has-dd > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top: 4.5px solid currentColor;
  margin-left: 5px;
  vertical-align: 1px;
  opacity: .4;
  transition: transform .2s;
}
.h-nav > li.has-dd:hover > a::after,
.h-nav > li.has-dd.is-open > a::after { transform: rotate(180deg); }
.h-nav > li.has-dd::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 18px);
  height: 24px;
}
.h-cta {
  background: linear-gradient(135deg, var(--g), var(--b)) !important;
  color: white !important;
  padding: 9px 22px !important;
  border-radius: var(--r2) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 18px rgba(5,170,86,.28) !important;
  transition: transform .18s, box-shadow .18s !important;
}
.h-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 28px rgba(5,170,86,.4) !important;
}
.mega {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #e6ecf5;
  border-radius: var(--r3);
  box-shadow: 0 24px 80px rgba(10,22,60,.12);
  min-width: 680px;
  padding: 12px;
  z-index: 999;
}
.mega::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-left: 1px solid #e6ecf5;
  border-top: 1px solid #e6ecf5;
}
.h-nav > li:hover .mega,
.h-nav > li.has-dd.is-open .mega { display: flex; }
.mega-col { flex: 1; padding: 8px; }
.mega-col + .mega-col { border-left: 1px solid #f0f4f8; }
.mega-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g);
  padding: 6px 10px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f0f4f8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-title::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--g);
  flex-shrink: 0;
}
.mega-col a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--dark);
  border-radius: 6px;
  transition: background .14s, color .14s;
  opacity: .8;
}
.mega-col a:hover { background: rgba(5,170,86,.06); color: var(--g); opacity: 1; }
.h-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.h-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .22s, opacity .22s;
}
.m-nav-panel {
  display: none;
}
.reveal, .reveal-l, .reveal-r { transition: opacity .75s ease, transform .75s ease; transition-delay: var(--d, 0ms); }
.reveal { opacity: 0; transform: translateY(44px); }
.reveal-l { opacity: 0; transform: translateX(-44px); }
.reveal-r { opacity: 0; transform: translateX(44px); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }

@keyframes gradFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.g-text {
  background: linear-gradient(90deg, var(--g) 0%, var(--b) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradFlow 5s ease-in-out infinite;
}
.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--g);
  margin-bottom: 16px;
}
.s-tag::before, .s-tag::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--g);
  border-radius: 2px;
  flex-shrink: 0;
}
.s-title {
  font-size: clamp(28px, 2.8vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 18px;
}
.s-desc { font-size: 16px; color: var(--mid); line-height: 1.8; }
.btn-g {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--g) 0%, var(--b) 100%);
  background-size: 200% auto;
  color: white;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r2);
  box-shadow: 0 6px 24px rgba(5,170,86,.30);
  transition: background-position .4s, transform .2s, box-shadow .2s;
}
.btn-g:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(5,170,86,.42);
}
.btn-b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  color: var(--b);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r2);
  border: 1.5px solid rgba(15,45,94,.22);
  transition: all .2s;
}
.btn-b:hover { border-color: var(--b); background: rgba(15,45,94,.04); transform: translateY(-2px); }

.site-footer { background: var(--off); border-top: 4px solid var(--g); padding: 80px 0 0; }
.footer-inner { max-width: 1360px; margin: 0 auto; padding: 0 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 64px; width: auto; }
.footer-brand-text { font-size: 13px; color: var(--mid); line-height: 1.8; max-width: 280px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--b);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a { font-size: 13px; color: var(--mid); transition: color .2s; }
.footer-col ul li a:hover { color: var(--g); }
.footer-bottom {
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(15,45,94,.03);
}

@media (max-width: 1100px) {
  .h-inner { padding: 0 28px; }
  .footer-inner { padding: 0 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 24px 40px; }
}
@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .m-nav-panel {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 40px rgba(32,59,143,.08);
    padding: 12px 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .m-nav-panel.open {
    display: block;
  }
  .m-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .m-nav-link,
  .m-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    box-shadow: inset 0 0 0 1px rgba(15, 45, 94, 0.08);
  }
  .m-nav-link.active,
  .m-nav-toggle.active {
    color: var(--g);
  }
  .m-nav-toggle::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform .2s ease;
  }
  .m-nav-toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .m-products-menu {
    display: none;
    padding: 10px 6px 2px;
  }
  .m-products-menu.open {
    display: block;
  }
  .m-products-col {
    padding: 10px 10px 12px;
    background: #f8fbff;
    border: 1px solid rgba(15, 45, 94, 0.08);
    border-radius: 14px;
  }
  .m-products-col + .m-products-col {
    margin-top: 8px;
  }
  .m-products-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15, 45, 94, 0.08);
  }
  .m-products-link {
    display: block;
    padding: 9px 4px;
    font-size: 14px;
    color: var(--dark);
  }
  .h-toggle { display: flex; }
}
@media (max-width: 768px) {
  .footer-inner { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 20px 24px; text-align: center; }
}
