/* ============================================================
   IT CONSULTING CLOUD — styles.css
   ============================================================ */

/* ---------- Google Fonts import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --black: #080810;
  --navy: #0d0d1a;
  --blue: #3333ff;
  --blue-light: #5555ff;
  --blue-dark: #2222cc;
  --blue-glow: rgba(51, 51, 255, 0.25);
  --white: #ffffff;
  --gray: #b0b0cc;
  --gray-dark: #606088;
  --card-bg: #12121f;
  --card-bg-hover: #18182e;
  --border: rgba(51, 51, 255, 0.35);
  --border-light: rgba(51, 51, 255, 0.15);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font-family: inherit;
}

/* ---------- Typography ---------- */
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 80px 0;
  background: var(--black);
}

.section-dark {
  background: var(--navy);
}

.section-title {
  text-align: center;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--blue);
  margin: 0.6rem auto 0;
  border-radius: 2px;
  opacity: 0.7;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(51, 51, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--blue-light);
  border: 2px solid var(--blue);
  padding: 0.83rem 1.98rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(51, 51, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(8, 8, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
  border-radius: 1px;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--blue-light);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  opacity: 1;
  color: var(--blue);
}

.nav-links a.active::after {
  transform: scaleX(1);
  background: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(51, 51, 255, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
  background-image: radial-gradient(ellipse at 20% 50%, rgba(51, 51, 255, 0.12) 0%, transparent 60%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-left: 2rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: rgba(51, 51, 255, 0.1);
  border-radius: 4px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1 {
  color: var(--white);
}

.hero h1 .accent {
  color: var(--blue);
}

.hero-sub {
  color: var(--gray);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 1.5rem 0 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: rgba(51, 51, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(51, 51, 255, 0.15);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(51, 51, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue-light);
  fill: none;
  stroke: currentColor;
}

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

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  color: var(--gray);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  line-height: 1.5;
}

.service-card ul li::before {
  content: '–';
  color: var(--blue);
  opacity: 0.7;
  flex-shrink: 0;
  font-weight: 400;
}

/* ---------- Differentiators ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.diff-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 1.75rem 2rem;
  transition: background 0.25s ease, border-left-color 0.25s ease;
}

.diff-card:hover {
  background: var(--card-bg-hover);
  border-left-color: var(--blue-light);
}

.diff-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.diff-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Past Performance ---------- */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.perf-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1.75rem;
  transition: border-color 0.25s ease;
}

.perf-card:hover {
  border-color: rgba(51, 51, 255, 0.4);
}

.perf-dates {
  font-size: 0.75rem;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

.perf-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.perf-org {
  font-size: 0.85rem;
  color: var(--gray-dark);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.perf-card p:last-child {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.naics-table {
  width: 100%;
}

.naics-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.naics-section-title:first-child {
  margin-top: 0;
}

.naics-table table {
  width: 100%;
  border-collapse: collapse;
}

.naics-table table tr {
  border-bottom: 1px solid var(--border-light);
}

.naics-table table tr:last-child {
  border-bottom: none;
}

.naics-table table td {
  padding: 0.75rem 0;
  vertical-align: middle;
}

.code-cell {
  font-family: 'Courier New', Courier, monospace;
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  padding-right: 1rem;
}

.desc-cell {
  color: var(--gray);
  font-size: 0.9rem;
}

.primary-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  background: rgba(51, 51, 255, 0.15);
  color: var(--blue-light);
  border: 1px solid var(--blue);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 0.5rem;
  vertical-align: middle;
  display: inline-block;
  line-height: 1.6;
}

/* Capabilities right panel */
.cap-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.clearance-badge {
  background: rgba(51, 51, 255, 0.15);
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.clearance-badge svg {
  width: 36px;
  height: 36px;
  color: var(--blue-light);
  margin: 0 auto 0.75rem;
  display: block;
  stroke: currentColor;
  fill: none;
}

.clearance-badge-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.clearance-badge-sub {
  font-size: 0.85rem;
  color: var(--gray);
}

.cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cert-list li {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border-light);
}

.cert-list li:last-child {
  border-bottom: none;
}

.cert-list li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.comp-tag {
  border: 1px solid var(--border-light);
  color: var(--gray-dark);
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: transparent;
  white-space: nowrap;
}

.setaside-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-items: center;
}

.setaside-badge {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ---------- Teaming ---------- */
.teaming-callout {
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  color: var(--white);
  text-align: center;
  line-height: 1.6;
}

.teaming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.teaming-col h3 {
  color: var(--blue-light);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.teaming-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.teaming-col li {
  color: var(--gray);
  font-size: 0.95rem;
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.teaming-col li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.sam-info {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--gray);
  opacity: 0.7;
}

/* ---------- Leadership ---------- */
.leader-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.leader-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.leader-info {
  flex: 1;
  min-width: 0;
}

.leader-info h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.leader-title {
  color: var(--blue-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: block;
}

.leader-bio {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cred-badge {
  background: rgba(51, 51, 255, 0.12);
  border: 1px solid var(--border);
  color: var(--blue-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(51, 51, 255, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  color: var(--white);
  stroke: currentColor;
  fill: none;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-detail-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2rem;
}

.contact-form label {
  display: block;
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(51, 51, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-dark);
  opacity: 0.7;
}

.contact-form select option {
  background: var(--card-bg);
  color: var(--white);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #050508;
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 280px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-logo img {
  height: 36px;
  width: auto;
}

.footer-brand-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  opacity: 0.8;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  align-content: start;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 2;
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-info {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
}

.footer-info strong {
  color: var(--white);
  font-weight: 600;
}

.footer-info p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  opacity: 0.6;
  line-height: 1.6;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---------- Animations & Scroll Effects ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in:nth-child(2).visible {
  transition-delay: 0.1s;
}

.fade-in:nth-child(3).visible {
  transition-delay: 0.2s;
}

.fade-in:nth-child(4).visible {
  transition-delay: 0.3s;
}

/* Grid children stagger */
.services-grid .service-card:nth-child(2),
.diff-grid .diff-card:nth-child(2),
.perf-grid .perf-card:nth-child(2),
.teaming-grid .teaming-col:nth-child(2) {
  transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(3),
.diff-grid .diff-card:nth-child(3),
.perf-grid .perf-card:nth-child(3) {
  transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(4),
.diff-grid .diff-card:nth-child(4),
.perf-grid .perf-card:nth-child(4) {
  transition-delay: 0.3s;
}

/* ---------- Responsive — 768px ---------- */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 16, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero-content {
    padding-left: 0;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  /* Grids → single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .perf-grid {
    grid-template-columns: 1fr;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .teaming-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Leader card */
  .leader-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .cred-badges {
    justify-content: center;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Responsive — 480px ---------- */
@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    text-align: center;
    justify-content: center;
  }

  .leader-card {
    padding: 1.5rem 1rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .badges {
    gap: 0.5rem;
  }

  .diff-card {
    padding: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .perf-card {
    padding: 1.5rem;
  }
}
