/* Site header / main menu — see site-header.php */
.msh, .msh-tabbar, .msh-sheet {
	--msh-navy: #0B0BA8;
	--msh-navy-d: #07077A;
	--msh-ink: #0D1236;
	--msh-muted: #596080;
	--msh-line: #E5E7F2;
	--msh-soft: #F2F3FA;
	--msh-amber: #FFB547;
	--msh-white: #FFFFFF;
	--msh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-family: var(--msh-font);
	color: var(--msh-ink);
	-webkit-font-smoothing: antialiased;
}
/* Reset — beats the theme's global [type=button] / button:hover styles.
   Component rules below are prefixed with their root (.msh / .msh-tabbar /
   .msh-sheet) so they win over this reset. */
.msh *, .msh-tabbar *, .msh-sheet * { box-sizing: border-box; }
.msh a, .msh-tabbar a, .msh-sheet a { text-decoration: none; }
.msh button, .msh-tabbar button, .msh-sheet button {
	font: inherit; color: inherit; background: none; border: 0; border-radius: 0; margin: 0; padding: 0;
	text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; width: auto; text-align: inherit;
}
.msh button:hover, .msh-tabbar button:hover, .msh-sheet button:hover,
.msh button:focus, .msh-tabbar button:focus, .msh-sheet button:focus {
	background-color: transparent; color: inherit; text-decoration: none;
}
.msh-i { width: 20px; height: 20px; flex: none; }

/* ---------- Bar ---------- */
.msh {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 9990;
	background: rgba(255, 255, 255, .97);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	box-shadow: 0 1px 0 var(--msh-line);
	transition: box-shadow .2s;
}
.msh.is-scrolled { box-shadow: 0 1px 0 var(--msh-line), 0 8px 24px -16px rgba(13, 18, 54, .35); }
.msh-bar {
	max-width: 1280px; margin: 0 auto;
	height: 72px; padding: 0 24px;
	display: flex; align-items: center; gap: 28px;
	transition: height .2s;
}
.msh.is-scrolled .msh-bar { height: 62px; }

.msh-logo { display: flex; align-items: center; flex: none; line-height: 0; }
.msh-logo__img { display: block; height: 46px; width: auto; transition: height .2s; }
.msh.is-scrolled .msh-logo__img { height: 40px; }

.msh-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.msh-nav__list > li { position: relative; margin: 0; padding: 0; }
.msh .msh-link {
	display: flex; align-items: center; gap: 6px;
	padding: 9px 14px; border-radius: 999px;
	font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--msh-ink);
	transition: background-color .15s, color .15s;
}
.msh .msh-link:hover, .msh .msh-link:focus-visible, .msh .msh-link[aria-expanded="true"] { background: var(--msh-soft); color: var(--msh-navy); }
.msh-link.is-active { color: var(--msh-navy); }
.msh-link.is-active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--msh-amber); }
.msh-link .msh-i, .msh-btn .msh-i { width: 16px; height: 16px; transition: transform .2s; }
[aria-expanded="true"] > .msh-i:last-child { transform: rotate(180deg); }

.msh-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.msh .msh-tool {
	display: flex; align-items: center; gap: 7px;
	padding: 9px 12px; border-radius: 999px;
	font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--msh-ink);
}
.msh .msh-tool:hover, .msh .msh-tool[aria-expanded="true"] { background: var(--msh-soft); color: var(--msh-navy); }
.msh-tool.is-active { color: var(--msh-navy); }
.msh-tool__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.msh .msh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 18px; border-radius: 999px;
	background: var(--msh-navy); color: var(--msh-white);
	font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap;
	transition: background-color .15s;
}
.msh .msh-btn:hover, .msh .msh-btn[aria-expanded="true"] { background: var(--msh-navy-d); color: var(--msh-white); }
.msh .msh-btn--light, .msh .msh-btn--light:hover { background: var(--msh-white); color: var(--msh-navy); }

.msh a:focus-visible, .msh button:focus-visible,
.msh-tabbar a:focus-visible, .msh-tabbar button:focus-visible,
.msh-sheet a:focus-visible, .msh-sheet button:focus-visible {
	outline: 3px solid var(--msh-amber); outline-offset: 2px;
}

/* ---------- Dropdowns ---------- */
.msh-dd { position: relative; }
.msh-drop {
	position: absolute; top: calc(100% + 10px); left: -12px; z-index: 2;
	background: var(--msh-white); color: var(--msh-ink);
	border-radius: 16px;
	box-shadow: 0 24px 60px -20px rgba(13, 18, 54, .45), 0 0 0 1px var(--msh-line);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .16s, transform .16s, visibility 0s linear .16s;
}
.msh-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.msh-dd.is-open > .msh-drop { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s, visibility 0s; }
.msh-dd--right > .msh-drop { left: auto; right: 0; }

.msh-mega { width: 720px; display: grid; grid-template-columns: 1fr 1fr 230px; gap: 6px; padding: 14px; }
.msh-mega__item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--msh-ink); }
.msh .msh-mega__item:hover, .msh .msh-mega__item[aria-current] { background: var(--msh-soft); color: var(--msh-ink); }
.msh-mega__ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--msh-soft); color: var(--msh-navy); display: grid; place-items: center; transition: background-color .15s, color .15s; }
.msh-mega__item:hover .msh-mega__ico { background: var(--msh-navy); color: var(--msh-white); }
.msh-mega__item strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.msh-mega__item strong + span { display: block; font-size: 13px; color: var(--msh-muted); line-height: 1.4; margin-top: 2px; }
.msh-mega__aside {
	grid-column: 3; grid-row: 1 / span 2;
	background: var(--msh-navy); color: var(--msh-white);
	border-radius: 12px; padding: 18px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.msh-mega__aside b { font-size: 15px; display: block; margin-bottom: 6px; }
.msh-mega__aside p { font-size: 13px; line-height: 1.45; margin: 0; opacity: .85; color: inherit; }

.msh-menu { min-width: 220px; padding: 8px; display: flex; flex-direction: column; }
.msh-menu a {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px; border-radius: 10px;
	font-size: 14.5px; font-weight: 600; color: var(--msh-ink);
}
.msh .msh-menu a:hover { background: var(--msh-soft); color: var(--msh-navy); }
.msh-menu a .msh-i { color: var(--msh-navy); }
.msh-menu a[aria-current] { background: var(--msh-soft); }
.msh-menu a[aria-current]::after { content: "✓"; margin-left: auto; color: var(--msh-navy); }
.msh-code { width: 24px; font-size: 12px; font-weight: 800; color: var(--msh-muted); }

/* ---------- Mobile: top bar + bottom tab bar + sheet ---------- */
.msh .msh-mlang { display: none; }
.msh-tabbar, .msh-scrim, .msh-sheet { display: none; }

@media (max-width: 1023px) {
	.msh-bar { height: 58px; padding: 0 14px; gap: 10px; }
	.msh.is-scrolled .msh-bar { height: 58px; }
	.msh-logo__img, .msh.is-scrolled .msh-logo__img { height: 34px; }
	.msh .msh-nav, .msh .msh-lang, .msh .msh-account, .msh .msh-book { display: none; }
	.msh .msh-mlang { display: flex; border: 1px solid var(--msh-line); padding: 7px 12px; font-size: 13px; }
	.msh-mlang .msh-i { width: 16px; height: 16px; }

	body.has-msh { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

	.msh-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9991;
		display: grid; grid-template-columns: repeat(4, 1fr);
		height: calc(64px + env(safe-area-inset-bottom, 0px));
		padding: 6px 6px env(safe-area-inset-bottom, 0px);
		background: var(--msh-white);
		box-shadow: 0 -1px 0 var(--msh-line), 0 -10px 30px -18px rgba(13, 18, 54, .3);
	}
	.msh-tabbar .msh-tab {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		min-height: 48px; border-radius: 12px;
		font-size: 11.5px; font-weight: 600; line-height: 1.1; color: var(--msh-muted);
	}
	.msh-tabbar .msh-tab:hover { color: var(--msh-navy); }
	.msh-tab .msh-i { width: 52px; height: 30px; padding: 4px 14px; border-radius: 999px; transition: background-color .15s; }
	.msh-tabbar .msh-tab.is-on, .msh-tabbar .msh-tab[aria-expanded="true"] { color: var(--msh-navy); }
	.msh-tab.is-on .msh-i, .msh-tab[aria-expanded="true"] .msh-i { background: var(--msh-soft); }

	.msh-scrim:not([hidden]) {
		display: block; position: fixed; inset: 0; z-index: 9992;
		background: rgba(13, 18, 54, .45);
		opacity: 0; transition: opacity .25s;
	}
	.msh-sheet:not([hidden]) {
		display: flex; flex-direction: column; gap: 4px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9993;
		max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
		background: var(--msh-white); border-radius: 24px 24px 0 0;
		padding: 10px 18px calc(22px + env(safe-area-inset-bottom, 0px));
		transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
	}
	.msh-open .msh-scrim { opacity: 1; }
	.msh-open .msh-sheet { transform: none; }
	html.msh-lock, html.msh-lock body { overflow: hidden; }

	/* Cookie settings pill sits above the tab bar */
	body.has-msh #cookie-consent-reopen { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
	html.msh-lock #cookie-consent-reopen { visibility: hidden; }
}

.msh-sheet__grab { width: 40px; height: 5px; border-radius: 3px; background: var(--msh-line); margin: 0 auto 8px; flex: none; }
.msh-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.msh-sheet__head b { font-size: 20px; font-weight: 800; }
.msh-sheet .msh-sheet__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.msh-sheet .msh-sheet__close, .msh-sheet .msh-sheet__close:hover, .msh-sheet .msh-sheet__close:focus { background: var(--msh-soft); color: var(--msh-ink); }
.msh-sheet .msh-row {
	display: flex; align-items: center; gap: 12px; width: 100%;
	min-height: 52px; padding: 0 6px; border-radius: 12px;
	font-size: 16px; font-weight: 600; color: var(--msh-ink); text-align: left;
}
.msh-sheet .msh-row { color: var(--msh-ink); }
.msh-sheet .msh-row[aria-current] { color: var(--msh-navy); }
.msh-row__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--msh-soft); color: var(--msh-navy); display: grid; place-items: center; flex: none; }
.msh-row > .msh-i:last-child { margin-left: auto; width: 18px; height: 18px; color: var(--msh-muted); transition: transform .2s; }
.msh-acc__body { display: none; flex-direction: column; padding: 0 0 6px 56px; }
.msh-acc.is-open .msh-acc__body { display: flex; }
.msh-acc__body a { display: block; padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--msh-ink); border-bottom: 1px solid var(--msh-line); }
.msh-acc__body a:last-child { border-bottom: 0; }
.msh-sheet .msh-acc__body a[aria-current] { color: var(--msh-navy); }
.msh-acc__body small { display: block; font-size: 12.5px; font-weight: 500; color: var(--msh-muted); }
.msh-sheet__sep { height: 1px; background: var(--msh-line); margin: 8px 0; flex: none; }
.msh-sheet__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--msh-muted); margin-top: 2px; }
.msh-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--msh-soft); padding: 5px; border-radius: 12px; margin-top: 4px; }
.msh-seg a { text-align: center; padding: 10px 0; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--msh-muted); }
.msh-sheet .msh-seg a[aria-current] { background: var(--msh-white); color: var(--msh-navy); box-shadow: 0 1px 3px rgba(13, 18, 54, .15); }
.msh-sheet__cta { margin-top: 10px; text-align: center; padding: 14px; border-radius: 14px; border: 1.5px solid var(--msh-navy); font-weight: 700; }
.msh-sheet .msh-sheet__cta { color: var(--msh-navy); }

@media (min-width: 1024px) and (max-width: 1180px) {
	.msh-bar { gap: 16px; }
	.msh-account span { display: none; }
}

/* Homepage hero is 100vh in Elementor; the sticky header takes real space, so
   subtract it (and the mobile tab bar) to avoid a needless page scroll.
   EN: hero is the inner container; PL/NL/FR: the slideshow container itself. */
body.has-msh.home .elementor > .e-con.e-parent:first-child > .e-con,
body.has-msh.home .elementor > .e-con:has(> .elementor-background-slideshow) {
	--min-height: calc(100vh - 72px - var(--wp-admin--admin-bar--height, 0px));
}
@media (max-width: 1023px) {
	body.has-msh.home .elementor > .e-con.e-parent:first-child > .e-con,
	body.has-msh.home .elementor > .e-con:has(> .elementor-background-slideshow) {
		--min-height: calc(100svh - 58px - 64px - env(safe-area-inset-bottom, 0px) - var(--wp-admin--admin-bar--height, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.msh *, .msh-tabbar *, .msh-sheet, .msh-scrim, .msh-bar { transition: none !important; }
}

/* ---------- Navy bar variant (.msh--navy) ---------- */
.msh--navy {
	background: rgba(11, 11, 168, .97);
	box-shadow: none;
}
.msh--navy.is-scrolled { box-shadow: 0 10px 28px -14px rgba(7, 7, 80, .55); }
.msh--navy .msh-link,
.msh--navy .msh-tool,
.msh--navy .msh-link.is-active,
.msh--navy .msh-tool.is-active { color: var(--msh-white); }
.msh--navy .msh-link:hover, .msh--navy .msh-link:focus-visible, .msh--navy .msh-link[aria-expanded="true"],
.msh--navy .msh-tool:hover, .msh--navy .msh-tool[aria-expanded="true"] {
	background: rgba(255, 255, 255, .14); color: var(--msh-white);
}
.msh--navy .msh-btn { background: var(--msh-white); color: var(--msh-navy); }
.msh--navy .msh-btn:hover, .msh--navy .msh-btn[aria-expanded="true"] { background: #E6E7FF; color: var(--msh-navy); }
@media (max-width: 1023px) {
	.msh--navy .msh-mlang { border-color: rgba(255, 255, 255, .35); }
}

/* ---------- Site footer (template-parts/footer.php) — brand colours ---------- */
body .mst-footer { background: #0D1236 !important; color: rgba(255, 255, 255, .78); font-family: var(--msh-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif); }
/* Elementor's `.elementor img { height:auto; max-width:100% }` collapsed the logo to 0×0 */
body .mst-footer .mst-footer__brand img { height: 44px; width: auto; max-width: none; }
body .mst-footer .mst-footer__tagline { color: rgba(255, 255, 255, .62); }
body .mst-footer .mst-footer__company { display: flex; flex-direction: column; gap: 4px; margin: 16px 0 0; font-style: normal; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .62); }body .mst-footer .mst-footer__nav ul.menu li a.mst-footer__whatsapp { display: inline-flex; align-items: center; gap: 8px; }
body .mst-footer .mst-footer__whatsapp svg { color: #25D366; flex: none; }
body .mst-footer .mst-footer__heading { color: #fff; font-size: .8rem; letter-spacing: .1em; margin: 6px 0 18px; }
body .mst-footer .mst-footer__nav ul.menu li a { color: rgba(255, 255, 255, .78); font-size: .95rem; }
body .mst-footer .mst-footer__nav ul.menu li a:hover,
body .mst-footer .mst-footer__nav ul.menu li a:focus-visible { color: #FFB547 !important; }
body .mst-footer .mst-footer__bottom { border-top-color: rgba(255, 255, 255, .12); }
body .mst-footer .mst-footer__bottom span { color: rgba(255, 255, 255, .6); }
.mst-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.mst-footer__legal a, body .mst-footer .mst-footer__cookies {
	color: rgba(255, 255, 255, .6); font: inherit; font-size: .85rem; text-decoration: none;
	background: none; border: 0; padding: 0; margin: 0; cursor: pointer; border-radius: 0; box-shadow: none; text-transform: none;
}
.mst-footer__legal a:hover, body .mst-footer .mst-footer__cookies:hover,
body .mst-footer .mst-footer__cookies:focus { color: #FFB547; background: none; }
.mst-footer a:focus-visible, .mst-footer button:focus-visible { outline: 2px solid #FFB547; outline-offset: 2px; }
/* room for the floating "Cookie settings" pill at the very bottom of the page */
body .mst-footer .mst-footer__bottom-inner { padding-bottom: 64px; }

/* ---------- Legal pages (legal/privacy-policy-*.html) ---------- */
.mst-legal { max-width: 820px; margin: 0 auto; padding: 48px 0 64px; color: #2b2f45; font-size: 16px; line-height: 1.7; }
.mst-legal h1 { color: #0D1236; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.2; margin: 0 0 6px; }
.mst-legal__updated { color: #596080; font-size: .9rem; margin: 0 0 28px; }
.mst-legal h2 { color: #0D1236; font-size: 1.3rem; line-height: 1.3; margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid #E5E7F2; }
.mst-legal p { margin: 0 0 14px; }
.mst-legal ul { margin: 0 0 16px; padding-left: 1.3em; }
.mst-legal li { margin-bottom: 8px; }
.mst-legal a { color: #0B0BA8; text-decoration: underline; text-underline-offset: 2px; }
.mst-legal table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .92rem; }
.mst-legal th, .mst-legal td { border: 1px solid #E5E7F2; padding: 10px 12px; text-align: left; vertical-align: top; }
.mst-legal th { background: #F2F3FA; color: #0D1236; }
.mst-legal td:last-child { word-break: break-word; }
@media (max-width: 767px) { .mst-legal { padding: 28px 16px 48px; font-size: 15px; } .mst-legal h2 { margin-top: 32px; } }

/* Tap targets in the footer: at least 24 px high (WCAG 2.5.8), easier to hit on phones. */
body .mst-footer .mst-footer__nav ul.menu li a { display: inline-block; padding: 5px 0; }
.mst-footer__legal a, body .mst-footer .mst-footer__cookies { display: inline-block; padding-top: 6px; padding-bottom: 6px; }
