:root {
  --blue: #0D1F96;
  --blue-700: #0A1877;
  --blue-800: #081459;
  --blue-tint: #EEF0FB;
  --blue-tint-2: #E1E5F8;
  --sky: #5C72E8;
  --ink: #16182B;
  --slate: #5B5F79;
  --line: #E4E6F1;
  --paper: #FFFFFF;
  --bg: #FBFBFE;
  --radius: 14px;
  --radius-sm: 8px;
  --font: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --h1: 40px;
  --h2: 36px;
  --h3: 31px;
  --h4: 27px;
  --h5: 22px;
  --h6: 18px;
  --body: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a.inline-link { text-decoration: underline; text-decoration-color: var(--blue-tint-2); text-underline-offset: 3px; }
a.inline-link:hover { text-decoration-color: var(--blue); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.16; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }
@media (max-width: 640px) {
  h1 { font-size: clamp(28px, 8vw, var(--h1)); }
  h2 { font-size: clamp(24px, 7vw, var(--h2)); }
  h3 { font-size: clamp(21px, 6vw, var(--h3)); }
}
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: 1.15em; color: var(--slate); max-width: 56ch; }
.muted { color: var(--slate); }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); display: inline-block; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section--tight { padding: 2.75rem 0; }
.section--tint { background: var(--blue-tint); }
.section--dark { background: var(--blue); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #C7CDF2; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--blue-700); border-color: var(--blue-700); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue-tint); }
.section--dark .btn--ghost { color: #fff; border-color: #fff; }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251,251,254,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: var(--radius-sm); padding: .5rem .8rem; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: .4em; background: none; border: 1.5px solid var(--line); border-radius: 999px;
  padding: .45rem .9rem; font: inherit; font-weight: 700; font-size: .85rem; color: var(--ink); cursor: pointer; }
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-btn svg { width: 14px; height: 14px; transition: transform .15s; }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(13,31,150,.14); padding: .4rem; z-index: 40;
}
.lang.open .lang-menu { display: block; }
.lang-menu button { width: 100%; text-align: left; background: none; border: 0; padding: .55rem .7rem; border-radius: 6px;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.lang-menu button:hover:not([disabled]) { background: var(--blue-tint); color: var(--blue); }
.lang-menu button[aria-current="true"] { color: var(--blue); }
.lang-menu button[disabled] { color: #A9ADC4; cursor: default; }
.lang-menu .soon { font-size: .72rem; font-weight: 700; background: var(--line); color: var(--slate); border-radius: 999px; padding: .1em .55em; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.2rem; box-shadow: 0 16px 24px rgba(13,31,150,.06); }
  .js .nav.open { display: flex; }
  .js .nav a { padding: .8rem 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { padding: 3.5rem 0 1rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0,1fr); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 3rem; } }
.hero h1 { max-width: 16ch; }
.hero-art { position: relative; aspect-ratio: 1 / 0.86; border-radius: 28px; background: linear-gradient(150deg, var(--blue) 0%, #1B2FB8 55%, var(--sky) 100%); overflow: hidden; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.strip .wrap { display: grid; gap: 1.4rem 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: 1.8rem; padding-bottom: 1.8rem; }
.strip-item { display: flex; gap: .8rem; align-items: flex-start; }
.strip-item .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-tint); display: grid; place-items: center; color: var(--blue); }
.strip-item strong { display: block; font-size: .98rem; }
.strip-item span { color: var(--slate); font-size: .92rem; }

/* Numbered services */
.services { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.service { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.service .num { font-size: 2.1rem; font-weight: 800; color: var(--blue-tint-2); line-height: 1; margin-bottom: .6rem; }
.service h3 { font-size: var(--h5); margin-bottom: .4rem; }
.service p { margin: 0; color: var(--slate); font-size: .95rem; }

/* Vacancies */
.jobs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.job { display: flex; flex-direction: column; gap: .35rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.job:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(13,31,150,.08); }
.job h3 { margin: 0; font-size: var(--h5); color: var(--ink); }
.job .where { color: var(--slate); font-weight: 600; font-size: .92rem; }
.job .pay { font-weight: 700; margin-top: auto; padding-top: .7rem; color: var(--blue); }
.filters { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.filters label { display: flex; flex-direction: column; font-size: .82rem; font-weight: 700; color: var(--slate); gap: .3rem; }
.filters select { font: inherit; padding: .6rem .8rem; min-width: 190px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.empty { display: none; padding: 1rem 0; color: var(--slate); }

/* Vacancy detail & article */
.crumbs { font-size: .9rem; color: var(--slate); margin-bottom: 1.2rem; }
.facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 0 0 2rem; padding: 0; list-style: none; font-weight: 600; }
.facts li { border-left: 3px solid var(--blue); padding-left: .65rem; }
.prose { max-width: 68ch; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h2 { margin-top: 1.7em; font-size: var(--h4); }
.apply-box { background: var(--blue-tint); border-radius: var(--radius); padding: 1.6rem; margin-top: 2.5rem; max-width: 70ch; }
.apply-box h2 { font-size: var(--h4); margin-top: 0; }

/* Two-column feature blocks */
.feature { display: grid; gap: 2rem; grid-template-columns: minmax(0,1fr); align-items: center; }
@media (min-width: 860px) { .feature { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 3rem; } }
.feature-art { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(155deg, var(--blue-tint) 0%, var(--blue-tint-2) 100%); position: relative; overflow: hidden; }
.feature-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature.reverse .feature-art { order: -1; }
@media (min-width: 860px) { .feature.reverse .feature-art { order: 2; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.3rem 1.2rem 4.2rem; }
.steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1.1rem; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; border-radius: 50%; font-size: .95rem; }
.steps strong { display: block; font-size: var(--h6); margin-bottom: .2em; }

/* Articles / blog cards */
.articles-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.article-card { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: border-color .15s, box-shadow .15s; }
.article-card:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(13,31,150,.08); }
.article-card .bar { width: 34px; height: 4px; border-radius: 2px; background: var(--blue); margin-bottom: .3rem; }
.tag { font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--blue); }
.article-card h3 { margin: 0; font-size: var(--h5); }
.article-card p { margin: 0; color: var(--slate); font-size: .93rem; }

.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.block h3 { font-size: var(--h6); margin-bottom: .4rem; }
.block p:last-child { margin-bottom: 0; }

.notice { background: var(--blue-tint); border-left: 4px solid var(--blue); padding: 1rem 1.2rem; border-radius: var(--radius-sm); }

/* Footer */
.site-footer { background: var(--blue-800); color: #C7CDF2; padding: 3.5rem 0 2.2rem; }
.site-footer .wrap { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer .brand img { height: 30px; filter: brightness(0) invert(1); }
.site-footer p { color: #9AA3DC; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #C7CDF2; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); margin-top: 1rem; padding-top: 1.4rem; font-size: .85rem; color: #8A92C9; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
