:root {
  --bg-0: #060a13;
  --bg-1: #0b1220;
  --bg-2: #0f1830;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.09);
  --text-0: #eef3fb;
  --text-1: #b7c2d6;
  --text-2: #7c88a3;
  --accent: #4f9d6e;
  --accent-2: #8fcaa1;
  --accent-deep: #2f6b45;
  --radius: 16px;
  --max-w: 1180px;
  --shadow-glow: 0 0 0 1px rgba(79, 157, 110, 0.18), 0 20px 60px -20px rgba(79, 157, 110, 0.3);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #0f2c1e 0%, var(--bg-0) 55%) fixed;
  color: var(--text-1);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--text-0);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
.accent { color: var(--accent); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- background layers ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(143, 202, 161, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 202, 161, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
}

#net-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 10, 19, 0.72);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { height: 40px; width: auto; display: block; }
.brand-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-0);
  letter-spacing: .01em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text small {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-weight: 500;
  font-size: .92rem;
}
.main-nav a { color: var(--text-1); transition: color .2s; position: relative; }
.main-nav a:hover { color: var(--text-0); }
.main-nav a.nav-cta {
  color: var(--bg-0);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-0);
  border: 1px solid var(--surface-border);
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-pill svg { color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--text-0); transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #071019;
  box-shadow: 0 12px 30px -10px rgba(79, 157, 110, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 36px -8px rgba(79, 157, 110, 0.7); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--surface-border);
  color: var(--text-0);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 110px 0 90px; }
.hero-inner { max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.hero-lead { font-size: 1.08rem; max-width: 640px; color: var(--text-1); }
.hero-actions { display: flex; gap: 14px; margin: 32px 0 56px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--surface-border);
  padding-top: 28px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; color: var(--text-0); }
.hero-stats span { font-size: .82rem; color: var(--text-2); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(143,202,161,0.035) 12%, rgba(143,202,161,0.035) 88%, transparent); border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-sub { color: var(--text-2); }

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.split-reverse { grid-template-columns: 1.15fr 0.85fr; }
.split-reverse .split-content { order: 1; }
.split-reverse .split-media { order: 2; }

.split-content p { color: var(--text-1); }

.glass-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-glow);
}

.orbit-card {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.link-arrow {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent-2);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.link-arrow:hover { border-color: var(--accent-2); }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.products-grid { grid-template-columns: repeat(4, 1fr); }

.card, .product-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover, .product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 157, 110, 0.4);
  background: rgba(79, 157, 110, 0.06);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79,157,110,0.2), rgba(143,202,161,0.2));
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3, .product-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p, .product-card p { color: var(--text-2); font-size: .92rem; margin-bottom: 0; }

.card-cta {
  background: linear-gradient(150deg, rgba(79,157,110,0.16), rgba(143,202,161,0.12));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-cta p { color: var(--text-1); margin-bottom: 18px; }

.tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79, 157, 110, 0.14);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- catalog ---------- */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-1);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.filter-btn:hover { border-color: rgba(79,157,110,0.5); color: var(--text-0); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #071019;
  border-color: transparent;
}

.catalog-grid { grid-template-columns: repeat(4, 1fr); }
.catalog-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.catalog-card:hover { transform: translateY(-4px); border-color: rgba(79,157,110,0.4); }
.catalog-card.is-hidden { display: none; }
.catalog-img {
  aspect-ratio: 4 / 3;
  background: #f4f6f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.catalog-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.catalog-body { padding: 18px 20px 22px; }
.catalog-body h3 { font-size: 1rem; margin-bottom: 6px; }
.catalog-body p { font-size: .85rem; color: var(--text-2); margin-bottom: 0; }

/* ---------- brand wall ---------- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brand-wall li {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 26px 16px;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-1);
  transition: color .2s, border-color .2s, transform .2s;
}
.brand-wall li:hover {
  color: var(--text-0);
  border-color: rgba(79,157,110,0.45);
  transform: translateY(-3px);
}

/* ---------- contact ---------- */
.contact-list { margin: 28px 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: .96rem; }
.contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 157, 110, 0.14);
  color: var(--accent);
}
.contact-list a:hover { color: var(--accent-2); }

.contact-form { padding: 32px; }
.contact-form h3 { margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-0);
  font-family: inherit;
  font-size: .94rem;
  resize: vertical;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(79, 157, 110, 0.06);
}
.form-note {
  margin: 14px 0 0;
  font-size: .85rem;
  color: var(--accent-2);
  min-height: 1.2em;
}

.field-consent { margin-bottom: 22px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-2);
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-label a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.consent-label a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--surface-border); padding: 28px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: var(--text-2);
}
.footer-inner a { color: var(--text-2); transition: color .2s; }
.footer-inner a:hover { color: var(--accent-2); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 26px; width: auto; border-radius: 5px; display: block; }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- legal / policy pages ---------- */
.legal-hero { padding: 64px 0 36px; }
.legal-hero .hero-inner { max-width: 760px; }
.legal-updated { font-size: .85rem; color: var(--text-2); margin-top: -8px; }

.legal-content { max-width: 820px; }
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--surface-border);
}
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 { font-size: 1.05rem; margin-top: 26px; color: var(--text-0); }
.legal-content p, .legal-content li { color: var(--text-1); }
.legal-content ul, .legal-content ol { margin: 0 0 1em; padding-left: 1.3em; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: .5em; }
.legal-content strong { color: var(--text-0); }
.legal-content a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--accent); }

.legal-table-wrap { overflow-x: auto; margin: 18px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 14px; border: 1px solid var(--surface-border); vertical-align: top; }
.legal-table th { background: rgba(79,157,110,0.1); color: var(--text-0); font-weight: 600; }

.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--accent-2); }
.legal-back:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-content, .split-reverse .split-media { order: initial; }
  .orbit-card { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a0f1c;
    border-bottom: 1px solid var(--surface-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--surface-border); }
  .main-nav a.nav-cta { margin: 16px 24px; text-align: center; border-radius: 10px; }
  .phone-pill span { display: none; }
  .phone-pill { display: none; }
  .hamburger { display: flex; }
  .services-grid, .products-grid, .catalog-grid, .brand-wall { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 0 60px; }
}

@media (max-width: 520px) {
  .services-grid, .products-grid, .catalog-grid, .brand-wall { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .container { padding: 0 18px; }
}
