:root {
	--mgc-primary: #0b3768;
	--mgc-primary-dark: #07294f;
	--mgc-accent: #c79a45;
	--mgc-ink: #12233a;
	--mgc-muted: #66758a;
	--mgc-line: #e5eaf1;
	--mgc-surface: #f5f7fa;
	--mgc-white: #ffffff;
	--mgc-hover-red: #c94b57;
}

/* Contact Us */
.mgc-contact-section,
.mgc-contact-section * {
	box-sizing: border-box;
}

.mgc-contact-section {
	position: relative;
	left: 50%;
	width: min(1240px, calc(100vw - 48px));
	max-width: none;
	margin: 0;
	padding: clamp(64px, 7vw, 96px) 0 clamp(72px, 8vw, 110px);
	font-family: inherit;
	transform: translateX(-50%);
}

.mgc-contact-section::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: -1;
	width: 100vw;
	background:
		radial-gradient(circle at 88% 8%, rgba(199, 154, 69, .08), transparent 24%),
		linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
	content: "";
	transform: translateX(-50%);
}

.mgc-contact-heading {
	max-width: 800px;
	margin: 0 auto clamp(36px, 5vw, 54px);
	text-align: center;
}

.mgc-contact-heading > span {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
	color: #d9aa52;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.mgc-contact-heading > span::before,
.mgc-contact-heading > span::after {
	display: block;
	width: 58px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(217, 170, 82, 0), #d9aa52);
	content: "";
}

.mgc-contact-heading > span::after {
	transform: rotate(180deg);
}

.mgc-contact-heading h2 {
	margin: 0;
	color: var(--mgc-ink);
	font-size: clamp(38px, 4.4vw, 56px);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.06;
}

.mgc-contact-heading p {
	max-width: 700px;
	margin: 18px auto 0;
	color: var(--mgc-muted);
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.75;
}

.mgc-contact-layout {
	display: grid;
	grid-template-columns: minmax(300px, .82fr) minmax(0, 1.45fr);
	overflow: hidden;
	border: 1px solid var(--mgc-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 65px rgba(18, 35, 58, .11);
}

.mgc-contact-panel {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 5vw, 64px);
	color: #fff;
	background:
		radial-gradient(circle at 100% 0, rgba(199, 154, 69, .22), transparent 35%),
		linear-gradient(145deg, #092f5a, #0b3768 62%, #102b49);
}

.mgc-contact-panel::after {
	position: absolute;
	right: -78px;
	bottom: -78px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(217, 170, 82, .28);
	border-radius: 50%;
	content: "";
}

.mgc-contact-panel-kicker {
	position: relative;
	z-index: 1;
	display: block;
	margin-bottom: 16px;
	color: #e1b85f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .17em;
	text-transform: uppercase;
}

.mgc-contact-panel h3 {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.15;
}

.mgc-contact-panel-copy {
	position: relative;
	z-index: 1;
	margin: 18px 0 34px;
	color: rgba(255, 255, 255, .75);
	font-size: 16px;
	line-height: 1.7;
}

.mgc-contact-details {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0;
}

.mgc-contact-detail {
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.mgc-contact-detail > span {
	display: block;
	margin-bottom: 6px;
	color: #e1b85f;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.mgc-contact-detail a,
.mgc-contact-detail p {
	margin: 0;
	color: #fff !important;
	font-size: 15px;
	line-height: 1.65;
	text-decoration: none !important;
}

.mgc-contact-detail a:hover {
	color: #f1d18a !important;
}

.mgc-contact-map {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	color: #e1b85f !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
}

.mgc-contact-map:hover {
	color: #fff !important;
}

.mgc-contact-form-card {
	padding: clamp(36px, 5vw, 64px);
	background: #fff;
}

.mgc-contact-alert {
	margin: 0 0 28px;
	padding: 15px 18px;
	border: 1px solid;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.mgc-contact-alert-success {
	color: #176a43;
	border-color: #b9dfcc;
	background: #effaf4;
}

.mgc-contact-alert-error {
	color: #8b2631;
	border-color: #f0c7cb;
	background: #fff4f5;
}

.mgc-contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 20px;
}

.mgc-contact-field {
	display: grid;
	gap: 8px;
	margin: 0;
}

.mgc-contact-field-wide {
	grid-column: 1 / -1;
}

.mgc-contact-field > span {
	color: var(--mgc-ink);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.4;
}

.mgc-contact-field em,
.mgc-contact-consent em {
	color: #bd3443;
	font-style: normal;
}

.mgc-contact-field input,
.mgc-contact-field select,
.mgc-contact-field textarea {
	width: 100%;
	min-height: 51px;
	margin: 0;
	padding: 12px 15px;
	color: var(--mgc-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	border: 1px solid #d8e0ea;
	border-radius: 9px;
	outline: none;
	background: #fbfcfe;
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mgc-contact-field textarea {
	min-height: 154px;
	resize: vertical;
}

.mgc-contact-field input:focus,
.mgc-contact-field select:focus,
.mgc-contact-field textarea:focus {
	border-color: #c79a45;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(199, 154, 69, .12);
}

.mgc-contact-consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 22px 0 0;
	color: var(--mgc-muted);
	font-size: 13px;
	line-height: 1.6;
}

.mgc-contact-consent input {
	width: 17px;
	height: 17px;
	margin: 3px 0 0;
	accent-color: var(--mgc-primary);
	flex: 0 0 auto;
}

.mgc-contact-consent a {
	color: var(--mgc-primary) !important;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mgc-contact-form .cf-turnstile {
	margin-top: 22px;
}

.mgc-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	margin-top: 25px;
	padding: 13px 24px;
	color: #fff !important;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	border: 1px solid var(--mgc-primary);
	border-radius: 10px;
	cursor: pointer;
	background: var(--mgc-primary);
	box-shadow: none;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mgc-contact-submit:hover,
.mgc-contact-submit:focus-visible {
	color: #fff !important;
	border-color: var(--mgc-hover-red);
	background: var(--mgc-hover-red);
	transform: translateY(-1px);
}

.mgc-contact-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 900px) {
	.mgc-contact-layout {
		grid-template-columns: 1fr;
	}

	.mgc-contact-panel {
		padding-bottom: 44px;
	}

	.mgc-contact-details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 28px;
	}
}

@media (max-width: 640px) {
	.mgc-contact-section {
		width: min(100% - 28px, 1240px);
		padding: 52px 0 70px;
	}

	.mgc-contact-heading > span::before,
	.mgc-contact-heading > span::after {
		width: 32px;
	}

	.mgc-contact-layout {
		border-radius: 18px;
	}

	.mgc-contact-panel,
	.mgc-contact-form-card {
		padding: 30px 22px;
	}

	.mgc-contact-details,
	.mgc-contact-fields {
		grid-template-columns: 1fr;
	}

	.mgc-contact-field-wide {
		grid-column: auto;
	}

	.mgc-contact-submit {
		width: 100%;
	}
}

/* Careers and controlled job applications */
.mgc-careers, .mgc-careers * { box-sizing: border-box; }
.mgc-careers {
	position: relative; left: 50%; width: min(1240px, calc(100vw - 48px)); max-width: none;
	margin: 0; padding: clamp(68px,8vw,108px) 0 clamp(76px,8vw,112px); font-family: inherit; transform: translateX(-50%);
}
.mgc-careers::before {
	position: absolute; inset: 0 auto 0 50%; z-index: -1; width: 100vw;
	background: radial-gradient(circle at 8% 12%,rgba(199,154,69,.09),transparent 24%),linear-gradient(180deg,#fff,#fafbfc);
	content: ""; transform: translateX(-50%);
}
.mgc-careers-heading { max-width: 800px; margin: 0 auto clamp(38px,5vw,56px); text-align: center; }
.mgc-careers-heading > span, .mgc-career-form-intro > span, .mgc-career-success > span { color: var(--mgc-accent); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.mgc-careers-heading h2 { margin: 12px 0 0; color: var(--mgc-ink); font-size: clamp(38px,4.4vw,56px); font-weight: 800; letter-spacing: -.045em; line-height: 1.06; }
.mgc-careers-heading p { max-width: 720px; margin: 18px auto 0; color: var(--mgc-muted); font-size: 17px; line-height: 1.75; }
.mgc-job-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-bottom: 44px; }
.mgc-job-card {
	position: relative; display: flex; min-height: 300px; padding: 34px; overflow: hidden; flex-direction: column;
	border: 1px solid var(--mgc-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(18,35,58,.07);
	transition: transform 220ms ease,box-shadow 220ms ease,border-color 220ms ease;
}
.mgc-job-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg,var(--mgc-accent),var(--mgc-primary)); content: ""; }
.mgc-job-card:hover { border-color: rgba(199,154,69,.45); box-shadow: 0 22px 48px rgba(18,35,58,.13); transform: translateY(-6px); }
.mgc-job-department { color: var(--mgc-accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.mgc-job-card h3 { margin: 10px 0 12px; color: var(--mgc-ink); font-size: 26px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; }
.mgc-job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.mgc-job-meta span { padding: 6px 10px; color: var(--mgc-primary); font-size: 12px; font-weight: 700; border-radius: 999px; background: #f6f0e5; }
.mgc-job-card p { margin: 20px 0 26px; color: var(--mgc-muted); font-size: 15px; line-height: 1.7; }
.mgc-job-apply-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 9px; margin-top: auto; color: var(--mgc-primary)!important; font-size: 14px; font-weight: 800; text-decoration: none!important; }
.mgc-job-apply-link:hover { color: var(--mgc-hover-red)!important; }
.mgc-career-form-wrap {
	display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); overflow: hidden;
	border: 1px solid var(--mgc-line); border-radius: 22px; background: #fff; box-shadow: 0 22px 55px rgba(18,35,58,.11); scroll-margin-top: 32px;
}
.mgc-career-form-intro { padding: clamp(34px,5vw,56px); color: #fff; background: radial-gradient(circle at 100% 0,rgba(199,154,69,.24),transparent 35%),linear-gradient(145deg,#092f5a,#0b3768 62%,#102b49); }
.mgc-career-form-intro > span { color: #e1b85f; }
.mgc-career-form-intro h3 { margin: 14px 0; color: #fff; font-size: clamp(28px,3vw,38px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.mgc-career-form-intro p { margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.75; }
.mgc-career-form { padding: clamp(34px,5vw,56px); }
.mgc-career-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.mgc-career-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px 20px; }
.mgc-career-field { display: grid; gap: 8px; margin: 0; }
.mgc-career-field-wide { grid-column: 1/-1; }
.mgc-career-field > span { color: var(--mgc-ink); font-size: 14px; font-weight: 750; }
.mgc-career-field em { color: var(--mgc-hover-red); font-style: normal; }
.mgc-career-field input, .mgc-career-field select, .mgc-career-field textarea {
	width: 100%; min-height: 51px; margin: 0; padding: 12px 15px; color: var(--mgc-ink); font: inherit; font-size: 15px;
	border: 1px solid #dce3ea; border-radius: 9px; outline: none; background: #fbfcfd; box-shadow: none;
}
.mgc-career-field textarea { min-height: 135px; resize: vertical; }
.mgc-career-field input:focus, .mgc-career-field select:focus, .mgc-career-field textarea:focus { border-color: var(--mgc-accent); background: #fff; box-shadow: 0 0 0 4px rgba(199,154,69,.13); }
.mgc-career-form .cf-turnstile { margin-top: 22px; }
.mgc-career-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin-top: 25px; padding: 13px 24px;
	color: #fff!important; font: inherit; font-size: 15px; font-weight: 800; border: 1px solid var(--mgc-primary); border-radius: 10px; cursor: pointer;
	background: var(--mgc-primary); box-shadow: 0 10px 24px rgba(11,55,104,.2); transition: background 180ms ease,border-color 180ms ease,transform 180ms ease,box-shadow 180ms ease;
}
.mgc-career-submit:hover, .mgc-career-submit:focus-visible { border-color: var(--mgc-hover-red); background: var(--mgc-hover-red); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(201,75,87,.22); }
.mgc-career-form-wrap.is-disabled { border-color: #d8e1e7; box-shadow: 0 14px 34px rgba(18,35,58,.07); }
.mgc-career-form-wrap.is-disabled .mgc-career-form-intro { background: linear-gradient(145deg,#414b54,#5a6570); }
.mgc-career-form-wrap.is-disabled .mgc-career-form-intro > span { color: #e4d2ae; }
.mgc-career-form-wrap.is-disabled fieldset { opacity: .58; }
.mgc-career-form-wrap.is-disabled input, .mgc-career-form-wrap.is-disabled select, .mgc-career-form-wrap.is-disabled textarea, .mgc-career-form-wrap.is-disabled button { cursor: not-allowed; }
.mgc-career-form-wrap.is-disabled .mgc-career-submit, .mgc-career-form-wrap.is-disabled .mgc-career-submit:hover { border-color: #aebbc4; background: #aebbc4; box-shadow: none; transform: none; }
.mgc-career-success, .mgc-career-alert, .mgc-career-empty { margin: 0 0 38px; padding: 28px 30px; border: 1px solid var(--mgc-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(18,35,58,.07); }
.mgc-career-success { border-color: #dfccaa; background: #fffaf1; }
.mgc-career-success h3 { margin: 8px 0 9px; color: var(--mgc-ink); font-size: 23px; }
.mgc-career-success p, .mgc-career-empty p { margin: 0; color: var(--mgc-muted); line-height: 1.7; }
.mgc-career-success a { color: var(--mgc-primary)!important; font-weight: 800; }
.mgc-career-alert { color: #8b2631; border-color: #f0c7cb; background: #fff4f5; }
.mgc-career-empty { max-width: 720px; margin-right: auto; margin-left: auto; padding: 50px 34px; text-align: center; }
.mgc-career-empty > span { display: block; margin-bottom: 10px; color: var(--mgc-accent); font-size: 42px; }
.mgc-career-empty h3 { margin: 0 0 10px; color: var(--mgc-ink); font-size: 26px; }
@media (max-width: 900px) { .mgc-career-form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
	.mgc-careers { width: min(100% - 28px,1240px); padding: 56px 0 72px; }
	.mgc-job-grid, .mgc-career-fields { grid-template-columns: 1fr; }
	.mgc-career-field-wide { grid-column: auto; }
	.mgc-job-card, .mgc-career-form-intro, .mgc-career-form { padding: 28px 23px; }
	.mgc-career-submit { width: 100%; }
}

.mgc-subsidiaries-section,
.mgc-subsidiaries-grid,
.mgc-clients-section,
.mgc-clients-grid,
.mgc-detail-main {
	box-sizing: border-box;
}

.mgc-subsidiaries-section *,
.mgc-subsidiaries-grid *,
.mgc-clients-section *,
.mgc-clients-grid *,
.mgc-detail-main * {
	box-sizing: border-box;
}

.mgc-subsidiaries-section {
	position: relative;
	isolation: isolate;
	width: min(1240px, calc(100% - 40px));
	margin: 0 auto;
	padding: clamp(70px, 8vw, 112px) 0 90px;
	font-family: inherit;
}

.mgc-subsidiaries-section::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: -2;
	width: 100vw;
	background: #fff;
	content: "";
	transform: translateX(-50%);
}

.mgc-subsidiaries-heading {
	position: relative;
	z-index: 1;
	max-width: 780px;
	margin: 0 auto clamp(38px, 5vw, 62px);
	text-align: center;
}

.mgc-subsidiaries-heading > span {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	color: #d9aa52;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.mgc-subsidiaries-heading > span::before,
.mgc-subsidiaries-heading > span::after {
	display: block;
	width: 58px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(217, 170, 82, 0), #d9aa52);
	content: "";
}

.mgc-subsidiaries-heading > span::after {
	background: linear-gradient(90deg, #d9aa52, rgba(217, 170, 82, 0));
}

.mgc-subsidiaries-heading h2 {
	margin: 0;
	color: var(--mgc-ink);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.15;
}

.mgc-subsidiaries-heading p {
	max-width: 720px;
	margin: 20px auto 0;
	color: var(--mgc-muted);
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.75;
}

.mgc-subsidiaries-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 26px;
	width: 100%;
}

.mgc-subsidiary-card {
	position: relative;
	display: flex;
	flex: 0 1 calc((100% - 52px) / 3);
	flex-direction: column;
	width: 100%;
	max-width: 396px;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	background: var(--mgc-white);
	border: 1px solid var(--mgc-line);
	border-radius: 22px;
	box-shadow: 0 14px 38px rgba(18, 35, 58, .07);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.mgc-subsidiary-card:hover {
	transform: translateY(-6px);
	border-color: rgba(199, 154, 69, .48);
	box-shadow: 0 22px 48px rgba(18, 35, 58, .12);
}

.mgc-logo-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 190px;
	padding: 32px 42px 24px;
	background: #fff !important;
	text-decoration: none;
}

.mgc-company-logo {
	display: block;
	width: auto;
	max-width: 82%;
	height: auto;
	max-height: 122px;
	object-fit: contain;
}

.mgc-logo-placeholder,
.mgc-client-placeholder {
	max-width: 100%;
	color: var(--mgc-primary);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.mgc-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 27px 28px 30px;
	border-top: 1px solid var(--mgc-line);
}

.mgc-card-title {
	display: -webkit-box;
	overflow: hidden;
	min-height: 56px;
	margin: 0 0 12px;
	color: var(--mgc-ink);
	font-size: 21px;
	font-weight: 750;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.mgc-card-title a {
	color: inherit;
	text-decoration: none !important;
}

.mgc-card-title a:hover {
	color: var(--mgc-primary);
}

.mgc-card-excerpt {
	display: -webkit-box;
	overflow: hidden;
	min-height: 104px;
	margin: 0 0 24px;
	color: var(--mgc-muted);
	font-size: 16px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.mgc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin-top: auto;
	padding: 11px 20px;
	color: var(--mgc-white) !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	background: var(--mgc-primary);
	border: 1px solid var(--mgc-primary);
	border-radius: 10px;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mgc-button:hover {
	color: var(--mgc-white) !important;
	background: var(--mgc-hover-red);
	border-color: var(--mgc-hover-red);
	transform: translateY(-1px);
}

.mgc-clients-section {
	position: relative;
	left: 50%;
	width: min(1360px, calc(100vw - 64px));
	max-width: none;
	padding: 54px 0 28px;
	transform: translateX(-50%);
}

.mgc-clients-heading {
	margin-bottom: 32px;
	text-align: center;
}

.mgc-clients-heading span {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	color: #d9aa52;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mgc-clients-heading span::before,
.mgc-clients-heading span::after {
	display: block;
	width: 58px;
	height: 2px;
	background: linear-gradient(90deg, rgba(217, 170, 82, 0), #d9aa52);
	border-radius: 999px;
	content: '';
}

.mgc-clients-heading span::after {
	background: linear-gradient(90deg, #d9aa52, rgba(217, 170, 82, 0));
}

.mgc-clients-heading h2 {
	margin: 0;
	color: var(--mgc-ink);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.15;
}

.mgc-clients-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}

.mgc-client-card {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	min-width: 0;
	min-height: 140px;
	padding: 10px;
	background: var(--mgc-white);
	border: 1px solid var(--mgc-line);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(18, 35, 58, 0.055);
	text-decoration: none !important;
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.mgc-client-card:hover {
	transform: translateY(-4px);
	border-color: rgba(199, 154, 69, 0.5);
	box-shadow: 0 14px 30px rgba(18, 35, 58, 0.11);
}

.mgc-client-logo {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 110px;
	max-height: 110px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.72;
	transform: scale(1.18);
	transition: filter 200ms ease, opacity 200ms ease, transform 200ms ease;
}

.mgc-client-card:hover .mgc-client-logo {
	filter: grayscale(0);
	opacity: 1;
	transform: scale(1.22);
}

.mgc-client-placeholder {
	font-size: 17px;
}

.mgc-stats-section,
.mgc-stats-section * {
	box-sizing: border-box;
}

.mgc-stats-section {
	position: relative;
	left: 50%;
	width: min(1360px, calc(100vw - 64px));
	max-width: none;
	overflow: hidden;
	padding: 54px 34px;
	transform: translateX(-50%);
	color: var(--mgc-ink);
	background: #fff;
	border: 1px solid var(--mgc-line);
	border-radius: 24px;
	box-shadow: 0 20px 55px rgba(18, 35, 58, 0.09);
}

.mgc-stats-decoration {
	position: absolute;
	top: -110px;
	right: -80px;
	width: 330px;
	height: 330px;
	background: rgba(11, 55, 104, 0.035);
	border: 1px solid rgba(11, 55, 104, 0.07);
	border-radius: 50%;
}

.mgc-stats-inner {
	position: relative;
	z-index: 1;
	width: min(1260px, 100%);
	margin: 0 auto;
}

.mgc-stats-heading {
	margin-bottom: 30px;
	text-align: center;
}

.mgc-stats-heading span {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	color: #e4bd71;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mgc-stats-heading span::before,
.mgc-stats-heading span::after {
	display: block;
	width: 58px;
	height: 2px;
	background: linear-gradient(90deg, rgba(228, 189, 113, 0), #e4bd71);
	border-radius: 999px;
	content: '';
}

.mgc-stats-heading span::after {
	background: linear-gradient(90deg, #e4bd71, rgba(228, 189, 113, 0));
}

.mgc-stats-heading h2 {
	margin: 0;
	color: var(--mgc-ink);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
}

.mgc-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.mgc-stat-card {
	position: relative;
	min-width: 0;
	padding: 30px 18px 28px;
	text-align: center;
	background: #f6f9fc;
	border: 1px solid #dfe7f0;
	border-radius: 16px;
	transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.mgc-stat-card:hover {
	background: #eef4fa;
	border-color: rgba(228, 189, 113, 0.58);
	transform: translateY(-5px);
}

.mgc-stat-number {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 3px;
	margin-bottom: 12px;
	white-space: nowrap;
}

.mgc-stat-number strong {
	color: var(--mgc-primary-dark);
	font-size: clamp(42px, 5vw, 64px);
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1;
}

.mgc-stat-affix {
	color: #e4bd71;
	font-size: 22px;
	font-weight: 850;
}

.mgc-stat-card h3 {
	margin: 0;
	color: var(--mgc-muted);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.45;
}

/* Certifications and approvals section. */
.mgc-certs-section,
.mgc-certs-section * {
	box-sizing: border-box;
}

.mgc-certs-section {
	position: relative;
	left: 50%;
	width: min(1360px, calc(100vw - 64px));
	max-width: none;
	padding: 72px 0;
	transform: translateX(-50%);
}

.mgc-certs-heading {
	margin-bottom: 42px;
	text-align: center;
}

.mgc-certs-heading span {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 9px;
	color: #d9aa52;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mgc-certs-heading span::before,
.mgc-certs-heading span::after {
	display: block;
	width: 58px;
	height: 2px;
	background: linear-gradient(90deg, rgba(217, 170, 82, 0), #d9aa52);
	border-radius: 999px;
	content: '';
}

.mgc-certs-heading span::after {
	background: linear-gradient(90deg, #d9aa52, rgba(217, 170, 82, 0));
}

.mgc-certs-heading h2 {
	margin: 0;
	color: var(--mgc-ink);
	font-size: clamp(30px, 3.5vw, 44px);
	font-weight: 800;
	line-height: 1.15;
}

.mgc-certs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 30px;
}

.mgc-cert-card {
	position: relative;
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	align-items: center;
	min-width: 0;
	min-height: 230px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--mgc-line);
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(18, 35, 58, 0.06);
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.mgc-cert-card::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--mgc-accent), var(--mgc-primary));
	content: '';
	opacity: 0.72;
}

.mgc-cert-card:hover {
	border-color: rgba(199, 154, 69, 0.5);
	box-shadow: 0 18px 42px rgba(18, 35, 58, 0.11);
	transform: translateY(-4px);
}

.mgc-cert-logo-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-width: 0;
	padding: 24px;
	background: #fff;
}

.mgc-cert-logo {
	display: block;
	width: 100% !important;
	max-width: 130px !important;
	height: 130px !important;
	object-fit: contain !important;
}

.mgc-cert-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	color: #fff;
	background: var(--mgc-primary);
	border-radius: 50%;
	font-size: 34px;
	font-weight: 800;
}

.mgc-cert-content {
	min-width: 0;
	padding: 32px 34px;
}

.mgc-cert-category {
	display: block;
	margin-bottom: 9px;
	color: #d84a40;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.mgc-cert-content h3 {
	margin: 0 0 12px;
	color: var(--mgc-ink);
	font-size: 23px;
	font-weight: 800;
	line-height: 1.25;
}

.mgc-cert-content p {
	margin: 0;
	color: var(--mgc-muted);
	font-size: 15px;
	line-height: 1.7;
}

/* Private Label and OEM section. */
.mgc-private-label-section,
.mgc-private-label-section * {
	box-sizing: border-box;
}

.mgc-private-label-section {
	position: relative;
	left: 50%;
	width: min(1360px, calc(100vw - 64px));
	max-width: none;
	padding: 82px 0 72px;
	transform: translateX(-50%);
}

.mgc-private-label-hero {
	padding: 68px 48px 54px;
	text-align: center;
	background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
	border: 1px solid var(--mgc-line);
	border-radius: 26px 26px 0 0;
}

.mgc-private-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: #d9aa52;
	font-size: 13px;
	font-weight: 850;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mgc-private-eyebrow::before,
.mgc-private-eyebrow::after {
	display: block;
	width: 58px;
	height: 2px;
	background: linear-gradient(90deg, rgba(217, 170, 82, 0), #d9aa52);
	border-radius: 999px;
	content: '';
}

.mgc-private-eyebrow::after {
	background: linear-gradient(90deg, #d9aa52, rgba(217, 170, 82, 0));
}

.mgc-private-label-hero h2 {
	margin: 0;
	color: #111b2a;
	font-size: clamp(58px, 8vw, 112px);
	font-weight: 850;
	letter-spacing: -0.065em;
	line-height: 0.95;
}

.mgc-private-label-hero h2 span {
	color: #df4339;
}

.mgc-private-label-hero > p {
	width: min(780px, 100%);
	margin: 34px auto 0;
	color: #455267;
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.65;
}

.mgc-private-categories {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: min(1020px, 100%);
	margin: 42px auto 0;
	border-top: 3px solid var(--mgc-ink);
}

.mgc-private-categories span {
	position: relative;
	padding: 15px 12px 0;
	color: var(--mgc-muted);
	font-size: 14px;
	font-weight: 650;
}

.mgc-private-categories span:first-child::before {
	position: absolute;
	top: -3px;
	left: 0;
	width: 100%;
	height: 3px;
	background: #df4339;
	content: '';
}

.mgc-private-story {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	gap: 70px;
	padding: 64px;
	background: #fff;
	border: 1px solid var(--mgc-line);
	border-top: 0;
}

.mgc-private-story-copy h3 {
	max-width: 620px;
	margin: 0 0 28px;
	color: var(--mgc-ink);
	font-size: clamp(36px, 5vw, 62px);
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.mgc-private-story-copy p {
	margin: 0;
	color: #3f4d60;
	font-size: 17px;
	line-height: 1.85;
}

.mgc-private-story blockquote {
	position: relative;
	align-self: stretch;
	margin: 0;
	padding: 30px 0 30px 46px;
	border-left: 3px solid var(--mgc-accent);
}

.mgc-private-story blockquote > span {
	display: block;
	height: 44px;
	color: #df4339;
	font-size: 72px;
	font-weight: 900;
	line-height: 0.8;
}

.mgc-private-story blockquote p {
	margin: 18px 0 24px;
	color: var(--mgc-ink);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 750;
	line-height: 1.35;
}

.mgc-private-story blockquote cite {
	color: var(--mgc-muted);
	font-size: 14px;
	font-style: normal;
	font-weight: 750;
}

.mgc-private-partners {
	padding: 48px 0 0;
}

.mgc-private-partners > h3 {
	margin: 0;
	padding-bottom: 16px;
	color: var(--mgc-ink);
	border-bottom: 2px solid var(--mgc-ink);
	font-size: 28px;
	font-weight: 800;
}

.mgc-private-partners-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-left: 1px solid var(--mgc-line);
}

.mgc-private-partner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 145px;
	padding: 18px;
	background: #fff;
	border-right: 1px solid var(--mgc-line);
	border-bottom: 1px solid var(--mgc-line);
}

.mgc-private-partner-logo {
	display: block;
	width: 100% !important;
	max-width: 170px !important;
	height: 100px !important;
	object-fit: contain !important;
}

.mgc-private-partner > span {
	color: var(--mgc-ink);
	font-size: 16px;
	font-weight: 750;
	text-align: center;
}

/* Vision and Mission section. */
.mgc-vm-section,
.mgc-vm-section * {
	box-sizing: border-box;
}

.mgc-vm-section {
	position: relative;
	left: 50%;
	width: min(1360px, calc(100vw - 64px));
	max-width: none;
	padding: 72px 0;
	transform: translateX(-50%);
}

.mgc-vm-heading {
	width: min(760px, 100%);
	margin: 0 auto 42px;
	text-align: center;
}

.mgc-vm-heading span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	color: var(--mgc-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mgc-vm-heading span::before,
.mgc-vm-heading span::after {
	width: 42px;
	height: 2px;
	background: var(--mgc-accent);
	border-radius: 999px;
	content: '';
}

.mgc-vm-heading h2 {
	margin: 0;
	color: var(--mgc-ink);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.15;
}

.mgc-vm-grid {
	display: grid;
	gap: 30px;
	width: 100%;
	margin: 0 auto;
}

.mgc-vm-card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	overflow: hidden;
	height: 410px;
	background: var(--mgc-white);
	border: 1px solid var(--mgc-line);
	border-radius: 24px;
	box-shadow: 0 18px 52px rgba(18, 35, 58, 0.09);
}

.mgc-vm-card-mission .mgc-vm-media {
	order: 2;
}

.mgc-vm-card-mission .mgc-vm-content {
	order: 1;
}

.mgc-vm-media {
	position: relative;
	overflow: hidden;
	height: 100%;
	min-height: 0;
	background: linear-gradient(135deg, #eef3f8, #dde8f3);
}

.mgc-vm-media::after {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(145deg, rgba(7, 41, 79, 0.02), rgba(11, 55, 104, 0.18));
	content: '';
}

.mgc-vm-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	object-fit: cover !important;
	transition: transform 500ms ease;
}

.mgc-vm-card:hover .mgc-vm-image {
	transform: scale(1.035);
}

.mgc-vm-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 30% 25%, rgba(199, 154, 69, 0.2), transparent 32%), linear-gradient(135deg, #f4f7fa, #dce7f2);
}

.mgc-vm-content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 58px 64px;
}

.mgc-vm-content::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--mgc-accent), var(--mgc-primary));
	content: '';
}

.mgc-vm-card-mission .mgc-vm-content::before {
	right: 0;
	left: auto;
}

.mgc-vm-content h3 {
	margin: 0 0 18px;
	color: var(--mgc-ink);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.15;
}

.mgc-vm-copy {
	color: var(--mgc-muted);
	font-size: 17px;
	line-height: 1.85;
}

.mgc-vm-copy > :first-child {
	margin-top: 0;
}

.mgc-vm-copy > :last-child {
	margin-bottom: 0;
}

.mgc-vm-copy a {
	color: var(--mgc-primary);
	font-weight: 700;
}

.mgc-empty {
	padding: 18px 20px;
	color: var(--mgc-muted);
	background: var(--mgc-surface);
	border: 1px dashed var(--mgc-line);
	border-radius: 10px;
}

.mgc-detail-main {
	width: min(1180px, calc(100% - 40px));
	margin: 72px auto;
}

/* Astra uses a narrow content container for singular entries by default. */
body.single-mg_subsidiary #content {
	background: #f3f6fa;
}

body.single-mg_subsidiary #content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.mgc-detail-card {
	display: grid;
	grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.5fr);
	overflow: hidden;
	background: var(--mgc-white);
	border: 1px solid var(--mgc-line);
	border-radius: 24px;
	box-shadow: 0 20px 60px rgba(18, 35, 58, 0.1);
}

.mgc-detail-logo-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 520px;
	padding: 56px;
	background: #fff !important;
}

.mgc-detail-logo {
	display: block;
	width: auto;
	max-width: 92%;
	height: auto;
	max-height: 230px;
	object-fit: contain;
}

.mgc-detail-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 64px;
}

.mgc-eyebrow {
	margin: 0 0 14px;
	color: var(--mgc-accent);
	font-size: 16px !important;
	font-weight: 800;
	letter-spacing: 0.13em !important;
	line-height: 1.5 !important;
	text-transform: uppercase;
}

.mgc-detail-content h1 {
	margin: 0 0 24px;
	color: var(--mgc-ink);
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.12;
}

.mgc-detail-copy {
	color: var(--mgc-muted);
	font-size: 17px;
	line-height: 1.8;
}

.mgc-detail-copy > :last-child {
	margin-bottom: 0;
}

.mgc-detail-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.mgc-detail-actions .mgc-button {
	margin-top: 0;
}

.mgc-button-secondary {
	color: var(--mgc-primary) !important;
	background: var(--mgc-white);
}

.mgc-button-secondary:hover {
	color: var(--mgc-white) !important;
	background: var(--mgc-hover-red);
	border-color: var(--mgc-hover-red);
}

@media (max-width: 1024px) {
	.mgc-subsidiary-card {
		flex-basis: calc((100% - 28px) / 2);
		max-width: 460px;
	}

	.mgc-clients-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mgc-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mgc-certs-grid {
		grid-template-columns: 1fr;
	}

	.mgc-private-story {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.mgc-private-partners-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mgc-detail-card {
		grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
	}

	.mgc-detail-logo-panel {
		min-height: 460px;
		padding: 40px;
	}

	.mgc-detail-content {
		padding: 44px;
	}

	.mgc-vm-content {
		padding: 44px;
	}
}

@media (max-width: 767px) {
	.mgc-subsidiaries-grid {
		gap: 20px;
	}

	.mgc-subsidiary-card {
		flex-basis: 100%;
		max-width: 520px;
	}

	.mgc-logo-panel {
		height: 200px;
	}

	.mgc-card-title,
	.mgc-card-excerpt {
		min-height: 0;
	}

	.mgc-clients-section {
		width: calc(100vw - 24px);
		padding: 44px 0 24px;
	}

	.mgc-clients-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.mgc-client-card {
		min-height: 118px;
		padding: 8px;
	}

	.mgc-client-logo {
		height: 88px;
		max-height: 88px;
	}

	.mgc-clients-heading span::before,
	.mgc-clients-heading span::after {
		width: 34px;
	}

	.mgc-stats-section {
		width: calc(100vw - 24px);
		padding: 50px 18px;
		border-radius: 18px;
	}

	.mgc-stats-grid {
		gap: 12px;
	}

	.mgc-stat-card {
		padding: 25px 12px 23px;
	}

	.mgc-stats-heading span::before,
	.mgc-stats-heading span::after {
		width: 34px;
	}

	.mgc-certs-section {
		width: calc(100vw - 24px);
		padding: 52px 0;
	}

	.mgc-certs-heading {
		margin-bottom: 24px;
	}

	.mgc-certs-heading span::before,
	.mgc-certs-heading span::after,
	.mgc-private-eyebrow::before,
	.mgc-private-eyebrow::after {
		width: 32px;
	}

	.mgc-cert-card {
		grid-template-columns: 130px minmax(0, 1fr);
		min-height: 190px;
	}

	.mgc-cert-logo-panel {
		padding: 18px;
	}

	.mgc-cert-logo {
		max-width: 100px !important;
		height: 100px !important;
	}

	.mgc-cert-content {
		padding: 26px 24px;
	}

	.mgc-private-label-section {
		width: calc(100vw - 24px);
		padding: 52px 0;
	}

	.mgc-private-label-hero {
		padding: 52px 24px 42px;
		border-radius: 18px 18px 0 0;
	}

	.mgc-private-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mgc-private-categories span {
		padding-bottom: 10px;
	}

	.mgc-private-story {
		padding: 42px 28px;
	}

	.mgc-private-story blockquote {
		padding-left: 28px;
	}

	.mgc-private-partners-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mgc-private-partner {
		min-height: 125px;
	}

	.mgc-private-partner-logo {
		height: 82px !important;
	}

	.mgc-vm-section {
		width: calc(100vw - 24px);
		padding: 52px 0;
	}

	.mgc-vm-heading {
		margin-bottom: 30px;
	}

	.mgc-vm-heading span::before,
	.mgc-vm-heading span::after {
		width: 28px;
	}

	.mgc-vm-card {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
		border-radius: 18px;
	}

	.mgc-vm-card-mission .mgc-vm-media,
	.mgc-vm-card-mission .mgc-vm-content {
		order: initial;
	}

	.mgc-vm-media,
	.mgc-vm-placeholder {
		min-height: 280px;
	}

	.mgc-vm-content {
		padding: 36px 28px 40px;
	}

	.mgc-vm-card-mission .mgc-vm-content::before {
		right: auto;
		left: 0;
	}

	.mgc-detail-main {
		width: min(100% - 28px, 680px);
		margin: 36px auto;
	}

	.mgc-detail-card {
		grid-template-columns: 1fr;
		border-radius: 18px;
	}

	.mgc-detail-logo-panel {
		min-height: 280px;
		padding: 36px;
	}

	.mgc-detail-logo {
		max-height: 150px;
	}

	.mgc-detail-content {
		padding: 34px 26px;
	}

	.mgc-detail-actions {
		flex-direction: column;
	}

	.mgc-detail-actions .mgc-button {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.mgc-private-categories,
	.mgc-private-partners-grid {
		grid-template-columns: 1fr;
	}

	.mgc-cert-card {
		grid-template-columns: 1fr;
	}

	.mgc-cert-logo-panel {
		min-height: 150px;
		border-right: 0;
		border-bottom: 1px solid var(--mgc-line);
	}

	.mgc-cert-content {
		padding: 24px;
	}

	.mgc-stats-grid {
		grid-template-columns: 1fr;
	}
}

/* Global corporate footer. */
.site-primary-footer-wrap,
.site-below-footer-wrap {
	display: none !important;
}

.mgc-site-footer,
.mgc-site-footer * {
	box-sizing: border-box;
}

.mgc-site-footer {
	position: relative;
	margin-top: 76px;
	color: #dbe7f5;
	background: linear-gradient(118deg, #04142f 0%, #082a5d 56%, #0b4f9f 100%);
	box-shadow: 0 -12px 40px rgba(5, 27, 62, 0.08);
}

.mgc-footer-accent {
	height: 4px;
	background: linear-gradient(90deg, #df2935 0%, #f04d44 40%, #c79a45 100%);
}

.mgc-footer-inner {
	width: min(1520px, calc(100% - 64px));
	margin: 0 auto;
	padding: 64px 0 24px;
}

.mgc-footer-grid {
	display: grid;
	grid-template-columns: minmax(270px, 1.25fr) minmax(170px, 0.7fr) minmax(230px, 0.95fr) minmax(270px, 1fr);
	gap: clamp(48px, 4.5vw, 88px);
}

.mgc-footer-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	min-height: 92px;
	padding: 10px 14px;
	margin-bottom: 18px;
	background: #fff;
	border-radius: 12px;
	text-decoration: none !important;
}

.mgc-footer-logo {
	display: block;
	width: auto;
	max-width: 185px;
	height: auto;
	max-height: 82px;
	object-fit: contain;
	filter: none;
}

.mgc-footer-site-name {
	font-size: 28px;
	font-weight: 800;
	color: #082a5d;
}

.mgc-footer-brand p {
	max-width: 350px;
	margin: 0;
	color: #bfcfe3;
	font-size: 15px;
	line-height: 1.8;
}

.mgc-footer-column h2 {
	position: relative;
	margin: 8px 0 24px;
	padding-bottom: 12px;
	color: #fff;
	font-size: 17px;
	font-weight: 750;
}

.mgc-footer-column h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 36px;
	height: 2px;
	background: #df2935;
	content: '';
}

.mgc-footer-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mgc-footer-column li + li {
	margin-top: 12px;
}

.mgc-site-footer a {
	color: #dbe7f5;
	text-decoration: none !important;
	transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.mgc-footer-column li a {
	display: inline-block;
	font-size: 14px;
	line-height: 1.45;
}

.mgc-footer-column li a:hover,
.mgc-footer-contact a:hover,
.mgc-footer-bottom a:hover {
	color: #fff;
	transform: translateX(3px);
}

.mgc-footer-contact p {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 15px;
	color: #c6d5e7;
	font-size: 14px;
	line-height: 1.65;
}

.mgc-footer-contact-icon {
	display: inline-flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-top: -4px;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.mgc-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.mgc-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	font-size: 14px;
	font-weight: 800;
}

.mgc-footer-social a:hover {
	background: #df2935;
	transform: translateY(-2px);
}

.mgc-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 48px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mgc-footer-bottom p,
.mgc-footer-bottom a {
	margin: 0;
	color: #afc1d8;
	font-size: 13px;
}

.mgc-footer-privacy {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #afc1d8;
	font-size: 13px;
}

.mgc-footer-privacy a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 13px;
	color: #fff;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-weight: 700;
}

.mgc-footer-privacy a:hover {
	color: #fff;
	background: #df2935;
	transform: translateY(-1px);
}

@media (max-width: 1024px) {
	.mgc-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 42px;
	}
}

@media (max-width: 640px) {
	.mgc-site-footer {
		margin-top: 52px;
	}

	.mgc-footer-inner {
		width: min(100% - 32px, 560px);
		padding-top: 46px;
	}

	.mgc-footer-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.mgc-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 38px;
	}

	.mgc-footer-privacy {
		flex-wrap: wrap;
	}
}

