/* NDO Solutions brand: blue #004AAD (logo), grey #555 (wordmark), white ground */
:root {
  --brand: #004aad;
  --brand-dark: #003580;
  --brand-tint: #eef3fb;
  --navy: #0b1f3f;
  --ink: #1b2433;
  --muted: #555e6b;
  --line: #dde4ee;
  --surface: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 650; text-decoration: none;
  border: 2px solid var(--brand); transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-small { padding: .45em 1.05em; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #ff9f1c; outline-offset: 3px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; white-space: nowrap; }
.brand img { width: 40px; height: auto; }
.nav-links { display: none; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-actions { margin-left: 8px; }
}
.lang-toggle {
  font: inherit; font-size: .85rem; font-weight: 700; letter-spacing: .04em;
  padding: .35em .7em; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1.5px solid var(--line);
}
.lang-toggle:hover { color: var(--brand); border-color: var(--brand); }

/* Hero: brand bubble banner, mirrored so the bubbles sit on the right */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 52%;
  background: url("../img/banner.png") left center / auto 100% no-repeat;
  transform: scaleX(-1); opacity: .85; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 95%);
          mask-image: linear-gradient(to right, #000 35%, transparent 95%);
}
.hero-inner { position: relative; }
.hero h1, .hero .lead { max-width: 640px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin-bottom: 1em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 36px 0 0; }
.creds li {
  font-size: .85rem; font-weight: 600; color: var(--muted);
  padding: .35em .8em; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
@media (min-width: 900px) { .hero { padding: 110px 0 120px; } }
@media (max-width: 1099px) { .hero::before { width: 40%; opacity: .45; } }
@media (max-width: 699px) { .hero::before { width: 100%; bottom: auto; height: 90px; opacity: .5; } .hero { padding-top: 110px; } }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--brand-tint); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 750; color: var(--brand); margin-bottom: .6em; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; }
.note { font-size: .92rem; color: var(--muted); margin-top: 28px; max-width: 760px; }

/* Benchmarks */
.stats { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--brand); line-height: 1.1; margin-bottom: .4em; letter-spacing: -0.02em; }
.stat .source { margin: auto 0 0; padding-top: 12px; font-size: .8rem; color: var(--muted); }
.stat .source a { color: var(--muted); }

/* KPIs */
.kpis { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.kpi { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px 76px; background: #fff; }
.kpi p { margin: 0; color: var(--muted); }
.kpi-dir {
  position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem;
}
.kpi-dir.up { background: var(--brand); color: #fff; }
.kpi-dir.down { background: var(--brand-tint); color: var(--brand); }

/* Approach */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.engage { display: grid; gap: 32px; margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.engage p { color: #c9d4e6; margin: 0; }
@media (min-width: 800px) { .engage { grid-template-columns: 1fr 1fr; padding: 36px 40px; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin: .45em 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px;
  border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg);
  color: var(--brand);
}
.engage .ticks li::before { color: #7fb0ff; }

/* Partner */
.partner { display: grid; gap: 32px; align-items: start; }
.partner .ticks { margin: 8px 0 0; }
.partner-logo { width: 120px; height: 120px; border-radius: 28px; background: #f2f7f7; border: 1px solid var(--line); display: grid; place-items: center; }
.text-link { font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
@media (min-width: 800px) { .partner { grid-template-columns: 160px 1fr; } .partner-logo { width: 160px; height: 160px; } }

/* About */
.about { display: grid; gap: 40px; align-items: center; }
.portrait { position: relative; margin: 0; width: 100%; max-width: 340px; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--brand); box-shadow: 0 20px 40px -20px rgba(11,31,63,.35); }
.portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.portrait-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 800; }
.about p { color: var(--muted); }
.about .section-lead { color: var(--ink); }
.ndo { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.ndo img { width: 96px; }
.ndo p { margin: 0; font-size: .95rem; }
@media (min-width: 800px) { .about { grid-template-columns: 340px 1fr; gap: 56px; } }

/* Contact */
.contact { background: var(--brand); color: #fff; text-align: center; }
.contact .section-lead { color: #dbe6f7; margin: 0 auto; }
.contact .cta-row { justify-content: center; }
.contact .btn { word-break: break-all; }

/* Footer */
.footer { background: var(--navy); color: #b8c4d8; font-size: .9rem; padding: 28px 0; }
.footer a { color: #fff; }
.footer p { margin: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Legal page */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.back { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
