/* ============================================================
   CS Technology — Design System Tokens & Base Styles
   Confident, credible IT consulting. Navy + accent blue + teal.
   ============================================================ */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Brand — deep navy */
  --cs-navy-900: #061a2e;
  --cs-navy-800: #0a2540;
  --cs-navy-700: #133559;
  --cs-navy-600: #1f4672;

  /* Text — slate */
  --cs-slate-900: #1b2733;
  --cs-slate-800: #2b3a4d;
  --cs-slate-700: #425466;
  --cs-slate-500: #8492a6;
  --cs-slate-400: #a8b3c2;

  /* Surfaces */
  --cs-bg: #f7f9fc;
  --cs-surface: #ffffff;
  --cs-surface-alt: #f1f4f9;
  --cs-hairline: #e5e9f2;
  --cs-hairline-strong: #d8dfe9;

  /* Accent blue */
  --cs-blue-600: #2446cc;
  --cs-blue-500: #2e5bff;
  --cs-blue-400: #5a7eff;
  --cs-blue-50: #eef2ff;

  /* Trust teal */
  --cs-teal-700: #007c79;
  --cs-teal-600: #00a9a5;
  --cs-teal-50: #e6f6f5;

  /* Status */
  --cs-success: #0a8f5c;
  --cs-warning: #b77a00;
  --cs-danger: #c4354a;

  /* Semantic aliases */
  --fg-primary: var(--cs-navy-800);
  --fg-body: var(--cs-slate-700);
  --fg-muted: var(--cs-slate-500);
  --fg-on-navy: #ffffff;
  --fg-on-navy-muted: rgba(255, 255, 255, 0.72);
  --fg-on-navy-subtle: rgba(255, 255, 255, 0.48);
  --bg-page: var(--cs-bg);
  --bg-surface: var(--cs-surface);
  --bg-inverse: var(--cs-navy-800);
  --border-default: var(--cs-hairline);
  --border-strong: var(--cs-hairline-strong);
  --border-on-navy: rgba(255, 255, 255, 0.12);
  --accent: var(--cs-blue-500);
  --accent-hover: var(--cs-blue-600);
  --trust: var(--cs-teal-600);

  /* Typography */
  --font-display: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-2xl: 30px;
  --fs-3xl: 40px;
  --fs-4xl: 56px;

  /* Line height */
  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.5;
  --lh-body: 1.6;

  /* Tracking */
  --tracking-tight: -0.02em;
  --tracking-wide: 0.08em;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 1px rgba(10, 37, 64, 0.04);
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 1px rgba(10, 37, 64, 0.03);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.10), 0 2px 6px rgba(10, 37, 64, 0.05);
  --shadow-focus: 0 0 0 3px rgba(46, 91, 255, 0.25);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --reading-column: 680px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 280ms;

  /* Legacy aliases — map old variable names to the new palette */
  --cs-primary: var(--cs-blue-500);
  --cs-primary-hover: var(--cs-blue-600);
  --cs-secondary: var(--cs-teal-600);
  --cs-secondary-hover: var(--cs-teal-700);
  --cs-dark: var(--cs-navy-800);
  --cs-darker: var(--cs-navy-900);
  --cs-text: var(--cs-slate-700);
  --cs-text-secondary: var(--cs-slate-500);
  --cs-text-on-dark: rgba(255, 255, 255, 0.48);
  --cs-text-on-dark-subtle: rgba(255, 255, 255, 0.72);
  --cs-border-on-dark: rgba(255, 255, 255, 0.12);
  --cs-icon-olive-bg: rgba(46, 91, 255, 0.08);
  --cs-icon-blue-bg: rgba(0, 169, 165, 0.08);
}

/* ============================================================
   BASE STYLES
   ============================================================ */

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--fg-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--fg-primary);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}

/* ============================================================
   LEGACY UTILITY CLASSES (backward compatibility)
   ============================================================ */

.accent-bar { width: 24px; height: 2px; background: var(--cs-blue-500); margin-bottom: 14px; }
.accent-bar-lg { width: 32px; height: 2px; background: var(--cs-blue-500); margin-bottom: 24px; }
.link-olive { color: var(--accent); text-decoration: none; border-bottom: 0.5px solid var(--accent); padding-bottom: 1px; font-size: 12px; }
.link-olive:hover { color: var(--accent-hover); border-color: var(--accent-hover); }
.text-cs-primary { color: var(--cs-blue-500) !important; }
.bg-cs-dark { background-color: var(--cs-navy-800) !important; }
img { max-width: 100%; height: auto; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

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

.cs-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--trust);
}

.cs-eyebrow-blue {
  color: var(--cs-blue-400);
}

.cs-mono {
  font-family: var(--font-mono);
  font-feature-settings: "zero", "ss02";
}

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */

.cs-topbar {
  background: var(--cs-navy-900);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  padding: 8px 0;
  font-family: var(--font-sans);
}

.cs-topbar a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.cs-topbar a:hover {
  color: #fff;
}

.cs-topbar .topbar-icon {
  width: 13px;
  height: 13px;
  vertical-align: -1px;
  margin-right: 6px;
  opacity: 0.5;
}

.cs-topbar .portal-link {
  color: var(--cs-teal-600) !important;
}

.cs-topbar .portal-link:hover {
  color: #fff !important;
}

/* ============================================================
   MAIN NAVIGATION
   ============================================================ */

.cs-navbar {
  background: var(--cs-navy-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
}

.cs-navbar-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.cs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-brand-logo {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.cs-footer-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.cs-brand-bar {
  width: 4px;
  height: 22px;
  background: var(--cs-blue-500);
  border-radius: 1px;
  flex-shrink: 0;
}

.cs-brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff !important;
}

.cs-nav-links {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.cs-nav-links a,
.cs-nav-links .nav-link {
  color: var(--fg-on-navy-muted) !important;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out);
}

.cs-nav-links a:hover,
.cs-nav-links .nav-link:hover {
  color: #fff !important;
}

.cs-nav-links a.active,
.cs-nav-links .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--cs-blue-500);
}

.cs-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-nav-right .nav-contact {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--fg-on-navy-muted) !important;
  text-decoration: none;
  padding: 10px 2px;
}

.cs-nav-right .nav-contact:hover {
  color: #fff !important;
}

/* ============================================================
   DROPDOWN MENU (navy theme)
   ============================================================ */

.cs-navbar .dropdown-menu {
  background: var(--cs-navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 8px 0;
}

.cs-navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding: 8px 16px;
}

.cs-navbar .dropdown-item:hover {
  background: var(--cs-blue-500);
  color: #fff;
}

.cs-navbar .dropdown-toggle::after {
  opacity: 0.5;
}

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

.btn-cs-accent {
  background: var(--cs-blue-500);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-cs-accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-cs-primary {
  background: var(--cs-navy-800);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-cs-primary:hover {
  background: var(--cs-navy-700);
  color: #fff;
}

.btn-cs-accent.btn-lg,
.btn-cs-primary.btn-lg {
  padding: 12px 22px;
  font-size: 14px;
}

.btn-cs-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-cs-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-cs-outline {
  background: #fff;
  color: var(--cs-navy-800);
  border: 1px solid var(--cs-hairline);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  transition: all var(--dur-fast) var(--ease-out);
}

.btn-cs-outline:hover {
  border-color: var(--cs-hairline-strong);
  color: var(--cs-navy-800);
}

/* ============================================================
   IDEAL FOR PILL
   ============================================================ */

.ideal-for {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.ideal-for-enterprise {
  background: var(--cs-blue-50);
  color: var(--cs-blue-600);
  border: 1px solid rgba(46, 91, 255, 0.18);
}

.ideal-for-smb {
  background: var(--cs-bg);
  color: var(--cs-slate-700);
  border: 1px solid var(--cs-hairline);
}

.ideal-for-both {
  background: var(--cs-teal-50);
  color: var(--cs-teal-700);
  border: 1px solid rgba(0, 169, 165, 0.25);
}

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

.cs-footer {
  background: var(--cs-navy-800);
  color: rgba(255, 255, 255, 0.62);
  padding: 56px 0 24px;
  font-family: var(--font-sans);
}

.cs-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-footer .footer-heading {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cs-footer .footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.6;
  font-size: 13px;
}

.cs-footer .footer-certs {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cs-teal-600);
}

.cs-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding: 4px 0;
  font-size: 13px;
  transition: color var(--dur-fast) var(--ease-out);
}

.cs-footer a:hover {
  color: #fff;
}

.cs-footer .footer-contact-info {
  color: rgba(255, 255, 255, 0.72);
  padding: 4px 0;
  font-size: 13px;
}

.cs-footer .footer-address {
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 0;
  line-height: 1.55;
  font-size: 13px;
}

.cs-copyright {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

.cs-copyright a {
  display: inline;
  color: inherit;
  margin-right: 18px;
  font-size: 11.5px;
}

.cs-copyright a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   SECTION STYLES
   ============================================================ */

.section-white { background: var(--cs-surface); }
.section-alt { background: var(--cs-bg); }
.section-navy { background: var(--cs-navy-800); color: #fff; }

/* ============================================================
   SERVICE CARDS GRID
   ============================================================ */

.cs-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cs-hairline);
  border: 1px solid var(--cs-hairline);
  border-radius: 8px;
  overflow: hidden;
}

.cs-service-card {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: background var(--dur-fast) var(--ease-out);
}

.cs-service-card:hover {
  background: #fafbfd;
}

.cs-service-card .card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cs-service-card .card-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cs-slate-500);
}

.cs-service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.cs-service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-body);
  margin-bottom: 20px;
}

.cs-service-card .card-footer-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--cs-hairline);
}

.cs-service-card .explore-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.cs-service-card .explore-link:hover {
  color: var(--accent-hover);
}

/* ============================================================
   WHY US GRID
   ============================================================ */

.cs-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--cs-hairline);
}

.cs-why-card {
  background: #fff;
  padding: 24px 28px;
}

.cs-why-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-primary);
  margin: 14px 0 8px;
}

.cs-why-card p {
  font-size: 13.5px;
  color: var(--fg-body);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   STATS GRID (on navy)
   ============================================================ */

.cs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.cs-stat-cell {
  background: var(--cs-navy-800);
  padding: 28px 22px;
}

.cs-stat-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: #fff;
}

.cs-stat-unit {
  font-size: 16px;
  color: var(--cs-teal-600);
  margin-left: 2px;
}

.cs-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

/* ============================================================
   HERO STATS (inline on hero)
   ============================================================ */

.cs-hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-hero-stat-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.cs-hero-stat-unit {
  font-size: 18px;
  color: var(--cs-teal-600);
  margin-left: 2px;
}

.cs-hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

/* ============================================================
   METHODOLOGY PANEL
   ============================================================ */

.cs-methodology {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(255, 255, 255, 0.02);
}

.cs-methodology .method-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cs-blue-400);
  margin-bottom: 16px;
}

.cs-methodology .method-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.cs-methodology .method-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.cs-methodology .method-title {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

.cs-methodology .method-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   INSIGHTS CARDS
   ============================================================ */

.cs-insight-thumb {
  height: 160px;
  background: var(--cs-surface-alt);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cs-hairline);
}

.cs-insight-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-primary);
  background: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--cs-hairline);
}

.cs-insight-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cs-slate-500);
  margin-bottom: 8px;
}

/* ============================================================
   INDUSTRIES STRIP
   ============================================================ */

.cs-industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.cs-industry-item {
  padding: 20px 24px;
  cursor: pointer;
  text-decoration: none;
}

.cs-industry-item + .cs-industry-item {
  border-left: 1px solid var(--cs-hairline);
  padding-left: 24px;
}

.cs-industry-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 6px;
}

.cs-industry-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cs-teal-600);
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cs-cta-banner {
  background: var(--cs-navy-800);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cs-cta-banner .dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================================
   PARTNER STRIP
   ============================================================ */

.cs-partner-strip {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--cs-hairline);
}

.cs-partner-list {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  opacity: 0.6;
  flex: 1;
}

.cs-partner-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--cs-slate-700);
  letter-spacing: -0.01em;
}

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

.cs-case-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--cs-hairline);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-fast);
}

.cs-case-row:last-child {
  border-bottom: 1px solid var(--cs-hairline);
}

.cs-case-row:hover {
  background: var(--cs-bg);
}

.cs-case-industry {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cs-teal-600);
  letter-spacing: 0.04em;
}

.cs-case-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.cs-case-metrics {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-body);
}

/* ============================================================
   CONTACT FORM (new design)
   ============================================================ */

.cs-contact-track-toggle {
  display: inline-flex;
  border: 1px solid var(--cs-hairline);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.cs-contact-track-toggle button {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--dur-fast);
  background: transparent;
  color: var(--fg-body);
}

.cs-contact-track-toggle button.active {
  background: var(--cs-navy-800);
  color: #fff;
}

.cs-form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-primary);
  margin-bottom: 6px;
  font-family: var(--font-sans);
}

.cs-form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--cs-hairline-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--fg-primary);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.cs-form-input:focus {
  outline: none;
  border-color: var(--cs-blue-500);
  box-shadow: var(--shadow-focus);
}

/* ============================================================
   WHAT HAPPENS NEXT SIDEBAR
   ============================================================ */

.cs-next-steps {
  background: var(--cs-bg);
  padding: 32px;
  border-radius: 8px;
}

.cs-next-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 14px 0;
}

.cs-next-step + .cs-next-step {
  border-top: 1px solid var(--cs-hairline);
}

.cs-next-step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cs-teal-600);
}

.cs-next-step .step-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-primary);
  margin-bottom: 4px;
}

.cs-next-step .step-desc {
  font-size: 13px;
  color: var(--fg-body);
  line-height: 1.5;
}

/* ============================================================
   FOCUS STATES
   ============================================================ */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ============================================================
   SVG ICON HELPER
   ============================================================ */

.cs-icon {
  display: inline-block;
  vertical-align: middle;
}

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

@media (max-width: 767.98px) {
  .cs-topbar .cs-container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .cs-navbar-inner {
    padding: 14px 16px;
    flex-wrap: wrap;
  }

  .cs-brand-logo {
    height: 40px;
    max-width: 170px;
  }

  .cs-nav-links {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-left: 0;
    padding-top: 16px;
  }

  .cs-nav-right {
    width: 100%;
    justify-content: center;
    padding-top: 12px;
  }

  .cs-service-grid {
    grid-template-columns: 1fr !important;
  }

  .cs-why-grid {
    grid-template-columns: 1fr !important;
  }

  .cs-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .cs-hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .cs-industries-grid {
    grid-template-columns: 1fr !important;
  }

  .cs-industry-item + .cs-industry-item {
    border-left: none;
    border-top: 1px solid var(--cs-hairline);
    padding-left: 0;
  }

  .cs-cta-banner {
    grid-template-columns: 1fr !important;
    padding: 32px 24px;
    gap: 24px;
  }

  .cs-case-row {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .cs-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .cs-copyright {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .cs-container {
    padding: 0 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cs-service-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .cs-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .cs-industries-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .cs-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px;
  }
}

@media print {
  .cs-topbar, .cs-navbar, .cs-footer { display: none !important; }
  main { padding: 0 !important; }
  body { background: #fff !important; color: #000 !important; }
}
