/* Site header and footer (design of 2026-11-12), on every page.
   partials/header-nav.html.twig and partials/footer.html.twig. The older pages still load Elementor's
   stylesheets, whose kit rules (".elementor-kit-87 a", "... button") reach any element on the page, so
   every rule here is two classes deep and sets its own type, colour and spacing. */

:root {
  --o-navy: #121345;
  --o-navy-deep: #0B0C2E;
  --o-navy-card: #1C1E5C;
  --o-navy-line: #2C2F74;
  --o-navy-edge: #4A4F8C;
  --o-green: #27A689;
  --o-ink: #187D69;
  --o-mint: #5FD0B2;
  --o-mist: #E7F1F3;
  --o-soft: #F5F8F9;
  --o-line: #E3E8EC;
  --o-text: #1B1C2E;
  --o-body: #3E4258;
  --o-on-navy: #C9D6E0;
  --o-on-deep: #B9C6D3;
  --o-head: Archivo, 'Archivo Fallback', system-ui, sans-serif;
  --o-sans: Poppins, 'Poppins Fallback', system-ui, sans-serif;
  --o-wrap: 1240px;
}

/* Until Archivo and Poppins arrive from Google Fonts the text shows in Arial, scaled to the same width, so lines break
   in the same places and nothing moves when the real fonts swap in (measured 2026-11-13: Archivo 800 runs 3.4% wider
   than Arial Bold, 700 1.5% narrower; Poppins 400 12.3%, 500 13.6% wider than Arial, 600 6.5% wider than Arial Bold). */
@font-face { font-family: 'Archivo Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 100 749; size-adjust: 98.5%; }
@font-face { font-family: 'Archivo Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 750 900; size-adjust: 103.4%; }
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 100 449; size-adjust: 112.3%; }
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 450 549; size-adjust: 113.6%; }
@font-face { font-family: 'Poppins Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 550 900; size-adjust: 106.5%; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px;
  background: var(--o-navy); color: #fff; font: 600 15px/1.4 var(--o-sans); text-decoration: none; }
.skip-link:focus { top: 8px; outline: 2px solid var(--o-mint); outline-offset: 2px; }

/* top bar */
.oh-top.oh-top { background: var(--o-navy); color: var(--o-mist); font: 400 13px/1.5 var(--o-sans); }
.oh-top .oh-top__in { max-width: var(--o-wrap); margin: 0 auto; padding: 10px 24px; box-sizing: border-box;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.oh-top .oh-top__reach { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #B9CBD6; }

/* header bar */
.oh.oh { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--o-line);
  font-family: var(--o-sans); transition: box-shadow .2s ease; }
.oh.is-scrolled { box-shadow: 0 6px 24px rgba(18, 19, 69, .08); }
.oh .oh__in { max-width: var(--o-wrap); margin: 0 auto; padding: 16px 24px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.oh .oh__logo { display: flex; align-items: center; flex: none; }
.oh .oh__logo img { display: block; height: 44px; width: auto; max-width: none; }
.oh .oh__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.oh .oh__nav { display: flex; align-items: center; }
.oh .oh__menu { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.oh .oh__item { position: relative; margin: 0; padding: 0; list-style: none; }
.oh .oh__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--o-navy); font: 500 15px/1.2 var(--o-sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.oh .oh__link:hover, .oh .oh__link[aria-expanded="true"], .oh .oh__link[aria-current] { color: var(--o-ink); }
.oh .oh__link[aria-current] { font-weight: 600; }
.oh .oh__chev { width: 12px; height: 12px; transition: transform .2s ease; }
.oh .oh__link[aria-expanded="true"] .oh__chev { transform: rotate(180deg); }

.oh .oh__sub { position: absolute; top: 100%; left: -16px; min-width: 260px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--o-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(18, 19, 69, .12);
  display: none; }
.oh .oh__sub--cols { display: none; grid-template-columns: 1fr 1fr; min-width: 340px; }
.oh .oh__item.is-open > .oh__sub { display: block; }
.oh .oh__item.is-open > .oh__sub--cols { display: grid; }
.oh .oh__sub a { display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 8px;
  color: var(--o-navy); font: 500 14px/1.35 var(--o-sans); text-decoration: none; }
.oh .oh__sub a:hover, .oh .oh__sub a:focus-visible { background: var(--o-mist); color: var(--o-ink); }
.oh .oh__sub .oh__all { grid-column: 1 / -1; font-weight: 600; color: var(--o-ink); }
@media (hover: hover) and (min-width: 901px) {
  .oh .oh__item:hover > .oh__sub { display: block; }
  .oh .oh__item:hover > .oh__sub--cols { display: grid; }
}

.oh .oh__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 8px;
  background: var(--o-ink); color: #fff; font: 600 15px/1 var(--o-sans); text-decoration: none; white-space: nowrap; }
.oh .oh__cta:hover { background: #136756; color: #fff; }
.oh .oh__toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid #D5DDE3; border-radius: 8px; background: #fff; color: var(--o-navy); cursor: pointer; }
.oh .oh__toggle:hover { background: var(--o-soft); color: var(--o-navy); }
.oh .oh__toggle svg { width: 20px; height: 20px; }
.oh .oh__toggle .oh__x { display: none; }
.oh .oh__toggle[aria-expanded="true"] .oh__bars { display: none; }
.oh .oh__toggle[aria-expanded="true"] .oh__x { display: block; }

.oh a:focus-visible, .oh button:focus-visible, .oh-top a:focus-visible { outline: 2px solid var(--o-ink); outline-offset: 3px; }

@media (max-width: 1100px) {
  .oh .oh__menu { gap: 20px; }
  .oh .oh__link { font-size: 14px; }
}

/* phones and tablets: the menu folds into a panel under the bar */
@media (max-width: 900px) {
  .oh .oh__toggle { display: inline-flex; }
  .oh .oh__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 80px); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--o-line); box-shadow: 0 16px 32px rgba(18, 19, 69, .12); }
  .oh.is-open .oh__nav { display: block; }
  .oh .oh__menu { display: block; max-width: var(--o-wrap); margin: 0 auto; padding: 8px 24px 20px; }
  .oh .oh__item { border-bottom: 1px solid var(--o-line); }
  .oh .oh__item:last-child { border-bottom: 0; }
  .oh .oh__link { display: flex; width: 100%; justify-content: space-between; min-height: 52px; font-size: 16px; }
  .oh .oh__sub, .oh .oh__sub--cols { position: static; min-width: 0; padding: 0 0 12px; border: 0; border-radius: 0; box-shadow: none; }
  .oh .oh__sub--cols { grid-template-columns: 1fr 1fr; }
  .oh .oh__sub a { min-height: 44px; padding: 8px 12px; font-size: 15px; }
}
@media (max-width: 480px) {
  .oh .oh__in { padding: 12px 16px; gap: 10px; }
  .oh .oh__logo img { height: 34px; }
  .oh .oh__actions { gap: 8px; }
  .oh .oh__cta { padding: 0 14px; font-size: 14px; }
  .oh .oh__cta svg { display: none; }
  .oh .oh__menu { padding: 4px 16px 16px; }
  .oh-top .oh-top__in { padding: 8px 16px; }
  .oh-top .oh-top__reach { gap: 4px 12px; }
}

/* footer */
.of.of { background: var(--o-navy-deep); color: var(--o-on-deep); font: 400 15px/1.6 var(--o-sans); }
.of .of__in { max-width: var(--o-wrap); margin: 0 auto; padding: 72px 24px 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 48px; }
.of .of__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.of .of__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.of .of__brand { gap: 14px; }
.of .of__mark { color: #fff; font: 800 22px/1.2 var(--o-head); }
.of .of__lede { margin: 0; color: var(--o-on-deep); font-size: 15px; line-height: 1.6; }
.of .of__head { margin: 0 0 4px; color: #fff; font: 600 15px/1.4 var(--o-sans); }
.of .of__col a { color: var(--o-on-deep); text-decoration: none; }
.of .of__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.of .of__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.of .of__list li { margin: 0; padding: 0; }
.of .of__reach { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.of .of__reach li { margin: 0; padding: 0; }
.of .of__in .of__social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--o-mint); }
.of .of__chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.of .of__chips li { margin: 0; padding: 0; }
.of .of__in .of__chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--o-navy-line);
  border-radius: 999px; color: var(--o-on-deep); font-size: 14px; text-decoration: none; }
.of .of__in .of__chips a:hover { border-color: var(--o-mint); color: #fff; text-decoration: none; }
.of .of__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px;
  border-top: 1px solid #1F2160; font-size: 14px; }
.of .of__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.of .of__legal li { margin: 0; padding: 0; }
.of .of__legal a { color: var(--o-on-deep); text-decoration: underline; text-underline-offset: 3px; }
.of .of__legal a:hover { color: #fff; }
.of a:focus-visible { outline: 2px solid var(--o-mint); outline-offset: 3px; }
@media (max-width: 480px) {
  .of .of__in { padding: 56px 16px 28px; gap: 36px; }
}
