:root {
  --blue: #17324d;
  --blue-900: #0f2438;
  --grey: #4b5563;
  --muted: #667085;
  --light: #f6f8fb;
  --line: #e4e8ee;
  --white: #ffffff;
  --text: #17212f;
  --radius: 20px;
  --shadow: 0 22px 70px rgba(23, 50, 77, 0.09);
  --shadow-soft: 0 12px 36px rgba(23, 50, 77, 0.06);
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--grey); }
h1, h2, h3 { margin: 0; color: var(--blue); line-height: 1.12; letter-spacing: -0.025em; }
h1 { max-width: 900px; font-size: clamp(2.55rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); }
h3 { font-size: 1.14rem; }

.container { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.section { padding: 108px 0; }
.section-muted { background: var(--light); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p { margin-top: 14px; font-size: 1.06rem; }
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-kicker.inverted { color: rgba(255,255,255,0.72); }
.anchor-section { scroll-margin-top: calc(var(--header-height) + 24px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(228, 232, 238, 0.9);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: var(--header-height);
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand, .footer-brand {
  color: var(--blue);
  font-weight: 850;
  letter-spacing: 0.1em;
}
.nav { display: flex; align-items: center; gap: 26px; color: var(--grey); font-size: 0.94rem; }
.nav a, .footer-links a { transition: color 160ms ease, border-color 160ms ease; }
.nav a { padding: 27px 0 24px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 122px;
  padding-bottom: 118px;
  background:
    linear-gradient(90deg, rgba(23,50,77,0.045) 1px, transparent 1px) 0 0 / 68px 68px,
    linear-gradient(180deg, #fff 0%, #fff 62%, #f8fafc 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -26% auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(23,50,77,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.78fr); gap: 74px; align-items: center; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-weight: 850; letter-spacing: 0.18em; }
.tagline { margin: 28px 0 18px; color: var(--blue); font-size: clamp(1.22rem, 2.15vw, 1.72rem); font-weight: 700; }
.lead { max-width: 740px; font-size: 1.16rem; line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { background: #10263d; border-color: #10263d; transform: translateY(-1px); }
.button-light { background: var(--white); color: var(--blue); border-color: var(--white); }
.button-light:hover { background: #eef2f6; color: var(--blue); border-color: #eef2f6; }
.text-link { color: var(--blue); font-weight: 760; border-bottom: 1px solid currentColor; }

.hero-visual {
  position: relative;
  min-height: 440px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255,255,255,0.74);
  box-shadow: var(--shadow);
}
.visual-rail {
  position: absolute;
  left: 50%;
  top: 54px;
  bottom: 54px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(23,50,77,0.32), transparent);
}
.visual-card {
  position: absolute;
  width: min(250px, calc(100% - 56px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.visual-card span { display: block; margin-bottom: 18px; color: var(--muted); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; }
.visual-card strong { color: var(--blue); font-size: 1.12rem; }
.visual-card-one { top: 34px; left: 28px; }
.visual-card-two { top: 176px; right: 28px; }
.visual-card-three { bottom: 34px; left: 28px; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr); gap: 72px; align-items: center; }
.intro-grid p:not(.section-kicker), .contact-section p { font-size: 1.04rem; }
.principle-quote {
  padding: 34px;
  border-left: 4px solid var(--blue);
  border-radius: 0 22px 22px 0;
  background: var(--light);
}
.principle-quote span { display: block; margin-bottom: 18px; color: var(--muted); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.principle-quote p { margin: 0; color: var(--blue); font-size: 1.35rem; line-height: 1.45; font-weight: 720; }

.cards { display: grid; gap: 24px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card, .panel, .contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.service-card {
  min-height: 100%;
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.service-card p { margin: 18px 0 0; }
.line-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border: 1.7px solid var(--blue);
  border-radius: 12px;
  position: relative;
}
.line-icon::before, .line-icon::after { content: ""; position: absolute; border-color: var(--blue); }
.icon-operations::before { left: 10px; right: 10px; top: 14px; border-top: 2px solid var(--blue); }
.icon-operations::after { left: 10px; right: 10px; bottom: 14px; border-top: 2px solid var(--blue); }
.icon-governance::before { inset: 10px; border: 2px solid var(--blue); border-radius: 50%; }
.icon-governance::after { left: 20px; top: 8px; bottom: 8px; border-left: 2px solid var(--blue); }
.icon-decision::before { left: 10px; top: 21px; width: 22px; border-top: 2px solid var(--blue); }
.icon-decision::after { right: 10px; top: 15px; width: 11px; height: 11px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); }

.process-section { background: #fff; }
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  gap: 24px;
}
.process::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 58px;
  height: 1px;
  background: var(--line);
}
.process-step {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.strong { color: var(--blue); font-weight: 720; margin-top: 16px; }

.split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 64px; align-items: start; }
.diagnostic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.diagnostic-list li {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 22px 22px 22px 54px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--blue);
  font-weight: 680;
}
.diagnostic-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 28px; color: var(--grey); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 10px; height: 10px; border: 2px solid var(--blue); border-radius: 50%; transform: translateY(-50%); }

.expertise-grid, .outcomes { display: grid; gap: 14px; }
.expertise-grid { grid-template-columns: repeat(4, 1fr); }
.expertise-grid div, .outcomes div {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--blue);
  font-weight: 720;
  box-shadow: 0 1px 0 rgba(23,50,77,0.03);
}

.public-sector {
  position: relative;
  overflow: hidden;
  background: var(--blue);
}
.public-sector::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) 0 0 / 72px 72px;
  opacity: 0.55;
}
.public-grid { position: relative; align-items: center; }
.public-sector h2, .public-sector h3, .public-sector p, .public-sector li { color: var(--white); }
.public-sector p { color: rgba(255,255,255,0.82); }
.public-panel {
  padding: 34px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
}
.public-panel h3 { margin-bottom: 22px; }
.public-sector .check-list li::before { border-color: var(--white); }
.public-sector .button { margin-top: 22px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-item { padding: 34px 30px; }
.why-item + .why-item { border-left: 1px solid var(--line); }
.why-item span { display: block; margin-bottom: 22px; color: var(--muted); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; }
.why-item p { margin-top: 14px; }
.outcomes { grid-template-columns: repeat(5, 1fr); }
.outcomes div { justify-content: center; text-align: center; }

.contact-grid { align-items: center; }
.contact-details { display: grid; gap: 8px; margin-top: 30px; color: var(--grey); }
.contact-details div { display: flex; gap: 8px; }
.contact-details dt { font-weight: 850; color: var(--blue); }
.contact-details dd { margin: 0; }
.contact-details a { color: var(--blue); border-bottom: 1px solid transparent; }
.contact-details a:hover { border-bottom-color: currentColor; }
.contact-form { display: grid; gap: 17px; padding: 32px; }
.contact-form label { display: grid; gap: 8px; color: var(--blue); font-weight: 760; }
input, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d5dbe4;
  border-radius: 13px;
  padding: 13px 15px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}
input:focus, textarea:focus { outline: 3px solid rgba(23,50,77,0.13); border-color: var(--blue); }
textarea { resize: vertical; }
.privacy-note { margin: 0; font-size: 0.95rem; color: var(--grey); }
.contact-form .button { width: fit-content; }

.site-footer { padding: 58px 0; background: var(--blue-900); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.site-footer p { max-width: 560px; margin: 8px 0 0; color: rgba(255,255,255,0.78); }
.footer-brand { display: inline-block; color: var(--white); margin-bottom: 8px; }
.footer-links { display: grid; gap: 10px; color: rgba(255,255,255,0.78); }
.footer-links a:hover { color: var(--white); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; }
.legal-page h1 { margin-bottom: 26px; }
.legal-page h2 { margin-top: 34px; margin-bottom: 10px; font-size: 1.35rem; }
.legal-page a { color: var(--blue); border-bottom: 1px solid currentColor; }

@media (max-width: 980px) {
  :root { --header-height: 70px; }
  .header-inner { min-height: var(--header-height); }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; margin-inline: auto; background: var(--blue); transition: transform 160ms ease, opacity 160ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute;
    left: 22px;
    right: 22px;
    top: calc(var(--header-height) + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 14px 16px; border-bottom: 0; border-radius: 12px; }
  .nav a:hover { background: var(--light); }
  .hero-grid, .intro-grid, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-visual { min-height: 380px; }
  .cards.three, .process, .expertise-grid, .outcomes, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .why-item + .why-item { border-left: 0; border-top: 1px solid var(--line); }
  .why-grid { border-bottom: 0; }
}

@media (max-width: 680px) {
  .container, .header-inner { width: min(100% - 30px, 1160px); }
  .section { padding: 76px 0; }
  .hero { padding-top: 82px; padding-bottom: 84px; }
  h1 { font-size: clamp(2.35rem, 14vw, 3.75rem); }
  .lead { font-size: 1.04rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .hero-actions .text-link { width: fit-content; }
  .hero-visual { min-height: auto; display: grid; gap: 14px; padding: 22px; }
  .visual-rail { left: 43px; top: 36px; bottom: 36px; }
  .visual-card { position: relative; inset: auto; width: 100%; padding-left: 60px; }
  .visual-card span { position: absolute; left: 20px; top: 23px; margin: 0; }
  .principle-quote { padding: 26px; }
  .principle-quote p { font-size: 1.16rem; }
  .cards.three, .process, .expertise-grid, .outcomes, .diagnostic-list, .why-grid { grid-template-columns: 1fr; }
  .service-card, .process-step, .public-panel, .contact-form { padding: 24px; }
  .diagnostic-list li { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  input, textarea, button { font-size: 16px; }
}
