/* ============================================================
   BALTUM.ORG — Dark IT Enterprise Design System
   Inspired by: certification.com.ua aesthetic
   Fonts: Plus Jakarta Sans (display) + JetBrains Mono (accents)
   Theme: Dark navy/charcoal base, white content areas, electric blue accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Dark palette */
  --bg:          #0d1117;
  --bg-nav:      #0d1117;
  --bg-card:     #161b22;
  --bg-surface:  #1c2128;
  --bg-hover:    #21262d;

  /* Borders */
  --border:      #30363d;
  --border-sub:  #21262d;

  /* Text */
  --text:        #e6edf3;
  --text-mid:    #8b949e;
  --text-muted:  #6e7681;
  --white:       #ffffff;

  /* Accent — electric blue */
  --accent:      #2f81f7;
  --accent-dark: #1f6feb;
  --accent-glow: rgba(47,129,247,0.15);
  --accent-dim:  rgba(47,129,247,0.1);

  /* AI gold */
  --ai:          #f0a742;
  --ai-dim:      rgba(240,167,66,0.1);
  --ai-border:   rgba(240,167,66,0.25);

  /* Status */
  --green:       #3fb950;
  --green-dim:   rgba(63,185,80,0.1);

  /* Radii */
  --r-xs: 3px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 18px;

  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  --sh:    0 4px 16px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  --sh-lg: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);

  /* Fonts */
  --f-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', 'Courier New', monospace;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.92rem; letter-spacing: -0.01em; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section-light {
  background: #f6f8fa;
  color: #1c2128;
}
.section-light h2, .section-light h3, .section-light h4 { color: #0d1117; }
.section-light .section-label { color: #57606a; }
.section-light .section-label::before { background: var(--accent); }
.section-light .section-sub { color: #57606a; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--accent);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.78;
  margin-bottom: 48px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-sub);
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-dot { color: var(--green); }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-right a {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.topbar-right a:hover { color: var(--text); }
.topbar-ai-link {
  color: var(--ai) !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(13,17,23,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow 0.2s;
}
header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.6); }

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 56px; display: flex; align-items: center; gap: 4px;
}
.logo {
  font-family: var(--f-display);
  font-size: 1.2rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.04em;
  flex-shrink: 0; margin-right: 12px;
}
.logo-b { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.nav-links li { position: relative; }
.nav-links > li > a {
  display: block; padding: 6px 12px;
  font-size: 0.84rem; font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--white); background: var(--bg-hover); }

/* MEGA MENU */
.has-mega { position: static !important; }
.has-mega > a { cursor: default; }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, calc(100vw - 48px));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transform-origin: top center;
  transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
  z-index: 300;
}
.nav-links .has-mega:hover .mega-menu,
.nav-links .has-mega:focus-within .mega-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega-section { display: flex; flex-direction: column; gap: 1px; }
.mega-section-title {
  font-family: var(--f-mono);
  font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 6px 10px 8px;
  border-bottom: 1px solid var(--border-sub);
  margin-bottom: 4px;
}
.mega-link {
  display: flex; flex-direction: column;
  padding: 7px 10px; border-radius: var(--r-sm);
  transition: background 0.12s;
}
.mega-link:hover { background: var(--bg-hover); }
.mega-link span { font-size: 0.82rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.mega-link small { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; }
.mega-link:hover span { color: var(--accent); }

/* Industries dropdown (regular) */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-lg);
  min-width: 240px; padding: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.18s cubic-bezier(0.16,1,0.3,1); z-index: 300;
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a {
  display: flex !important; align-items: center; gap: 8px;
  padding: 8px 12px !important; font-size: 0.83rem !important;
  border-radius: var(--r-sm) !important;
  color: var(--text-mid) !important; font-weight: 500 !important;
  background: none !important; transition: background 0.1s !important;
}
.dropdown a:hover { background: var(--bg-hover) !important; color: var(--white) !important; }
.dropdown a .dd-icon { font-size: 1rem; width: 20px; text-align: center; }

.nav-ai-link {
  color: var(--ai) !important;
  background: var(--ai-dim) !important;
  border: 1px solid var(--ai-border) !important;
  font-family: var(--f-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em !important;
  padding: 5px 12px !important;
  border-radius: var(--r-xs) !important;
}
.nav-ai-link:hover { background: rgba(240,167,66,0.18) !important; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 6px 16px !important;
  border-radius: var(--r-xs) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.01em !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

/* Hamburger */
.hamburger {
  display: none; margin-left: auto;
  background: var(--bg-hover); border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: 1.1rem;
  padding: 6px 10px; cursor: pointer; color: var(--text);
}
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 12px 20px 16px; gap: 2px; max-height: 80vh; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 9px 12px; font-size: 0.9rem; font-weight: 500; color: var(--text-mid); border-radius: var(--r-sm); }
.mobile-menu a:hover { background: var(--bg-hover); color: var(--white); }
.mobile-section { font-family: var(--f-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); padding: 12px 12px 4px; }
.mobile-ai { color: var(--ai) !important; }
.mobile-cta { background: var(--accent) !important; color: var(--white) !important; text-align: center; margin-top: 8px; font-weight: 700 !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
  background: var(--bg);
}

/* Grid lines background */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,129,247,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,129,247,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(47,129,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}

.hero-left {}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px; padding: 5px 12px 5px 8px;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg-card);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px var(--green-dim); }
  50% { box-shadow: 0 0 0 7px rgba(63,185,80,0.04); }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .line-muted { color: var(--text-mid); font-weight: 700; }

.hero-sub {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.8; margin-bottom: 36px; max-width: 520px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.stat {
  background: var(--bg-card);
  padding: 18px 20px;
  transition: background 0.15s;
}
.stat:hover { background: var(--bg-hover); }
.stat-num {
  display: block;
  font-family: var(--f-display); font-weight: 800;
  font-size: 2rem; color: var(--white);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px;
}
.stat-label {
  display: block; font-family: var(--f-mono);
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted);
}

/* Hero right — quick form */
.hero-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-xl);
  padding: 28px;
  position: sticky; top: 80px;
}
.hero-form-card h3 {
  font-size: 1rem; color: var(--white);
  margin-bottom: 4px;
}
.hero-form-card p {
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-form-card .form-group { margin-bottom: 12px; }
.hero-form-card .form-group label {
  display: block; font-family: var(--f-mono);
  font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 6px;
}
.hero-form-card input,
.hero-form-card select,
.hero-form-card textarea {
  width: 100%; padding: 9px 12px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: 0.88rem;
  color: var(--text); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hero-form-card input:focus,
.hero-form-card select:focus,
.hero-form-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.hero-form-card input::placeholder,
.hero-form-card textarea::placeholder { color: var(--text-muted); }
.hero-form-card select option { background: var(--bg-surface); }
.hero-form-note {
  font-family: var(--f-mono); font-size: 0.65rem;
  color: var(--text-muted); text-align: center;
  margin-top: 10px; letter-spacing: 0.04em;
}
.form-success-inline {
  display: none; margin-top: 12px;
  padding: 12px; background: var(--green-dim);
  border: 1px solid rgba(63,185,80,0.3);
  border-radius: var(--r-sm);
  color: var(--green); font-size: 0.82rem;
  text-align: center; font-family: var(--f-mono);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--white);
  padding: 10px 22px; border-radius: var(--r-xs);
  font-weight: 700; font-size: 0.88rem;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-ai {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ai-dim); color: var(--ai);
  padding: 10px 20px; border-radius: var(--r-xs);
  font-family: var(--f-mono); font-size: 0.76rem;
  font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid var(--ai-border);
  transition: all 0.15s; white-space: nowrap;
}
.btn-ai:hover { background: rgba(240,167,66,0.2); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); color: var(--text-mid);
  padding: 9px 18px; border-radius: var(--r-xs);
  font-weight: 500; font-size: 0.88rem;
  transition: all 0.15s; white-space: nowrap;
}
.btn-outline:hover { border-color: var(--text-mid); color: var(--white); }

.btn-submit {
  width: 100%; background: var(--accent); color: var(--white);
  padding: 11px; border-radius: var(--r-xs);
  font-weight: 700; font-size: 0.9rem; border: none;
  cursor: pointer; letter-spacing: -0.01em;
  transition: background 0.15s;
}
.btn-submit:hover { background: var(--accent-dark); }

/* ============================================================
   AI BANNER
   ============================================================ */
.ai-banner {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.ai-banner::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ai) 40%, var(--accent) 60%, transparent);
}
.ai-banner-inner {
  display: flex; align-items: center;
  gap: 20px; padding: 14px 0; flex-wrap: wrap;
}
.ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ai); background: var(--ai-dim);
  border: 1px solid var(--ai-border); padding: 3px 9px;
  border-radius: var(--r-xs); flex-shrink: 0;
}
.ai-banner-text { flex: 1; min-width: 200px; }
.ai-banner-text strong { display: block; color: var(--white); font-size: 0.88rem; font-weight: 600; margin-bottom: 1px; }
.ai-banner-text span { font-size: 0.8rem; color: var(--text-muted); }
.btn-ai-banner {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-hover); color: var(--text);
  border: 1px solid var(--border); padding: 7px 14px;
  border-radius: var(--r-xs); font-size: 0.8rem; font-weight: 600;
  transition: all 0.15s; white-space: nowrap;
}
.btn-ai-banner:hover { border-color: var(--ai); color: var(--ai); }

/* ============================================================
   STANDARDS BLOCK
   ============================================================ */
.standards-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.std-tab {
  padding: 7px 16px; border-radius: var(--r-xs);
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--border); cursor: pointer;
  background: transparent; color: var(--text-muted);
  transition: all 0.15s; white-space: nowrap;
}
.std-tab:hover { color: var(--text); border-color: var(--text-muted); }
.std-tab.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.standards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
}
.standards-col { background: var(--bg-card); padding: 24px; }
.standards-header {
  font-family: var(--f-mono); font-size: 0.67rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--border-sub); margin-bottom: 8px;
}
.standard-item {
  display: flex; flex-direction: column; padding: 8px 0;
  border-bottom: 1px solid var(--border-sub);
  cursor: pointer; transition: all 0.12s;
}
.standard-item:last-child { border-bottom: none; }
.standard-item:hover { padding-left: 8px; }
.standard-item span { font-weight: 600; font-size: 0.84rem; color: var(--text); }
a.standard-item:hover span { color: var(--accent); }
.standard-item small { font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }
.highlight-ai { background: var(--ai-dim) !important; padding: 8px 8px !important; border-radius: 4px; border: 1px solid var(--ai-border) !important; }
.highlight-ai span { color: var(--ai) !important; }
.highlight-ai:hover { padding-left: 12px !important; }

.standards-cta {
  margin-top: 16px; display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--r-lg); flex-wrap: wrap;
}
.standards-cta p { font-size: 0.88rem; color: var(--text-mid); flex: 1; }
.standards-cta p strong { color: var(--text); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; margin-top: 8px;
}
.industry-card {
  background: var(--bg-card); padding: 24px 20px;
  cursor: pointer; transition: background 0.15s;
  display: block; position: relative; overflow: hidden;
}
.industry-card:hover { background: var(--bg-hover); }
.industry-card::after {
  content: '→'; position: absolute; bottom: 16px; right: 16px;
  font-size: 0.82rem; color: var(--border);
  transition: color 0.15s, transform 0.15s;
}
.industry-card:hover::after { color: var(--accent); transform: translate(2px, -2px); }
.ind-icon { font-size: 1.4rem; display: block; margin-bottom: 12px; }
.industry-card h4 { color: var(--white); margin-bottom: 5px; font-size: 0.86rem; }
.industry-card p { font-family: var(--f-mono); font-size: 0.67rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.about-cards { min-width: 0; }
#about .section-label { color: var(--text-muted); }
.about-text p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; font-size: 0.97rem; }
.about-memberships { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 22px; }
.about-memberships h4 {
  font-family: var(--f-mono); font-size: 0.66rem; font-weight: 500;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.about-memberships li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--border-sub);
  font-size: 0.86rem; color: var(--text-mid);
}
.about-memberships li::before { content: "→"; color: var(--accent); font-size: 0.76rem; }

.about-cards { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.about-card {
  background: var(--bg-card); padding: 22px;
  transition: background 0.15s; position: relative;
}
.about-card:hover { background: var(--bg-hover); }
.about-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent); opacity: 0; transition: opacity 0.15s;
}
.about-card:hover::before { opacity: 1; }
.card-icon { font-size: 1.2rem; margin-bottom: 8px; display: block; }
.about-card h4 { color: var(--white); margin-bottom: 5px; }
.about-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   WHY BALTUM
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; margin-top: 48px; }
.why-item {
  background: var(--bg-card); padding: 28px;
  transition: background 0.15s; position: relative;
}
.why-item:hover { background: var(--bg-hover); }
.why-num {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--f-mono); font-size: 0.62rem;
  color: var(--border); font-weight: 500;
}
.why-icon { font-size: 1.3rem; margin-bottom: 14px; display: block; }
.why-item h4 { color: var(--white); margin-bottom: 8px; font-size: 0.9rem; }
.why-item p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   GRC TOOLS
   ============================================================ */
.tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; margin-top: 16px;
}
.tool-item {
  background: var(--bg-card); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 3px;
  transition: background 0.15s;
}
.tool-item:hover { background: var(--bg-hover); }
.tool-item strong { font-size: 0.9rem; color: var(--white); font-weight: 600; }
.tool-item small { font-family: var(--f-mono); font-size: 0.64rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; margin-top: 48px; }
.partner-card { background: var(--bg-card); padding: 26px; transition: background 0.15s; }
.partner-card:hover { background: var(--bg-hover); }
.partner-icon { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.partner-card h4 { color: var(--white); margin-bottom: 8px; font-size: 0.9rem; }
.partner-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; margin-top: 48px;
}
.process-step { background: var(--bg-card); padding: 28px 22px; transition: background 0.15s; }
.process-step:hover { background: var(--bg-hover); }
.process-arrow { display: none; }
.step-num {
  font-family: var(--f-mono); font-size: 0.68rem;
  color: var(--accent); font-weight: 500; letter-spacing: 0.1em;
  margin-bottom: 18px; display: block;
}
.process-step h4 { color: var(--white); margin-bottom: 10px; font-size: 0.9rem; }
.process-step p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 48px; max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border-sub); }
.faq-item summary {
  padding: 18px 0; font-weight: 600; font-size: 0.92rem;
  color: var(--white); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; letter-spacing: -0.01em;
}
.faq-item summary::after { content: "+"; font-family: var(--f-mono); font-size: 1rem; color: var(--text-muted); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item p { padding: 0 0 18px; font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; margin-top: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-block {
  padding: 20px 22px; border: 1px solid var(--border);
  border-radius: var(--r-lg); background: var(--bg-card);
}
.contact-block h4 { color: var(--white); margin-bottom: 8px; font-size: 0.88rem; }
.contact-block p { font-size: 0.84rem; color: var(--text-muted); }
.coverage-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.coverage-list span {
  font-family: var(--f-mono); font-size: 0.68rem;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-xs); padding: 3px 8px; color: var(--text-mid);
}
.contact-email { display: block; margin-top: 8px; color: var(--accent); font-weight: 600; font-family: var(--f-mono); font-size: 0.84rem; }
.ai-contact-block { background: var(--ai-dim) !important; border-color: var(--ai-border) !important; }
.btn-ai-sm {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; background: transparent; color: var(--ai);
  border: 1px solid var(--ai-border); padding: 7px 14px;
  border-radius: var(--r-xs); font-family: var(--f-mono);
  font-size: 0.72rem; font-weight: 500; transition: all 0.15s;
}
.btn-ai-sm:hover { background: var(--ai); color: var(--bg); }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-xl); padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-family: var(--f-mono); font-size: 0.67rem;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 9px 12px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: 0.9rem;
  color: var(--text); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg-surface); }
.form-note { margin-top: 10px; font-family: var(--f-mono); font-size: 0.66rem; color: var(--text-muted); text-align: center; letter-spacing: 0.04em; }
.form-success {
  display: none; margin-top: 14px; padding: 12px;
  background: var(--green-dim); border: 1px solid rgba(63,185,80,0.3);
  border-radius: var(--r-sm); color: var(--green);
  font-size: 0.84rem; text-align: center; font-family: var(--f-mono);
}
.form-error, .form-error-inline {
  display: none; margin-top: 12px; padding: 12px;
  background: rgba(248,81,73,0.08); border: 1px solid rgba(248,81,73,0.3);
  border-radius: var(--r-sm); color: #f85149;
  font-size: 0.82rem; text-align: center; font-family: var(--f-mono);
}
.btn-submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border-sub);
}
.footer-brand .footer-logo { display: block; color: var(--white); font-size: 1.2rem; margin-bottom: 14px; }
.footer-brand p { font-size: 0.83rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 14px; }
.footer-email { font-family: var(--f-mono); font-size: 0.76rem; color: var(--text-muted); transition: color 0.15s; }
.footer-email:hover { color: var(--accent); }

.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-col h5 {
  font-family: var(--f-mono); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border-sub);
}
.footer-col a { display: block; font-size: 0.83rem; color: var(--text-muted); padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-ai-link { color: var(--ai) !important; font-weight: 600; }
.footer-ai-desc { font-size: 0.76rem; color: var(--text-muted); margin: 6px 0 10px; line-height: 1.5; }
.btn-ai-footer {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 0.68rem;
  background: var(--ai-dim); color: var(--ai);
  border: 1px solid var(--ai-border); padding: 5px 12px;
  border-radius: var(--r-xs); letter-spacing: 0.04em; transition: all 0.15s;
}
.btn-ai-footer:hover { background: var(--ai); color: var(--bg); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-family: var(--f-mono); font-size: 0.66rem;
  color: var(--text-muted); letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 12px;
}
.back-top { color: var(--text-muted); transition: color 0.15s; }
.back-top:hover { color: var(--accent); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 52px 0 44px;
}
.page-breadcrumb { font-family: var(--f-mono); font-size: 0.68rem; color: var(--text-muted); margin-bottom: 18px; letter-spacing: 0.04em; }
.page-breadcrumb a { color: var(--accent); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.page-hero .page-sub { font-size: 0.98rem; color: var(--text-mid); max-width: 620px; line-height: 1.78; }
.page-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 20px; }
.page-tag { font-family: var(--f-mono); font-size: 0.66rem; background: var(--bg-surface); color: var(--text-mid); border: 1px solid var(--border); padding: 3px 9px; border-radius: var(--r-xs); letter-spacing: 0.06em; }
.page-tag.tag-ai { background: var(--ai-dim); border-color: var(--ai-border); color: var(--ai); }

.page-content { padding: 60px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: start; }
.content-main h3 { color: var(--white); margin: 32px 0 12px; font-size: 1.1rem; }
.content-main h3:first-child { margin-top: 0; }
.content-main p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; font-size: 0.92rem; }
.content-main ul { margin: 10px 0 18px; }
.content-main li { color: var(--text-mid); padding: 5px 0 5px 14px; position: relative; font-size: 0.88rem; border-bottom: 1px solid var(--border-sub); }
.content-main li:last-child { border-bottom: none; }
.content-main li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-size: 0.76rem; top: 7px; }

.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-top: 2px solid var(--accent); border-radius: var(--r-xl); padding: 26px; position: sticky; top: 72px; }
.sidebar-card h4 { color: var(--white); margin-bottom: 8px; font-size: 0.9rem; }
.sidebar-cta-note { font-family: var(--f-mono); font-size: 0.64rem; color: var(--text-muted); margin-top: 10px; text-align: center; letter-spacing: 0.04em; }
.related-standards { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-sub); }
.related-standards h5 { font-family: var(--f-mono); font-size: 0.64rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.related-link { display: block; padding: 6px 0; border-bottom: 1px solid var(--border-sub); font-size: 0.83rem; color: var(--accent); }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--text); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-left > *:nth-child(1) { animation: fadeUp 0.55s ease both 0.05s; }
.hero-left > *:nth-child(2) { animation: fadeUp 0.55s ease both 0.12s; }
.hero-left > *:nth-child(3) { animation: fadeUp 0.55s ease both 0.19s; }
.hero-left > *:nth-child(4) { animation: fadeUp 0.55s ease both 0.26s; }
.hero-left > *:nth-child(5) { animation: fadeUp 0.55s ease both 0.33s; }
.hero-form-card { animation: fadeUp 0.55s ease both 0.15s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { position: static; max-width: 480px; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .standards-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .topbar { display: none; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .partners-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 52px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .mega-menu { display: none !important; }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher-wrap {
  position: relative;
  list-style: none;
}
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: var(--bg-hover); border: 1px solid var(--border);
  color: var(--text-mid); border-radius: var(--r-sm);
  padding: 5px 10px; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: all 0.15s; font-family: var(--f-body);
}
.lang-btn:hover, .lang-btn.open {
  border-color: var(--accent); color: var(--white);
}
.lang-arrow { font-size: 0.65rem; color: var(--text-muted); transition: transform 0.2s; }
.lang-btn.open .lang-arrow { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--sh-lg);
  width: 200px; padding: 6px;
  max-height: 400px; overflow-y: auto;
  display: none; flex-direction: column; gap: 1px;
  z-index: 400;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.lang-menu.open { display: flex; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; background: none; border: none;
  padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 0.83rem; color: var(--text-mid);
  cursor: pointer; text-align: left;
  font-family: var(--f-body); transition: background 0.1s;
}
.lang-option:hover { background: var(--bg-hover); color: var(--white); }
.lang-option.active { color: var(--accent); font-weight: 600; }
.lang-option.active::after { content: '✓'; margin-left: auto; font-size: 0.75rem; }

@media (max-width: 768px) {
  .lang-switcher-wrap { display: none; }
}
