/* ==========================================================================
   NexaCore — Enterprise IT Services
   Design system: deep navy grounds, crisp white, electric blue accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #07162f;
  --navy-800: #0a1f44;
  --navy-700: #102a55;
  --navy-600: #1a3866;
  --blue-600: #0052cc;
  --blue-500: #0066ff;
  --blue-400: #3d8bff;
  --blue-100: #e6f0ff;

  /* Neutrals */
  --white: #ffffff;
  --grey-50: #f6f8fb;
  --grey-100: #eef1f6;
  --grey-200: #dfe4ed;
  --grey-300: #c6cddb;
  --grey-500: #6b7590;
  --grey-600: #55607a;
  --grey-700: #3a4459;
  --ink: #14203a;

  /* Semantic */
  --bg: var(--white);
  --text: var(--ink);
  --text-muted: var(--grey-600);
  --border: var(--grey-200);
  --accent: var(--blue-500);
  --danger: #c62828;
  --success: #0f7a4d;

  /* Type */
  --font-head: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Metrics */
  --container: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 6px;
  --header-h: 74px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06), 0 1px 3px rgba(10, 31, 68, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 31, 68, 0.08), 0 2px 4px rgba(10, 31, 68, 0.06);
  --shadow-lg: 0 18px 40px rgba(10, 31, 68, 0.14);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  /* `clip` (not `hidden`) contains the off-canvas drawer without creating a
     scroll container — position: sticky on the header keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.95rem, 1.4rem + 1.8vw, 2.85rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 1.06rem + 0.32vw, 1.35rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--navy-800); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15rem; }
li { margin-bottom: 0.4em; }

strong { font-weight: 600; color: var(--navy-800); }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

::selection { background: var(--blue-500); color: #fff; }

/* Focus states — visible & consistent */
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-navy :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible { outline-color: #7fb0ff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue-500);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding: clamp(56px, 5vw, 96px) 0; }
.section--tight { padding: clamp(44px, 3.6vw, 64px) 0; }

.band-white { background: var(--white); }
.band-grey  { background: var(--grey-50); border-block: 1px solid var(--grey-100); }
.band-navy {
  background: var(--navy-800);
  color: #ccd6e6;
  position: relative;
  overflow: hidden;
}
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }
.band-navy strong { color: #fff; }
.band-navy a { color: #9dc2ff; }
.band-navy a:hover { color: #fff; }

/* Fine navy grid texture */
.grid-tex::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 75% at 70% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 70% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.band-navy > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --------------------------------------------------------------------------
   4. Section headers / eyebrows
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue-500);
  flex: none;
}
.band-navy .eyebrow { color: var(--blue-400); }
.band-navy .eyebrow::before { background: var(--blue-400); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 3vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.band-navy .section-head p { color: #b3c1d6; }

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}
.section-head--split > div:first-child { max-width: 680px; }

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.28vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn svg { flex: none; }

.btn-primary {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 102, 255, 0.22);
}
.btn-primary:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 82, 204, 0.3);
}

.btn-secondary {
  background: transparent;
  border-color: var(--grey-300);
  color: var(--navy-800);
}
.btn-secondary:hover {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy-800);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--navy-800);
}
.btn-white:hover { background: var(--blue-100); border-color: var(--blue-100); color: var(--navy-800); transform: translateY(-1px); }

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue-600);
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--navy-800); }
.link-arrow:hover svg { transform: translateX(4px); }
.band-navy .link-arrow { color: var(--blue-400); }
.band-navy .link-arrow:hover { color: #fff; }

/* --------------------------------------------------------------------------
   6. Top utility bar
   -------------------------------------------------------------------------- */
.utility-bar {
  background: var(--navy-900);
  color: #a9b7cd;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding-block: 6px;
}
.utility-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.utility-links a, .utility-links span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a9b7cd;
}
.utility-links a:hover { color: #fff; }
.utility-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.utility-badges span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa4c0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 2px 8px;
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.22s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(10, 31, 68, 0.1); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  color: var(--navy-800);
  flex: none;
}
.brand:hover { color: var(--navy-800); }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-name em { font-style: normal; color: var(--blue-500); }
.brand-tag {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-top: 4px;
}

/* Primary nav */
.primary-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { margin: 0; position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--grey-700);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.nav-link:hover { color: var(--navy-800); background: var(--grey-50); }
.nav-link[aria-current="page"] { color: var(--blue-600); font-weight: 600; }
.nav-link .caret { transition: transform 0.2s var(--ease); }

/* Dropdown */
.has-dropdown > .nav-link[aria-expanded="true"] { color: var(--navy-800); background: var(--grey-50); }
.has-dropdown > .nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 460px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px; height: 11px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-700);
  line-height: 1.35;
}
.dropdown a:hover { background: var(--blue-100); color: var(--navy-800); }
.dropdown .dd-all {
  grid-column: 1 / -1;
  margin-top: 4px;
  border-top: 1px solid var(--grey-100);
  padding-top: 8px;
}
.dropdown .dd-all a { color: var(--blue-600); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--navy-800);
  flex: none;
}
.nav-toggle:hover { background: var(--grey-50); }
.nav-toggle span {
  display: block;
  position: relative;
  width: 19px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Drawer close button — the hamburger sits underneath the open drawer on
   mobile, so the drawer needs its own close affordance. Desktop hides it. */
.nav-close {
  display: none;
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy-800);
  cursor: pointer;
}
.nav-close:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(7, 22, 47, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
  z-index: 98;
}
.nav-scrim.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 52%, var(--navy-700) 100%);
  color: #c9d5e6;
  overflow: hidden;
  padding: clamp(56px, 5.5vw, 100px) 0 clamp(56px, 5vw, 92px);
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 66%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 3.4vw, 56px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent {
  color: var(--blue-400);
  display: block;
}
.hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.62;
  color: #b8c6da;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero .btn-group { margin-bottom: 34px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.875rem;
  color: #9fb1c9;
}
.hero-proof svg { color: var(--blue-400); flex: none; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(61, 139, 255, 0.42);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 26px;
  background: #fff;
  color: var(--navy-800);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.hero-badge .hb-val {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-600);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-badge .hb-label {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--grey-600);
}

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #c1cfe2;
  overflow: hidden;
  padding: clamp(48px, 4.4vw, 78px) 0 clamp(48px, 4.4vw, 74px);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.28) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 15ch; margin-bottom: 18px; }
.page-hero .lead { color: #b3c2d7; max-width: 640px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 18px;
  color: #8ea1bb;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: #566a89; }
.breadcrumb a { color: #a9bcd6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* --------------------------------------------------------------------------
   9. Trust bar
   -------------------------------------------------------------------------- */
.trust-bar { padding: 34px 0; background: var(--white); border-bottom: 1px solid var(--grey-100); }
.trust-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 22px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 40px;
}
/* Wordmarks use a grid so rows stay even. Column count steps down with width
   so long marks like "VERTEX INDUSTRIES" never collide with their neighbour. */
@media (min-width: 560px) {
  .logo-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .wordmark { justify-content: center; }
}
@media (min-width: 1180px) {
  .logo-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--grey-500);
  opacity: 0.86;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
  white-space: nowrap;
}
.wordmark:hover { color: var(--navy-800); opacity: 1; }
.wordmark .wm-icon { flex: none; opacity: 0.8; }
.wordmark .wm-thin { font-weight: 400; }
.wordmark .wm-caps {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 3px;
  background: var(--blue-500);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.card:hover {
  border-color: var(--grey-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card:hover::after { transform: scaleX(1); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 16px; }
.card .link-arrow { margin-top: auto; }

.card-icon {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--blue-100);
  color: var(--blue-600);
  margin-bottom: 18px;
  flex: none;
}
.band-navy .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.band-navy .card p { color: #aebbd0; }
.band-navy .card:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.07); }
.band-navy .card-icon { background: rgba(0, 102, 255, 0.22); color: #8ab4ff; }

.card-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-500);
  margin-bottom: 12px;
}

/* Feature list inside cards */
.tick-list { list-style: none; padding: 0; margin: 0 0 18px; }
.tick-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9063rem;
  color: var(--text-muted);
  margin-bottom: 9px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 9px;
  border-left: 2px solid var(--blue-500);
  border-bottom: 2px solid var(--blue-500);
  transform: rotate(-45deg);
}
.band-navy .tick-list li { color: #b3c1d6; }
.band-navy .tick-list li::before { border-color: var(--blue-400); }

/* --------------------------------------------------------------------------
   11. Split feature (image + text)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4.5vw, 72px);
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split--reverse .split-media { order: 2; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  margin: 0;
}
.feature-list li:last-child { border-bottom: 1px solid var(--border); }
.feature-list .fl-icon {
  flex: none;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--blue-100);
  color: var(--blue-600);
}
.feature-list h3 { font-size: 1.0625rem; margin-bottom: 5px; }
.feature-list p { font-size: 0.9063rem; color: var(--text-muted); margin: 0; }
.band-navy .feature-list li { border-color: rgba(255, 255, 255, 0.12); }
.band-navy .feature-list p { color: #adbacf; }
.band-navy .feature-list .fl-icon { background: rgba(0, 102, 255, 0.22); color: #8ab4ff; }

/* --------------------------------------------------------------------------
   12. Stats band
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--navy-800);
  padding: 32px 26px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-value .unit { color: var(--blue-400); }
.stat-label {
  font-size: 0.875rem;
  color: #a8b7cc;
  line-height: 1.4;
}

/* Light stat variant */
.stats-grid--light { background: var(--border); border-color: var(--border); }
.stats-grid--light .stat { background: #fff; }
.stats-grid--light .stat-value { color: var(--navy-800); }
.stats-grid--light .stat-value .unit { color: var(--blue-500); }
.stats-grid--light .stat-label { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. Industries
   -------------------------------------------------------------------------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.industry {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.industry img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s var(--ease);
}
.industry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 22, 47, 0.94) 6%, rgba(7, 22, 47, 0.66) 46%, rgba(7, 22, 47, 0.3) 100%);
  z-index: -1;
}
.industry:hover img { transform: scale(1.055); }
.industry-body { padding: 24px; color: #d3dded; }
.industry-body h3 { color: #fff; font-size: 1.125rem; margin-bottom: 6px; }
.industry-body p { font-size: 0.875rem; margin: 0; color: #b9c8dc; }

/* --------------------------------------------------------------------------
   14. Case study teasers / cards
   -------------------------------------------------------------------------- */
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--grey-300); }
.case-thumb { position: relative; overflow: hidden; }
.case-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(7, 22, 47, 0.88);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 2px;
}
.case-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 1.125rem; margin-bottom: 10px; }
.case-body p { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 18px; }
.case-metrics {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
}
.case-metric .cm-val {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.case-metric .cm-label {
  font-size: 0.75rem;
  color: var(--grey-500);
  line-height: 1.3;
}
.case-body .link-arrow { margin-top: auto; }

/* Full case study block */
.case-study {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  margin-bottom: 40px;
}
.case-study:last-child { margin-bottom: 0; }
.case-hero-img {
  width: 100%;
  aspect-ratio: 32 / 9;
  object-fit: cover;
}
.case-study-inner { padding: clamp(26px, 3vw, 44px); }
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.case-meta div { min-width: 120px; }
.case-meta dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 4px;
}
.case-meta dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-800);
}
.csx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 44px; }
.csx h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-100);
}
.csx p, .csx li { font-size: 0.9375rem; color: var(--text-muted); }
.results-band {
  margin-top: 32px;
  padding: 26px;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.results-band .stat-value { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.results-band .stat { background: transparent; padding: 0; text-align: left; }

.quote-inline {
  margin: 30px 0 0;
  padding: 22px 26px;
  background: var(--grey-50);
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-inline p {
  font-size: 1rem;
  font-style: italic;
  color: var(--navy-800);
  margin-bottom: 10px;
}
.quote-inline footer { font-size: 0.8125rem; color: var(--grey-600); font-style: normal; }
.quote-inline footer strong { display: block; font-style: normal; }

/* --------------------------------------------------------------------------
   15. Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial .quote-mark {
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--blue-100);
  margin-bottom: 6px;
  height: 30px;
}
.testimonial blockquote {
  margin: 0 0 22px;
  font-size: 0.9688rem;
  line-height: 1.7;
  color: var(--grey-700);
  flex: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-100);
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}
.testimonial .t-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-800);
  line-height: 1.3;
}
.testimonial .t-role { font-size: 0.8125rem; color: var(--grey-500); line-height: 1.35; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-600) 190%);
  color: #c6d3e6;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -6%; top: -60%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.34) 0%, transparent 68%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 { color: #fff; margin-bottom: 12px; max-width: 18ch; }
.cta-inner p { color: #b6c5d9; max-width: 52ch; margin: 0; }
.cta-inner .btn-group { flex: none; }

/* --------------------------------------------------------------------------
   17. Services page specifics
   -------------------------------------------------------------------------- */
.service-block {
  padding: clamp(40px, 4vw, 68px) 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: 0; }
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}
.service-layout--flip .service-visual { order: -1; }
.service-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.service-index {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-600);
  margin-bottom: 10px;
  display: block;
}
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 26px;
  margin: 22px 0;
}
.outcome-box {
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
  margin-top: 22px;
}
.outcome-box h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 10px;
}
.outcome-box p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey-600);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 13px;
}
.band-grey .chip { background: #fff; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--border); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -2px; left: 0;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  background: var(--blue-500);
  color: #fff;
  padding: 3px 9px;
  border-radius: 0 0 var(--radius) 0;
}
.step h3 { font-size: 1.0625rem; margin: 14px 0 8px; }
.step p { font-size: 0.9063rem; color: var(--text-muted); margin: 0; }
.band-navy .step { border-color: rgba(255, 255, 255, 0.18); }
.band-navy .step p { color: #aebbd0; }

/* --------------------------------------------------------------------------
   18. About page specifics
   -------------------------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  position: relative;
  padding: 0 0 30px 34px;
  border-left: 2px solid var(--border);
  margin: 0;
}
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue-500);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-100);
}
.timeline .tl-year {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  display: block;
  margin-bottom: 4px;
}
.timeline h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.timeline p { font-size: 0.9375rem; color: var(--text-muted); margin: 0; }

.leader {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.leader:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.leader-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
.leader-body { padding: 20px 22px; }
.leader-body h3 { font-size: 1.0625rem; margin-bottom: 3px; }
.leader-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.leader-body p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cert {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 22px 20px;
  text-align: center;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cert:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.cert-badge {
  width: 46px; height: 46px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
}
.cert h3 { font-size: 0.9375rem; margin-bottom: 5px; }
.cert p { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }

.office-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.13); border-radius: var(--radius-lg); overflow: hidden; }
.office {
  background: var(--navy-800);
  padding: 26px 24px;
}
.office h3 { font-size: 1rem; margin-bottom: 4px; color: #fff; }
.office .o-country { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.11em; color: var(--blue-400); margin-bottom: 12px; font-weight: 600; }
.office p { font-size: 0.875rem; color: #a8b7cc; margin: 0; }

/* --------------------------------------------------------------------------
   19. Contact page specifics
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.field .req { color: var(--danger); }
.field .hint { font-size: 0.75rem; color: var(--grey-500); margin-top: 6px; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2355607a' stroke-width='1.8' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.16);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15); }
.error-msg {
  font-size: 0.8125rem;
  color: var(--danger);
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 6px;
}
.field.has-error .error-msg { display: flex; }

.check-field {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  grid-column: 1 / -1;
}
.check-field input[type="checkbox"] {
  width: 17px; height: 17px;
  margin: 3px 0 0;
  accent-color: var(--blue-500);
  flex: none;
}
.check-field label {
  display: block;
  font-size: 0.8438rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.5;
}
.check-field.has-error label { color: var(--danger); }
/* The consent field is wrapped in .check-field, not .field — it needs its own rule. */
.check-field.has-error .error-msg { display: flex; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px 8px;
}
.form-success.is-visible { display: block; }
.form-success .success-icon {
  width: 62px; height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(15, 122, 77, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-muted); max-width: 44ch; margin-inline: auto; }
.form-success .next-steps {
  text-align: left;
  max-width: 420px;
  margin: 24px auto 0;
  padding: 18px 20px;
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-success .next-steps h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.form-success .next-steps li { font-size: 0.875rem; color: var(--text-muted); }

.contact-aside > * + * { margin-top: 24px; }
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.info-card h3 { font-size: 1.0625rem; margin-bottom: 16px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 13px; margin-bottom: 16px; align-items: flex-start; }
.info-list li:last-child { margin-bottom: 0; }
.info-list .ic {
  flex: none;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--blue-100);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-list .il-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 2px;
}
.info-list .il-value { font-size: 0.9375rem; color: var(--navy-800); font-weight: 500; line-height: 1.45; }
.info-list a.il-value:hover { color: var(--blue-600); }

.map-embed {
  position: relative;
  height: 340px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 102, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(0, 102, 255, 0.05) 1px, transparent 1px) 0 0 / 44px 100%,
    linear-gradient(rgba(10, 31, 68, 0.06) 1px, transparent 1px) 0 0 / 100% 11px,
    linear-gradient(90deg, rgba(10, 31, 68, 0.06) 1px, transparent 1px) 0 0 / 11px 100%,
    var(--grey-50);
}
.map-embed::before {
  content: "";
  position: absolute;
  left: 8%; top: 58%;
  width: 130%; height: 22px;
  background: var(--grey-200);
  transform: rotate(-14deg);
}
.map-embed::after {
  content: "";
  position: absolute;
  left: 46%; top: -20%;
  width: 26px; height: 150%;
  background: var(--grey-200);
  transform: rotate(9deg);
}
.map-pin {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.map-pin .pin-dot {
  width: 20px; height: 20px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue-500);
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.45);
}
.map-pin .pin-label {
  background: var(--navy-800);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.map-caption {
  position: absolute;
  left: 16px; bottom: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  backdrop-filter: blur(2px);
}
.map-caption strong { display: block; font-family: var(--font-head); font-size: 0.875rem; margin-bottom: 3px; }
.map-caption span { font-size: 0.8125rem; color: var(--text-muted); }

.office-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.office-card:hover { border-color: var(--grey-300); box-shadow: var(--shadow-sm); }
.office-card .oc-region {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 8px;
}
.office-card h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.office-card address {
  font-style: normal;
  font-size: 0.9063rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.office-card address a { color: var(--navy-800); font-weight: 500; }
.office-card address a:hover { color: var(--blue-600); }

/* --------------------------------------------------------------------------
   20. Legal pages
   -------------------------------------------------------------------------- */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: #fff;
}
.legal-toc h2 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 12px;
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { margin-bottom: 3px; }
.legal-toc a {
  display: block;
  font-size: 0.875rem;
  color: var(--grey-700);
  padding: 6px 10px;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.legal-toc a:hover { background: var(--grey-50); color: var(--navy-800); border-left-color: var(--blue-500); }

.legal-body { max-width: 76ch; }
.legal-body section { margin-bottom: 44px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-body section:last-child { margin-bottom: 0; }
.legal-body h2 {
  font-size: 1.375rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.legal-body h3 { font-size: 1.0625rem; margin-top: 26px; }
.legal-body p, .legal-body li { color: var(--grey-700); font-size: 0.9688rem; }
.legal-meta {
  background: var(--grey-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 40px;
  font-size: 0.9063rem;
  color: var(--text-muted);
}
.legal-meta strong { color: var(--navy-800); }
.definition-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.9063rem;
}
.definition-table th,
.definition-table td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.definition-table th {
  background: var(--grey-50);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  color: var(--navy-800);
  font-weight: 600;
  white-space: nowrap;
}
.definition-table td { color: var(--text-muted); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #9fb0c8;
  font-size: 0.9063rem;
  padding-top: clamp(48px, 4.5vw, 72px);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand .brand-tag { color: #7d90ac; }
.footer-brand p { color: #9fb0c8; font-size: 0.9063rem; max-width: 38ch; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #9fb0c8;
  transition: all 0.18s var(--ease);
}
.footer-social a:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }

.footer-col h3 {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9fb0c8; font-size: 0.9063rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  font-size: 0.8438rem;
  color: #7f91ac;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: #7f91ac; }
.footer-legal a:hover { color: #fff; }
.footer-certs { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-certs span {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  padding: 3px 8px;
  color: #8fa4c0;
}

/* --------------------------------------------------------------------------
   22. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.24s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-500); border-color: var(--blue-500); }

/* --------------------------------------------------------------------------
   23. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
  .nav-list { gap: 0; }
  .nav-link { padding: 10px 11px; font-size: 0.9063rem; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 26px; }
  .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Mobile drawer nav */
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-header .container { gap: 16px; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -14px 0 40px rgba(10, 31, 68, 0.16);
    transform: translateX(100%);
    /* Hidden when closed so off-canvas links are not focusable or announced. */
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 99;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-left: 0;
    padding: 84px 22px 40px;
    display: block;
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }

  .nav-close { display: inline-flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--grey-100); }
  .nav-list > li:last-child { border-bottom: 0; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 6px;
    font-size: 1rem;
    border-radius: 0;
  }
  .nav-link:hover { background: transparent; color: var(--blue-600); }

  .dropdown {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: 0;
    box-shadow: none;
    padding: 0 0 10px 8px;
    grid-template-columns: 1fr;
    display: none;
    background: transparent;
  }
  .dropdown::before { display: none; }
  /* On mobile the dropdown is a click accordion, never hover/focus driven.
     These selectors must out-specify `.has-dropdown:focus-within .dropdown`,
     which is why the open rule is written with the parent included. */
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { display: none; }
  .has-dropdown > .dropdown.is-open,
  .has-dropdown:hover > .dropdown.is-open,
  .has-dropdown:focus-within > .dropdown.is-open { display: grid; transform: none; }
  .dropdown a { padding: 9px 12px; border-left: 2px solid var(--grey-200); border-radius: 0; }
  .dropdown a:hover { border-left-color: var(--blue-500); background: var(--grey-50); }
  .dropdown .dd-all { border-top: 0; padding-top: 4px; margin-top: 2px; }

  .nav-drawer-cta {
    display: block;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }
  .nav-drawer-cta .btn { width: 100%; margin-bottom: 10px; }
  .nav-drawer-contact { margin-top: 22px; font-size: 0.875rem; color: var(--text-muted); }
  .nav-drawer-contact a { display: block; margin-bottom: 6px; }

  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .legal-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }

  .contact-layout { grid-template-columns: 1fr; }
  .hero-badge { left: 14px; bottom: 14px; }
}

@media (min-width: 1025px) {
  .nav-drawer-cta { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .hero-media { max-width: 620px; }
  .hero-media::before { display: none; }

  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero h1 { max-width: none; }

  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split-media { order: 0; }
  .service-layout { grid-template-columns: 1fr; }
  .service-layout--flip .service-visual { order: 0; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .cta-inner h2 { max-width: none; }

  .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Badges are the first thing to wrap the utility bar onto two rows. */
  .utility-badges { display: none; }
}

@media (max-width: 720px) {
  .utility-bar { display: none; }
  .csx { grid-template-columns: 1fr; gap: 26px; }
  .case-hero-img { aspect-ratio: 16 / 9; }
  .deliverables { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .legal-toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .grid { gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .results-band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 24px 20px; }

  .logo-row { gap: 14px 26px; }
  .wordmark { font-size: 0.9375rem; }

  .card, .testimonial, .info-card { padding: 24px 22px; }

  .btn { padding: 13px 22px; }
  .btn-group { gap: 10px; }
  .hero .btn-group .btn { flex: 1 1 auto; min-width: 160px; }

  .hero-badge {
    position: static;
    margin-top: 16px;
    max-width: none;
    box-shadow: var(--shadow-md);
  }
  .hero-media img { aspect-ratio: 16 / 11; }

  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .case-metrics { gap: 18px; }
  .map-embed { height: 260px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.1875rem; }
  .brand-tag { font-size: 0.5rem; letter-spacing: 0.16em; }
  .case-meta { gap: 14px 24px; }
}

/* Print */
@media print {
  .site-header, .utility-bar, .site-footer, .to-top, .nav-scrim, .cta-band { display: none !important; }
  body { color: #000; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
