/* ============ GROUP CONSULTING — DESIGN SYSTEM ============ */
:root {
  --bg: #060a14;
  --bg-2: #0a101f;
  --bg-3: #0d1528;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #eef2f9;
  --text-2: #b8c2d4;
  --text-3: #8a94a8;
  --blue: #38bdf8;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --blue-dim: rgba(56, 189, 248, 0.12);
  --radius: 14px;
  --radius-sm: 9px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; }
h2.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

.container { width: min(var(--max-w), 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.2rem;
}
.eyebrow .pulse-dot, .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.section-sub { color: var(--text-2); max-width: 640px; font-size: 1.08rem; }
.muted { color: var(--text-3); }
.gradient-text {
  background: linear-gradient(92deg, var(--blue), var(--cyan) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.inline-link { font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 560px; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue); color: #04121f; padding: 0.7rem 1.2rem; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.85em 1.7em; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-decoration: none; min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff; box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(37, 99, 235, 0.5); }
.btn-ghost { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-dim); }
.btn-lg { font-size: 1.02rem; padding: 0.95em 2em; }
.btn-sm { font-size: 0.86rem; padding: 0.65em 1.3em; min-height: 42px; }
.btn-block { width: 100%; }
.btn-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(6, 10, 20, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: height 0.25s ease, background 0.25s ease;
}
.nav.scrolled { height: 58px; background: rgba(6, 10, 20, 0.9); }
.nav-inner {
  width: min(var(--max-w), 100% - 3rem); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 0.25rem; }
.nav-link {
  color: var(--text-2); font-size: 0.92rem; font-weight: 500;
  padding: 0.55rem 0.85rem; border-radius: 8px; position: relative;
}
.nav-link:hover { color: var(--text); text-decoration: none; background: var(--surface); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 2px;
  height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--violet));
}
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer;
  padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; }
.glow-a { width: 560px; height: 560px; background: rgba(37, 99, 235, 0.28); top: -160px; right: -120px; }
.glow-b { width: 460px; height: 460px; background: rgba(167, 139, 250, 0.16); bottom: -180px; left: -140px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; position: relative; }
.hero h1 { margin-bottom: 1.1rem; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); opacity: 0.55; }
.scroll-hint span { display: block; width: 22px; height: 36px; border: 1.5px solid var(--text-3); border-radius: 12px; position: relative; }
.scroll-hint span::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 3px; background: var(--blue); animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: 0.3; } }

/* ============ HERO FLOW VISUAL ============ */
.flow-card {
  background: linear-gradient(160deg, rgba(13, 21, 40, 0.92), rgba(8, 13, 26, 0.94));
  border: 1px solid var(--border-strong); border-radius: 18px;
  padding: 1.4rem 1.4rem 1.1rem;
  box-shadow: 0 24px 70px rgba(2, 6, 18, 0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.flow-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.flow-title { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--text); }
.flow-badge {
  display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.3em 0.8em;
}
.flow-svg { width: 100%; height: auto; display: block; }
.node-box { fill: rgba(56, 189, 248, 0.07); stroke: rgba(148, 163, 184, 0.3); stroke-width: 1.2; }
.node-box.core { fill: rgba(56, 189, 248, 0.14); stroke: var(--blue); stroke-width: 1.6; filter: drop-shadow(0 0 10px rgba(56,189,248,0.35)); }
.node-label { fill: var(--text); font-size: 11.5px; font-family: var(--font-body); font-weight: 600; }
.node-sub { fill: var(--text-3); font-size: 10px; font-family: var(--font-body); }
.flow-links .link { stroke-dasharray: 6 6; animation: dashFlow 2.6s linear infinite; }
.flow-links .link-d2 { animation-duration: 3.4s; }
.flow-links .link-d3 { animation-duration: 4.2s; }
@keyframes dashFlow { to { stroke-dashoffset: -48; } }
/* (hero data packets use SMIL animateMotion; paused under reduced motion via JS) */
.pipeline-status {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.45rem 1rem;
  margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-2);
}
.pipeline-status li { display: flex; align-items: center; gap: 0.55em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status-dot.ok { background: #34d399; box-shadow: 0 0 8px rgba(52, 211, 153, 0.7); }
.status-dot.warn { background: #fbbf24; box-shadow: 0 0 8px rgba(251, 191, 36, 0.7); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.45; } }
.flow-note { font-size: 0.72rem; color: var(--text-3); margin: 0.7rem 0 0; }

/* ============ TRUST STRIP ============ */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 1.6rem 0; }
.strip-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.9rem; text-align: center; }
.strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem; }
.strip-list li { font-family: var(--font-head); font-size: 0.98rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.strip-list li:hover { color: var(--blue); }

/* ============ CARDS / GRIDS ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
.bridge { margin-top: 2.2rem; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.bridge .inline-link { margin-left: 0.4em; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.8rem; }
.service-card {
  background: linear-gradient(165deg, rgba(20, 30, 55, 0.55), rgba(9, 14, 27, 0.7));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem; position: relative; overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent);
  opacity: 0; transition: opacity 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, 0.45); box-shadow: 0 18px 44px rgba(2, 8, 24, 0.55), 0 0 0 1px rgba(56,189,248,0.12), 0 0 28px rgba(56, 189, 248, 0.08); }
.service-card:hover::before { opacity: 1; }
.service-card.wide { grid-column: span 3; display: grid; grid-template-columns: 56px 1fr; column-gap: 1.4rem; align-items: start; }
.service-card.wide .tag-list { grid-column: 2; }
.service-icon {
  width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-dim); border: 1px solid rgba(56, 189, 248, 0.3); color: var(--blue); margin-bottom: 1.1rem;
}
.service-card.wide .service-icon { margin-bottom: 0; }
.service-icon svg { width: 26px; height: 26px; transition: transform 0.25s ease; }
.service-card:hover .service-icon svg { transform: scale(1.12) rotate(-4deg); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 0.35rem; }
.service-headline { font-weight: 600; color: var(--blue); font-size: 0.98rem; margin-bottom: 0.6rem; }
.service-desc { color: var(--text-2); font-size: 0.94rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.tag-list li {
  font-size: 0.78rem; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 0.28em 0.85em;
  background: rgba(255,255,255,0.02); transition: border-color 0.18s ease, color 0.18s ease;
}
.service-card:hover .tag-list li { border-color: rgba(56, 189, 248, 0.35); color: var(--text); }
.section-cta { margin-top: 2.6rem; text-align: center; }

/* ============ INDUSTRIES ============ */
.industry-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.2rem; }
.industry-tab {
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.7em 1.4em; cursor: pointer; min-height: 48px;
  transition: all 0.2s ease;
}
.industry-tab:hover { color: var(--text); border-color: var(--border-strong); }
.industry-tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.35);
}
.industry-panel {
  margin-top: 1.4rem; background: linear-gradient(165deg, rgba(20,30,55,0.5), rgba(9,14,27,0.65));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
}
.industry-panel h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.industry-panel > p { color: var(--text-2); max-width: 680px; }
.industry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem 1.5rem; margin-top: 1.2rem; }
.industry-list li { color: var(--text-2); font-size: 0.94rem; padding-left: 1.3em; position: relative; }
.industry-list li::before { content: "▸"; position: absolute; left: 0; color: var(--blue); }

/* ============ HEALTHCARE ============ */
.healthcare { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.healthcare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.4rem; margin-top: 1.6rem; }
.check-list li { color: var(--text-2); font-size: 0.95rem; padding-left: 1.7em; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: #34d399; font-weight: 700;
}
.flow-layers { display: flex; flex-direction: column; gap: 0; }
.flow-layers li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.8rem 1.2rem; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  text-align: center; position: relative; color: var(--text);
}
.flow-layers li:not(:last-child) { margin-bottom: 1.5rem; }
.flow-layers li:not(:last-child)::after {
  content: "↓"; position: absolute; left: 50%; bottom: -1.45rem; transform: translateX(-50%);
  color: var(--blue); font-size: 1rem; animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown { 0%,100% { transform: translate(-50%, 0); opacity: 1; } 50% { transform: translate(-50%, 5px); opacity: 0.5; } }
.flow-layers li:nth-child(4) { border-color: rgba(52, 211, 153, 0.5); background: rgba(52, 211, 153, 0.07); }

/* ============ CAPABILITIES ============ */
.caps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.cap-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color 0.2s ease, transform 0.2s ease; }
.cap-card:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-3px); }
.cap-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 0.8rem; }
.cap-card ul li { color: var(--text-2); font-size: 0.88rem; padding: 0.28rem 0; border-bottom: 1px dashed rgba(148,163,184,0.1); }
.cap-card ul li:last-child { border-bottom: 0; }

/* ============ ARCHITECTURE ============ */
.architecture { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.arch-layers { margin-top: 2.8rem; display: flex; flex-direction: column; }
.arch-layer {
  background: linear-gradient(165deg, rgba(20,30,55,0.6), rgba(9,14,27,0.75));
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.arch-layer.highlight { border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 34px rgba(56, 189, 248, 0.1); }
.arch-layer h3 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.9rem; }
.arch-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.arch-chips span {
  font-size: 0.86rem; font-weight: 500; color: var(--text);
  background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px; padding: 0.42em 0.95em;
}
.arch-layer.highlight .arch-chips span { background: rgba(167, 139, 250, 0.09); border-color: rgba(167, 139, 250, 0.3); }
.arch-connector { display: flex; justify-content: center; gap: 10px; padding: 0.55rem 0; }
.arch-connector span { width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(var(--blue), var(--violet)); opacity: 0.75; animation: connPulse 2s ease-in-out infinite; }
.arch-connector span:nth-child(2) { animation-delay: 0.25s; }
.arch-connector span:nth-child(3) { animation-delay: 0.5s; }
@keyframes connPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1.15); } }

/* ============ PROCESS ============ */
.process-timeline { margin-top: 3rem; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.process-timeline::before {
  content: ""; position: absolute; top: 26px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent); opacity: 0.5;
}
.process-step { position: relative; padding-top: 3.4rem; }
.process-step::before {
  content: ""; position: absolute; top: 18px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--blue); box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--text-3); letter-spacing: 0.1em; display: block; margin-bottom: 0.4rem; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.process-step p { color: var(--text-2); font-size: 0.9rem; margin: 0; }

/* ============ SOLUTIONS ============ */
.solution-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: transform 0.2s ease, border-color 0.2s ease;
}
.solution-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.solution-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet); border: 1px solid rgba(167, 139, 250, 0.4); border-radius: 999px;
  padding: 0.3em 0.9em; margin-bottom: 1rem;
}
.solution-flow { font-family: var(--font-head); font-size: 0.88rem; color: var(--blue); font-weight: 500; margin-bottom: 0.8rem; line-height: 1.7; }
.solution-card p:last-child { color: var(--text-2); font-size: 0.94rem; margin: 0; }

/* ============ OUTCOMES ============ */
.outcomes { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============ NEED FINDER ============ */
.need-options { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2.2rem; }
.need-btn {
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.72em 1.35em; cursor: pointer; min-height: 48px; transition: all 0.18s ease;
}
.need-btn:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-1px); }
.need-btn.is-active { color: #fff; background: linear-gradient(135deg, #0ea5e9, #2563eb); border-color: transparent; box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.need-result {
  margin-top: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(20,30,55,0.5), rgba(9,14,27,0.65));
  padding: 1.8rem; min-height: 120px;
}
.need-label { color: var(--text-3); font-size: 0.95rem; margin: 0; }
.need-text { color: var(--text); font-size: 1.02rem; margin: 0 0 1.2rem; }
.need-result .btn[hidden] { display: none; }

/* ============ CONTACT / FORM ============ */
.contact { background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(37, 99, 235, 0.08), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-points { margin: 1.6rem 0; display: grid; gap: 0.7rem; }
.contact-points li { color: var(--text-2); font-size: 0.96rem; padding-left: 1.7em; position: relative; }
.contact-points li::before { content: "✓"; position: absolute; left: 0; color: #34d399; font-weight: 700; }
.contact-alt { margin-top: 1.2rem; color: var(--text-2); }
.lead-form {
  background: linear-gradient(165deg, rgba(16, 24, 46, 0.85), rgba(8, 12, 24, 0.92));
  border: 1px solid var(--border-strong); border-radius: 18px; padding: 2rem;
  box-shadow: 0 24px 60px rgba(2, 6, 18, 0.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.45rem; }
.form-field label span { color: var(--blue); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  padding: 0.78em 1em; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field select option { background: #0d1528; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15); outline: none;
}
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #f87171; }
.field-error { color: #fca5a5; font-size: 0.8rem; margin: 0.4rem 0 0; }
.field-error[hidden] { display: none; }
.form-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 0.9em 1.1em; font-size: 0.92rem; margin: 1rem 0 0; }
.form-status[hidden] { display: none; }
.form-status.success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.4); color: #a7f3d0; }
.form-status.error { background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.4); color: #fca5a5; }
.form-note { font-size: 0.78rem; color: var(--text-3); margin: 0.9rem 0 0; text-align: center; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border); background: #04070f; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-tag { color: var(--blue); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; margin: 0.6rem 0; }
.footer-desc { color: var(--text-3); font-size: 0.9rem; max-width: 320px; }
.footer-col h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: var(--text-2); font-size: 0.92rem; }
.footer-col a:hover { color: var(--blue); text-decoration: none; }
.footer-bottom {
  margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--text-3); font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--blue); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero { min-height: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 2; }
  .caps-grid { grid-template-columns: repeat(3, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .process-timeline::before { display: none; }
  .process-step { padding-top: 0; padding-left: 2.4rem; }
  .process-step::before { top: 4px; left: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .healthcare-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; gap: 0; padding: 0.8rem 1.2rem 1.4rem;
    background: rgba(6, 10, 20, 0.97); border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.28s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 0.9rem 0.6rem; font-size: 1.02rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-link.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .grid-3, .grid-2, .services-grid { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: span 1; grid-template-columns: 1fr; }
  .service-card.wide .tag-list { grid-column: 1; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-list { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .check-list { grid-template-columns: 1fr; }
  .lead-form { padding: 1.4rem; }
  .pipeline-status { grid-template-columns: 1fr 1fr; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .flow-links .link { stroke-dasharray: none; }
}
