/* =========================================================================
   nijodex — site.css
   Dark hero + light content hybrid. Poppins throughout.
   ========================================================================= */

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

:root {
  /* Entwurf-Palette + Design-System-Anker */
  --navy-900: #050A14;
  --navy-800: #0A1528;
  --navy-700: #0C2550;
  --navy-600: #122E5E;
  --navy-500: #1D3D75;
  --bg-dark:  #070F1F;        /* Entwurf-Hintergrund */
  --bg-dark-2:#080D1A;

  --blue:     #0F8BE4;
  --blue-600: #0D7DCF;
  --blue-700: #0B6FB8;
  --mid:      #3533CD;
  --lemon:    #A5B400;        /* offizielles Olive-Lime */
  --lemon-2:  #8E9B00;

  /* Neutrale (hell) */
  --white:    #FFFFFF;
  --n-50:     #F5F7FA;
  --n-100:    #EEF2F7;
  --n-200:    #E3E8EF;
  --n-300:    #CBD3DE;
  --n-400:    #8A96A8;
  --n-500:    #5A6578;
  --n-600:    #4A5566;
  --n-700:    #2B3344;
  --n-900:    #0B1220;

  /* Akzent (vom Tweak gesteuert) */
  --accent:       var(--blue);
  --accent-hover: var(--blue-600);
  --accent-soft:  rgba(15, 139, 228, 0.12);
  --accent-line:  rgba(15, 139, 228, 0.25);

  /* Type */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Layout */
  --max: 1200px;
  --nav-h: 72px;
}

/* Accent = lemon Variante */
:root[data-accent="lemon"] {
  --accent:       var(--lemon);
  --accent-hover: var(--lemon-2);
  --accent-soft:  rgba(165, 180, 0, 0.12);
  --accent-line:  rgba(165, 180, 0, 0.3);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: linear-gradient(to right, #0a1f4a 0%, #030c1a 60%, #000508 100%);
  background-attachment: fixed;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 64px);
  background: rgba(7, 15, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  transition: color 180ms var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 10px 22px; border-radius: 4px;
  transition: background 180ms var(--ease), transform 120ms var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; }

/* =========================================================================
   Utility
   ========================================================================= */
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
main { padding-top: var(--nav-h); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lemon);
  margin-bottom: 16px;
}
.eyebrow--lemon { color: var(--lemon); }

.accent { color: var(--accent); }
.accent-lemon { color: var(--lemon); }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.01em; }
h2 .punct { color: var(--lemon); }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1.15; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }

.lead { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 60ch; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.divider { border: 0; border-top: 1px solid rgba(255,255,255,0.06); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; border: 0;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
              color 180ms var(--ease), transform 120ms var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark {
  background: var(--navy-900); color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* Tags */
.tag {
  display: inline-block;
  background: var(--accent-soft); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: 4px;
  margin: 3px;
}

/* =========================================================================
   Hero base — radiant-gradient style
   ========================================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 72% 40%, rgba(53, 51, 205, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 85%, rgba(12, 38, 82, 0.8) 0%, transparent 60%),
    var(--bg-dark);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%230f8be4' stroke-width='0.3' stroke-opacity='0.08'><path d='M0 30h60M30 0v60'/></g></svg>");
}
.hero > .container { position: relative; z-index: 1; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(165, 180, 0, 0.12);
  border: 1px solid rgba(165, 180, 0, 0.3);
  color: var(--lemon);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lemon);
  box-shadow: 0 0 0 0 rgba(165,180,0,0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(165,180,0,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(165,180,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(165,180,0,0); }
}
.hero h1 { max-width: 18ch; margin-bottom: 24px; }
.hero-sub { max-width: 56ch; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 72px; }

/* Stat row */
.stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); }
.stats.stats--section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
}
.stats--section .stat {
  padding: 28px 28px 28px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stats--section .stat .label {
  font-size: 12.5px;
  line-height: 1.45;
  white-space: normal;
  /* Verhindert 3. Zeile: der Zeilenumbruch kommt nur vom <br/> */
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.stats--section .stat:last-child { border-right: none; }
.stats--section .stat + .stat { padding-left: 28px; }
@media (max-width: 820px) {
  .stats.stats--section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--section .stat:nth-child(2n) { border-right: none; }
  .stats--section .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 480px) {
  .stats.stats--section { grid-template-columns: 1fr; }
  .stats--section .stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0 !important; }
  .stats--section .stat:last-child { border-bottom: none; }
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--accent);
  line-height: 1;
}
.stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 8px;
  max-width: 22ch;
}

/* =========================================================================
   Hero variants
   ========================================================================= */

/* 2 — Split (dark hero, right panel teaser) */
.hero--split { align-items: stretch; padding: 0; }
.hero--split .split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - var(--nav-h));
  width: 100%;
  max-width: none;
  padding: 0;
}
.hero--split .split-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(40px, 6vw, 96px) 80px;
  background:
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(12,38,82,0.7), transparent 60%),
    var(--bg-dark);
}
.hero--split .split-right {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(40px, 6vw, 96px) 80px;
  background: transparent;
  color: rgba(255,255,255,0.88);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.hero--split .split-right h2 { color: var(--n-900); max-width: 18ch; }
.hero--split .split-right p { color: var(--n-600); max-width: 44ch; line-height: 1.7; margin-top: 16px; }
.hero--split .split-right .match-big { color: var(--navy-700); }
.hero--split .stats .label { color: var(--n-500); }

/* 3 — Constellation (olive-dot motif) */
.hero--constellation { background: var(--navy-900); }
.hero--constellation::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 1000px 600px at 80% 20%, rgba(165,180,0,0.08), transparent 60%),
    radial-gradient(ellipse 800px 500px at 15% 90%, rgba(12,38,82,0.9), transparent 60%);
}
.hero--constellation::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(165,180,0,0.9) 0, rgba(165,180,0,0.9) 2px, transparent 2.5px),
    radial-gradient(circle at 25% 40%, rgba(165,180,0,0.6) 0, rgba(165,180,0,0.6) 3px, transparent 3.5px),
    radial-gradient(circle at 55% 12%, rgba(165,180,0,0.8) 0, rgba(165,180,0,0.8) 2px, transparent 2.5px),
    radial-gradient(circle at 75% 65%, rgba(165,180,0,0.7) 0, rgba(165,180,0,0.7) 3px, transparent 3.5px),
    radial-gradient(circle at 88% 30%, rgba(165,180,0,0.9) 0, rgba(165,180,0,0.9) 4px, transparent 4.5px),
    radial-gradient(circle at 35% 82%, rgba(165,180,0,0.5) 0, rgba(165,180,0,0.5) 2.5px, transparent 3px),
    radial-gradient(circle at 65% 90%, rgba(165,180,0,0.7) 0, rgba(165,180,0,0.7) 2px, transparent 2.5px),
    radial-gradient(circle at 90% 78%, rgba(165,180,0,0.6) 0, rgba(165,180,0,0.6) 2.5px, transparent 3px),
    radial-gradient(circle at 5%  65%, rgba(165,180,0,0.5) 0, rgba(165,180,0,0.5) 2px, transparent 2.5px),
    radial-gradient(circle at 45% 55%, rgba(165,180,0,0.4) 0, rgba(165,180,0,0.4) 2.5px, transparent 3px);
}

/* 4 — Editorial (giant typo, terminal-ish) */
.hero--editorial {
  background: linear-gradient(to right, #0a1f4a 0%, #030c1a 60%, #000508 100%);
  padding: 140px 0 100px;
  min-height: auto;
}
.hero--editorial::after { display: none; }
.hero--editorial h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: none;
}
.hero--editorial .terminal {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 32px 0 40px;
  max-width: 640px;
  line-height: 1.9;
}
.hero--editorial .terminal .prompt { color: var(--lemon); margin-right: 8px; }
.hero--editorial .terminal .comment { color: rgba(165,180,0,0.6); }
.hero--editorial .terminal .ok { color: var(--lemon); }

/* Terminal-Block in der Original-Hero-Variante (unter den Stats) */
.hero-terminal-original {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 40px;
  max-width: 640px;
  line-height: 1.9;
}
.hero-terminal-original .prompt { color: var(--lemon); margin-right: 8px; }
.hero-terminal-original .comment { color: rgba(255,255,255,0.38); }
.hero-terminal-original .ok { color: var(--lemon); }
/* Nur in Original-Variante anzeigen */
.hero--split .hero-terminal-original,
.hero--constellation .hero-terminal-original,
.hero--editorial .hero-terminal-original { display: none; }

/* Editorial: Vertragsarten-Zeile anzeigen (alt: Stats-Zeile) */
.hero--editorial .hero-contracts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  max-width: 960px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero--editorial .hero-contracts .hc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px 24px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero--editorial .hero-contracts .hc-item:last-child { border-right: none; }
.hero--editorial .hero-contracts .hc-item + .hc-item { padding-left: 28px; }
.hero--editorial .hero-contracts .hc-num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--lemon);
  letter-spacing: 0.08em;
  padding-top: 2px;
  flex-shrink: 0;
}
.hero--editorial .hero-contracts .hc-title {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hero--editorial .hero-contracts .hc-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
}
/* Non-editorial: Vertragsarten-Zeile soll nicht erscheinen */
.hero-contracts { display: none; }
.hero--editorial .hero-contracts { display: grid; }

/* Vertragsarten-Sektion (unter Spezialisierungen) */
.contracts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 8px;
}
.contracts-row .hc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 32px 28px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.contracts-row .hc-item:last-child { border-right: none; }
.contracts-row .hc-item + .hc-item { padding-left: 32px; }
.contracts-row .hc-num {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--lemon);
  letter-spacing: 0.08em;
  padding-top: 2px;
  flex-shrink: 0;
}
.contracts-row .hc-title {
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.contracts-row .hc-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
}
@media (max-width: 720px) {
  .contracts-row { grid-template-columns: 1fr; }
  .contracts-row .hc-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0 !important; }
  .contracts-row .hc-item:last-child { border-bottom: none; }
  .contracts-row .hc-item + .hc-item { padding-left: 0; }
}

/* =========================================================================
   Problem section (light)
   ========================================================================= */
.section--light {
  background: transparent; color: rgba(255,255,255,0.88);
}
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4 { color: #fff; }
.section--light .eyebrow { color: var(--accent); }
.section--light p { color: rgba(255,255,255,0.72); }

.section--navy {
  background: rgba(10,31,74,0.35);
  border-top: 3px solid var(--lemon);
  border-bottom: 3px solid var(--accent);
  color: #fff;
}
.section--navy p { color: rgba(255,255,255,0.75); }

.section--dark { background: rgba(0,0,0,0.25); }

/* Cards — pain */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 180ms var(--ease),
              transform 180ms var(--ease),
              box-shadow 180ms var(--ease);
}
.pain-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(15, 139, 228, 0.08);
}
.pain-card .pain-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.pain-card h3 { color: #fff; margin-bottom: 8px; }
.pain-card p { color: rgba(255,255,255,0.72); font-size: 0.94rem; line-height: 1.65; }

/* Dark variant of pain cards (for dark mode) */
.pain--dark .pain-card {
  background: rgba(12, 38, 82, 0.35);
  border-color: rgba(15, 139, 228, 0.12);
}
.pain--dark .pain-card:hover { border-color: var(--accent); }
.pain--dark .pain-card h3 { color: #fff; }
.pain--dark .pain-card p { color: rgba(255,255,255,0.7); }

/* Solution strip */
.solution-grid {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.solution-big {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 16ch;
}
.match-big {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--mid));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
:root[data-accent="lemon"] .match-big {
  background: linear-gradient(135deg, var(--lemon), #6a7600);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Specializations tags */
.spec-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* CTA band */
.cta-band { text-align: center; padding: clamp(64px, 9vw, 112px) 0; background: var(--bg-dark-2); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 48ch; margin: 0 auto 36px; line-height: 1.7; }
.section--light.cta-band { background: transparent; }
.section--light.cta-band p { color: rgba(255,255,255,0.72); }

/* =========================================================================
   Method page
   ========================================================================= */
.step-grid { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.section--light .step { border-bottom-color: rgba(255,255,255,0.08); }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem;
}
.step-body h3 { margin-bottom: 10px; }
.step-body p { line-height: 1.75; font-size: 0.96rem; margin-top: 6px; }
.step-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }

.method-result {
  margin-top: 56px;
  padding: 32px 36px;
  background: rgba(165, 180, 0, 0.06);
  border: 1px solid rgba(165, 180, 0, 0.25);
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.method-result h3 { color: var(--lemon); margin-bottom: 6px; }

/* =========================================================================
   Services page
   ========================================================================= */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: rgba(12, 38, 82, 0.3);
  border: 1px solid rgba(15, 139, 228, 0.12);
  border-radius: 12px;
  padding: 36px 32px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.service-card .s-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,0.7); line-height: 1.7; font-size: 0.94rem; }
.service-kicker {
  margin-top: 20px;
  color: var(--lemon); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 8px;
}

.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px; margin-top: 28px;
}
.spec-pill {
  background: rgba(12, 38, 82, 0.5);
  border: 1px solid rgba(15, 139, 228, 0.18);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.94rem; font-weight: 600;
}
.spec-pill .cat {
  display: block; margin-bottom: 4px;
  color: var(--lemon); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================================
   About page
   ========================================================================= */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.quote-card {
  position: relative;
  padding: 40px 36px;
  background: linear-gradient(135deg, rgba(12, 38, 82, 0.6), rgba(53, 51, 205, 0.18));
  border: 1px solid rgba(53, 51, 205, 0.3);
  border-radius: 16px;
}
.quote-card::before {
  content: '"'; position: absolute; top: 6px; left: 24px;
  font-family: Georgia, serif; font-size: 8rem; line-height: 1;
  color: rgba(15, 139, 228, 0.18);
}
.quote-card blockquote {
  position: relative; font-size: 1.08rem; line-height: 1.8;
  color: rgba(255,255,255,0.82);
}
.quote-card cite {
  display: block; margin-top: 18px;
  color: var(--accent); font-style: normal; font-weight: 600; font-size: 0.9rem;
}

.name-key {
  margin-top: 28px; padding: 18px 22px;
  background: rgba(165, 180, 0, 0.08);
  border-left: 3px solid var(--lemon);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem; color: rgba(255,255,255,0.72);
  line-height: 1.7;
}
.name-key strong { color: #fff; }

.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin-top: 36px;
}
.value-card {
  background: rgba(12, 38, 82, 0.3);
  border-left: 3px solid var(--accent);
  padding: 24px 26px;
  border-radius: 0 10px 10px 0;
}
.value-card h3 { color: var(--accent); margin-bottom: 8px; }
.value-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact-info p { color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 28px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.ci-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.ci-value { font-size: 0.96rem; font-weight: 600; }

.contact-stat {
  margin-top: 32px;
  padding: 22px 24px;
  background: rgba(165, 180, 0, 0.07);
  border: 1px solid rgba(165, 180, 0, 0.25);
  border-radius: 10px;
}
.contact-stat .big {
  font-family: var(--font-display);
  font-weight: 800; font-size: 2.2rem; color: var(--lemon); line-height: 1;
}
.contact-stat p { margin-top: 6px; font-size: 0.86rem; line-height: 1.6; }

.contact-form {
  background: rgba(12, 38, 82, 0.3);
  border: 1px solid rgba(15, 139, 228, 0.15);
  border-radius: 14px;
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: #0C2550; }
.form-btn {
  width: 100%;
  background: var(--accent); color: #fff; border: 0;
  border-radius: 6px; padding: 14px;
  font-family: var(--font); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms var(--ease), transform 120ms var(--ease);
}
.form-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
  background: #040810;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer img { height: 30px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.45); font-size: 13px;
  transition: color 150ms var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 12px; }

/* =========================================================================
   Tweaks panel
   ========================================================================= */
.tw-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  background: rgba(7, 15, 31, 0.96);
  backdrop-filter: blur(12px);
  color: #fff; font-family: var(--font);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px 22px;
  width: 280px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: none;
}
.tw-panel.show { display: block; }
.tw-panel h4 {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.tw-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tw-row label { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 600; }
.tw-segs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tw-segs button {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #fff; padding: 7px 10px;
  font-family: var(--font); font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer;
  transition: background 150ms var(--ease), border-color 150ms var(--ease);
}
.tw-segs button:hover { background: rgba(255,255,255,0.1); }
.tw-segs button[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.tw-divider {
  height: 1px; background: rgba(255,255,255,0.08);
  margin: 8px 0 14px;
}
.tw-label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 8px;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .pain-grid, .service-grid, .two-col, .solution-grid, .contact-grid,
  .values-grid, .hero--split .split-grid {
    grid-template-columns: 1fr;
  }
  .hero--split .split-grid { min-height: auto; }
  .hero--split .split-right { border-left: 0; border-top: 1px solid var(--n-200); }
  .step { grid-template-columns: 64px 1fr; gap: 20px; }
  .step-num { width: 52px; height: 52px; font-size: 1rem; }
  h1 { font-size: 2.4rem; }
}
