/* ==========================================================================
   ConsulSeer theme — style.css
   Matches the 04.png mockup exactly.
   Palette:
     --navy:        #000B21  (hero / header / footer background)
     --navy-2:      #001433  (slightly lighter navy for cards on dark)
     --navy-line:   #001F47  (hairline on dark)
     --accent:      #0154F9  (primary blue, buttons, links)
     --accent-2:    #0154F9  (bright blue, brand wordmark, secondary accents)
     --accent-soft: #0154F9  (pale blue, hover glows)
     --white:       #FFFFFF
     --gray-bg:     #F3F4F6  (light section background)
     --gray-text:   #6B7280  (body copy on light)
     --ink:         #000B21  (headings on light)
     --metric-blue:   #0154F9
     --metric-green:  #10B981
     --metric-purple: #8B5CF6
     --metric-orange: #F59E0B
   ========================================================================== */

:root {
  --navy: #000B21;
  --navy-2: #001433;
  --navy-line: #001F47;
  --accent: #0154F9;
  --accent-2: #0154F9;
  --accent-soft: #0154F9;
  --white: #FFFFFF;
  --gray-bg: #F3F4F6;
  --gray-text: #6B7280;
  --ink: #000B21;
  --metric-blue: #0154F9;
  --metric-green: #10B981;
  --metric-purple: #8B5CF6;
  --metric-orange: #F59E0B;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 4px 12px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.10);
  --container-max: 1240px;
  --nav-height: 72px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; color: var(--ink); }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.cs-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.cs-nav-wrapper.is-scrolled {
  background: rgba(10, 25, 47, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}

.cs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.cs-nav-brand img { height: 44px; width: auto; }

.cs-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.cs-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.cs-nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 0;
  transition: color 0.15s ease;
}
.cs-nav-links a:hover { color: var(--white); }

.cs-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
}
.cs-nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.cs-nav-toggle.is-active .cs-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.cs-nav-toggle.is-active .cs-nav-toggle-bar:nth-child(2) { opacity: 0; }
.cs-nav-toggle.is-active .cs-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown */
.cs-nav-dropdown {
  position: relative;
}

.cs-nav-dropdown-toggle svg,
.cs-nav-dropdown-toggle i {
  transition: transform 0.2s;
}

.cs-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #0A1628;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 100;
}

.cs-nav-dropdown:hover .cs-nav-dropdown-menu,
.cs-nav-dropdown.open .cs-nav-dropdown-menu {
  display: block;
}

.cs-nav-dropdown:hover .cs-nav-dropdown-toggle svg,
.cs-nav-dropdown.open .cs-nav-dropdown-toggle svg,
.cs-nav-dropdown:hover .cs-nav-dropdown-toggle i,
.cs-nav-dropdown.open .cs-nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.cs-nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}

.cs-nav-dropdown-menu li a:hover {
  color: #fff;
  background: rgba(1,84,249,0.1);
}
/* ==========================================================================
   Buttons
   ========================================================================== */
.cs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.cs-btn-sm { padding: 10px 18px; font-size: 14px; }
.cs-btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}
.cs-btn-primary:hover {
  background: #0140D9;
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}
.cs-btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.cs-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.cs-icon-sm { width: 16px; height: 16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.cs-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 88px 0 72px;
  overflow: hidden;
}
.cs-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.18), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(96, 165, 250, 0.10), transparent 45%);
  pointer-events: none;
}
.cs-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cs-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.cs-eyebrow-center { display: block; text-align: center; }

.cs-hero-title {
  font-size: clamp(2.5rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.cs-hero-title-line {
  display: block;
}
.cs-accent { color: var(--accent-2); }

.cs-hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-bottom: 32px;
}
.cs-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cs-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Axis composition: eye at center, labels at N/E/S/W cardinal points */
.cs-axis-vis {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.cs-axis-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 60px rgba(59, 130, 246, 0.18));
}
.cs-axis-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  max-width: 180px;
  z-index: 2;
}
.cs-axis-label-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  text-transform: uppercase;
  white-space: nowrap;
}
.cs-axis-label-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: inherit;
}
.cs-axis-line {
  display: block;
  white-space: nowrap;
}
/* Axis labels positioned right next to the dots on the MIDDLE ring */
/* The cs-axis-vis is a square; the MIDDLE ring (r=130 in viewBox -260..260) is at 50% of the half-width = 25% from the center edge */
/* So labels sit at ~25% inset from each edge, just outside the middle ring */
.cs-axis-top {
  top: 25%;
  left: 50%;
  transform: translate(-50%, -100%);
  padding-bottom: 6px;
}
.cs-axis-bottom {
  bottom: 25%;
  left: 50%;
  transform: translate(-50%, 100%);
  padding-top: 6px;
}
.cs-axis-right {
  top: 50%;
  right: 25%;
  transform: translate(100%, -50%);
  text-align: left;
  align-items: flex-start;
  padding-left: 6px;
}
.cs-axis-left {
  top: 50%;
  left: 25%;
  transform: translate(-100%, -50%);
  text-align: right;
  align-items: flex-end;
  padding-right: 6px;
}

/* Standalone trusted-by section (when split out of hero) */
.cs-trusted-by-section {
  background: var(--navy);
  padding: 40px 0;
}

/* Trusted-by row at bottom of hero: label + logos LEFT-aligned (in own container, aligned with hero text) */
.cs-trusted-by {
  position: relative;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.cs-trusted-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
}
.cs-trusted-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 28px;
}
.cs-trusted-list a {
  display: inline-flex;
  align-items: center;
}
.cs-trusted-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 8px;
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.cs-trusted-list a:hover .cs-trusted-icon { color: var(--white); }
.cs-trusted-list img {
  max-height: 28px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.4);
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.cs-trusted-list a:hover img { opacity: 1; filter: none; }
.cs-trusted-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  transition: color 0.15s ease;
}
.cs-trusted-list a:hover .cs-trusted-name { color: var(--white); }

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.cs-section {
  padding: 96px 0;
}
.cs-section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.cs-section-title {
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}
.cs-section-subtitle {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.55;
}
.cs-section-description {
  font-size: 16px;
  color: var(--gray-text);
  margin-top: 8px;
}
.cs-section-cta {
  margin-top: 48px;
  text-align: center;
}

/* ==========================================================================
   Cards (shared)
   ========================================================================== */
.cs-card-grid {
  display: grid;
  gap: 24px;
}
.cs-card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.cs-card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cs-card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.cs-card {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.10);
}

.cs-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
/* Standalone line icons for problem/service cards (no background) */
.cs-problems .cs-card-icon,
.cs-services .cs-card-icon {
  background: transparent;
  color: var(--accent);
  width: 32px;
  height: 32px;
}
.cs-problems .cs-card-icon i,
.cs-problems .cs-card-icon svg,
.cs-services .cs-card-icon i,
.cs-services .cs-card-icon svg {
  width: 28px;
  height: 28px;
}
/* Colored circle icons for metric cards and case study cards */
.cs-results .cs-card-icon,
.cs-case-studies .cs-card-icon {
  border-radius: 50%;
}
.cs-card-icon i,
.cs-card-icon svg {
  width: 22px;
  height: 22px;
}
.cs-icon-blue { background: rgba(59, 130, 246, 0.12); color: var(--accent); }
.cs-icon-green { background: rgba(16, 185, 129, 0.12); color: var(--metric-green); }
.cs-icon-purple { background: rgba(139, 92, 246, 0.12); color: var(--metric-purple); }
.cs-icon-orange { background: rgba(245, 158, 11, 0.12); color: var(--metric-orange); }

.cs-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.cs-card-text {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.55;
}

/* Problem cards on white background */
.cs-problems { background: var(--white); }
.cs-problems .cs-card { background: var(--white); align-items: center; text-align: center; }

/* Why Engage section — centered items with grey dividers */
.cs-why-engage { background: var(--white); }
.cs-why-engage-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
.cs-why-engage-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.cs-why-item {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 24px;
}
.cs-why-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.cs-why-item-icon i,
.cs-why-item-icon svg {
  width: 24px;
  height: 24px;
}
.cs-why-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.cs-why-item-text {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
  margin: 0;
}
.cs-why-divider {
  width: 1px;
  background: #E5E7EB;
  flex-shrink: 0;
}

/* Without / With ConsulSeer section — full-width split colored halves */
.cs-without-with { background: var(--white); padding: 0; position: relative; }
.cs-without-with-grid {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
}
.cs-without-column {
  flex: 1 1 0%;
  padding: 56px 48px;
}
.cs-without-column--left {
  background: #F3F4F6;
}
.cs-without-column--right {
  background: #E6F0FA;
}
.cs-without-title {
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.2;
}
.cs-without-title--accent {
  color: var(--accent);
}
.cs-without-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.cs-without-divider-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-without-divider-icon i,
.cs-without-divider-icon svg {
  width: 22px;
  height: 22px;
  color: #6B7280;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12));
}
.cs-without-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 400px;
}
.cs-without-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.cs-icon-x,
.cs-icon-x svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #EF4444;
}
.cs-icon-check,
.cs-icon-check svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

/* Industries section */
.cs-industries { background: var(--white); }
.cs-industries-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
}
.cs-industry-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  flex: 1 1 0%;
  justify-content: center;
}
.cs-industry-box-icon,
.cs-industry-box-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}
.cs-industry-box-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

/* Engagement Models section — centered items with grey dividers */
.cs-engagement-models { background: var(--white); }
.cs-em-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
}
.cs-em-item {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 24px;
}
.cs-em-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.cs-em-divider {
  width: 1px;
  background: #E5E7EB;
  flex-shrink: 0;
}
.cs-em-item-icon i,
.cs-em-item-icon svg {
  width: 28px;
  height: 28px;
}
.cs-em-item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.cs-em-item-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}
.cs-em-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
  transition: gap 0.15s ease, color 0.15s ease;
}
.cs-em-item-link:hover {
  gap: 10px;
  color: #0140D9;
}
.cs-em-arrow,
.cs-em-arrow svg {
  width: 16px;
  height: 16px;
}

/* Experience Across Industries and Missions — dark navy, two-column */
.cs-experience-industries { background: var(--navy); padding: 56px 0; }
.cs-ei-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}
.cs-ei-left {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-right: 48px;
}
.cs-ei-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.cs-ei-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}
.cs-ei-cta {
  margin-top: 4px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cs-ei-cta:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #60a5fa;
}
.cs-ei-right {
  flex: 0 0 62%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}
.cs-ei-item {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.cs-ei-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cs-ei-item-icon i,
.cs-ei-item-icon svg {
  width: 48px;
  height: 48px;
}
.cs-ei-item-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

/* Core Capabilities section on light blue background */
.cs-services { background: #EFF6FF; }
.cs-services-head {
  margin-bottom: 32px;
}
.cs-services-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0;
  text-align: left;
}
.cs-services-subtitle {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.55;
  margin-top: 8px;
}

/* Two-column layout: left 40% (4 cards stacked vertically), right 60% (highlighted card full height) */
.cs-services-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 40px;
  align-items: stretch;
}

/* Left column: 4 cards stacked vertically */
.cs-services-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Non-highlighted capability cards (horizontal layout: icon left, text right) */
.cs-cap-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}
.cs-cap-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.cs-cap-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cs-cap-icon i,
.cs-cap-icon svg {
  width: 32px;
  height: 32px;
}
.cs-cap-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-cap-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
  margin: 0;
}
.cs-cap-text {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
  margin: 0;
}

/* Highlighted card (navy background, white text, spans full height of right column) */
.cs-cap-card-highlighted {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 11, 33, 0.2);
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}
/* Text content on the LEFT side of the highlighted card */
.cs-cap-card-highlighted-body {
  padding: 28px 24px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1;
  min-width: 0;
}
/* Hero image on the RIGHT side of the highlighted card */
.cs-cap-hero {
  width: 40%;
  min-width: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}
.cs-cap-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 11, 33, 0.5) 0%, rgba(0, 11, 33, 0.75) 100%);
}
/* 'FEATURED SERVICE' badge label */
.cs-cap-featured-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(1, 84, 249, 0.25);
  border: 1px solid rgba(1, 84, 249, 0.5);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.cs-cap-card-highlighted .cs-cap-title {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 8px;
}
.cs-cap-card-highlighted .cs-cap-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-bottom: 16px;
}
/* Checkboxes: blue filled circles with white checkmarks */
.cs-cap-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cs-cap-bullets li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cs-cap-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.cs-cap-check i,
.cs-cap-check svg {
  width: 11px;
  height: 11px;
  color: var(--white);
  stroke-width: 3;
}
.cs-cap-cta {
  margin-top: 20px;
  align-self: flex-start;
  font-size: 14px;
  padding: 12px 20px;
}

/* Results section on slight light-blue background — two-column layout (heading left, cards right) */
.cs-results { background: var(--white); }
.cs-results .cs-section-title { letter-spacing: 0.005em; text-align: left; }
.cs-results-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.cs-results-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}
.cs-results-subtitle { text-align: left; }
.cs-results-description { text-align: left; margin-top: 0; }
.cs-results-cards { gap: 16px; }
/* Results metric cards: visible light-gray borders + white background + soft box shadows */
.cs-results .cs-metric-card {
  padding: 24px 18px;
  gap: 8px;
  background: var(--white) !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
.cs-results .cs-metric-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1) !important;
  border-color: #D1D5DB !important;
}

.cs-metric-card {
  text-align: center;
  align-items: center;
}
.cs-metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.cs-metric-icon i,
.cs-metric-icon svg { width: 26px; height: 26px; }
.cs-metric-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.cs-metric-label {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.4;
}
.cs-metric-subtext {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.4;
  margin-top: 4px;
}

/* Case studies on white background */
.cs-case-studies { background: #EFF6FF; }
.cs-case-card { gap: 14px; }
.cs-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-top: auto;
  padding-top: 4px;
  transition: gap 0.15s ease, color 0.15s ease;
}
.cs-link-arrow:hover { gap: 10px; color: #0140D9; }
.cs-link-arrow-lg { font-size: 15px; }

/* Results section: CTA removed (now inline in left column) */
.cs-results-cta { display: none; }

/* ==========================================================================
   Pre-footer CTA section (dark navy, eye visual CENTERED behind all text)
   ========================================================================== */
.cs-cta-pre-footer {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
/* Large faded eye visual positioned BEHIND the text on the LEFT side (overlapping with heading) */
.cs-cta-pre-footer-bg {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  margin-left: -200px;
  pointer-events: none;
  z-index: 0;
}
.cs-cta-pre-footer-bg svg {
  width: 100%;
  height: 100%;
}
/* Pre-footer CTA: text content centered in the section, button on the right */
.cs-cta-pre-footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  padding-left: 15%;
  padding-right: 5%;
}
.cs-cta-pre-footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 0 1 auto;
  max-width: 520px;
}
.cs-cta-eye { display: none; } /* eye now rendered as background */
/* Heading ~36px (smaller than hero headline ~48px) */
.cs-cta-pre-footer-title {
  font-size: clamp(2rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}
/* Subtext ~18px, directly below the heading */
.cs-cta-pre-footer-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
  margin: 0;
}
.cs-cta-pre-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.cs-cta-pre-footer-footnote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cs-cta-pre-footer-footnote i,
.cs-cta-pre-footer-footnote svg {
  width: 14px;
  height: 14px;
  color: var(--accent-2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cs-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.cs-footer-inner { display: flex; flex-direction: column; gap: 40px; }

/* Top row: 3 outer columns — brand (wider) + nav cols wrapper (4 cols inside) + Let's Connect */
.cs-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 2.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.cs-footer-brand img { height: 40px; margin-bottom: 18px; }
.cs-footer-tagline {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}
.cs-footer-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 280px;
}

/* Inner 4-column nav grid */
.cs-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cs-footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cs-footer-col ul li { margin-bottom: 10px; }
.cs-footer-col ul li a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.15s ease;
}
.cs-footer-col ul li a:hover { color: var(--white); }

.cs-footer-connect {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
}
.cs-footer-connect-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.cs-footer-social { display: flex; gap: 10px; }
.cs-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.15s ease, color 0.15s ease;
}
.cs-footer-social a:hover { background: var(--accent); color: var(--white); }
.cs-footer-social i,
.cs-footer-social svg { width: 18px; height: 18px; }

.cs-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-line);
}
.cs-footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.cs-footer-legal-links { display: flex; gap: 18px; }
.cs-footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  transition: color 0.15s ease;
}
.cs-footer-legal-links a:hover { color: var(--white); }
/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cs-card-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .cs-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cs-card-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Core Capabilities: two-column collapses to single column, highlighted card below */
  .cs-services-grid { grid-template-columns: 1fr; gap: 20px; }
  .cs-services-left { gap: 12px; }
  /* Highlighted card: image moves below text on smaller screens */
  .cs-cap-card-highlighted { flex-direction: column; }
  .cs-cap-hero { width: 100%; min-width: 0; height: 160px; }

  /* Results two-column collapses to stacked */
  .cs-results-grid { grid-template-columns: 1fr; gap: 36px; }
  .cs-results .cs-section-title { text-align: center; }
  .cs-results-subtitle, .cs-results-description { text-align: center; }
  .cs-results-left { align-items: center; }

  /* Footer collapses to brand on top, then nav cols + connect row */
  .cs-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cs-footer-cols { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .cs-footer-connect { flex-direction: row; align-items: center; justify-content: flex-start; }
}

@media (max-width: 900px) {
  .cs-nav-links { display: none; }
  .cs-nav-menu .cs-btn { display: none; }
  .cs-nav-toggle { display: block; }

  .cs-nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--navy-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .cs-nav-menu.is-open { transform: translateY(0); }
  .cs-nav-menu.is-open .cs-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .cs-nav-menu.is-open .cs-nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 16px;
  }
  .cs-nav-menu.is-open .cs-btn {
    display: inline-flex;
    margin-top: 16px;
    justify-content: center;
  }

  .cs-hero { padding: 56px 0 48px; }
  .cs-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cs-hero-visual { order: -1; }
  .cs-axis-vis { max-width: 420px; }
  .cs-axis-label-text { font-size: 12px; }

  .cs-section { padding: 56px 0; }
  .cs-section-head { margin-bottom: 36px; }

  .cs-cta-pre-footer { padding: 56px 0; }
  .cs-cta-pre-footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cs-cta-pre-footer-right { align-items: flex-start; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }

  .cs-card-grid-5,
  .cs-card-grid-4,
  .cs-card-grid-3 { grid-template-columns: 1fr; }

  .cs-why-engage-grid { flex-direction: column; gap: 0; }
  .cs-why-divider { display: none; }
  .cs-em-grid { flex-direction: column; gap: 0; }
  .cs-em-divider { display: none; }
  .cs-ei-grid { flex-direction: column; gap: 36px; }
  .cs-ei-left { flex: 1 1 0%; align-items: center; text-align: center; }
  .cs-ei-right { flex-wrap: wrap; justify-content: center; }
  .cs-ei-item { min-width: calc(50% - 16px); flex: 1 1 calc(50% - 16px); margin-bottom: 16px; }
  .cs-without-with-grid { flex-direction: column; }
  .cs-without-divider { top: auto; bottom: -20px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .cs-without-divider-icon { margin: 0 auto; }

  .cs-industries-row { flex-wrap: wrap; }
  .cs-industry-box { min-width: calc(50% - 6px); }

  /* Core Capabilities: single column on mobile, cards stack */
  .cs-services-grid { grid-template-columns: 1fr; }
  .cs-cap-card { flex-direction: row; }
  .cs-cap-hero { height: 140px; }

  .cs-hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .cs-hero-subtitle { font-size: 16px; }
  .cs-hero-ctas { flex-direction: column; align-items: stretch; }
  .cs-hero-ctas .cs-btn { justify-content: center; }

  /* Axis labels: stack as a list below the visual on small screens */
  .cs-axis-vis { max-width: 320px; margin: 0 auto; }
  .cs-axis-label { position: static; transform: none; max-width: none; text-align: center !important; align-items: center !important; padding: 6px 0; }
  .cs-axis-label-text { white-space: normal; }
  .cs-axis-svg { position: static; }
  .cs-axis-vis {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
  }
  .cs-axis-svg { width: 280px; height: 280px; margin: 0 auto; }

  .cs-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cs-footer-connect { flex-direction: row; align-items: center; align-self: flex-start; }

  .cs-footer-bottom { flex-direction: column; align-items: flex-start; }
  .cs-footer-legal-links { flex-direction: column; gap: 8px; }

  .cs-metric-value { font-size: 32px; }

  .cs-section-cta .cs-btn { width: 100%; max-width: 320px; }

  .cs-trusted-list { gap: 20px; }
  .cs-trusted-name { font-size: 14px; }
}

@media (max-width: 420px) {
  .cs-nav-brand img { height: 30px; }
}

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

                                /* ==========================================================================
   Legal Modals
   ========================================================================== */
.cs-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.cs-modal-overlay.active {
  display: flex;
}

.cs-modal {
  background: #0A1628;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 40px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
}
.cs-modal h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}
.cs-modal h3 {
  color: #fff;
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.cs-modal p,
.cs-modal ul {
  margin-bottom: 16px;
}
.cs-modal a {
  color: #0154F9;
}

.cs-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.cs-modal-close:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .cs-modal {
    padding: 24px;
    max-height: 90vh;
  }
}

/* ==========================================================================
   Calendly Modal
   ========================================================================== */
.cs-calendly-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.cs-calendly-overlay.active {
  display: flex;
}
.cs-calendly-box {
  background: #fff;
  border-radius: 12px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
}
.cs-calendly-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  border: none;
  cursor: pointer;
}
.cs-calendly-close:hover {
  background: rgba(0,0,0,0.8);
}
.cs-calendly-box iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}
@media (max-width: 640px) {
  .cs-calendly-box {
    max-height: 95vh;
  }
  .cs-calendly-box iframe {
    height: 85vh;
  }
}