/* Generated by scripts/build_theme_css.sh from web/src/app/globals.css — edit those files, not this one. */
@font-face { font-family: 'DM Sans Variable'; font-style: normal; font-display: swap; font-weight: 100 1000; src: url(../fonts/dm-sans-latin-ext-opsz-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans Variable'; font-style: normal; font-display: swap; font-weight: 100 1000; src: url(../fonts/dm-sans-latin-opsz-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Cinfores design tokens — mirrors the Figma variables (00 Foundations). */
:root {
  --blue-500: #0191cd;
  --blue-600: #0077ad;
  --blue-100: #d4ecf8;
  --blue-50: #eef8fd;
  --navy-950: #061428;
  --navy-900: #0a1f3c;
  --navy-800: #13284a;
  --cyan: #22d3ee;
  --indigo: #4f46e5;
  --violet: #8b5cf6;
  --green: #12a150;

  --text: #0a1f3c;
  --text-2: #46566b;
  --muted: #5d6b7e;
  --on-dark: #ffffff;
  --on-dark-2: #a8b6c9;
  --link: #0077ad;

  --page: #ffffff;
  --subtle: #f6f9fc;
  --dark: #0a1f3c;
  --dark-card: #13284a;
  --border: #e3e9f0;
  --border-dark: #22395e;

  /* Accent (overridden per sector) */
  --a-700: #0077ad;
  --a-500: #0191cd;
  --a-50: #eef8fd;

  --r-s: 8px;
  --r-m: 12px;
  --r-l: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: 20px;
  --section-y: 112px;
  --shadow-card: 0 1px 2px rgb(10 31 60 / 4%), 0 8px 24px rgb(10 31 60 / 6%);
  --shadow-float: 0 12px 40px rgb(10 31 60 / 14%);
  --ribbon: linear-gradient(135deg, #22d3ee 0%, #0191cd 35%, #4f46e5 70%, #8b5cf6 100%);
  --font: 'DM Sans Variable', 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 104px;

  /* Theme-dependent surfaces (redefined for dark mode below) */
  --surface: #ffffff;
  --glass: rgb(255 255 255 / 92%);
  --hover: rgb(10 31 60 / 5%);
  --chip-hover: #eaf0f6;
  --border-strong: #c9d4e0;
  --invert-bg: #0a1f3c;
  --invert-fg: #ffffff;
  --invert-hover: #102b52;
  --map-bg: #e8eef5;
  --map-line: #d5dfea;
  --shadow-hover: 0 2px 4px rgb(10 31 60 / 4%), 0 16px 40px rgb(10 31 60 / 10%);
  color-scheme: light;
}

[data-sector='education'] { --a-700: #0b4a24; --a-50: #edf8f1; --a-500: #12a150; }
[data-sector='government'] { --a-700: #2e2a8c; --a-50: #eef0ff; --a-500: #4f46e5; }
[data-sector='justice'] { --a-700: #7a4b00; --a-50: #fff5e0; --a-500: #d98e04; }
[data-sector='health'] { --a-700: #9c1c3b; --a-50: #ffeef2; --a-500: #e11d48; }
[data-sector='enterprise'] { --a-700: #075e73; --a-50: #e6f7fb; --a-500: #0891b2; }

@media (max-width: 1024px) {
  :root { --section-y: 88px; }
}
@media (max-width: 768px) {
  :root { --section-y: 64px; --header-h: 72px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Type ---------- */
.display-xl { font-size: 72px; line-height: 78px; letter-spacing: -0.035em; font-weight: 500; }
.display-l { font-size: 56px; line-height: 62px; letter-spacing: -0.03em; font-weight: 500; }
.h2 { font-size: 44px; line-height: 52px; letter-spacing: -0.03em; font-weight: 500; }
.h3 { font-size: 30px; line-height: 38px; letter-spacing: -0.015em; font-weight: 500; }
.h4 { font-size: 20px; line-height: 28px; letter-spacing: -0.005em; font-weight: 500; }
.body-l { font-size: 20px; line-height: 32px; }
.body-s { font-size: 14px; line-height: 22px; }
.stat { font-size: 52px; line-height: 56px; letter-spacing: -0.03em; font-weight: 400; }
.muted { color: var(--muted); }
.secondary { color: var(--text-2); }
.hl { color: var(--blue-500); }

@media (max-width: 1024px) {
  .display-xl { font-size: 56px; line-height: 62px; }
  .display-l { font-size: 46px; line-height: 52px; }
  .h2 { font-size: 36px; line-height: 44px; }
}
@media (max-width: 768px) {
  .display-xl, .display-l { font-size: 40px; line-height: 46px; letter-spacing: -0.03em; }
  .h2 { font-size: 30px; line-height: 37px; }
  .h3 { font-size: 22px; line-height: 30px; }
  .body-l { font-size: 17px; line-height: 28px; }
  .stat { font-size: 40px; line-height: 46px; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--a-50); color: var(--a-700);
  font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.on-dark .eyebrow, .eyebrow--dark { background: rgb(255 255 255 / 6%); color: var(--cyan); }
.eyebrow--plain { background: none; padding: 0; }
.eyebrow--plain::before { display: none; }
.kicker { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .15s ease; flex: none; }
.btn:hover svg { transform: translateX(2px); }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: #00669a; }
.btn--dark { background: var(--invert-bg); color: var(--invert-fg); }
.btn--dark:hover { background: var(--invert-hover); }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--border-strong); background: var(--subtle); }
.btn--ondark { background: #fff; color: var(--navy-900); }
.btn--ondark:hover { background: #e9f1f8; }
.btn--ghost { background: var(--dark-card); color: #fff; border-color: var(--border-dark); }
.btn--ghost:hover { background: #183257; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 768px) {
  .btn-row--stack { flex-direction: column; }
  .btn-row--stack .btn { width: 100%; height: 48px; }
}
.text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--a-700); font-weight: 600; font-size: 14px; }
.text-link svg { width: 14px; height: 14px; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(2px); }
.on-dark .text-link { color: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--white + .section--white:not(.section--flush) { padding-top: 0; }
.section--flush { padding-top: 0; }
.section--subtle + .section--subtle { padding-top: 0; }
.section--subtle { background: var(--subtle); }
.section--blue { background: var(--blue-50); }
.section--tint { background: var(--a-50); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.on-dark .secondary, .on-dark .muted { color: var(--on-dark-2); }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.head__text { max-width: 920px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.head--center { justify-content: center; text-align: center; }
.head--center .head__text { align-items: center; margin: 0 auto; }
.head__lead { color: var(--muted); }
.on-dark .head__lead { color: var(--on-dark-2); }
.head__action { flex: none; }
@media (max-width: 768px) {
  .head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; gap: 20px; }
  .head--center { align-items: center; }
}

/* ---------- Header ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--text); transition: background-color .2s ease, box-shadow .2s ease, transform .25s ease; }
.site-header.is-fixed { position: fixed; background: var(--glass); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--border); height: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header__logo { flex: none; display: block; width: 104px; }
.site-header__logo img { width: 104px; height: auto; }
.logo-light { display: none !important; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: static; }
.site-nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; color: inherit; }
.site-nav__link svg { width: 14px; height: 14px; opacity: .6; transition: transform .2s ease; }
.site-nav__link[aria-expanded='true'] svg { transform: rotate(180deg); }
.site-nav__link:hover, .site-nav__link[aria-expanded='true'] { background: var(--hover); }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.site-header__menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; color: inherit; margin-right: -10px; }
.site-header__menu-btn svg { width: 24px; height: 24px; }

/* Header over a dark hero (no JS needed) */
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) { color: #fff; }
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) .logo-dark { display: none !important; }
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) .logo-light { display: block !important; }
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) .site-nav__link:hover,
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) .site-nav__link[aria-expanded='true'] { background: rgb(255 255 255 / 8%); }
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) .btn--dark { background: #fff; color: var(--navy-900); }

.mega { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 8px); padding-top: 8px; }
.mega__panel { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-l); box-shadow: var(--shadow-float); padding: 32px; animation: menu-in .18s ease both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__products { display: grid; grid-template-columns: repeat(5, 1fr) 240px; gap: 24px; }
.mega__col h3 { margin-bottom: 14px; }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega__col a { display: block; padding: 4px 0; font-size: 15px; color: var(--text); }
.mega__col a:hover { color: var(--blue-600); }
.mega__promo { background: var(--navy-900); color: #fff; border-radius: var(--r-m); padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.mega__promo p { font-size: 20px; line-height: 28px; font-weight: 500; }
.mega__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.mega__list--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.mega__list a { display: block; padding: 12px 14px; border-radius: var(--r-m); }
.mega__list a:hover { background: var(--subtle); }
.mega__list strong { display: block; font-size: 15px; font-weight: 600; }
.mega__list span { display: block; font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 2px; }

.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--page); color: var(--text); display: flex; flex-direction: column; overflow-y: auto; animation: menu-in .2s ease both; }
.mobile-menu__top { height: 72px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__nav { flex: 1; padding-top: 8px; }
.mobile-menu__group { border-bottom: 1px solid var(--border); }
.mobile-menu__toggle, .mobile-menu__link { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 20px; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; }
.mobile-menu__toggle svg { width: 20px; height: 20px; transition: transform .2s ease; }
.mobile-menu__toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.mobile-menu__sub { list-style: none; margin: 0; padding: 0 0 16px; display: grid; gap: 2px; }
.mobile-menu__sub a { display: block; padding: 8px 0; font-size: 16px; color: var(--text-2); }
.mobile-menu__sub a.is-all { color: var(--blue-600); font-weight: 500; }
.mobile-menu__cta { display: grid; gap: 12px; padding: 24px 0 32px; }
.mobile-menu__cta .btn { height: 48px; }

@media (max-width: 1100px) {
  .site-nav__link { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 960px) {
  .site-nav, .site-header__actions .btn { display: none; }
  .site-header__bar { justify-content: space-between; }
  .site-header__menu-btn { display: inline-flex; }
  .site-header__logo, .site-header__logo img { width: 88px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 112px; }
.hero--dark { background: var(--navy-900); color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero__grid--text { grid-template-columns: minmax(0, 760px); }
.hero--center .hero__grid { grid-template-columns: minmax(0, 860px); justify-content: center; text-align: center; }
.hero--center .hero__text { align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__crumb { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.hero__crumb a:hover { color: var(--text); }
.hero__crumb span[aria-current] { color: var(--text-2); }
[data-sector] .hero__crumb span[aria-current] { color: var(--a-700); }
.hero--dark .hero__crumb { color: var(--on-dark-2); }
.hero--dark .hero__crumb span[aria-current] { color: #fff; }
.hero__intro { color: var(--text-2); max-width: 640px; }
.hero--dark .hero__intro { color: var(--on-dark-2); }
.hero__meta { color: var(--muted); font-size: 14px; }
.hero__actions { margin-top: 8px; }
.hero__media { position: relative; }
.hero__panel { background: var(--a-50); border-radius: var(--r-xl); padding: 52px 40px; margin-right: -60px; }
.hero__panel img { border-radius: var(--r-l); box-shadow: var(--shadow-float); width: 100%; aspect-ratio: 16 / 11.5; object-fit: cover; }
.hero__fit img { width: 100%; height: auto; object-fit: contain; }
.hero--dark .hero__panel { background: none; padding: 0; margin-right: 0; }
.hero--dark .hero__panel img { box-shadow: 0 24px 64px rgb(0 0 0 / 35%); }
.hero--home { padding-bottom: 96px; }
.hero--home .hero__grid { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); }
.hero--home .hero__media { margin-right: -40px; }

.hero__float { position: absolute; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-float); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.hero__float strong { display: block; font-size: 18px; line-height: 24px; font-weight: 600; }
.hero__float small { display: block; font-size: 13px; color: var(--muted); }
.hero__float-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--a-700); color: #fff; flex: none; }
.hero__float-icon svg { width: 20px; height: 20px; }

/* decorative ribbon */
.ribbon { position: absolute; pointer-events: none; z-index: 0; }
.ribbon::before { content: ''; position: absolute; inset: 0; background: var(--ribbon); filter: blur(28px); border-radius: 50%; }
.ribbon--hero { width: 420px; height: 1700px; right: -60px; top: -520px; transform: rotate(34deg); opacity: .9; }
.ribbon--hero::before { border-radius: 40%; filter: blur(40px); background: linear-gradient(90deg, rgb(255 255 255 / 0%) 0%, #a5f3fc 22%, #0191cd 50%, #4f46e5 75%, #8b5cf6 100%); }
.ribbon--soft { width: 760px; height: 440px; right: -140px; top: 20px; opacity: .55; }
.ribbon--soft::before { background: radial-gradient(closest-side, #7dd3fc, rgb(125 211 252 / 0%)), radial-gradient(closest-side at 80% 30%, #a5b4fc, rgb(165 180 252 / 0%)); filter: blur(30px); }
.hero--dark .ribbon--hero { opacity: .75; }
.ribbon--cta { width: 520px; height: 1000px; right: -160px; top: -60px; transform: rotate(38deg); opacity: .85; }
.ribbon--cta::before { background: linear-gradient(90deg, rgb(6 20 40 / 0%) 0%, #22d3ee 30%, #0191cd 55%, #4f46e5 80%, #8b5cf6 100%); filter: blur(22px); }

@media (max-width: 1024px) {
  .hero__grid, .hero--home .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__panel { margin-right: 0; padding: 32px 24px; }
  .hero--home .hero__media { margin-right: 0; }
}
@media (max-width: 768px) {
  .hero { padding: calc(var(--header-h) + 24px) 0 64px; }
  .hero__text { gap: 20px; }
  .hero__float { display: none; }
  .ribbon--hero { width: 260px; height: 900px; right: -230px; top: -380px; opacity: .6; }
  .hero__actions { align-self: stretch; }
  .ribbon--soft { width: 420px; height: 300px; right: -160px; }
}

/* ---------- Cards ---------- */
.card { background: var(--subtle); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.section--subtle .card, .section--tint .card, .section--blue .card { background: var(--surface); }
.on-dark .card { background: var(--dark-card); border: 1px solid var(--border-dark); }
.card__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--a-700); margin-bottom: 8px; }
.section--subtle .card__icon { background: var(--a-50); }
.on-dark .card__icon { background: var(--navy-950); color: var(--cyan); }
.card__icon svg { width: 20px; height: 20px; }
.card__num { font-size: 14px; color: var(--muted); }
.card__image { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 9; background: var(--border); margin-bottom: 8px; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card:hover .card__image img, .card:has(a.stretched:hover) .card__image img { transform: scale(1.03); }
.card__title { font-size: 18px; line-height: 26px; font-weight: 600; }
.card--large .card__title { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.015em; }
.card__text { font-size: 14px; line-height: 22px; color: var(--text-2); }
.on-dark .card__text { color: var(--on-dark-2); }
.card__link { margin-top: auto; padding-top: 4px; }
.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
}

/* Bento (home solutions) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento__card { grid-column: span 2; background: var(--surface); border-radius: var(--r-l); padding: 30px 30px 0; display: flex; flex-direction: column; gap: 24px; overflow: hidden; position: relative; min-height: 440px; }
.bento__card:nth-child(1) { grid-column: span 4; }
.bento__card:nth-child(3) { background: var(--blue-50); }
.bento__card:last-child:nth-child(5) { background: var(--navy-900); color: #fff; }
.bento__card:last-child:nth-child(5) .bento__text span { color: var(--on-dark-2); }
.bento__text { font-size: 18px; line-height: 27px; font-weight: 600; max-width: 560px; }
.bento__text span { font-weight: 500; color: var(--muted); }
.bento__img { margin-top: auto; border-radius: var(--r-m) var(--r-m) 0 0; overflow: hidden; flex: 1; min-height: 240px; position: relative; }
.bento__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s ease; }
.bento__card:hover .bento__img img { transform: scale(1.03); }
.bento__link { margin-top: -12px; font-size: 14px; font-weight: 600; color: var(--blue-600); display: inline-flex; gap: 4px; align-items: center; }
.bento__card:last-child:nth-child(5) .bento__link { color: var(--cyan); }
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card, .bento__card:nth-child(1) { grid-column: span 1; }
  .bento__card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card, .bento__card:nth-child(1) { grid-column: auto; min-height: 0; padding: 20px; }
  .bento__img { border-radius: var(--r-m); min-height: 0; aspect-ratio: 16 / 10; flex: none; order: -1; margin: 0; }
}

/* Overlay cards (book / webinar) */
.overlay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.overlay-card { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 520px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 36px; isolation: isolate; }
.overlay-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.overlay-card:hover > img { transform: scale(1.03); }
.overlay-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(10 31 60 / 15%) 0%, rgb(10 31 60 / 35%) 45%, rgb(10 31 60 / 92%) 100%); }
.overlay-card:nth-child(2)::after { background: linear-gradient(180deg, rgb(8 50 34 / 25%) 0%, rgb(8 50 34 / 45%) 45%, rgb(8 50 34 / 92%) 100%); }
.overlay-card__kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; opacity: .85; }
.overlay-card__text { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; max-width: 520px; margin-bottom: 28px; }
@media (max-width: 768px) {
  .overlay-grid { grid-template-columns: 1fr; }
  .overlay-card { min-height: 440px; padding: 24px; }
  .overlay-card__text { font-size: 22px; line-height: 30px; }
}

/* ---------- Logos ---------- */
.logos__title { text-align: center; margin-bottom: 40px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.logos__item { height: 56px; width: 128px; display: grid; place-items: center; }
.logos__item img { max-height: 56px; max-width: 128px; width: auto; height: auto; object-fit: contain; }
.logos__item--text { font-weight: 600; color: var(--muted); text-align: center; font-size: 14px; line-height: 18px; }
.logos--strip { padding-top: 40px; padding-bottom: 56px; }
.logos--strip .logos__title { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 28px; }
.logos--strip .logos__item img { filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.logos--strip .logos__item:hover img { filter: none; opacity: 1; }
@media (max-width: 768px) {
  .logos__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; justify-items: center; }
  .logos--strip .logos__title { text-align: left; font-size: 20px; line-height: 28px; color: var(--text); }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__item { padding: 44px 24px; text-align: center; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.stats__item:first-child { border-left: 0; }
.stats__label { font-size: 14px; line-height: 22px; color: var(--muted); max-width: 210px; }
.on-dark .stats, .on-dark .stats__item { border-color: var(--border-dark); }
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item { padding: 28px 12px; }
  .stats__item:nth-child(3) { border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); border-radius: var(--r-xl); overflow: hidden; background: var(--a-50); }
.split--dark { background: var(--navy-900); color: #fff; }
.split__media { position: relative; min-height: 440px; background: var(--border); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: 56px 64px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }
.split__logo { height: 64px; width: auto; max-width: 200px; object-fit: contain; object-position: left; }
.split__text { color: var(--text-2); }
.split--dark .split__text { color: var(--on-dark-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--a-500); margin-top: 2px; }
.split--dark .checks svg { color: var(--cyan); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 0; aspect-ratio: 4 / 3; }
  .split__body { padding: 32px 24px; }
}

/* ---------- Service grid (dark numbered) ---------- */
.svc-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; padding: 28px; border-radius: var(--r-l); background: var(--dark-card); border: 1px solid var(--border-dark); transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.svc-card:hover { border-color: #3a5a8a; background: #16304f; }
.svc-card__num { font-size: 14px; color: var(--on-dark-2); }
.svc-card__title { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 12px; }
.svc-card__text { font-size: 14px; line-height: 22px; color: var(--on-dark-2); }
@media (max-width: 768px) { .svc-card { min-height: 0; gap: 24px; padding: 24px; } .svc-card__title { font-size: 24px; line-height: 32px; } }

/* ---------- Blog ---------- */
.stories { display: grid; grid-template-columns: minmax(0, 544px) minmax(0, 1fr); gap: 56px; }
.story-feature { display: flex; flex-direction: column; gap: 16px; }
.story-feature__img { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 544 / 360; background: var(--border); margin-bottom: 12px; }
.story-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-feature:hover .story-feature__img img { transform: scale(1.03); }
.story-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.story-row { display: grid; grid-template-columns: 108px minmax(0, 1fr) 32px; gap: 0 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--border); }
.story-row__date { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.story-row__title { font-size: 20px; line-height: 28px; font-weight: 500; }
.story-row__go { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; transition: background-color .2s ease, color .2s ease; }
.story-row__go svg { width: 16px; height: 16px; }
.story-row:hover .story-row__go { background: var(--blue-500); color: #fff; }
@media (max-width: 900px) {
  .stories { grid-template-columns: 1fr; gap: 32px; }
  .story-row { grid-template-columns: minmax(0, 1fr) 32px; gap: 6px 16px; padding: 20px 0; }
  .story-row__date { grid-column: 1; }
  .story-row__title { grid-column: 1; font-size: 17px; line-height: 25px; }
  .story-row__go { grid-column: 2; grid-row: 1 / span 2; }
}

.post-card { display: flex; flex-direction: column; gap: 10px; position: relative; }
.post-card__img { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 284 / 180; background: var(--border); margin-bottom: 6px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__title { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.005em; }
.post-card__excerpt { font-size: 14px; line-height: 22px; color: var(--text-2); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.post-lead { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 40px; position: relative; }
.post-lead .post-card__img { aspect-ratio: 640 / 400; margin: 0; }
.post-lead__text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-lead { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.filters { border-bottom: 1px solid var(--border); padding: 20px 0; background: var(--page); }
.filters__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: var(--subtle); border: 0; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; cursor: pointer; white-space: nowrap; }
.chip:hover { background: var(--chip-hover); }
.chip[aria-pressed='true'], .chip[aria-current='page'] { background: var(--invert-bg); color: var(--invert-fg); }
.search { position: relative; width: 280px; flex: none; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-2); pointer-events: none; }
.search input { width: 100%; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--border); padding: 0 16px 0 42px; font-size: 14px; background: var(--surface); }
.search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50); }
@media (max-width: 900px) {
  .filters__bar { flex-direction: column-reverse; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .search { width: 100%; }
}
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); display: inline-grid; place-items: center; font-size: 14px; font-weight: 500; border: 1px solid var(--border); }
.pager [aria-current] { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }
.empty { padding: 48px; text-align: center; color: var(--muted); background: var(--subtle); border-radius: var(--r-l); }

/* ---------- Products grid ---------- */
.sector { scroll-margin-top: 140px; }
.sector__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 24px 48px; align-items: end; margin-bottom: 40px; }
.sector__head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sector__desc { font-size: 14px; line-height: 22px; color: var(--text-2); }
.product-card { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-card); padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 10px; position: relative; transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product-card__img { aspect-ratio: 232 / 180; background: var(--a-50); overflow: hidden; margin: 0 0 20px; border-radius: 4px; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__name { font-size: 20px; line-height: 28px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.product-card__name svg { width: 18px; height: 18px; }
.product-card__text { font-size: 14px; line-height: 22px; color: var(--text-2); }
.product-card .text-link { margin-top: auto; padding-top: 4px; color: var(--text); }
@media (max-width: 768px) {
  .sector__head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .product-card__body { padding: 0 4px; }
}

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.timeline li { border-top: 2px solid var(--blue-500); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.timeline__year { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.015em; }
.timeline__text { font-size: 14px; line-height: 22px; color: var(--text-2); }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; gap: 32px 16px; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- Text section ---------- */
.text-cols { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; }
.text-cols__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.prose { color: var(--text-2); font-size: 15px; line-height: 26px; }
.prose > * + * { margin-top: 18px; }
.prose--large { font-size: 18px; line-height: 30px; }
.prose h2 { font-size: 30px; line-height: 38px; font-weight: 500; letter-spacing: -0.015em; color: var(--text); margin-top: 48px; }
.prose h3 { font-size: 22px; line-height: 30px; font-weight: 500; color: var(--text); margin-top: 36px; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose img { border-radius: var(--r-l); margin: 32px 0; width: 100%; }
.prose figure { margin: 32px 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose blockquote { border-left: 3px solid var(--blue-500); padding-left: 20px; color: var(--text); font-size: 20px; line-height: 30px; }
.prose strong { color: var(--text); font-weight: 600; }
.on-dark .prose { color: var(--on-dark-2); }
.signature { margin-top: 28px; }
.signature strong { display: block; font-size: 17px; font-weight: 600; color: var(--text); }
.signature span { font-size: 13px; color: var(--muted); }
.text-cols__image { border-radius: var(--r-l); overflow: hidden; margin-top: 8px; }
@media (max-width: 900px) { .text-cols { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Photos ---------- */
.photos { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.photos figure { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--border); }
.photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .photos { grid-template-columns: 1fr 1fr; } }

/* ---------- Offices ---------- */
.office { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-card); padding: 20px; display: flex; flex-direction: column; }
.office__map { aspect-ratio: 250 / 135; border-radius: var(--r-m); background-color: var(--map-bg); background-image: linear-gradient(var(--map-line) 1px, transparent 1px), linear-gradient(90deg, var(--map-line) 1px, transparent 1px); background-size: 36px 36px; display: grid; place-items: center; color: var(--blue-500); margin-bottom: 28px; }
.office__map svg { width: 22px; height: 22px; }
.office__body { padding: 0 18px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.office__name { font-size: 20px; line-height: 28px; font-weight: 500; }
.office__addr { font-size: 14px; line-height: 22px; color: var(--text-2); }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 48px; align-items: start; }
.form-card { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-card); padding: 40px; }
.form-card h2 { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--border); background: var(--subtle); border-radius: var(--r-m); padding: 12px 16px; font-size: 15px; line-height: 22px; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230a1f3c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 48px; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--surface); box-shadow: 0 0 0 3px var(--blue-50); }
.field [aria-invalid='true'] { border-color: #e11d48; }
.field__error { font-size: 13px; color: #be123c; }
.form-consent { font-size: 13px; color: var(--muted); margin: 20px 0; }
.form-consent a { text-decoration: underline; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-m); font-size: 14px; }
.form-status--ok { background: #edf8f1; color: #0b4a24; }
.form-status--err { background: #ffeef2; color: #9c1c3b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.side-cards { display: grid; gap: 12px; }
.side-card { background: var(--subtle); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.side-card__title { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 28px; font-weight: 500; }
.side-card__title svg { width: 22px; height: 22px; color: var(--blue-500); }
.side-card__text { font-size: 14px; line-height: 22px; color: var(--text-2); }
.side-card__text a:hover { color: var(--blue-600); }
.side-card--dark { background: var(--navy-900); color: #fff; }
.side-card--dark svg { color: var(--cyan); }
.side-card--dark .side-card__text { color: var(--on-dark-2); }
.form-wrap--lifted { position: relative; z-index: 2; }
@media (max-width: 960px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-wrap--lifted { margin-top: 0; }
}
@media (max-width: 640px) {
  .form-card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Videos ---------- */
.video-card { display: flex; flex-direction: column; gap: 12px; position: relative; }
.video-card__img { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 1; background: var(--border); margin-bottom: 4px; }
.video-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-card:hover .video-card__img img { transform: scale(1.03); }
.video-card__play { position: absolute; left: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 92%); display: grid; place-items: center; color: var(--navy-900); }
.video-card__play svg { width: 18px; height: 18px; margin-left: 2px; }
.video-card__title { font-size: 18px; line-height: 26px; font-weight: 600; }

/* ---------- Quote ---------- */
.quote-card { background: var(--subtle); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.quote-card blockquote { font-size: 19px; line-height: 28px; font-weight: 500; }
.quote-card figcaption { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; padding: 104px 0; }
.cta__inner { position: relative; z-index: 1; max-width: 680px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta__text { color: var(--on-dark-2); }
@media (max-width: 768px) { .cta { padding: 72px 0; } .ribbon--cta { width: 300px; height: 700px; right: -180px; top: 120px; opacity: .6; } }

/* ---------- Product page ---------- */
.subnav { position: sticky; top: 72px; z-index: 30; background: var(--glass); backdrop-filter: blur(12px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.subnav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.subnav__links { display: flex; gap: 36px; overflow-x: auto; scrollbar-width: none; }
.subnav__links a { font-size: 15px; color: var(--text-2); white-space: nowrap; padding: 6px 0; }
.subnav__links a:hover, .subnav__links a[aria-current='true'] { color: var(--a-700); }
@media (max-width: 768px) { .subnav { top: 0; } .subnav .btn { display: none; } .subnav__bar { height: 56px; } .subnav__links { gap: 24px; } }
.product-logo { height: 52px; width: auto; max-width: 240px; object-fit: contain; object-position: left; }
.product-logo--text { font-size: 30px; line-height: 38px; font-weight: 600; color: var(--a-700); }
.hero__panel--product { position: relative; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.feature { border-top: 1px solid var(--border); padding: 24px 0 40px; display: flex; flex-direction: column; gap: 16px; }
.feature__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--a-50); color: var(--a-700); display: grid; place-items: center; }
.feature__icon svg { width: 20px; height: 20px; }
.feature__title { font-size: 20px; line-height: 28px; font-weight: 500; }
.feature__text { font-size: 14px; line-height: 22px; color: var(--text-2); margin-top: -6px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .feature { padding: 20px 0 24px; } }
.benefits { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; align-items: start; }
.benefits__card { background: var(--surface); border-radius: var(--r-l); padding: 32px; display: grid; gap: 28px; }
.benefits__card .checks { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.benefits__card h3 { font-size: 16px; font-weight: 600; margin-bottom: -12px; }
.benefits .checks li { font-size: 15px; line-height: 24px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; gap: 32px; } .benefits__card .checks { grid-template-columns: 1fr; } .benefits__card { padding: 24px; } }
.related-card { background: var(--surface); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: box-shadow .2s ease; }
.related-card:hover { box-shadow: var(--shadow-card); }

/* ---------- Article ---------- */
.article-hero { padding: calc(var(--header-h) + 40px) 0 56px; text-align: center; position: relative; overflow: hidden; }
.article-hero__inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; position: relative; z-index: 1; }
.article-hero__meta { font-size: 14px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-float); aspect-ratio: 1200 / 560; background: var(--border); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 56px 0 var(--section-y); }
.article-body .prose { font-size: 17px; line-height: 30px; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.share a { height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--subtle); color: var(--text); display: inline-flex; align-items: center; font-weight: 500; }
.share a:hover { background: var(--blue-50); }

/* ---------- 404 ---------- */
.notfound { padding: calc(var(--header-h) + 80px) 0 120px; text-align: center; position: relative; overflow: hidden; }
.notfound__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; align-items: center; max-width: 640px; margin: 0 auto; }
.notfound__code { font-size: 160px; line-height: 1; font-weight: 500; letter-spacing: -0.05em; background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 768px) { .notfound__code { font-size: 112px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--subtle); padding: 80px 0 40px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 300px) repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer__brand { display: flex; flex-direction: column; gap: 20px; padding-right: 40px; }
.footer__brand img { width: 104px; }
.footer__tagline { color: var(--text-2); line-height: 22px; }
.footer__contact { display: grid; gap: 4px; }
.footer__contact a { font-size: 15px; font-weight: 500; }
.footer__contact a:hover { color: var(--blue-600); }
.footer__col h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a:hover { color: var(--blue-600); }
.footer__offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0; }
.footer__offices h3 { font-size: 20px; line-height: 28px; font-weight: 500; margin-bottom: 10px; }
.footer__offices p { color: var(--text-2); line-height: 22px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); flex-wrap: wrap; }
.footer__social { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__social a { color: var(--text-2); }
.footer__social a:hover { color: var(--text); }
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; padding-right: 0; }
}
@media (max-width: 768px) {
  .site-footer { padding: 56px 0 32px; }
  .footer__offices { grid-template-columns: 1fr; gap: 24px; }
}

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

/* ---------- Sector-tinted glow + product hero details ---------- */
[data-sector] .ribbon--soft::before { background: radial-gradient(closest-side, color-mix(in srgb, var(--a-500) 30%, transparent), transparent), radial-gradient(closest-side at 80% 30%, color-mix(in srgb, var(--a-500) 18%, transparent), transparent); }
.hero__panel--fit img { object-fit: contain; box-shadow: none; aspect-ratio: auto; }
.hero__media .hero__float { z-index: 2; }
.story-feature .secondary, .post-card__excerpt, .post-lead__text .secondary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ======================================================================
   Dark mode — set by the header switch (data-theme on <html>).
   The first visit follows the device setting; see ThemeScript in layout.
   ====================================================================== */
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #050d1a;
  --subtle: #0a1629;
  --surface: #0f1f38;
  --border: #1c3050;
  --border-strong: #2b4670;
  --text: #e8eef6;
  --text-2: #b0bdcf;
  --muted: #8797ad;
  --link: #5cc4ee;
  --blue-50: rgb(1 145 205 / 14%);
  --blue-600: #5cc4ee;
  --glass: rgb(5 13 26 / 86%);
  --hover: rgb(255 255 255 / 7%);
  --chip-hover: #15284a;
  --invert-bg: #e8eef6;
  --invert-fg: #0a1f3c;
  --invert-hover: #ffffff;
  --map-bg: #0c1a30;
  --map-line: #1a2e4d;
  --shadow-card: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 28%);
  --shadow-float: 0 12px 40px rgb(0 0 0 / 45%);
  --shadow-hover: 0 2px 4px rgb(0 0 0 / 30%), 0 16px 40px rgb(0 0 0 / 40%);
  --a-700: #5cc4ee;
  --a-500: #22a9e0;
  --a-50: rgb(1 145 205 / 14%);
}
[data-theme='dark'] [data-sector='education'] { --a-700: #5ed494; --a-500: #22c065; --a-50: rgb(18 161 80 / 15%); }
[data-theme='dark'] [data-sector='government'] { --a-700: #aaa6ff; --a-500: #7c74ff; --a-50: rgb(79 70 229 / 20%); }
[data-theme='dark'] [data-sector='justice'] { --a-700: #f5c04f; --a-500: #f0a71e; --a-50: rgb(217 142 4 / 16%); }
[data-theme='dark'] [data-sector='health'] { --a-700: #ff8da6; --a-500: #f43f68; --a-50: rgb(225 29 72 / 17%); }
[data-theme='dark'] [data-sector='enterprise'] { --a-700: #5fd3ea; --a-500: #22b8da; --a-50: rgb(8 145 178 / 18%); }

/* Navy blocks sit a step above the darker page so they still read as panels. */
[data-theme='dark'] .section--dark,
[data-theme='dark'] .hero--dark { background: #0a1c36; }
[data-theme='dark'] .cta { background: #081629; border-top: 1px solid var(--border); }
[data-theme='dark'] .split--dark,
[data-theme='dark'] .side-card--dark,
[data-theme='dark'] .mega__promo,
[data-theme='dark'] .bento__card:last-child:nth-child(5) { background: #12294b; }
[data-theme='dark'] .site-footer { border-top: 1px solid var(--border); }

/* Logos are drawn for white backgrounds: give them a light tile so dark wordmarks stay legible. */
[data-theme='dark'] .logos__item:not(.logos__item--text) { width: 152px; height: 76px; background: #f4f7fb; border-radius: var(--r-m); padding: 10px 14px; }
[data-theme='dark'] .logos--strip .logos__item img { opacity: .85; }
[data-theme='dark'] .split__logo,
[data-theme='dark'] .product-logo { background: #f4f7fb; border-radius: var(--r-m); padding: 8px 12px; box-sizing: content-box; }
[data-theme='dark'] .logo-dark { display: none !important; }
[data-theme='dark'] .logo-light { display: block !important; }

[data-theme='dark'] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23e8eef6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-theme='dark'] .field input, [data-theme='dark'] .field select, [data-theme='dark'] .field textarea { background-color: var(--subtle); }
[data-theme='dark'] .field input:focus, [data-theme='dark'] .field textarea:focus { box-shadow: 0 0 0 3px rgb(1 145 205 / 25%); }
[data-theme='dark'] .checks svg { stroke: var(--surface); }
[data-theme='dark'] .split--dark .checks svg { stroke: #12294b; }
[data-theme='dark'] .card__image, [data-theme='dark'] .post-card__img, [data-theme='dark'] .story-feature__img { background: var(--surface); }
[data-theme='dark'] .form-status--ok { background: rgb(18 161 80 / 15%); color: #7ee2aa; }
[data-theme='dark'] .form-status--err { background: rgb(225 29 72 / 17%); color: #ff9db3; }
[data-theme='dark'] .ribbon--soft { opacity: .35; }
[data-theme='dark'] .hero--home .ribbon--hero,
[data-theme='dark'] .hero:not(.hero--dark) .ribbon--hero { opacity: .55; }

/* ---------- Theme switch ---------- */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: none; color: inherit; display: inline-grid; place-items: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.theme-toggle:hover { background: var(--hover); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
[data-theme='dark'] .theme-toggle .icon-sun { display: block; }
[data-theme='dark'] .theme-toggle .icon-moon { display: none; }
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) .theme-toggle:hover { background: rgb(255 255 255 / 8%); }
@media (max-width: 960px) { .theme-toggle { margin-right: 2px; } }
.mobile-menu__theme { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--border); }
.switch { width: 52px; height: 30px; border-radius: var(--r-pill); border: 0; background: var(--border-strong); position: relative; cursor: pointer; transition: background-color .2s ease; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform .2s ease; }
.switch[aria-checked='true'] { background: var(--blue-500); }
.switch[aria-checked='true']::after { transform: translateX(22px); }
[data-theme='dark'] .logos__row { gap: 20px 24px; }
[data-theme='dark'] .logos__item:not(.logos__item--text) { width: 136px; height: 72px; }
@media (max-width: 768px) { [data-theme='dark'] .logos__item:not(.logos__item--text) { width: 100%; max-width: 160px; } }

/* ---------- Team ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.person { display: flex; flex-direction: column; gap: 6px; }
.person__photo { aspect-ratio: 4 / 4.4; border-radius: var(--r-l); overflow: hidden; background: var(--subtle); margin-bottom: 14px; display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s ease; }
.person:hover .person__photo img { transform: scale(1.03); }
.person__initials { font-size: 48px; font-weight: 500; color: var(--muted); letter-spacing: -0.02em; }
.person__name { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.005em; }
.person__role { font-size: 14px; line-height: 22px; color: var(--text-2); }
.person__bio { font-size: 14px; line-height: 22px; color: var(--muted); margin-top: 6px; }
.person .text-link { margin-top: 6px; }
@media (max-width: 1024px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .team { gap: 28px 14px; }
  .person__photo { border-radius: var(--r-m); margin-bottom: 10px; }
  .person__name { font-size: 16px; line-height: 22px; font-weight: 600; }
  .person__role { font-size: 13px; line-height: 19px; }
}
[data-theme='dark'] .btn--primary { background: #0077ad; }
[data-theme='dark'] .btn--primary:hover { background: #0189c4; }

/* ---------- WordPress-only additions (theme build) ---------- */
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; }

/* Logged-in editors see the admin bar; keep the fixed header below it. */
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header.is-fixed { top: 32px; }
.admin-bar .subnav { top: 104px; }
@media (max-width: 782px) {
  .admin-bar .site-header, .admin-bar .site-header.is-fixed { top: 46px; }
  .admin-bar .site-header.is-fixed { position: absolute; }
}

/* Fill images (Next.js renders these absolutely inside their frame). */
.img-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Mega menu and mobile menu are always in the page; the script shows/hides them. */
.site-nav__item { position: static; }
.mobile-menu__sub[hidden] { display: none !important; }

/* Block-editor content inside articles and fallback pages. */
.prose .wp-block-image, .prose .wp-block-gallery { margin: 32px 0; }
.prose .wp-block-image img { border-radius: var(--r-l); }
.prose .wp-block-image figcaption, .prose .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: left; }
.prose .alignwide, .prose .alignfull { width: 100%; }
.prose .wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.prose .wp-block-button__link { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--blue-600); color: #fff; font-weight: 600; text-decoration: none; }
.prose .wp-block-embed iframe, .prose iframe { max-width: 100%; border-radius: var(--r-l); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; }

/* Archive listing (categories, search) */
.archive-empty { padding: 48px; text-align: center; color: var(--muted); background: var(--subtle); border-radius: var(--r-l); }
.pager .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); display: inline-grid; place-items: center; font-size: 14px; font-weight: 500; border: 1px solid var(--border); }
.pager .page-numbers.current { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }

/* ---------- Campaign hero (variant "promo") ---------- */
.hero--promo { padding: calc(var(--header-h) + 40px) 0 96px; }
.hero--promo .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero--promo .hero__text { gap: 22px; }
.hero-pill { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: var(--r-pill); background: var(--chip-hover); color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-promo__title { font-size: 64px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; color: var(--text); max-width: 11ch; }
.hero-tagline { display: inline-flex; align-items: center; min-height: 60px; padding: 14px 24px; border-radius: var(--r-m); background: var(--invert-bg); color: var(--invert-fg); font-size: 18px; font-weight: 700; line-height: 1.3; }
.hero--promo .hero__intro { max-width: 640px; }
.hero-chips { display: flex; flex-wrap: wrap; align-self: stretch; align-items: flex-start; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.hero-chips li { display: inline-flex; align-items: center; min-height: 46px; padding: 0 12px; border-radius: var(--r-m); background: #e8f6ec; border: 1px solid #b9e2c6; color: #12803f; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hero-offer { display: block; white-space: nowrap; font-size: 16px; font-weight: 600; color: var(--text-2); }
.hero-offer strong { color: var(--text); font-weight: 700; }
.hero-offer span { margin: 0 0 0 8px; }
.hero-offer span:last-child { color: var(--link); }
.hero-cta { margin-top: 4px; }
.hero-cta .btn { height: 56px; padding: 0 28px; border-radius: var(--r-m); font-weight: 700; font-size: 16px; }
.hero-frame { position: relative; padding-top: 18px; }
.hero-frame__panel { position: relative; background: var(--subtle); border: 1px solid var(--border); border-radius: 36px; box-shadow: 0 30px 60px -30px rgb(10 31 60 / 22%); height: 0; padding-bottom: 86.2%; overflow: hidden; }
.hero-frame__panel img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); max-width: none; object-fit: contain; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
.hero-badge { position: absolute; z-index: 2; top: 0; right: 32px; display: inline-flex; align-items: center; min-height: 54px; padding: 12px 22px; border-radius: var(--r-m); background: var(--invert-bg); color: var(--invert-fg); font-size: 15px; font-weight: 700; box-shadow: var(--shadow-float); }
[data-theme='dark'] .hero-chips li { background: rgb(18 161 80 / 15%); border-color: rgb(94 212 148 / 30%); color: #5ed494; }
@media (max-width: 1024px) {
  .hero--promo .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-promo__title { font-size: 52px; max-width: none; }
}
@media (max-width: 640px) {
  .hero--promo { padding: calc(var(--header-h) + 16px) 0 56px; }
  .hero-promo__title { font-size: 38px; }
  .hero-tagline { font-size: 16px; width: 100%; }
  .hero-chips li { white-space: normal; }
  .hero-offer { white-space: normal; }
  .hero-cta, .hero-cta .btn { width: 100%; }
  .hero-badge { right: 12px; left: 12px; justify-content: center; text-align: center; font-size: 14px; }
  .hero-frame__panel { border-radius: 24px; }
  .hero-frame__panel img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
}

/* ---------- Language switcher (Google Translate) ---------- */
.lang { position: relative; }
.lang-toggle { height: 40px; padding: 0 10px 0 8px; border-radius: var(--r-pill); border: 1px solid transparent; background: none; color: inherit; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; transition: background-color .15s ease; }
.lang-toggle:hover, .lang-toggle[aria-expanded='true'] { background: var(--hover); }
.lang-toggle svg { width: 19px; height: 19px; }
body:has(main > .hero--dark:first-child) .site-header:not(.is-fixed) .lang-toggle:hover { background: rgb(255 255 255 / 8%); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 90; min-width: 210px; margin: 0; padding: 6px; list-style: none; background: var(--page); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-m); box-shadow: var(--shadow-float); }
.lang-menu[hidden] { display: none; }
.lang-menu button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 0; border-radius: var(--r-s); background: none; color: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; }
.lang-menu button:hover { background: var(--hover); }
.lang-menu button[aria-checked='true'] { color: var(--link); font-weight: 700; }
.lang-menu button[aria-checked='true']::after { content: '\2713'; }
.lang-menu__note { margin-top: 4px; padding: 8px 12px 4px; border-top: 1px solid var(--border); font-size: 11px; line-height: 16px; color: var(--muted); }
.mobile-menu__lang { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu__lang select { height: 44px; padding: 0 36px 0 14px; border-radius: var(--r-m); border: 1px solid var(--border-strong); background: var(--page); color: var(--text); font-size: 16px; font-weight: 500; }
@media (max-width: 480px) { .lang-toggle .lang-toggle__code { display: none; } .lang-toggle { padding: 0 8px; } }
/* Hide Google's own banner/tooltips; our switcher replaces them. */
.skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-tooltip, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none; }

/* ---------- Logo marquee: slides continuously, pauses on hover/focus (driven by site.js) ---------- */
/* Without JavaScript the logos simply show as a centred, wrapping row. */
.marquee__track { display: flex; justify-content: center; }
.marquee__group { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; margin: 0; padding: 0; list-style: none; }
.marquee__group[aria-hidden='true'] { display: none; }
.marquee__group .logos__item { flex: none; }
.marquee.is-running { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee.is-running .marquee__track { width: max-content; justify-content: flex-start; will-change: transform; }
.marquee.is-running .marquee__group { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 48px; padding: 4px 48px 4px 0; }
.marquee.is-running .marquee__group[aria-hidden='true'] { display: flex; }
