/* ============================================
   SNAPWORK — PRODUCTION CSS
   Design system: Dark charcoal + off-white + blue
   ============================================ */

/* --- Variables --- */
:root {
  --bg-base:        #0B0B0F;
  --bg-surface:     #111116;
  --bg-raised:      #16161D;
  --border:         #1E1E2A;
  --border-subtle:  #252532;

  --text-primary:   #F2F1EC;
  --text-secondary: #9392A0;
  --text-muted:     #55545F;

  --accent:         #3B6EE3;
  --accent-hover:   #2F5FCF;
  --accent-subtle:  rgba(59, 110, 227, 0.10);
  --accent-glow:    rgba(59, 110, 227, 0.18);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.5), 0 6px 20px rgba(0,0,0,0.3);

  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --max-w:       1200px;
  --section-gap: 120px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.body-lg {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
}

.body-sm {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 0 1px var(--accent-hover), 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn-ghost:hover {
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-subtle);
  background: var(--bg-raised);
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 11, 15, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav__logo-mark svg {
  width: 16px;
  height: 16px;
}

.nav__logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
}
.nav__links a:hover { color: var(--text-primary); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.nav__menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-base);
  z-index: 99;
  padding: 32px 40px;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--border);
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-menu a {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}
.nav__mobile-menu a:hover { color: var(--text-primary); }

.nav__mobile-menu .mobile-divider {
  height: 1px;
  background: var(--border);
}

.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding-top: 148px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

/* Grid background */
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(59, 110, 227, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.hero__accent-dot {
  position: absolute;
  top: 180px;
  right: 80px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  box-shadow: 0 0 20px var(--accent);
}

.hero__accent-ring {
  position: absolute;
  top: 164px;
  right: 64px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(59, 110, 227, 0.25);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 0.2; }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  flex-shrink: 0;
}

.hero__badge-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.hero__headline {
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero__sub {
  max-width: 560px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__social-proof {
  margin-top: 68px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero__proof-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__logo-item {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__logo-item:hover { color: var(--text-secondary); }

.hero__logo-item svg {
  opacity: 0.45;
}

/* ============================================
   MARQUEE STRIP
   ============================================ */

.strip {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  white-space: nowrap;
}

.strip__track {
  display: inline-flex;
  animation: scroll-left 28s linear infinite;
}

.strip__track:hover { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  padding: var(--section-gap) 0;
}

.section-header {
  margin-bottom: 72px;
}

.section-header__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-header__left {
  max-width: 540px;
}

.section-header__label {
  margin-bottom: 16px;
}

.section-header__right {
  max-width: 340px;
  text-align: right;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  padding: 52px 0;
  border-top: 1px solid var(--border);
  transition: all 0.25s ease;
  position: relative;
}

.service-item::before {
  content: '';
  position: absolute;
  left: -40px; right: -40px;
  top: 0; bottom: 0;
  background: var(--bg-raised);
  opacity: 0;
  border-radius: var(--radius-md);
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 0;
}

.service-item:hover::before { opacity: 1; }
.service-item > * { position: relative; z-index: 1; }

.service-item:last-child { border-bottom: 1px solid var(--border); }

.service__number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.service__left {}

.service__title {
  margin-bottom: 14px;
}

.service__desc {
  max-width: 380px;
}

.service__right {
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service__caps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.service__cap-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 110, 227, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.service__cap-icon svg {
  width: 10px;
  height: 10px;
  color: var(--accent);
  fill: var(--accent);
}

.service-item:hover .service__cap { color: var(--text-primary); }

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why {
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.why__bg-accent {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 40%, rgba(59, 110, 227, 0.055) 0%, transparent 70%);
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why__left {}

.why__intro-text {
  margin-top: 28px;
  margin-bottom: 44px;
}

.why__stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why__stat {
  padding: 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.why__stat-number {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.why__stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.why__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}

.why__point {
  padding: 28px 28px 28px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.why__point:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.why__point-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why__point-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================
   PROCESS
   ============================================ */

.process {
  padding: var(--section-gap) 0;
}

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

.process__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, var(--accent) 50%, var(--border) 100%);
  z-index: 0;
}

.process__step {
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.process__step:first-child { padding-left: 0; }
.process__step:last-child  { padding-right: 0; }

.process__step-num {
  width: 56px;
  height: 56px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 28px;
  transition: all 0.25s ease;
  position: relative;
}

.process__step:hover .process__step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.process__step-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.process__step-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.process__step-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================
   CASE STUDY
   ============================================ */

.case-study {
  padding: var(--section-gap) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-study__card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.case-study__header {
  padding: 48px 56px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.case-study__meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 110, 227, 0.2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.case-study__title {
  max-width: 480px;
}

.case-study__client {
  text-align: right;
  flex-shrink: 0;
}

.case-study__client-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.case-study__client-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.case-study__body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.case-study__col {
  padding: 44px 44px;
  border-right: 1px solid var(--border);
}
.case-study__col:last-child { border-right: none; }

.case-study__col-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.case-study__col-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.case-study__col-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.case-study__metrics {
  padding: 40px 56px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0;
  background: linear-gradient(135deg, rgba(59,110,227,0.04) 0%, transparent 50%);
}

.case-study__metric {
  flex: 1;
  padding: 0 36px;
  border-right: 1px solid var(--border);
}
.case-study__metric:first-child { padding-left: 0; }
.case-study__metric:last-child  { border-right: none; }

.case-study__metric-value {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.case-study__metric-value span {
  color: var(--accent);
}

.case-study__metric-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================
   TECH STACK SECTION
   ============================================ */

.tech {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.tech__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.tech__label {
  flex-shrink: 0;
  white-space: nowrap;
}

.tech__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.tech__pill:hover {
  color: var(--text-primary);
  border-color: var(--border-subtle);
  background: var(--bg-surface);
}

.tech__pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%,
    rgba(59, 110, 227, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

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

.cta__eyebrow {
  margin-bottom: 24px;
}

.cta__headline {
  margin-bottom: 20px;
}

.cta__sub {
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta__note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

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

.footer__brand-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 260px;
}

.footer__contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__contact a:hover { color: var(--text-secondary); }

.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.footer__links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
}
.footer__links a:hover { color: var(--text-primary); }

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

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

.footer__social {
  width: 34px;
  height: 34px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.footer__social:hover {
  border-color: var(--border-subtle);
  background: var(--bg-base);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 15px;
  height: 15px;
  fill: var(--text-muted);
  transition: fill 0.15s ease;
}

.footer__social:hover svg { fill: var(--text-secondary); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  :root { --section-gap: 96px; }

  .container { padding: 0 32px; }

  .service-item {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }

  .service__right { padding-top: 0; }

  .case-study__header {
    flex-direction: column;
    padding: 40px;
  }

  .case-study__client { text-align: left; }

  .case-study__body {
    grid-template-columns: 1fr;
  }

  .case-study__col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 36px 40px;
  }
  .case-study__col:last-child { border-bottom: none; }

  .case-study__metrics {
    padding: 36px 40px;
    flex-wrap: wrap;
    gap: 32px;
  }

  .case-study__metric {
    flex: 0 0 calc(50% - 16px);
    padding: 0;
    border-right: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root { --section-gap: 80px; }

  .container { padding: 0 24px; }

  .nav { padding: 0 24px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu-btn { display: flex; }

  .hero { padding-top: 120px; padding-bottom: 80px; }

  .hero__social-proof { margin-top: 48px; }

  .hero__logos { gap: 24px; }

  .section-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header__right { text-align: left; }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .why__stat-row { grid-template-columns: 1fr 1fr; }

  .process__timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process__timeline::before { display: none; }

  .process__step {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }
  .process__step:first-child { border-top: none; }
  .process__step-num { margin-bottom: 0; flex-shrink: 0; }

  .process__step-content {}

  .case-study__metrics {
    flex-direction: column;
    padding: 32px 28px;
    gap: 28px;
  }

  .case-study__metric { flex: none; }
  .case-study__header { padding: 32px 28px; }
  .case-study__col { padding: 28px; }

  .tech__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .cta__actions { flex-direction: column; align-items: center; }
  .cta__actions .btn { width: 100%; justify-content: center; max-width: 340px; }

  .why__stat-row { grid-template-columns: 1fr; }
}
