/* =========================================================
   MURKEZ HOMEPAGE — STYLES
   Design tokens, layout, components, motion
   ========================================================= */

:root {
  /* --- Brand color system (client-supplied, 2026 update) --- */
  --navy: #0D1B4B;       /* Primary brand navy — nav text, headings, dark backgrounds */
  --blue: #00A8C6;       /* Primary cyan accent — links, icons, buttons, active states */
  --green: #3E8E63;      /* Secondary accent (limited use) */
  --bg: #F8FAFC;         /* Light section background */
  --white: #FFFFFF;
  --charcoal: #27313D;   /* Body text (dark alt) */
  --slate: #464F5C;      /* Body text (primary) */
  --blue-light: #E0F5FA; /* Light cyan tint — icon backgrounds, hover fills */
  --navy-mid: #1E4E7A;   /* Mid-tone navy (limited use) */
  --border: #E3E8EF;     /* Card borders, dividers */

  /* Reserved exclusively for hero emphasis text — not used anywhere else */
  --hero-accent: #18D4FF;
  /* Muted label text — ISO band, secondary labels */
  --muted-label: #667085;
  /* Muted metric labels — Client Success cards */
  --muted-metric: #8A9BB0;

  /* --- Tonal ramp derived from brand navy, for gradients/backgrounds --- */
  --navy-950: #050A1E;
  --navy-900: #081231;
  --navy-800: var(--navy);
  --navy-700: #14346C;
  --navy-600: var(--navy-mid);

  /* --- Legacy aliases (kept so the rest of the stylesheet resolves correctly) --- */
  --blue-500: var(--blue);
  --blue-600: var(--blue);
  --blue-700: var(--navy-mid);
  --cyan-400: var(--blue);
  --cyan-300: var(--blue);
  --off-white: var(--bg);
  --ink-900: var(--navy);
  --ink-700: var(--charcoal);
  --ink-500: var(--slate);
  --ink-400: var(--slate);
  --border-light: var(--border);

  /* --- Type --- */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* --- Layout --- */
  --container-w: 1280px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
  --dur-slow: 1.2s;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   SHARED — eyebrow, underline, buttons
   ========================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}
.eyebrow--dark { color: var(--blue-600); }
.eyebrow--light { color: var(--cyan-300); }
.eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, currentColor, transparent);
  background-size: 200% 100%;
  animation: shimmer 3.5s ease-in-out infinite;
}

.underline {
  display: block;
  width: 60px;
  height: 3px;
  margin: 28px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  background-size: 200% 100%;
}
.underline--shimmer { animation: shimmer 3.5s ease-in-out infinite; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  border: 1px solid transparent;
  box-shadow: 0 8px 24px -8px rgba(0, 168, 198, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(0, 168, 198, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--navy);
  background-image:
    radial-gradient(48% 42% at 14% 8%, rgba(0, 168, 198, 0.11) 0%, rgba(0, 168, 198, 0.05) 45%, transparent 78%),
    radial-gradient(40% 38% at 86% 14%, rgba(24, 212, 255, 0.09) 0%, rgba(24, 212, 255, 0.04) 45%, transparent 78%),
    radial-gradient(46% 40% at 20% 92%, rgba(0, 168, 198, 0.08) 0%, rgba(0, 168, 198, 0.035) 45%, transparent 78%),
    radial-gradient(50% 44% at 84% 96%, rgba(24, 212, 255, 0.07) 0%, rgba(24, 212, 255, 0.03) 45%, transparent 78%);
  overflow: hidden;
  isolation: isolate;
}

/* Same navy tones as the base gradient, just eased continuously across the
   canvas in a seamless loop (returns to its start point, so no snap-back). */
@keyframes navyDrift {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 38% 16%; }
  50%  { background-position: 14% 38%; }
  75%  { background-position: 42% 6%; }
  100% { background-position: 0% 0%; }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Ambient blobs — large, soft-edged, static (no motion). */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
}
.hero__glow--1 {
  width: 420px;
  height: 380px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(0, 168, 198, 0.7) 25%, rgba(0, 168, 198, 0.25) 50%, transparent 75%);
  top: -14%;
  left: 48%;
}
.hero__glow--2 {
  width: 360px;
  height: 340px;
  background: radial-gradient(circle, var(--hero-accent) 0%, rgba(24, 212, 255, 0.7) 25%, rgba(24, 212, 255, 0.25) 50%, transparent 75%);
  bottom: -16%;
  left: 2%;
}
.hero__glow--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(0, 168, 198, 0.7) 25%, rgba(0, 168, 198, 0.25) 50%, transparent 75%);
  top: 8%;
  right: -8%;
}
.hero__glow--4 {
  width: 280px;
  height: 260px;
  background: radial-gradient(circle, var(--hero-accent) 0%, rgba(24, 212, 255, 0.7) 25%, rgba(24, 212, 255, 0.25) 50%, transparent 75%);
  bottom: 4%;
  right: 22%;
}
.hero__glow--5 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--blue) 0%, rgba(0, 168, 198, 0.7) 25%, rgba(0, 168, 198, 0.25) 50%, transparent 75%);
  top: 42%;
  left: 24%;
}

.hero__particles {
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: var(--cyan-300);
  opacity: 0.4;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.42; }
  90% { opacity: 0.26; }
  100% { transform: translateY(-100px) translateX(14px); opacity: 0; }
}

/* --- Sticky Site Nav (fixed to viewport, persists across all sections) ---
   Default state sits directly on the hero's own background — no fill, no
   blur, no border — so nav and hero read as one continuous surface. Once
   scrolled past the hero it swaps to a solid white bar (see .is-scrolled). */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  transition: background var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.site-nav.is-scrolled {
  background: var(--white);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 1px 0 var(--border-light), 0 12px 30px -18px rgba(13, 27, 75, 0.18);
}
.site-nav__logo {
  position: relative;
  display: block;
  width: 118px;
  height: 30px;
}
.site-nav__logo-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  width: auto;
  display: block;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.site-nav__logo-img--dark { opacity: 0; }
.site-nav.is-scrolled .site-nav__logo-img--light { opacity: 0; }
.site-nav.is-scrolled .site-nav__logo-img--dark { opacity: 1; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color var(--dur-fast);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--cyan-400);
  transition: width var(--dur-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }
.site-nav.is-scrolled .nav__links a { color: var(--ink-900); }
.site-nav.is-scrolled .nav__links a:hover { color: var(--blue-600); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--white);
  color: var(--navy);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav__cta:hover { transform: translateY(-1px); }
.site-nav.is-scrolled .nav__cta {
  background: var(--navy);
  color: var(--white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 4;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast), background var(--dur-fast);
}
.site-nav.is-scrolled .nav__toggle span { background: var(--navy); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 80vw);
  height: 100vh;
  background: var(--navy-900);
  border-left: 1px solid rgba(255,255,255,0.08);
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu__cta {
  margin-top: 20px;
  text-align: center;
  border: none;
  border-radius: 24px;
  background: var(--white);
  color: var(--navy) !important;
  font-weight: 600;
  padding: 14px 0 !important;
}

/* --- Hero content --- */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1536px;
  margin: 0 auto;
  padding: 124px 48px 100px;
  width: 100%;
}
.hero__tagline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--blue);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}
.hero__headline-static {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.25s forwards;
}
.hero__headline-rotator {
  position: relative;
  display: block;
  min-height: clamp(56px, 8vw, 96px);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.rotator__word {
  position: absolute;
  left: 0; top: 0;
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800;
  background: linear-gradient(100deg, #7CE6FF, var(--hero-accent) 60%, #0FB8DE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.rotator__word.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero__rotator-underline {
  margin: 14px 0 0;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 46px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.65s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   PROVEN IMPACT AT SCALE
   ========================================================= */
.impact {
  position: relative;
  background: var(--white);
  padding: 0 0 88px;
}

.impact .container { padding-top: 72px; text-align: center; }
.impact__headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.25;
  margin-bottom: 56px;
}
.eyebrow--dark { display: inline-block; }
.impact .eyebrow { margin-left: auto; margin-right: auto; }
.impact .eyebrow::after { left: 50%; transform: translateX(-50%); }

.impact__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.impact__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--border-light);
}
.impact__stat:last-child { border-right: none; }
.impact__number {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.impact__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted-label);
  text-transform: uppercase;
  line-height: 1.5;
}

.impact__certification {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid var(--border-light);
}
.cert__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px -8px rgba(0, 168, 198, 0.25);
}
.cert__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.cert__list {
  font-size: 14px;
  color: var(--muted-label);
  letter-spacing: 0.02em;
}

/* =========================================================
   CAPABILITIES SECTION
   ========================================================= */
.capabilities {
  background: var(--off-white);
  padding: 100px 0 90px;
  position: relative;
}
.capabilities .eyebrow { }
.capabilities__headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 640px;
}
.capabilities__intro {
  font-size: 17px;
  color: var(--ink-500);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950) 70%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  z-index: 0;
}
.cap-card > * { position: relative; z-index: 1; }

.cap-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.cap-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--dur-med) var(--ease-out);
}
.cap-card__copy {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.55;
  flex-grow: 1;
  transition: color var(--dur-med) var(--ease-out);
}
.cap-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.cap-card:hover,
.cap-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(7, 20, 60, 0.35);
  border-color: transparent;
}
.cap-card:hover::before,
.cap-card:focus-visible::before { opacity: 1; }
.cap-card:hover .cap-card__icon,
.cap-card:focus-visible .cap-card__icon {
  background: rgba(0, 168, 198, 0.18);
  color: #5FE0F5;
  box-shadow: 0 0 22px rgba(0, 168, 198, 0.4);
}
.cap-card:hover .cap-card__title,
.cap-card:focus-visible .cap-card__title { color: var(--white); }
.cap-card:hover .cap-card__copy,
.cap-card:focus-visible .cap-card__copy { color: rgba(255, 255, 255, 0.72); }
.cap-card:hover .cap-card__cta,
.cap-card:focus-visible .cap-card__cta { opacity: 1; transform: translateY(0); }

/* Note: the "Data, AI & Intelligent Automation" card previously stayed dark
   permanently (matching the reference mockup). Per feedback it should behave
   exactly like every other card — white by default, dark only on :hover — so
   the dedicated "always-dark" override has been removed. */

.capabilities__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
  font-size: 16px;
  color: var(--muted-label);
}
.capabilities__badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.capabilities__footer .highlight { color: var(--blue-600); font-weight: 600; }

/* =========================================================
   BRAND STATEMENT
   ========================================================= */
.brand-statement {
  background: var(--white);
  padding: 110px 0;
  text-align: center;
}
.brand-statement__headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
}
.brand-statement__line { display: block; }
.brand-statement__line--dark { color: var(--ink-900); }
.brand-statement__line--accent {
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   CLIENT SUCCESS
   ========================================================= */
.client-success {
  background: radial-gradient(120% 100% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  padding: 100px 0 80px;
  color: var(--white);
}
.client-success__headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 16px;
}
.client-success__intro {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.client-success__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.success-card {
  display: block;
  border-radius: var(--radius-lg);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}

.success-card--featured {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 40, 90, 0.55), rgba(4, 10, 28, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.success-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1, 6, 20, 0.9) 100%);
  z-index: 0;
}
.success-card--featured > * { position: relative; z-index: 1; }
.success-card__art {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 62%;
  max-width: 520px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}
.success-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 50px -10px rgba(0, 168, 198, 0.4);
  border-color: rgba(0, 168, 198, 0.35);
}
.success-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-300);
  background: rgba(0, 168, 198, 0.12);
  border: 1px solid rgba(0, 168, 198, 0.3);
  border-radius: 6px;
  padding: 6px 12px;
  margin-bottom: 34px;
}
.success-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--cyan-300);
  line-height: 1;
  margin-bottom: 14px;
}
.success-card__metric-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-metric);
  margin-bottom: 28px;
}
.success-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 18px;
}
.success-card__copy {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 460px;
}
.success-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-300);
}

.success-card__stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.success-card--compact {
  position: relative;
  background: rgba(10, 22, 55, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 56px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.success-card--compact:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 198, 0.35);
  box-shadow: 0 14px 34px -14px rgba(0, 168, 198, 0.45);
}
.success-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 168, 198, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.success-card__number--sm {
  font-size: 26px;
  margin-bottom: 4px;
}
.success-card__title--sm {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 0;
}
.success-card__arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--dur-fast), transform var(--dur-fast);
}
.success-card--compact:hover .success-card__arrow {
  color: var(--cyan-300);
  transform: translate(4px, -50%);
}

.client-success__trusted-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 30px;
}
.client-success__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}
.logo-mark:hover { color: rgba(255, 255, 255, 0.75); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: radial-gradient(160% 130% at 15% 0%, var(--navy-700) 0%, var(--navy-900) 42%, var(--navy-950) 100%);
  background-size: 220% 220%;
  animation: navyDrift 26s ease-in-out infinite;
  color: var(--white);
  overflow: hidden;
}
.site-footer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.site-footer .hero__glow--1 { top: -20%; right: 5%; left: auto; }
.site-footer .hero__glow--2 { bottom: -20%; left: 10%; }

.footer-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 110px 32px 90px;
  max-width: 760px;
  margin: 0 auto;
}
.footer-cta .eyebrow { margin-left: auto; margin-right: auto; }
.footer-cta .eyebrow::after { left: 50%; transform: translateX(-50%); }
.footer-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 24px;
}
.footer-cta__copy {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 40px;
}
.footer-cta .hero__ctas { justify-content: center; margin-top: 0; opacity: 1; animation: none; }

.footer-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 64px 32px 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col__logo {
  display: inline-flex;
  align-items: center;
}
.footer-col__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 18px 0 24px;
  max-width: 280px;
}
.footer-col__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.footer-col__contact svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan-300); }

.footer-col__heading {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-300);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col__heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--cyan-400);
}
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col ul li a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer-col ul li a:hover { color: var(--cyan-300); padding-left: 4px; }

.footer-col__socials {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}
.footer-col__socials a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.footer-col__socials a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-2px);
}
.footer-col__legal { gap: 10px; }
.footer-col__legal a { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.footer-col__legal a:hover { color: var(--cyan-300); }

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px 32px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--muted-label);
}
.footer-bottom__iso {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom__icons {
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .impact__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .impact__stat:nth-child(3) { border-right: none; }
  .capabilities__grid { grid-template-columns: repeat(2, 1fr); }
  .client-success__grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .site-nav { padding: 16px 24px; }
  .hero__content { padding: 96px 24px 80px; }
  .container { padding: 0 24px; }

  /* Card grids become horizontal-scroll carousels on mobile instead of
     stacking into one long column. Desktop/tablet grid layouts above this
     breakpoint are untouched. */
  .impact__grid,
  .capabilities__grid,
  .success-card__stack {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 4px 24px 16px;
  }
  .impact__grid::-webkit-scrollbar,
  .capabilities__grid::-webkit-scrollbar,
  .success-card__stack::-webkit-scrollbar { display: none; }

  .impact__grid { gap: 20px; margin-bottom: 40px; }
  .impact__stat {
    flex: 0 0 150px;
    scroll-snap-align: start;
    border-right: 1px solid var(--border-light) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  .impact__stat:last-child { border-right: none !important; }

  .capabilities__grid { gap: 16px; }
  .cap-card { flex: 0 0 240px; scroll-snap-align: start; }

  .success-card__stack { gap: 16px; }
  .success-card--compact { flex: 0 0 260px; scroll-snap-align: start; }

  .footer-columns { grid-template-columns: 1fr 1fr; padding: 48px 24px; }
  .footer-cta { padding: 80px 24px 64px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 24px 24px 32px; }

  /* The longest rotating phrases ("Intelligent Automation") overflow a
     phone-width viewport at the desktop clamp() floor with nowrap — let
     it wrap and shrink further here instead of clipping off-screen. */
  .hero__headline-rotator { min-height: 108px; }
  .rotator__word {
    font-size: clamp(30px, 9vw, 44px);
    white-space: normal;
    line-height: 1.15;
  }
}

@media (max-width: 560px) {
  .hero__ctas, .footer-cta .hero__ctas { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .impact { padding-bottom: 64px; }
  .impact .container { padding-top: 48px; }
  .capabilities { padding: 72px 0 64px; }
  .brand-statement { padding: 72px 0; }
  .client-success { padding: 72px 0 56px; }
  .footer-columns { grid-template-columns: 1fr; padding: 40px 24px; }
  .client-success__logos { gap: 28px; }
  .success-card--featured { padding: 28px; min-height: 360px; }
}
