/*
Theme Name: NexCore IT
Theme URI: https://nexcore.com
Author: NexCore Solutions
Author URI: https://nexcore.com
Description: A bold, modern WordPress theme for software development and IT services companies. Features a dark tech aesthetic with animated hero, service cards, and professional sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexcore-it
Tags: technology, software, IT, services, dark, modern, business
*/

/* ============================================================
   IMPORTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy:       #0A0F1E;
  --navy-mid:   #111827;
  --navy-card:  #141C2F;
  --blue:       #2563EB;
  --blue-light: #3B82F6;
  --cyan:       #06B6D4;
  --white:      #F0F4FF;
  --slate:      #94A3B8;
  --slate-dim:  #4B5563;
  --border:     rgba(37,99,235,0.18);
  --glow:       0 0 40px rgba(6,182,212,0.12);

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

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--white); }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--slate); font-size: 1.05rem; line-height: 1.8; }
.text-white p { color: rgba(240,244,255,0.8); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm { padding: 60px 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
  color: var(--white);
}

.section-sub {
  max-width: 540px;
  margin-bottom: 56px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(37,99,235,0);
}
.btn-primary:hover {
  background: var(--blue-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s;
}

.site-header.scrolled {
  background: rgba(10,15,30,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  text-decoration: none;
}

.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.logo-accent { color: var(--cyan); }

.site-nav { display: flex; align-items: center; gap: 36px; }

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.88rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Animated grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 70%);
  top: -100px; left: -100px;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12), transparent 70%);
  bottom: 0; right: -50px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--blue-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item { }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--cyan); }
.stat-label {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 4px;
}

/* ============================================================
   TERMINAL WIDGET (Hero Visual)
   ============================================================ */
.hero-visual {
  position: relative;
}

.terminal {
  background: #0D1117;
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), var(--glow);
}

.terminal-bar {
  background: #161B22;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-dot-red   { background: #FF5F57; }
.t-dot-amber { background: #FFBD2E; }
.t-dot-green { background: #28C840; }

.terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate);
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.9;
}

.t-line { display: flex; gap: 10px; }
.t-prompt { color: var(--cyan); user-select: none; }
.t-cmd { color: #E2E8F0; }
.t-comment { color: #4B5563; }
.t-output { color: #86EFAC; padding-left: 20px; }
.t-output-blue { color: #93C5FD; padding-left: 20px; }
.t-output-amber { color: #FCD34D; padding-left: 20px; }
.t-cursor {
  display: inline-block;
  width: 9px; height: 1.1em;
  background: var(--cyan);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.terminal-tabs {
  display: flex;
  background: #161B22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 18px;
}
.t-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
}
.t-tab.active {
  color: var(--cyan);
  border-color: var(--cyan);
}

.floating-badge {
  position: absolute;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.badge-icon { font-size: 1.3rem; }

.badge-1 { bottom: -20px; left: -30px; }
.badge-2 { top: -20px; right: -20px; }
.badge-label { color: var(--slate); font-size: 0.72rem; }
.badge-val { color: var(--white); font-weight: 600; }

/* ============================================================
   TRUSTED BY / LOGOS
   ============================================================ */
.trusted {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.trusted-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.trusted-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-track {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
}

.logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-dim);
  opacity: 0.5;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.logo-item:hover { opacity: 0.8; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { background: var(--navy); }

.service-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow);
}

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

.service-icon {
  width: 52px; height: 52px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(37,99,235,0.2);
  border-color: var(--blue);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.service-link:hover { gap: 10px; color: var(--cyan); }

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.why-us { background: var(--navy-mid); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-visual { order: -1; }

.feature-visual {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.06), transparent 70%);
}

.feature-graphic {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 2;
  z-index: 1;
  width: 100%;
}

.fg-green  { color: #86EFAC; }
.fg-blue   { color: #93C5FD; }
.fg-cyan   { color: var(--cyan); }
.fg-amber  { color: #FCD34D; }
.fg-purple { color: #C4B5FD; }

.feature-content { }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate);
}

.check-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--cyan);
  margin-top: 2px;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process { background: var(--navy); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
  opacity: 0.3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  background: var(--navy-card);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step:hover .step-num {
  background: rgba(37,99,235,0.15);
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(37,99,235,0.3);
}

.step h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-stack { background: var(--navy-mid); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.tech-item {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
  transition: all 0.25s;
  cursor: default;
}
.tech-item:hover {
  border-color: rgba(37,99,235,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.tech-logo { font-size: 2rem; margin-bottom: 10px; }
.tech-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate);
  letter-spacing: 0.05em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--navy); }

.testimonial-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
}

.t-quote {
  font-size: 3rem;
  color: var(--blue);
  line-height: 1;
  font-family: var(--font-display);
  margin-bottom: 16px;
  opacity: 0.5;
}

.t-text {
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 28px;
  color: rgba(240,244,255,0.75);
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.t-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.t-role { font-size: 0.78rem; color: var(--slate); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(37,99,235,0.1), transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p { margin-bottom: 40px; font-size: 1.05rem; }
.cta-inner .btn-group { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060A14;
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  margin-bottom: 28px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px; height: 36px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--blue);
  color: var(--white);
  background: rgba(37,99,235,0.12);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--slate-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--slate-dim);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--slate); }

/* ============================================================
   COOKIE / NOTICE BAR
   ============================================================ */
.notice-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s;
  flex-wrap: wrap;
}
.notice-bar.visible { transform: translateY(0); }
.notice-bar p { font-size: 0.85rem; color: var(--slate); margin: 0; }
.notice-bar .btn { padding: 8px 20px; font-size: 0.82rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc, .hero-stats { max-width: none; }
  .hero-stats { justify-content: center; }
  .btn-group { justify-content: center; }
  .hero-visual { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    font-size: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s;
    z-index: 999;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.3rem; }
  .nav-cta { margin: 0; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}
