/* =====================================================
   MCG Technologies LLC — Design System
   -----------------------------------------------------
   Project : MCG Technologies LLC website
   Repo    : https://github.com/savvy-shopper/mcgtechnologies-site
   Deploy  : Cloudflare Pages (root dir, no build step)
   ===================================================== */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; }

/* ---- Design Tokens ---- */
:root {
  --bg:       #0A0C10;
  --surface:  #111520;
  --border:   #1E2535;
  --cyan:     #00C2FF;
  --violet:   #7B5CFA;
  --text:     #E8EDF5;
  --muted:    #6B7A99;
  --mint:     #00E5A0;

  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body:    'Inter', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;

  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-6: 1.5rem;   --sp-8: 2rem;
  --sp-10: 2.5rem;  --sp-12: 3rem;    --sp-16: 4rem;
  --sp-20: 5rem;    --sp-24: 6rem;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 250ms var(--ease);
  --t-slow: 400ms var(--ease);

  --nav-h: 72px;
  --max-w: 1200px;
}

/* ---- Base ---- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.2rem; }

p { color: var(--muted); }
p.lead { color: var(--text); font-size: 1.125rem; line-height: 1.7; }

.mono {
  font-family: var(--ff-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section { padding: var(--sp-24) 0; }

.section-label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--sp-3);
}

.section-header {
  margin-bottom: var(--sp-12);
}

.section-header p {
  max-width: 58ch;
  margin-top: var(--sp-4);
  font-size: 1.0625rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--t-base);
  border: none;
  white-space: nowrap;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: #0A0C10;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 194, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 194, 255, 0.05);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* ---- Navigation ---- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background var(--t-base), backdrop-filter var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(10, 12, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

.nav-cta { margin-left: var(--sp-4); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--sp-2);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-base);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 199;
  padding: var(--sp-8) var(--sp-6);
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--muted);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast);
}

.mobile-nav a:last-child { border-bottom: none; margin-top: var(--sp-6); }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--cyan); }

/* ---- Footer ---- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border);
}

.footer-brand .tagline {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: var(--sp-3);
  font-style: italic;
}

.footer-nav-col h5 {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-nav-col a {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color var(--t-fast);
}

.footer-nav-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom p,
.footer-legal a {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

.footer-legal a {
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--cyan); }

/* ---- Hero ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: var(--sp-20) 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 100px;
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-6);
}

.hero-eyebrow span {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.hero-content h1 { margin-bottom: var(--sp-6); }

.hero-content h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-content p.lead {
  margin-bottom: var(--sp-8);
  max-width: 58ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-16);
}

/* Trust Bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.trust-label {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: var(--sp-2);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.trust-badge:hover {
  border-color: rgba(0, 194, 255, 0.3);
  color: var(--text);
}

/* ---- Stats Bar ---- */
.stats-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-12) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  text-align: center;
}

.stat-divider {
  border-left: 1px solid var(--border);
}

.stat-item .num {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-item .lbl {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Service Cards (Home Teaser) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: rgba(0, 194, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.service-icon {
  width: 48px; height: 48px;
  background: rgba(0, 194, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { font-size: 1.0625rem; margin-bottom: var(--sp-3); }
.service-card p  { font-size: 0.9375rem; line-height: 1.65; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--ff-display);
  color: var(--cyan);
  transition: gap var(--t-fast);
}
.card-link:hover { gap: 10px; }

.card-link svg {
  width: 14px; height: 14px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Testimonial ---- */
.testimonial-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: var(--sp-12);
}

.testimonial-block blockquote {
  font-family: var(--ff-display);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.65;
  color: var(--text);
  margin-bottom: var(--sp-6);
}

.testimonial-block blockquote::before {
  content: '"';
  color: var(--cyan);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -1.2rem;
  margin-right: 4px;
  font-family: Georgia, serif;
}

.t-author {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.t-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--bg);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.t-author strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 0.9375rem;
  color: var(--text);
}

.t-author span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---- CTA Strip ---- */
.cta-strip {
  background: linear-gradient(135deg,
    rgba(0, 194, 255, 0.07) 0%,
    rgba(123, 92, 250, 0.07) 100%);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: var(--sp-20) var(--sp-6);
}

.cta-strip h2 { margin-bottom: var(--sp-4); }
.cta-strip p  { margin-bottom: var(--sp-8); max-width: 50ch; margin-left: auto; margin-right: auto; }

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-20)) 0 var(--sp-16);
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, rgba(0,194,255,0.06) 0%, transparent 65%);
}

.page-hero p {
  max-width: 56ch;
  margin: var(--sp-4) auto 0;
  font-size: 1.0625rem;
}

/* ---- Services Page Sections ---- */
.service-section {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-child { border-bottom: none; }

.service-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-16);
  align-items: start;
}

.service-icon-lg {
  width: 64px; height: 64px;
  background: rgba(0, 194, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.service-icon-lg svg {
  width: 30px; height: 30px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-section-text h2 { margin-bottom: var(--sp-4); }
.service-section-text p  { margin-bottom: var(--sp-6); font-size: 1.0625rem; }

.deliverables-label {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--sp-4);
}

.deliverables {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.del-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--muted);
}

.del-dot {
  width: 6px; height: 6px;
  background: var(--mint);
  border-radius: 50%;
  margin-top: 0.5em;
  flex-shrink: 0;
}

.service-section-visual {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-8));
}

.service-card-lg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
}

.service-card-lg .meta-label {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-4);
  display: block;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.tech-tag {
  background: rgba(0, 194, 255, 0.06);
  border: 1px solid rgba(0, 194, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-transform: uppercase;
}

/* ---- About Page ---- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.about-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  text-align: center;
}

.about-metric .num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.about-metric .lbl {
  font-size: 0.8125rem;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  text-align: center;
  transition: all var(--t-base);
}

.team-card:hover {
  border-color: rgba(0, 194, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--bg);
  margin: 0 auto var(--sp-4);
}

.team-card h4 { margin-bottom: var(--sp-1); }

.team-title {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--sp-4);
}

.team-card p { font-size: 0.9375rem; }

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(0, 194, 255, 0.08);
  border: 1px solid rgba(0, 194, 255, 0.15);
  border-radius: var(--radius-sm);
  margin-top: var(--sp-4);
  color: var(--cyan);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.linkedin-icon:hover {
  background: rgba(0, 194, 255, 0.18);
  border-color: rgba(0, 194, 255, 0.4);
}

.linkedin-icon svg {
  width: 16px; height: 16px;
  fill: currentColor;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.pillar-card {
  text-align: center;
  padding: var(--sp-10) var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all var(--t-base);
}

.pillar-card:hover {
  border-color: rgba(0, 194, 255, 0.25);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 60px; height: 60px;
  background: rgba(0, 194, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}

.pillar-icon svg {
  width: 28px; height: 28px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card h3 { font-size: 1.25rem; margin-bottom: var(--sp-3); }

/* ---- Case Studies ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: rgba(0, 194, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 100px;
  padding: 3px 10px;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: var(--sp-4);
  width: fit-content;
}

.case-card h3  { font-size: 1.25rem; margin-bottom: var(--sp-3); }
.case-card > p { font-size: 0.9375rem; flex: 1; margin-bottom: var(--sp-6); }

.outcome-metric {
  background: rgba(0, 194, 255, 0.04);
  border: 1px solid rgba(0, 194, 255, 0.15);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
}

.outcome-metric .metric {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--cyan);
  display: block;
  line-height: 1.1;
  margin-bottom: 2px;
}

.outcome-metric .metric-label {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---- Insights ---- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  border-color: rgba(0, 194, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.insight-card-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(0,194,255,0.08) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insight-card-thumb svg {
  width: 40px; height: 40px;
  stroke: rgba(0, 194, 255, 0.3);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.insight-card-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 194, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin-bottom: var(--sp-3);
  width: fit-content;
}

.insight-date {
  font-size: 0.8125rem;
  color: var(--muted);
  font-family: var(--ff-mono);
  margin-bottom: var(--sp-3);
}

.insight-card h3 { font-size: 1.0625rem; margin-bottom: var(--sp-3); line-height: 1.4; }
.insight-card p  { font-size: 0.9375rem; flex: 1; margin-bottom: var(--sp-4); }

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--ff-display);
  color: var(--cyan);
  transition: gap var(--t-fast);
  margin-top: auto;
}

.insight-link:hover { gap: 10px; }

.insight-link svg {
  width: 14px; height: 14px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.load-more-wrap { text-align: center; margin-top: var(--sp-12); }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-16);
  align-items: start;
}

.contact-info > p { font-size: 1.0625rem; margin-bottom: var(--sp-8); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--muted);
}

.contact-detail svg {
  width: 20px; height: 20px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
}

.social-links {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.875rem;
  color: var(--muted);
  transition: all var(--t-fast);
}

.social-link svg {
  width: 16px; height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-12);
}

.contact-form-wrap h3 { margin-bottom: var(--sp-2); }
.contact-form-wrap > p { margin-bottom: var(--sp-8); }

.form-group { margin-bottom: var(--sp-5); }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--ff-display);
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107, 122, 153, 0.6); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.12);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A99' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option { background: var(--surface); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-12);
}

.form-success.visible { display: block; }

.form-success .success-icon {
  width: 64px; height: 64px;
  background: rgba(0, 229, 160, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}

.form-success .success-icon svg {
  width: 32px; height: 32px;
  stroke: var(--mint);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 { margin-bottom: var(--sp-3); }

/* ---- Brand Lockup ---- */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  text-decoration: none;
}

.brand-lockup .brand-mark {
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.2;
  transition: color var(--t-fast);
}

.brand-sub {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: var(--sp-1);
}

.footer-brand-link:hover .brand-name { color: var(--cyan); }

/* ---- Gradient Divider ---- */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.35;
  border: none;
  margin: 0;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible    { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid            { grid-template-columns: repeat(2, 1fr); }
  .team-grid                { grid-template-columns: repeat(2, 1fr); }
  .case-grid                { grid-template-columns: repeat(2, 1fr); }
  .insights-grid            { grid-template-columns: repeat(2, 1fr); }
  .footer-grid              { grid-template-columns: 1fr 1fr; }
  .service-section-grid     { grid-template-columns: 1fr; gap: var(--sp-8); }
  .service-section-visual   { position: static; }
  .about-intro-grid         { grid-template-columns: 1fr; }
  .contact-grid             { grid-template-columns: 1fr; }
  .pillars-grid             { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }

  section { padding: var(--sp-16) 0; }

  .services-grid  { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr; gap: var(--sp-6); }
  .stat-divider   { border-left: none; border-top: 1px solid var(--border); padding-top: var(--sp-6); }
  .team-grid      { grid-template-columns: 1fr; }
  .pillars-grid   { grid-template-columns: 1fr; }
  .case-grid      { grid-template-columns: 1fr; }
  .insights-grid  { grid-template-columns: 1fr; }
  .about-metrics  { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }
  .form-row       { grid-template-columns: 1fr; }
  .hero-ctas      { flex-direction: column; align-items: flex-start; }

  .contact-form-wrap { padding: var(--sp-8); }
  .testimonial-block { padding: var(--sp-8); }
}

@media (max-width: 480px) {
  .about-metrics  { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
}
