/* V2 mega panels only. Header positioning, logo and top-level type are owned
   by the shared V2 stylesheet. Native details/summary and focus handling stay. */
.nav-drop.v2-mega-drop { position: static; }
.nav-panel.v2-mega-menu {
  position: fixed;
  inset: 86px max(24px, calc((100vw - 1320px) / 2 + 40px)) auto auto;
  width: min(860px, calc(100vw - 48px));
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 22px;
  color: #16394d;
  background: #fcfcf8;
  border: 1px solid #d8e2e5;
  border-radius: 22px;
  box-shadow: 0 28px 80px #00152130, 0 3px 10px #00152112;
  isolation: isolate;
}
.nav-panel.v2-mega-platform { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; }
.v2-mega-links, .v2-mega-product-copy, .v2-mega-development-group { min-width: 0; }
.v2-mega-links { display: grid; gap: 5px; align-content: start; }
.nav-panel.v2-mega-menu a { text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.nav-panel.v2-mega-menu a:focus-visible { outline: 3px solid #006bbb; outline-offset: -3px; }
.nav-panel.v2-mega-menu .v2-mega-product {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 14px;
  padding: 17px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease;
}
.nav-panel.v2-mega-menu .v2-mega-product:hover { color: #16394d; background: #eaf5f7; border-color: #cee5e9; }
.v2-mega-logo { display: flex; align-items: center; justify-content: center; width: 70px; min-height: 64px; padding: 7px; border: 1px solid #e1e7e8; border-radius: 12px; background: #fff; }
.v2-mega-logo img { width: 100%; height: 52px; object-fit: contain; filter: none; }
.v2-mega-product-copy { display: grid; gap: 5px; }
.v2-mega-name { color: #09273e; font-family: Inter, Arial, sans-serif; font-size: 13px; line-height: 1.45; font-weight: 750; letter-spacing: .025em; text-transform: uppercase; }
.v2-mega-role { color: #1f5f80; font-size: 11px; font-weight: 650; line-height: 1.5; }
.v2-mega-description { color: #536b78; font-size: 11px; line-height: 1.7; }
.nav-panel.v2-mega-menu .v2-mega-product small { margin: 2px 0 0; color: #687e89; font-size: 10px; line-height: 1.5; }
.v2-mega-arrow { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 21px; color: #2c718c; font-size: 17px; font-weight: 500; line-height: 1; }
.v2-mega-development-group { border-top: 1px solid #dce4e6; margin-top: 9px; padding-top: 17px; }
.nav-panel.v2-mega-menu .v2-mega-development {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
}
.nav-panel.v2-mega-menu .v2-mega-development:hover { background: #eaf5f7; border-color: #cee5e9; }
.v2-mega-development > span:first-child { color: #193b4f; font-size: 12px; line-height: 1.5; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.v2-mega-development .development-menu-logos { display: flex; gap: 8px; align-items: center; padding: 0; background: transparent; }
.v2-mega-development .development-menu-logos img { width: 58px; height: 28px; object-fit: contain; filter: none; }
.nav-panel.v2-mega-menu .v2-mega-development small { grid-column: 1 / -1; color: #536b78; font-size: 10px; line-height: 1.6; }
.v2-mega-basis-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 5px; }
.nav-panel.v2-mega-menu .v2-mega-basis { position: relative; display: grid; gap: 7px; padding: 14px; padding-right: 22px; border: 1px solid #dce6e8; border-radius: 12px; background: #f1f5f4; }
.v2-mega-basis strong { color: #294c60; font-size: 11px; font-weight: 700; line-height: 1.5; }
.v2-mega-basis > span:not(.v2-mega-arrow) { color: #5b7280; font-size: 10px; line-height: 1.65; }
.v2-mega-basis .v2-mega-arrow { position: absolute; top: 10px; right: 5px; font-size: 13px; }
.nav-panel.v2-mega-menu .v2-mega-basis:hover { border-color: #9fceda; background: #e6f3f5; }
.nav-panel.v2-mega-menu .v2-mega-overview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 0;
  padding: 28px 25px;
  border: 1px solid #1b4960;
  border-radius: 16px;
  color: #fff;
  background: radial-gradient(ellipse at 100% 5%, #204f66 0, transparent 52%), #09273e;
  overflow: hidden;
}
.nav-panel.v2-mega-menu .v2-mega-overview:hover { background: radial-gradient(ellipse at 100% 5%, #2c6177 0, transparent 52%), #09273e; color: #fff; }
.v2-mega-overview-top { display: grid; gap: 14px; }
.v2-mega-overview-top > strong { color: #fff; font-family: Inter, Arial, sans-serif; font-size: 22px; font-weight: 650; line-height: 1.22; letter-spacing: -.035em; }
.nav-panel.v2-mega-menu .v2-mega-overview small { color: #b3dbe7; font-size: 11px; line-height: 1.6; }
.v2-mega-overview-logos { display: flex; gap: 12px; align-items: center; padding: 16px 12px; border-radius: 12px; background: #fff; }
.v2-mega-overview-logos img { width: calc(50% - 6px); height: 70px; object-fit: contain; filter: none; }
.v2-mega-overview-description { color: #d2e3ec; font-size: 12px; line-height: 1.8; }
.v2-mega-overview-line { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; }
.v2-mega-overview-line i { display: block; height: 4px; width: 27px; background: #9be5f4; border-radius: 2px; }
.v2-mega-overview-line i:nth-child(2) { width: 54px; opacity: .5; }
.v2-mega-overview-line i:nth-child(3) { width: 17px; opacity: .3; }
.v2-mega-overview > .v2-mega-arrow { position: absolute; right: 21px; bottom: 25px; color: #9be5f4; font-size: 24px; }

/* Two main areas, each followed by its own visibly subordinate topic cards. */
.v2-mega-expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto repeat(2, 1fr); gap: 10px 20px; }
.v2-mega-expertise-group { min-width: 0; display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.nav-panel.v2-mega-menu .v2-mega-expertise-overview {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 200px;
  margin-bottom: 7px;
  padding: 20px 23px;
  border: 1px solid #254e68;
  border-radius: 15px;
  color: #fff;
  background: radial-gradient(ellipse at 100% 0, #295b77 0, transparent 70%), #0b2b43;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.nav-panel.v2-mega-menu .v2-mega-group-engineering-modernisation .v2-mega-expertise-overview {
  border-color: #2c6269;
  background: radial-gradient(ellipse at 100% 0, #356e71 0, transparent 70%), #133f49;
}
.nav-panel.v2-mega-menu .v2-mega-expertise-overview:hover { border-color: #80bed4; box-shadow: inset 0 0 0 1px #80bed4; }
.nav-panel.v2-mega-menu .v2-mega-expertise-overview:focus-visible { outline-color: #9be5f4; outline-offset: -5px; }
.v2-mega-area-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #c3dce6; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.v2-mega-area-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #acd8e53d; border-radius: 12px; background: #d3f0fa0a; color: #b4e7f5; }
.v2-mega-area-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.v2-mega-area-title { display: block; min-height: 58px; color: #fff; font-family: Inter, Arial, sans-serif; font-size: 24px; line-height: 1.2; font-weight: 650; letter-spacing: -.035em; text-wrap: balance; }
.v2-mega-area-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 13px; border-top: 1px solid #c7e9f02b; color: #c5eff9; font-size: 11px; font-weight: 600; line-height: 1.5; }
.v2-mega-area-cta .v2-mega-arrow { color: inherit; }
.v2-mega-subtopics { display: grid; grid-row: span 3; grid-template-rows: subgrid; min-width: 0; padding-left: 15px; margin-left: 14px; border-left: 1px solid #bdced5; }
.v2-mega-subtopics-label { display: block; color: #5a7481; font-size: 10px; font-weight: 500; line-height: 1.5; }
.v2-mega-subtopic-list { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
.nav-panel.v2-mega-menu .v2-mega-expertise-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 128px;
  padding: 16px 25px 16px 14px;
  border: 1px solid #dce5e7;
  border-radius: 12px;
  background: #f1f5f3;
  transition: background 180ms ease, border-color 180ms ease;
}
.v2-mega-expertise-card::before { content: ""; position: absolute; top: 34px; left: -16px; width: 15px; border-top: 1px solid #bdced5; }
.v2-mega-icon { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 46px; border: 1px solid #d3e5eb; border-radius: 12px 12px 19px 12px; color: #236983; background: #e4f0f3; }
.v2-mega-icon svg { position: relative; z-index: 1; width: 31px; height: 31px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.v2-mega-icon-detail { color: #0086af; }
.v2-mega-expertise-security .v2-mega-icon { color: #effbff; background: #0f344b; border-color: #0f344b; border-radius: 16px 27px 16px 16px; }
.v2-mega-expertise-security .v2-mega-icon-detail { color: #9be5f4; }
.v2-mega-expertise-engineering .v2-mega-icon { border-radius: 26px 15px 15px 15px; background: #e5eef7; }
.v2-mega-expertise-modernisation .v2-mega-icon { border-radius: 50%; background: #e4efeb; border-color: #cfe0d9; color: #315e58; }
.v2-mega-expertise-copy { display: grid; min-width: 0; gap: 7px; }
.v2-mega-expertise-copy > strong { color: #09273e; font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 650; line-height: 1.45; }
.v2-mega-expertise-copy > span { color: #536b78; font-size: 12px; line-height: 1.65; }
.v2-mega-expertise-card > .v2-mega-arrow { position: absolute; bottom: 12px; right: 8px; font-size: 14px; }
.nav-panel.v2-mega-menu .v2-mega-expertise-card:hover { background: #e0f2f5; border-color: #b1d6df; }

@media (max-width: 1080px) {
  .nav-drop.v2-mega-drop { width: 100% !important; max-width: none; }
  .nav-panel.v2-mega-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none;
    max-height: none;
    margin: 10px 0 22px;
    padding: 18px;
    border: 1px solid #d8e2e5 !important;
    border-radius: 16px;
    background: #fcfcf8 !important;
    color: #16394d;
    box-shadow: none;
    overflow: visible;
  }
  .nav-panel.v2-mega-menu .v2-mega-product { background: transparent !important; }
  .nav-panel.v2-mega-menu .v2-mega-product:hover { background: #eaf5f7 !important; }
  .nav-panel.v2-mega-menu .v2-mega-product small,
  .nav-panel.v2-mega-menu .v2-mega-development small { color: #536b78 !important; }
  .nav-panel.v2-mega-menu .v2-mega-development .development-menu-logos { background: transparent !important; padding: 0; }
  .nav-panel.v2-mega-menu .v2-mega-overview small { color: #b3dbe7 !important; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .v2-mega-overview-top > strong { font-size: 18px; }
}
@media (max-width: 760px) {
  .nav-panel.v2-mega-platform { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nav-panel.v2-mega-menu { padding: 13px; }
  .nav-panel.v2-mega-menu .v2-mega-product { grid-template-columns: 58px minmax(0, 1fr) 16px; gap: 11px; padding: 15px 9px; }
  .v2-mega-logo { width: 58px; min-height: 58px; padding: 6px; }
  .v2-mega-logo img { height: 45px; }
  .v2-mega-description { font-size: 11px; }
  .v2-mega-name { font-size: 12px; }
  .nav-panel.v2-mega-menu .v2-mega-overview { padding: 25px; gap: 22px; }
  .v2-mega-overview-top > strong { max-width: 340px; font-size: 23px; }
  .v2-mega-overview-logos { max-width: 260px; }
  .v2-mega-expertise-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, auto auto 1fr 1fr); }
  .v2-mega-expertise-group + .v2-mega-expertise-group { margin-top: 15px; }
  .nav-panel.v2-mega-menu .v2-mega-expertise-overview { min-height: 0; padding: 18px 20px; }
  .v2-mega-area-title { min-height: 0; font-size: 25px; }
  .nav-panel.v2-mega-menu .v2-mega-expertise-card { min-height: 0; }
}
@media (max-width: 400px) {
  .nav-panel.v2-mega-menu { padding: 10px; }
  .nav-panel.v2-mega-menu .v2-mega-product { grid-template-columns: 48px minmax(0, 1fr); gap: 11px; padding: 14px 7px; }
  .v2-mega-product > .v2-mega-arrow { display: none; }
  .v2-mega-logo { width: 48px; min-height: 53px; padding: 5px; }
  .v2-mega-logo img { height: 39px; }
  .v2-mega-role { font-size: 10px; }
  .nav-panel.v2-mega-menu .v2-mega-development { grid-template-columns: minmax(0, 1fr); padding-inline: 8px; }
  .v2-mega-development .development-menu-logos { margin-top: 5px; }
  .v2-mega-basis-list { grid-template-columns: minmax(0, 1fr); }
  .v2-mega-basis > span:not(.v2-mega-arrow) { font-size: 11px; }
  .nav-panel.v2-mega-menu .v2-mega-expertise-overview { padding: 16px; }
  .v2-mega-area-title { font-size: 22px; }
  .v2-mega-subtopics { margin-left: 7px; padding-left: 11px; }
  .v2-mega-expertise-card::before { left: -12px; width: 11px; }
  .nav-panel.v2-mega-menu .v2-mega-expertise-card { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 14px 21px 14px 10px; }
  .v2-mega-icon { width: 32px; height: 37px; border-radius: 10px; }
  .v2-mega-icon svg { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-mega-menu, .v2-mega-menu * { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .v2-mega-menu, .v2-mega-overview, .v2-mega-icon, .v2-mega-expertise-card,
  .nav-panel.v2-mega-menu .v2-mega-expertise-overview { border-color: CanvasText; }
  .v2-mega-menu a:focus-visible { outline-color: Highlight; }
}
.v2-mega-product-copy,.nav-panel.v2-mega-menu .v2-mega-development{text-align:left}
.v2-mega-description,.v2-mega-expertise-copy>span{font-size:12px;font-weight:400}
.v2-mega-overview-description{font-size:12px;font-weight:400}
.v2-mega-basis>span:not(.v2-mega-arrow){font-weight:400}
/* Literal miniature of the accepted Home platform in both languages. */
.v2-mega-overview-platform{display:block;margin:0 -17px;padding:12px 0;background:#f3f8fb;border:1px solid #adc9d6;border-radius:12px;overflow:hidden}
.v2-mega-overview-platform img{display:block;width:100%;height:auto;aspect-ratio:1238/500;object-fit:contain;filter:none}
@media(max-width:760px){.v2-mega-overview-platform{max-width:400px}}
