:root {
  --navy: #0b1f33;
  --blue: #0f4c81;
  --light-blue: #e8f3ff;
  --accent: #4da3ff;
  --slate: #536173;
  --text: #172033;
  --muted: #f5f8fb;
  --white: #ffffff;
  --line: #dce6f1;
  --shadow: 0 20px 50px rgba(11, 31, 51, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.1rem; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; }
.muted { background: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,230,241,0.8);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: var(--white); font-size: 0.95rem; letter-spacing: -0.03em;
  box-shadow: 0 12px 26px rgba(15, 76, 129, 0.25);
}
.brand-text { letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--slate); font-weight: 600; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 12px 18px;
  border-radius: 999px;
}
.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

.hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(77, 163, 255, 0.18), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 800; margin: 0 0 14px; }
.eyebrow.light { color: #a9d4ff; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.045em; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2.65rem, 6vw, 5rem); max-width: 780px; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.25rem; }
.hero-subtitle { font-size: 1.18rem; color: var(--slate); max-width: 660px; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; border-radius: 999px; font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 14px 28px rgba(15,76,129,0.24); }
.btn-primary:hover { background: #0b3f6c; }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn-outline { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.full { width: 100%; }
.cred-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; }
.cred-row div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 10px 24px rgba(11,31,51,0.05); }
.cred-row strong { display:block; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.cred-row span { display:block; color: var(--slate); font-size: .88rem; margin-top: 4px; }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
}
.card-badge { display:inline-flex; background: var(--light-blue); color: var(--blue); padding: 8px 12px; border-radius: 999px; font-weight: 800; font-size: .78rem; margin-bottom: 20px; }
.hero-card h2 { font-size: 2rem; margin-bottom: 16px; }
.hero-card p, .hero-card li { color: var(--slate); }
.text-link { color: var(--blue); font-weight: 800; display: inline-flex; margin-top: 10px; }
.logos-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.strip-content { display: flex; gap: 22px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 20px 0; color: var(--slate); font-weight: 800; font-size: .9rem; }
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.align-start { align-items: start; }
.body-copy p { color: var(--slate); font-size: 1.05rem; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading p { color: var(--slate); font-size: 1.05rem; }
.section-heading.narrow { max-width: 640px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .case-card, .process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(11,31,51,0.06);
}
.service-card p, .service-card li, .case-card p, .process-step p { color: var(--slate); }
.icon { width: 46px; height: 46px; border-radius: 15px; display:inline-flex; align-items:center; justify-content:center; background: var(--light-blue); color: var(--blue); font-weight: 900; margin-bottom: 20px; }
.highlight-card { background: linear-gradient(135deg, var(--navy), #143a5f); }
.highlight-card h3, .highlight-card p, .highlight-card li { color: var(--white); }
.highlight-card .icon { background: rgba(255,255,255,.12); color: var(--white); }
.highlight-card .text-link { color: #b9ddff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step span { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items:center; justify-content:center; background: var(--blue); color: var(--white); font-weight: 900; margin-bottom: 18px; }
.case-list { display: grid; gap: 18px; }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 58px; align-items: center; }
.about-card { background: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; text-align: center; }
.avatar { width: 110px; height: 110px; margin: 0 auto 22px; border-radius: 32px; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, var(--blue), var(--accent)); color: var(--white); font-size: 2.1rem; font-weight: 900; }
.about-card p { color: var(--slate); }
.about-card a { color: var(--blue); font-weight: 800; }
.skills-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.skills-wrap span { background: var(--light-blue); color: var(--blue); border-radius: 999px; padding: 9px 13px; font-weight: 800; font-size: .88rem; }
.dark-cta { background: linear-gradient(135deg, var(--navy), #0f3557); color: var(--white); }
.dark-cta h2 { color: var(--white); }
.dark-cta p { color: #c9d9e8; }
.cta-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.contact-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 32px; }
.contact-card h3 { color: var(--white); }
.small-note { font-size: .86rem; margin-bottom: 0; }
.footer { background: #071525; color: #c9d9e8; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; }
.footer h4 { color: var(--white); margin: 0 0 12px; }
.footer a { display: block; margin: 8px 0; color: #c9d9e8; }
.footer-brand .brand-text { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .9rem; color: #93a6b9; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; background: var(--white); padding: 22px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(11,31,51,.08); }
  .nav-links.open { display: flex; }
  .hero-grid, .two-col, .about-grid, .cta-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 68px 0; }
  .hero { padding-top: 58px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .cards-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-card, .service-card, .case-card, .process-step, .contact-card { padding: 24px; }
  .strip-content { justify-content: center; }
}


/* v3 content-alignment helpers — preserve original visual system */
.service-group + .service-group { margin-top: 46px; }
.service-group-heading { margin: 0 0 24px; }
.service-group-heading h3 { font-size: 1.55rem; }
.process-grid.five { grid-template-columns: repeat(5, 1fr); }
.engagement-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.engagement-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 26px rgba(11,31,51,0.06); }
.engagement-card p { color: var(--slate); margin-bottom: 0; }
.scope-note { margin-top: 24px; padding: 20px 22px; background: var(--light-blue); border: 1px solid #cfe5fb; border-radius: 18px; color: var(--slate); }
.scope-note strong { color: var(--navy); }
@media (max-width: 900px) {
  .process-grid.five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .process-grid.five, .engagement-grid { grid-template-columns: 1fr; }
}

/* v3.1 targeted polish fixes */
/* Keep a consistent vertical rhythm between the two CTA buttons in the Talk with Anil card. */
.contact-card .btn + .btn {
  margin-top: 12px;
}

/* Footer link rules should not override the shared brand flex layout. Match the header logo exactly. */
.footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-weight: 800;
}
.footer .footer-brand .brand-mark {
  flex: 0 0 42px;
}
.footer .footer-brand .brand-text {
  color: var(--white);
  letter-spacing: -0.03em;
}
\n\n/* v3.3 SEO/responsiveness hardening — no visual redesign */\nhtml { scroll-padding-top: 92px; }\nsection[id] { scroll-margin-top: 92px; }\n.footer a, .contact-card a, .contact-card p { overflow-wrap: anywhere; }\n.nav-toggle:focus-visible, a:focus-visible, button:focus-visible {\n  outline: 3px solid rgba(77, 163, 255, .55);\n  outline-offset: 3px;\n}\n@media (max-width: 900px) {\n  .nav { position: relative; }\n  .nav-links { max-height: calc(100vh - 76px); overflow-y: auto; }\n}\n@media (max-width: 420px) {\n  h1 { font-size: 2.35rem; }\n  .hero-card h2 { font-size: 1.65rem; }\n  .hero-subtitle { font-size: 1.05rem; }\n  .eyebrow { font-size: .72rem; letter-spacing: .10em; }\n  .brand-mark { width: 40px; height: 40px; }\n  .nav { min-height: 72px; }\n  .nav-links { top: 72px; }\n}\n
/* v3.3 mobile touch-target refinement */
@media (max-width: 900px) {
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .nav-links a { width: 100%; padding: 8px 0; }
  .nav-links .nav-cta { width: auto; padding: 12px 18px; }
}


/* v3.4 subtle contact icon enhancement — preserves the approved scaffold */
.btn-with-icon {
  gap: 10px;
}
.contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
}
.contact-icon-linkedin {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}
.footer .footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0;
}
.footer .footer-contact-link .contact-icon {
  color: #a9d4ff;
}
.footer .footer-contact-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.footer .footer-contact-link:hover {
  color: var(--white);
}
.footer .footer-contact-link:hover .contact-icon {
  color: var(--white);
}
@media (max-width: 640px) {
  .footer .footer-contact-link {
    min-height: 36px;
  }
}


/* v3.5 — restrained semantic icons for the four core consulting offers */
.service-card {
  position: relative;
}
.service-card .service-icon {
  color: var(--blue);
}
.service-icon-svg {
  width: 23px;
  height: 23px;
  display: block;
}
.service-index {
  position: absolute;
  top: 29px;
  right: 29px;
  color: #8a9aac;
  font-size: .75rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
}
@media (max-width: 640px) {
  .service-index {
    top: 25px;
    right: 25px;
  }
}




/* v3.8 mobile refinement — no floating back-to-top control */
@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(3rem, 13vw, 4rem);
    line-height: 1.06;
  }

  .hero {
    padding-top: 46px;
  }
}
