:root {
  --navy: #002855;
  --red: #b22234;
  --white: #ffffff;
  --slate: #3a3a3a;
  --ink: #10233d;
  --muted: #5c6675;
  --bg-soft: #f4f7fb;
  --border: #d6deea;
  --success: #0d8a5f;
  --shadow: 0 18px 44px rgba(16, 35, 61, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --header-h: 90px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.logo-inline {
  height: 18px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.45rem;
  display: inline-block;
}

.partner-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.tag-logo {
  height: 14px;
  width: auto;
  object-fit: contain;
}

/* Context-specific logo normalization for consistent visual weight */
.logo-trust-row .partner-logo {
  height: 44px;
  max-width: 160px;
}

.home-cap-grid h3 .logo-inline {
  height: 20px;
  margin-right: 0.38rem;
  position: relative;
  top: -1px;
}

.solution-grid-cards h3 .logo-inline {
  height: 40px;
  margin-right: 0;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.solution-grid-cards h3:has(.logo-inline) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-grid-cards h3 .logo-spendsail {
  height: 50px;
}

.solution-grid-cards .case-study:has(.logo-spendsail) h3 {
  min-height: 160px;
}

.solution-grid-cards h3 .logo-medsynch {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.solution-grid-cards h3 .logo-maxrefund {
  height: 160px;
}

.ms-gold .logo-inline {
  height: 24px;
  margin-right: 0.5rem;
  position: relative;
  top: -1px;
}

.page-hero h1 .logo-inline {
  height: 24px;
  margin-right: 0.5rem;
  position: relative;
  top: -2px;
}

.tag .tag-logo {
  height: 13px;
}

.container {
  width: min(var(--max), calc(100vw - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: normal;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 80px;
}

.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu .mobile-actions {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.15;
  color: var(--ink);
  padding: 0.36rem 0.42rem;
  min-height: 40px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--navy);
  background: #edf3fb;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-actions .btn {
  min-height: 42px;
  font-size: 0.84rem;
  padding: 0.68rem 0.98rem;
}

.btn:focus-visible {
  outline: 3px solid rgba(178, 34, 52, 0.28);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(16, 35, 61, 0.16);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(178, 34, 52, 0.24);
}

.btn-primary:hover {
  background: #9d1e2d;
}

.btn-secondary {
  background: #edf3fb;
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid #9eb2cf;
}

.cta-band .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.68);
}

.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

main {
  min-height: 62vh;
}

section {
  padding: 5.4rem 0;
  position: relative;
}

section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(214, 222, 234, 0) 0%,
    rgba(214, 222, 234, 0.9) 22%,
    rgba(214, 222, 234, 0.9) 78%,
    rgba(214, 222, 234, 0) 100%
  );
}

.hero + .capability-strip::before,
.capability-strip + section::before,
.dark-section::before,
.cta-band::before,
.page-hero + section::before {
  display: none;
}

.hero {
  padding-top: 6.4rem;
  background:
    linear-gradient(120deg, rgba(0, 40, 85, 0.96), rgba(0, 40, 85, 0.9)),
    radial-gradient(circle at 84% 16%, rgba(178, 34, 52, 0.32), transparent 44%);
  color: var(--white);
}

.home-hero {
  padding-top: 0.9rem;
  padding-bottom: 0;
  background: #eceff4;
}

.home-hero-panel {
  border-radius: 20px;
  overflow: hidden;
  min-height: 460px;
  color: var(--white);
  box-shadow: 0 22px 50px rgba(16, 35, 61, 0.22);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(104deg, rgba(0, 40, 85, 0.88) 0%, rgba(0, 40, 85, 0.66) 52%, rgba(0, 27, 58, 0.2) 100%),
    url("../img/hero-banner-background.png");
  background-size: cover;
  background-position: center center;
}

.home-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 40, 85, 0.34) 0%, rgba(0, 40, 85, 0.16) 40%, rgba(0, 20, 44, 0.44) 100%),
    radial-gradient(circle at 74% 46%, rgba(255, 255, 255, 0.14), transparent 32%);
}

.home-hero-content {
  padding: 2.5rem 2.5rem 2.25rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-program-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.6rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-headline {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.home-hero-sub {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.65;
  width: 100%;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.home-hero-sub p {
  margin: 0 0 0.85rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.home-hero-sub p:last-child {
  margin-bottom: 0;
}

.home-hero .hero-cta .btn-primary {
  box-shadow: 0 14px 28px rgba(178, 34, 52, 0.34);
}

.home-hero .hero-cta .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.home-hero .hero-cta .btn-primary:hover {
  box-shadow: 0 20px 32px rgba(178, 34, 52, 0.38);
}

.partner-strip {
  background: #ffffff;
  padding: 1.1rem 0 1rem;
  border-bottom: 1px solid #d9e1ee;
}

.partner-strip .container {
  max-width: var(--max);
}

.logo-trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  width: 100%;
}

.logo-trust-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  color: #57647a;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.logo-trust-row span:hover {
  transform: translateY(-1px);
  color: #223a5b;
}

.logo-trust-row span:has(img)::before {
  display: none;
}

.micro-cap-row {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.77rem;
  color: #6a778c;
  border-top: 1px solid #e4eaf3;
}

.micro-cap-row li::before {
  content: "◆";
  margin-right: 0.35rem;
  font-size: 0.63rem;
  color: #90a1bb;
}

.top-conversion {
  background: #f8fbff;
  padding: 1.15rem 0 1.35rem;
}

.top-conversion-box {
  border: 1px solid #d4dfef;
  border-radius: 16px;
  background: #ffffff;
  padding: 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  box-shadow: 0 12px 26px rgba(16, 35, 61, 0.08);
}

.top-conversion-content {
  max-width: 56ch;
}

.top-conversion-box h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.top-conversion-box p {
  margin: 0;
  color: #445a77;
}

.top-conversion-cta .btn {
  padding: 1.17rem 1.8rem;
  font-size: 1.35rem;
}

.top-conversion .btn-primary {
  box-shadow: 0 14px 26px rgba(178, 34, 52, 0.3);
}

.what-we-do {
  background: #ffffff;
  padding: 3.25rem 0;
}

.section-kicker {
  text-align: center;
  margin: 0 0 0.25rem;
  color: #68758a;
  font-size: 0.9rem;
}

.section-kicker.left {
  text-align: left;
  color: #e6ecfa;
}

.what-we-do h2 {
  text-align: center;
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
}

.what-we-do .section-lead {
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  margin-bottom: 1.6rem;
  font-size: 1rem;
}

.home-cap-grid .card {
  border-radius: 14px;
  background: #f7f9fc;
  padding: 1.1rem 1rem 1rem;
  border: 1px solid #d8e2f0;
  box-shadow: 0 8px 24px rgba(16, 35, 61, 0.08);
}

.cap-label {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6f819f;
}

.home-cap-grid .card h3 {
  font-size: 1.07rem;
  text-align: center;
}

.home-cap-grid .card p {
  text-align: center;
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* AI Framework Phases */
.ai-framework {
  padding: 2.5rem 0;
}

.ai-framework h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.ai-framework .section-lead {
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.ai-phases {
  display: grid;
  gap: 1.5rem;
}

.ai-phase {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.phase-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.ai-phase h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.ai-phase ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.ai-phase ul.capability-list li {
  margin-bottom: 0.5rem;
}

.ai-phase p {
  margin: 0 0 0.5rem;
}

.ai-phase p:last-of-type {
  margin-bottom: 0;
}

.ai-framework .ai-phase ul.capability-list li {
  color: var(--navy);
}

/* Dual Approach */
.dual-approach {
  padding: 2.5rem 0;
}

.dual-approach h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.dual-approach .section-lead {
  text-align: center;
  max-width: 65ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.dual-approach-cards {
  max-width: 700px;
  margin-inline: auto;
}

.dual-approach-note {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: var(--muted);
}

/* Solution proof text */
.solution-proof {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #d4e2fb;
}

/* Why Us - strategic card centered */
.why-us-strategic {
  max-width: 360px;
  margin: 1rem auto 0;
}

/* Industries */
.industries-we-support {
  padding: 2.5rem 0;
}

.industries-we-support .section-kicker {
  margin-bottom: 0.35rem;
}

.industries-we-support h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.industries-we-support .section-lead {
  text-align: center;
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  max-width: 820px;
  margin-inline: auto;
}

.industry-pill {
  text-align: center;
  padding: 0.95rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin: 0;
  min-height: auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industry-pill:hover {
  transform: translateY(-2px);
  border-color: #aac0df;
  box-shadow: 0 12px 24px rgba(16, 35, 61, 0.12);
}

/* Future of AI */
.future-of-ai {
  padding: 2rem 0;
}

.future-of-ai h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.future-of-ai p {
  text-align: center;
  max-width: 65ch;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.future-of-ai p:last-child {
  margin-bottom: 0;
}

/* Start Transformation CTA */
.start-transformation {
  padding: 2.5rem 0;
}

.section-kicker-light {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 0.35rem;
}

.start-transformation-headline {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  color: var(--white);
}

.start-transformation-lead {
  text-align: center;
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: #dbe6fa;
  font-size: 1.05rem;
}

.start-transformation-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 780px;
  margin-inline: auto;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.start-transformation-content {
  flex: 1;
  min-width: 220px;
}

.start-transformation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.contact-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.start-transformation .contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.start-transformation .contact-details li {
  margin-bottom: 0.4rem;
}

.start-transformation .contact-details strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-right: 0.35rem;
}

.start-transformation .contact-details a {
  color: #d8e4fb;
  font-weight: 500;
  font-size: 1rem;
}

.start-transformation .contact-details a:hover {
  color: var(--white);
}

.ai-lifecycle {
  background: linear-gradient(105deg, #fbfcff 0%, #f7faff 48%, #e8f0fb 100%);
  padding: 2.9rem 0 2.6rem;
}

.middle-banner {
  position: relative;
  background:
    linear-gradient(110deg, rgba(0, 40, 85, 0.88) 0%, rgba(0, 40, 85, 0.66) 52%, rgba(5, 33, 68, 0.22) 100%),
    url("../img/middle-banner.png");
  background-size: cover;
  background-position: center right;
  min-height: 410px;
}

.middle-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 40, 85, 0.24) 0%, rgba(0, 40, 85, 0) 52%);
  pointer-events: none;
}

.middle-banner .container {
  position: relative;
  z-index: 1;
}

.middle-banner h2,
.middle-banner p {
  color: #eef4ff;
}

.middle-banner .script-accent {
  color: #ffffff;
}

.middle-banner .heading-accent {
  color: #ff5b6b;
}

.ai-lifecycle .container > h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.9rem, 3.1vw, 2.5rem);
  letter-spacing: -0.01em;
}

.ai-lifecycle .section-lead.left {
  text-align: left;
  margin-bottom: 1.15rem;
}

.script-accent {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-weight: 500;
  font-size: 1.7rem;
  color: #1f2f45;
  margin-right: 0.35rem;
}

.heading-accent {
  color: var(--red);
}

.home-list {
  margin: 1rem 0 0;
  padding-left: 1.05rem;
}

.home-list li {
  margin-bottom: 0.55rem;
}

.home-list.two-col {
  columns: 2;
  column-gap: 1.4rem;
}

.solution-grid-cards .case-study {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.1rem 1rem;
  border: 1px solid #d7e2f1;
  box-shadow: 0 8px 16px rgba(7, 23, 47, 0.14);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.solution-grid-cards .case-study h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.solution-grid-cards .case-study h3:has(.logo-inline) {
  padding-top: 0.25rem;
}

.solution-grid-cards .case-study p {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.solution-grid-cards .case-study h3:has(.logo-inline) + p {
  margin-top: 0.15rem;
}

.solution-grid-cards .btn {
  margin-top: auto;
  width: 100%;
  background: #edf3fb;
  color: var(--navy);
  border: 1px solid #c3d1e7;
  box-shadow: 0 4px 12px rgba(0, 40, 85, 0.08);
}

.solution-grid-cards .btn:hover {
  background: #dce8f7;
  color: var(--navy);
  border-color: #9eb2cf;
  box-shadow: 0 6px 16px rgba(0, 40, 85, 0.12);
}

.solution-grid-cards .case-study:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 30px rgba(16, 35, 61, 0.12);
}

.home-inline-cta {
  margin-top: 1rem;
  border: 1px solid #d2dced;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.95rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home-inline-cta p {
  margin: 0;
  color: #233b5c;
  font-weight: 600;
}

.microsoft-home {
  background: linear-gradient(125deg, rgba(0, 40, 85, 0.97), rgba(4, 37, 79, 0.94));
  color: #fff;
  padding: 2.7rem 0;
}

.bottom-banner {
  position: relative;
  background:
    linear-gradient(102deg, rgba(0, 40, 85, 0.84) 0%, rgba(0, 40, 85, 0.6) 46%, rgba(5, 33, 68, 0.22) 100%),
    url("../img/bottom-banner.png");
  background-size: cover;
  background-position: center right;
  min-height: 330px;
}

.bottom-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 40, 85, 0.24) 0%, rgba(0, 40, 85, 0.02) 45%, rgba(0, 40, 85, 0) 72%);
  pointer-events: none;
}

.bottom-banner .container {
  position: relative;
  z-index: 1;
}

.microsoft-home h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.45rem);
  margin-bottom: 1rem;
}

.microsoft-home h2,
.microsoft-home p,
.microsoft-home li {
  color: #e2ebfb;
}

.microsoft-home .ms-gold {
  color: #ffde89;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.microsoft-home .btn-primary {
  margin-top: 0.6rem;
}

.bottom-banner .section-lead.left {
  color: #e4ecfb;
  max-width: 58ch;
  margin-bottom: 0.9rem;
}

.bottom-banner .split {
  grid-template-columns: 1fr 0.75fr;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.2rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  font-size: 0.75rem;
  color: #d0dff8;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.9rem;
  font-family: Montserrat, "Segoe UI", sans-serif;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero p {
  color: #dce7fa;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.home-hero .hero-cta .btn {
  padding: 1.17rem 1.8rem;
  font-size: 1.35rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.hero-panel ul {
  margin: 0;
  padding-left: 1rem;
  color: #edf3ff;
}

.capability-strip {
  background: #f8fbff;
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.capability-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.46rem 0.9rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.82rem;
}

.section-lead {
  max-width: 74ch;
  margin-bottom: 2.2rem;
  font-size: 1.04rem;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1.2rem;
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 3px 10px rgba(16, 35, 61, 0.06);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.card h3 {
  color: var(--navy);
}

.card p {
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #aac0df;
  box-shadow: 0 20px 34px rgba(16, 35, 61, 0.13);
}

.card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.dark-section {
  background: var(--navy);
}

.section-alt {
  background: var(--bg-soft);
}

.dark-section h2,
.dark-section h3 {
  color: var(--white);
}

.dark-section p,
.dark-section li {
  color: #dbe6fa;
}

.dark-section .card h3,
.dark-section .card p,
.dark-section .card li {
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  background: rgba(178, 34, 52, 0.12);
  color: var(--red);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

.stat {
  background: #f7fafe;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-family: Montserrat, "Segoe UI", sans-serif;
}

.our-story-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.image-placeholder {
  border-radius: var(--radius);
  border: 1px dashed #8fa7cb;
  background:
    linear-gradient(130deg, rgba(0, 40, 85, 0.08), rgba(178, 34, 52, 0.08));
  padding: 2.2rem;
  color: var(--ink);
}

.cta-band {
  background: linear-gradient(130deg, #001f43, #012d5f);
  color: var(--white);
}

.cta-band p {
  color: #dbe6fa;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.footer {
  background: #06182f;
  color: #eaf1ff;
  padding: 3.2rem 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.footer h3,
.footer h4 {
  color: #f4f8ff;
  margin-bottom: 0.7rem;
}

.footer a {
  color: #d8e4fb;
}

.footer a:hover {
  color: var(--white);
}

.footer-sdvosb-logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-meta {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(130deg, #031f40, #0c315e);
  color: var(--white);
  padding: 5.4rem 0 3.7rem;
}

.page-hero p {
  color: #dae8ff;
  max-width: 68ch;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #bfd4f4;
  margin-bottom: 0.8rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card h3 {
  margin-bottom: 0.2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  border-left: 3px solid var(--red);
  padding-left: 1rem;
}

.case-study {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--white);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.case-study h3 {
  color: var(--navy);
}

.case-study:hover {
  transform: translateY(-4px);
  border-color: #aac0df;
  box-shadow: 0 18px 30px rgba(16, 35, 61, 0.12);
}

/* Case-studies page: logos at top, sizes match home "Real AI Systems" section */
.case-studies-section .case-study-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 160px;
  margin-bottom: 1rem;
}

.case-studies-section .case-study-logo .logo-spendsail {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.case-studies-section .case-study-logo .logo-medsynch {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.case-studies-section .case-study-logo .logo-maxrefund {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #b8c8e2;
  padding: 0.3rem 0.7rem;
  font-size: 0.77rem;
  font-weight: 700;
  color: #304664;
}

.tag img {
  vertical-align: middle;
  margin-right: 0.35rem;
}

.industry-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem;
  background: #fbfdff;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 25px rgba(16, 35, 61, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
}

.contact-item {
  margin-bottom: 0.8rem;
}

form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 3px 10px rgba(16, 35, 61, 0.06);
}

label {
  display: block;
  margin-bottom: 0.32rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c6d4e9;
  border-radius: 10px;
  font: inherit;
  padding: 0.74rem 0.8rem;
  margin-bottom: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 40, 85, 0.18);
  border-color: var(--navy);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.newsletter {
  border: 1px dashed #9eb2cf;
  border-radius: 12px;
  padding: 1rem;
  background: #f8fbff;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.kpi {
  background: #f8fbff;
  border: 1px solid #ced9ec;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}

.kpi strong {
  display: block;
  font-family: Montserrat, "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: 0.9rem;
}

.page-hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.mini-cta {
  margin-top: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.mini-cta p {
  margin: 0;
  color: #324b68;
  font-weight: 600;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 0.8rem 1.05rem;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 16px 30px rgba(178, 34, 52, 0.32);
  transition: transform 0.2s ease, background 0.2s ease;
}

.sticky-cta:hover {
  transform: translateY(-2px);
  background: #9d1e2d;
}

.reveal-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 1080px) {
  .nav-link {
    font-size: 0.9rem;
  }

  .nav-actions .btn {
    font-size: 0.84rem;
    padding: 0.72rem 1.02rem;
  }

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

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

@media (max-width: 1460px) {
  .nav-wrap {
    gap: 0.7rem;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.82rem;
    padding: 0.3rem 0.35rem;
    min-height: 36px;
  }

  .nav-actions .btn {
    font-size: 0.8rem;
    padding: 0.62rem 0.86rem;
    min-height: 38px;
  }
}

@media (max-width: 1320px) {
  .nav-wrap {
    grid-template-columns: auto 1fr;
  }

  .nav-actions {
    display: none;
  }

  .nav-menu {
    justify-content: flex-end;
    gap: 0.42rem;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 72px;
  }

  .hero-grid,
  .split,
  .grid-3,
  .grid-2,
  .contact-grid,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-wrap {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 2px);
    left: 4vw;
    right: 4vw;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

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

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.7rem;
  }

  .nav-menu .mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0.4rem;
  }

  .brand-logo {
    height: 56px;
  }

  .brand {
    min-height: 56px;
  }

  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    text-align: center;
  }

  body {
    padding-bottom: 74px;
  }

  .home-hero {
    padding-top: 0.4rem;
  }

  .home-hero-content {
    padding: 1.75rem 1.1rem 1.45rem;
  }

  .hero-headline {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .logo-trust-row {
    justify-content: flex-start;
    gap: 0.75rem 1rem;
  }

  .home-list.two-col {
    columns: 1;
  }

  .micro-cap-row {
    justify-content: flex-start;
    gap: 0.6rem 0.95rem;
  }

  .middle-banner,
  .bottom-banner {
    min-height: 0;
    background-position: center;
  }

  .top-conversion-box {
    flex-direction: column;
    align-items: stretch;
  }

  .top-conversion .hero-cta {
    width: 100%;
  }

  .top-conversion .hero-cta .btn {
    width: 100%;
  }

  .home-inline-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .home-inline-cta .btn {
    width: 100%;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .start-transformation-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .start-transformation-actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  section {
    padding: 4.1rem 0;
  }

  .hero {
    padding-top: 5.7rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .capability-list li {
    font-size: 0.76rem;
  }

  .page-hero {
    padding: 4.8rem 0 3.2rem;
  }

  .logo-trust-row span {
    font-size: 0.86rem;
  }

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

  .logo-trust-row .partner-logo {
    height: 36px;
    max-width: 130px;
  }

  .page-hero h1 .logo-inline {
    height: 20px;
    top: -1px;
  }

  .home-hero .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero .hero-cta .btn {
    width: 100%;
  }
}

/* CTA buttons: consistent size on mobile to prevent text overflow */
@media (max-width: 920px) {
  .btn {
    font-size: 0.88rem;
    padding: 0.72rem 1rem;
    white-space: normal;
    text-align: center;
  }

  .hero-cta .btn,
  .page-hero-actions .btn,
  .cta-box .hero-cta .btn,
  .top-conversion-cta .btn,
  .top-conversion .hero-cta .btn,
  .home-hero .hero-cta .btn,
  .home-inline-cta .btn {
    font-size: 0.88rem;
    padding: 0.72rem 1rem;
    white-space: normal;
    text-align: center;
  }
}
