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

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

:root {
  --midnight: #0A0F1C;
  --navy: #111827;
  --slate: #1E293B;
  --graphite: #334155;
  --gray: #94A3B8;
  --silver: #CBD5E1;
  --off-white: #F1F5F9;
  --white: #FFFFFF;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --teal-glow: #5EEAD4;
  --amber: #F59E0B;
  --amber-light: #FBBF24;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 0 60px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo span { font-weight: 800; font-size: 18px; color: white; letter-spacing: -0.3px; }
.nav-logo .sub { font-weight: 400; font-size: 11px; color: var(--gray); letter-spacing: 2px; text-transform: uppercase; display: block; margin-top: -2px; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: white; }
.nav-links a.active { color: white; }

.nav-cta {
  background: var(--teal); color: white; padding: 10px 24px;
  border-radius: 8px; text-decoration: none; font-size: 14px;
  font-weight: 600; transition: 0.2s; border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--teal-light); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; background: var(--midnight);
  display: flex; align-items: center;
  padding: 120px 60px 80px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 60%);
  border-radius: 50%;
}

.hero::after {
  content: ''; position: absolute; bottom: -100px; left: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px);
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,148,136,0.12); border: 1px solid rgba(13,148,136,0.25);
  color: var(--teal-glow); padding: 8px 18px; border-radius: 24px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 32px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'DM Serif Display', serif; font-size: 64px;
  line-height: 1.1; color: white; margin-bottom: 24px; letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal-glow), var(--amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px; color: var(--gray); line-height: 1.7;
  margin-bottom: 40px; font-weight: 300; max-width: 560px;
}

.hero-actions { display: flex; gap: 16px; align-items: center; }

/* Hero Visual */
.hero-visual {
  position: absolute; right: 60px; top: 50%;
  transform: translateY(-50%); width: 440px; height: 440px; z-index: 2;
}
.hero-visual-inner { position: relative; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle at center, rgba(13,148,136,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-dashboard {
  position: absolute; top: 20px; right: 0; width: 360px; height: 280px;
  background: linear-gradient(160deg, #1E293B, #111827);
  border-radius: 16px; border: 1px solid rgba(94,234,212,0.1);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-arch {
  position: absolute; bottom: 0; left: 0; width: 200px; height: 200px;
  background: linear-gradient(135deg, rgba(30,41,59,0.95), rgba(17,24,39,0.95));
  border-radius: 16px; border: 1px solid rgba(94,234,212,0.08);
  backdrop-filter: blur(8px); box-shadow: 0 16px 50px rgba(0,0,0,0.3);
  overflow: hidden;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white; padding: 16px 32px;
  border-radius: 10px; text-decoration: none; font-size: 16px;
  font-weight: 600; transition: 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover {
  background: var(--teal-light); transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(13,148,136,0.3);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--silver); padding: 16px 32px;
  border-radius: 10px; text-decoration: none; font-size: 16px;
  font-weight: 500; border: 1px solid rgba(255,255,255,0.12);
  transition: 0.3s; cursor: pointer;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.3); color: white; }

.btn-amber {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy); padding: 16px 36px;
  border-radius: 10px; text-decoration: none; font-size: 16px;
  font-weight: 700; transition: 0.3s; border: none; cursor: pointer;
}
.btn-amber:hover {
  background: var(--amber-light); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.3);
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 48px 60px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stat { text-align: center; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 48px; color: var(--teal-glow); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--gray); font-weight: 400; }

/* ─── SECTIONS ─── */
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--teal); margin-bottom: 12px;
}
.section-title {
  font-family: 'DM Serif Display', serif; font-size: 44px;
  color: var(--navy); margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-desc {
  font-size: 18px; color: var(--graphite); max-width: 560px;
  margin-bottom: 56px; line-height: 1.7; font-weight: 300;
}

/* ─── SERVICES ─── */
.services { padding: 100px 60px; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  background: var(--off-white); border-radius: 16px; padding: 40px;
  transition: 0.3s; border: 1px solid transparent;
  position: relative; overflow: hidden;
}
.service-card:hover {
  border-color: rgba(13,148,136,0.2); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.service-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--teal), #0891B2);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; color: white; font-size: 20px;
}

.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.service-card p { font-size: 15px; color: var(--graphite); line-height: 1.7; }
.service-tag {
  display: inline-block; margin-top: 20px; font-size: 12px;
  font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 1px;
}

/* ─── APPROACH ─── */
.approach {
  padding: 100px 60px; background: var(--midnight);
  color: white; position: relative; overflow: hidden;
}
.approach::before {
  content: ''; position: absolute; top: 50%; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 60%);
  border-radius: 50%; transform: translateY(-50%);
}
.approach .section-tag { color: var(--teal-glow); }
.approach .section-title { color: white; }
.approach .section-desc { color: var(--gray); }

.approach-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative; z-index: 1;
}

.step {
  padding: 40px; border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.step:last-child { border-right: none; }

.step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: var(--teal-glow); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.step-num::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(94,234,212,0.2);
}

.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ─── CASE STUDY ─── */
.case-study { padding: 100px 60px; background: var(--off-white); }

.case-card {
  background: white; border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid #E2E8F0;
}

.case-visual {
  background: linear-gradient(135deg, var(--midnight), var(--slate));
  padding: 60px; display: flex; flex-direction: column;
  justify-content: center; position: relative; overflow: hidden;
}
.case-visual::before {
  content: ''; position: absolute; top: -50%; right: -50%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 60%);
  border-radius: 50%;
}
.case-visual::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.case-visual .client-label {
  font-size: 12px; color: var(--teal-glow); text-transform: uppercase;
  letter-spacing: 2px; font-weight: 600; margin-bottom: 16px; position: relative;
}
.case-visual h3 {
  font-family: 'DM Serif Display', serif; font-size: 32px;
  color: white; line-height: 1.3; margin-bottom: 24px; position: relative;
}

.case-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; position: relative;
}
.metric {
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 20px; border: 1px solid rgba(255,255,255,0.08);
}
.metric-value {
  font-size: 28px; font-weight: 800;
  color: var(--teal-glow); margin-bottom: 4px;
}
.metric-label { font-size: 12px; color: var(--gray); }

.case-content { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.case-content .tag {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--teal); margin-bottom: 16px;
}
.case-content h3 {
  font-family: 'DM Serif Display', serif; font-size: 28px;
  color: var(--navy); margin-bottom: 16px;
}
.case-content p { font-size: 15px; color: var(--graphite); line-height: 1.8; margin-bottom: 32px; }

.case-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-weight: 600; font-size: 15px;
  text-decoration: none; transition: gap 0.2s;
}
.case-link:hover { gap: 12px; }

/* ─── CTA ─── */
.cta-section {
  padding: 120px 60px; background: var(--navy);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 50%);
  border-radius: 50%;
}
.cta-section h2 {
  font-family: 'DM Serif Display', serif; font-size: 48px;
  color: white; margin-bottom: 16px; position: relative;
}
.cta-section p {
  font-size: 18px; color: var(--gray); margin-bottom: 40px;
  max-width: 480px; margin-left: auto; margin-right: auto; position: relative;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; position: relative; }

/* ─── FOOTER ─── */
footer {
  background: var(--midnight); padding: 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--silver); margin-bottom: 20px;
}
.footer-col a {
  display: block; color: var(--gray); text-decoration: none;
  font-size: 14px; margin-bottom: 12px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-glow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--graphite); }

.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05); display: flex;
  align-items: center; justify-content: center;
  color: var(--gray); text-decoration: none; font-size: 14px; transition: 0.2s;
}
.footer-social a:hover { background: rgba(13,148,136,0.2); color: var(--teal-glow); }

/* ─── ABOUT PAGE ─── */
.about-hero {
  min-height: 60vh; background: var(--midnight);
  display: flex; align-items: center; padding: 140px 60px 80px;
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.1) 0%, transparent 60%);
  border-radius: 50%;
}
.about-hero .section-tag { color: var(--teal-glow); }
.about-hero h1 {
  font-family: 'DM Serif Display', serif; font-size: 52px;
  color: white; line-height: 1.15; margin-bottom: 20px; position: relative;
}
.about-hero p {
  font-size: 20px; color: var(--gray); max-width: 600px;
  line-height: 1.7; font-weight: 300; position: relative;
}

.mission-section {
  padding: 100px 60px; background: var(--white);
}
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; max-width: 1200px;
}
.mission-block h3 {
  font-family: 'DM Serif Display', serif; font-size: 28px;
  color: var(--navy); margin-bottom: 16px;
}
.mission-block p { font-size: 16px; color: var(--graphite); line-height: 1.8; }

.story-section { padding: 100px 60px; background: var(--off-white); }
.story-section .section-title { margin-bottom: 32px; }
.story-text {
  max-width: 800px; font-size: 17px; color: var(--graphite);
  line-height: 1.9; font-weight: 300;
}
.story-text p { margin-bottom: 24px; }
.story-text p:first-child::first-letter {
  font-family: 'DM Serif Display', serif; font-size: 64px;
  float: left; line-height: 0.8; margin-right: 12px; margin-top: 6px;
  color: var(--teal);
}

.values-section { padding: 100px 60px; background: var(--white); }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; margin-top: 48px;
}
.value-card {
  background: var(--off-white); border-radius: 16px; padding: 36px;
  border-left: 3px solid var(--teal); transition: 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.value-card .icon { font-size: 28px; margin-bottom: 16px; }
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--graphite); line-height: 1.7; }

.team-section { padding: 100px 60px; background: var(--off-white); }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; margin-top: 48px;
}
.team-card {
  background: var(--white); border-radius: 16px; padding: 36px;
  text-align: center; border: 1px solid #E2E8F0; transition: 0.3s;
}
.team-card:hover { border-color: rgba(13,148,136,0.2); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.team-initials {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0891B2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 24px; font-weight: 800; color: white;
}
.team-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ─── SERVICES PAGE ─── */
.services-hero {
  background: var(--midnight); padding: 140px 60px 80px;
  position: relative; overflow: hidden;
}
.services-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.02) 79px, rgba(255,255,255,0.02) 80px);
}
.services-hero .section-tag { color: var(--teal-glow); position: relative; }
.services-hero h1 {
  font-family: 'DM Serif Display', serif; font-size: 48px;
  color: white; margin-bottom: 16px; position: relative;
}
.services-hero p { font-size: 20px; color: var(--gray); max-width: 600px; line-height: 1.7; font-weight: 300; position: relative; }

.service-detail {
  padding: 100px 60px; position: relative; overflow: hidden;
}
.service-detail.dark { background: var(--midnight); color: white; }
.service-detail.light { background: var(--off-white); }
.service-detail.white-bg { background: var(--white); }

.service-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.service-detail .section-tag { position: relative; }
.service-detail.dark .section-tag { color: var(--teal-glow); }
.service-detail.dark .section-title { color: white; }
.service-detail.dark .section-desc { color: var(--gray); }
.service-detail h2 {
  font-family: 'DM Serif Display', serif; font-size: 36px;
  margin-bottom: 16px; letter-spacing: -0.3px;
}
.service-detail.dark h2 { color: white; }

.capability-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.capability-item {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 20px; transition: 0.3s;
}
.capability-item.light-bg {
  background: var(--white); border: 1px solid #E2E8F0;
}
.capability-item:hover { border-color: rgba(13,148,136,0.3); }
.capability-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.capability-item.light-bg h4 { color: var(--navy); }
.capability-item p { font-size: 13px; color: var(--gray); }
.capability-item.light-bg p { color: var(--graphite); }

.nexus-method { padding: 100px 60px; background: var(--navy); color: white; }
.nexus-method .section-tag { color: var(--teal-glow); }
.nexus-method .section-title { color: white; }
.nexus-method .section-desc { color: var(--gray); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.method-step {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px; position: relative;
}
.method-step-num {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: var(--teal-glow); margin-bottom: 16px;
}
.method-step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.method-step p { font-size: 14px; color: var(--gray); line-height: 1.7; }
.method-arrow {
  position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%); color: var(--teal-glow); font-size: 18px; z-index: 1;
}

.industries-section { padding: 100px 60px; background: var(--off-white); }
.industries-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.industry-card {
  background: var(--white); border: 1px solid #E2E8F0;
  border-radius: 12px; padding: 28px; transition: 0.3s;
  position: relative; overflow: hidden;
}
.industry-card::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,0.04), transparent);
  transition: left 0.5s;
}
.industry-card:hover::before { left: 100%; }
.industry-card:hover { border-color: rgba(13,148,136,0.2); }
.industry-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.industry-card p { font-size: 13px; color: var(--graphite); }

/* ─── CASE STUDIES PAGE ─── */
.cs-hero {
  background: var(--midnight); padding: 140px 60px 80px;
  position: relative; overflow: hidden;
}
.cs-hero .section-tag { color: var(--teal-glow); position: relative; }
.cs-hero h1 {
  font-family: 'DM Serif Display', serif; font-size: 48px;
  color: white; margin-bottom: 16px; position: relative;
}
.cs-hero p { font-size: 20px; color: var(--gray); max-width: 600px; line-height: 1.7; font-weight: 300; position: relative; }

.featured-cases { padding: 100px 60px; background: var(--off-white); }
.featured-case {
  background: var(--midnight); border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
}
.featured-case.reversed .fc-visual { order: 2; }
.featured-case.reversed .fc-content { order: 1; }

.fc-visual {
  padding: 60px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.fc-visual::after {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.fc-visual .track-label {
  font-size: 12px; color: var(--teal-glow); text-transform: uppercase;
  letter-spacing: 2px; font-weight: 600; margin-bottom: 12px; position: relative; z-index: 1;
}
.fc-visual .track-label.amber { color: var(--amber); }

.fc-visual h3 {
  font-family: 'DM Serif Display', serif; font-size: 28px;
  color: white; margin-bottom: 24px; position: relative; z-index: 1;
}

.fc-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; position: relative; z-index: 1;
}
.fc-metric {
  background: rgba(255,255,255,0.05); border-radius: 10px;
  padding: 16px; border-left: 3px solid var(--teal-glow);
}
.fc-metric.amber { border-left-color: var(--amber); }
.fc-metric-id {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  font-weight: 500; color: var(--teal-glow); margin-bottom: 4px;
}
.fc-metric.amber .fc-metric-id { color: var(--amber); }
.fc-metric-label { font-size: 12px; color: var(--gray); }

.fc-content { padding: 60px; background: var(--white); display: flex; flex-direction: column; justify-content: center; }
.fc-content .tag {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--teal); margin-bottom: 16px;
}
.fc-content .tag.amber { color: var(--amber); }
.fc-content h3 {
  font-family: 'DM Serif Display', serif; font-size: 26px;
  color: var(--navy); margin-bottom: 16px; line-height: 1.3;
}
.fc-content p { font-size: 15px; color: var(--graphite); line-height: 1.8; margin-bottom: 24px; }
.fc-content .highlight-text { color: var(--amber-light); font-weight: 500; }

.impact-section {
  padding: 80px 60px; background: linear-gradient(135deg, var(--navy), var(--midnight));
}
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 48px;
}
.impact-stat {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px; text-align: center; transition: 0.3s;
}
.impact-stat:hover { border-color: rgba(13,148,136,0.3); transform: translateY(-2px); }
.impact-stat .num {
  font-family: 'DM Serif Display', serif; font-size: 40px;
  color: var(--teal-glow); margin-bottom: 8px;
}
.impact-stat .label { font-size: 14px; color: var(--gray); }

.industries-badges {
  padding: 60px; background: var(--off-white); text-align: center;
}
.badges-wrap {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 32px;
}
.badge {
  background: var(--white); border: 1px solid #E2E8F0;
  border-radius: 8px; padding: 12px 24px; font-size: 14px;
  font-weight: 500; color: var(--navy);
}

/* ─── CONTACT PAGE ─── */
.contact-hero {
  background: var(--midnight); padding: 140px 60px 80px;
  text-align: center; position: relative; overflow: hidden;
}
.contact-hero .section-tag { color: var(--teal-glow); position: relative; }
.contact-hero h1 {
  font-family: 'DM Serif Display', serif; font-size: 48px;
  color: white; margin-bottom: 16px; position: relative;
}
.contact-hero p {
  font-size: 20px; color: var(--gray); max-width: 560px;
  margin: 0 auto; line-height: 1.7; font-weight: 300; position: relative;
}

.contact-section { padding: 80px 60px; background: var(--white); }
.contact-wrapper {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 60px; max-width: 1100px; margin: 0 auto;
}

.contact-form-wrap { }
.contact-form-wrap h2 {
  font-family: 'DM Serif Display', serif; font-size: 28px;
  color: var(--navy); margin-bottom: 8px;
}
.contact-form-wrap > p {
  font-size: 15px; color: var(--graphite); margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #E2E8F0;
  border-radius: 10px; font-family: 'Inter', sans-serif;
  font-size: 15px; color: var(--navy); background: white;
  transition: border 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

.form-submit {
  background: var(--amber); color: var(--navy); padding: 16px 36px;
  border-radius: 10px; font-size: 16px; font-weight: 700;
  border: none; cursor: pointer; transition: 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.form-submit:hover {
  background: var(--amber-light); transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(245,158,11,0.3);
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: rgba(10,15,28,0.04); border-radius: 12px;
  padding: 24px; border-left: 3px solid var(--teal);
}
.info-card h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--teal); margin-bottom: 8px;
}
.info-card p { font-size: 15px; color: var(--navy); font-weight: 500; }
.info-card .sub-text { font-size: 13px; color: var(--graphite); font-weight: 400; margin-top: 4px; }

.info-card .btn-primary {
  margin-top: 12px; padding: 12px 24px; font-size: 14px;
}

.locations-section { padding: 80px 60px; background: var(--off-white); }
.locations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.location-card {
  background: linear-gradient(135deg, var(--midnight), var(--slate));
  border-radius: 16px; padding: 36px; border: 1px solid rgba(94,234,212,0.08);
}
.location-card h3 { font-size: 20px; font-weight: 700; color: white; margin-bottom: 4px; }
.location-card .country { font-size: 13px; color: var(--teal-glow); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.location-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

.faq-section { padding: 80px 60px; background: var(--white); }
.faq-list { max-width: 800px; margin-top: 48px; }
.faq-item { border-bottom: 1px solid #E2E8F0; }
.faq-toggle { display: none; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; cursor: pointer; font-size: 17px; font-weight: 600;
  color: var(--navy); transition: color 0.2s;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  font-size: 20px; color: var(--teal); transition: transform 0.3s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-answer p {
  padding-bottom: 24px; font-size: 15px; color: var(--graphite); line-height: 1.8;
}
.faq-toggle:checked ~ .faq-question .faq-icon { transform: rotate(180deg); }
.faq-toggle:checked ~ .faq-answer { max-height: 300px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .hero { padding: 120px 40px 80px; }
  .hero-visual { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .case-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-title { font-size: 36px; }
  .cta-section h2 { font-size: 36px; }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .method-arrow { display: none; }
  .featured-case { grid-template-columns: 1fr; }
  .featured-case.reversed .fc-visual { order: 1; }
  .featured-case.reversed .fc-content { order: 2; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; gap: 24px; }
  .stat-num { font-size: 36px; }
  .services, .case-study { padding: 60px 24px; }
  .approach { padding: 60px 24px; }
  .approach-steps { grid-template-columns: 1fr; }
  .case-visual, .case-content { padding: 40px; }
  .cta-section { padding: 80px 24px; }
  .cta-section h2 { font-size: 28px; }
  footer { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 16px; }
  .about-hero, .services-hero, .cs-hero, .contact-hero { padding: 100px 24px 60px; }
  .about-hero h1, .services-hero h1, .cs-hero h1, .contact-hero h1 { font-size: 36px; }
  .mission-section, .story-section, .values-section, .team-section { padding: 60px 24px; }
  .values-grid, .team-grid { grid-template-columns: 1fr; }
  .service-detail { padding: 60px 24px; }
  .nexus-method { padding: 60px 24px; }
  .method-steps { grid-template-columns: 1fr; }
  .industries-section { padding: 60px 24px; }
  .industries-grid { grid-template-columns: 1fr; }
  .featured-cases { padding: 60px 24px; }
  .fc-visual, .fc-content { padding: 40px; }
  .impact-section { padding: 60px 24px; }
  .impact-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 60px 24px; }
  .locations-section { padding: 60px 24px; }
  .faq-section { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .stats-bar { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
  .fc-metrics { grid-template-columns: 1fr; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .capability-grid { grid-template-columns: 1fr; }
}
