:root {
	--mgroup-primary: #123F22;
	--mgroup-secondary: #1F6A36;
	--mgroup-accent: #8FA36B;
	--mgroup-bg: #F7F8F4;
	--mgroup-card: #FFFFFF;
	--mgroup-text: #1F2A24;
	--mgroup-border: #DDE5D8;
	--mgroup-muted: #607066;
}

body {
	color: var(--mgroup-text);
	background: var(--mgroup-bg);
}

body .site-branding a.brand {
	align-items: center;
	color: transparent;
	display: inline-flex;
	font-size: 0;
	line-height: 0;
	min-height: 64px;
}

body .site-branding a.brand::before {
	background: url("../images/mgroup-logo.jpg") center / contain no-repeat;
	content: "";
	display: block;
	height: 62px;
	width: 168px;
}

body .site-branding a.brand .site-title,
body .site-branding a.brand .site-description,
body .site-branding a.brand img,
body .site-branding a.brand .custom-logo {
	display: none !important;
}

body .site-branding > .site-title a {
	align-items: center;
	color: transparent;
	display: inline-flex;
	font-size: 0;
	line-height: 0;
	min-height: 64px;
}

body .site-branding > .site-title a::before {
	background: url("../images/mgroup-logo.jpg") center / contain no-repeat;
	content: "";
	display: block;
	height: 62px;
	width: 168px;
}

body .site-branding .site-title-wrap .site-title a {
	color: transparent;
	font-size: 0;
	line-height: 0;
}

body .main-navigation .primary-menu-container > ul > li > a,
body .main-navigation ul.menu > li > a,
body .header-navigation ul.menu > li > a {
	color: var(--mgroup-primary);
	font-weight: 760;
	letter-spacing: 0;
}

body .main-navigation .primary-menu-container > ul > li > a:hover,
body .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
body .main-navigation ul.menu > li > a:hover,
body .header-navigation ul.menu > li > a:hover {
	color: var(--mgroup-secondary);
}

body .main-navigation ul ul,
body .header-navigation ul ul,
body .primary-menu-container ul ul,
body .menu .sub-menu {
	background: #123F22 !important;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 8px;
	box-shadow: 0 20px 44px rgba(18, 63, 34, .24);
	min-width: 280px;
	padding: 10px;
}

body .main-navigation ul ul a,
body .header-navigation ul ul a,
body .primary-menu-container ul ul a,
body .menu .sub-menu a {
	border-radius: 6px;
	color: #fff !important;
	font-weight: 700;
	padding: 12px 14px;
}

body .main-navigation ul ul a:hover,
body .main-navigation ul ul a:focus,
body .header-navigation ul ul a:hover,
body .header-navigation ul ul a:focus,
body .primary-menu-container ul ul a:hover,
body .menu .sub-menu a:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff !important;
}

body.home .entry-header,
body.home .entry-hero,
body.home .page-header,
body.home .kadence-breadcrumbs,
body.home .content-title-style-above .entry-header,
body.home h1.entry-title,
body.mgroup-page-alalaf .entry-header,
body.mgroup-page-alalaf .entry-hero,
body.mgroup-page-alalaf .page-header,
body.mgroup-page-alalaf .kadence-breadcrumbs,
body.mgroup-page-alalaf .content-title-style-above .entry-header,
body.mgroup-page-alalaf h1.entry-title {
	display: none !important;
}

.mgroup-page {
	background: var(--mgroup-bg);
	color: var(--mgroup-text);
	margin-inline: calc(50% - 50vw);
	padding: 14px max(24px, calc((100vw - 1180px) / 2)) 52px;
}

.mgroup-page a {
	text-decoration: none;
}

.mgroup-home-hero,
.mgroup-home-section,
.mgroup-hero,
.mgroup-page-intro,
.mgroup-section,
.mgroup-cta,
.mgroup-placeholder,
.mgroup-contact-panel {
	margin: 0 auto 34px;
	max-width: 1180px;
}

body.home .mgroup-page {
	padding-top: 0;
}

.mgroup-home-hero {
	align-items: center;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
	padding: 16px 0 18px;
}

.mgroup-home-hero h1 {
	color: var(--mgroup-primary);
	font-size: clamp(46px, 5.8vw, 72px);
	font-weight: 780;
	letter-spacing: 0;
	line-height: 1.04;
	margin: 0 0 18px;
	max-width: 780px;
}

.mgroup-home-sector-panel {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(247, 248, 244, .94)),
		linear-gradient(135deg, rgba(31, 106, 54, .1), rgba(143, 163, 107, .16));
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(18, 63, 34, .07);
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 18px;
}

.mgroup-home-sector-tile {
	align-items: center;
	background: #fff;
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	color: var(--mgroup-primary);
	display: flex;
	font-weight: 760;
	gap: 12px;
	min-height: 82px;
	padding: 14px;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mgroup-home-sector-tile:hover,
.mgroup-home-sector-tile:focus {
	border-color: var(--mgroup-accent);
	box-shadow: 0 12px 28px rgba(18, 63, 34, .1);
	color: var(--mgroup-primary);
	transform: translateY(-1px);
}

.mgroup-home-sector-tile img {
	display: block;
	flex: 0 0 auto;
	height: 44px;
	object-fit: contain;
	width: 44px;
}

.mgroup-home-section {
	padding: 10px 0;
}

.mgroup-home-section .mgroup-section-head {
	margin-bottom: 16px;
}

.mgroup-home-section h2,
.mgroup-home-who h2 {
	color: var(--mgroup-primary);
	font-size: clamp(34px, 3vw, 44px);
	font-weight: 780;
	letter-spacing: 0;
	line-height: 1.12;
	margin: 0;
}

.mgroup-home-who {
	max-width: 920px;
}

.mgroup-home-who p {
	color: var(--mgroup-muted);
	font-size: 18px;
	line-height: 1.66;
	margin: 12px 0 0;
}

.mgroup-home-card-grid {
	align-items: stretch;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mgroup-home-card {
	background: var(--mgroup-card);
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	box-shadow: 0 16px 36px rgba(18, 63, 34, .055);
	color: var(--mgroup-text);
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 20px;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.mgroup-home-card:hover,
a.mgroup-home-card:focus {
	border-color: var(--mgroup-accent);
	box-shadow: 0 20px 44px rgba(18, 63, 34, .1);
	color: var(--mgroup-text);
	transform: translateY(-2px);
}

.mgroup-home-card-icon {
	align-items: center;
	background: #fff;
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	display: flex;
	height: 64px;
	justify-content: center;
	margin-bottom: 14px;
	padding: 8px;
	width: 64px;
}

.mgroup-home-card-icon-logo {
	width: 92px;
}

.mgroup-home-card-icon img {
	display: block;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.mgroup-home-card h3 {
	color: var(--mgroup-primary);
	font-size: 20px;
	line-height: 1.2;
	margin: 0;
	min-height: 48px;
}

.mgroup-home-card p {
	color: var(--mgroup-muted);
	flex: 1 1 auto;
	font-size: 15px;
	line-height: 1.58;
	margin: 10px 0 0;
}

.mgroup-home-card span {
	border-top: 1px solid var(--mgroup-border);
	color: var(--mgroup-secondary);
	display: block;
	font-weight: 760;
	margin-top: 16px;
	padding-top: 14px;
}

body.mgroup-page-alalaf .mgroup-page {
	padding-top: 0;
	padding-bottom: 34px;
}

body.mgroup-page-alalaf .mgroup-page-intro,
body.mgroup-page-alalaf .mgroup-section,
body.mgroup-page-alalaf .mgroup-cta {
	margin-bottom: 22px;
}

.mgroup-hero {
	align-items: center;
	display: grid;
	gap: 26px;
	grid-template-columns: minmax(0, 1.22fr) minmax(260px, .78fr);
	min-height: 360px;
	padding: 28px 0 18px;
}

.mgroup-hero h1 {
	color: var(--mgroup-primary);
	font-size: clamp(40px, 5vw, 58px);
	font-weight: 760;
	letter-spacing: 0;
	line-height: 1.06;
	margin: 0 0 18px;
	max-width: 760px;
}

.mgroup-page-intro h1 {
	color: var(--mgroup-primary);
	font-size: clamp(38px, 5.5vw, 62px);
	font-weight: 760;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 0 18px;
	max-width: 860px;
}

.mgroup-page-intro {
	padding: 40px 0 14px;
}

.mgroup-brand-hero {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 248, 244, .92)),
		linear-gradient(135deg, rgba(31, 106, 54, .08), rgba(143, 163, 107, .1));
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(18, 63, 34, .05);
	padding: 30px 34px;
}

.mgroup-brand-lockup {
	align-items: center;
	display: flex;
	gap: 34px;
}

.mgroup-brand-logo {
	background: #fff;
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(18, 63, 34, .08);
	flex: 0 0 auto;
	height: auto;
	max-height: 154px;
	max-width: 216px;
	object-fit: contain;
	padding: 14px;
	width: auto;
}

body.mgroup-page-alalaf .mgroup-brand-hero h1 {
	font-size: clamp(48px, 6.2vw, 74px);
	margin-bottom: 12px;
	max-width: 780px;
}

body.mgroup-page-alalaf .mgroup-brand-hero .mgroup-lead {
	font-size: 20px;
	line-height: 1.45;
	margin-bottom: 18px;
}

.mgroup-lead {
	color: var(--mgroup-muted);
	font-size: 18px;
	line-height: 1.58;
	margin: 0 0 22px;
	max-width: 820px;
}

.mgroup-kicker {
	color: var(--mgroup-secondary);
	font-size: 13px;
	font-weight: 760;
	letter-spacing: 0;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.mgroup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mgroup-button {
	align-items: center;
	background: var(--mgroup-primary);
	border: 1px solid var(--mgroup-primary);
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	font-size: 16px;
	font-weight: 740;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.mgroup-button:hover,
.mgroup-button:focus {
	background: var(--mgroup-secondary);
	border-color: var(--mgroup-secondary);
	color: #fff;
	transform: translateY(-1px);
}

.mgroup-button-outline {
	background: transparent;
	color: var(--mgroup-primary);
}

.mgroup-button-outline:hover,
.mgroup-button-outline:focus {
	background: var(--mgroup-primary);
	color: #fff;
}

.mgroup-sector-cloud {
	background: linear-gradient(135deg, rgba(18, 63, 34, .08), rgba(143, 163, 107, .15));
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 22px;
	position: relative;
}

.mgroup-sector-cloud::before {
	background: var(--mgroup-secondary);
	border-radius: 999px;
	content: "";
	height: 72px;
	opacity: .12;
	position: absolute;
	right: 26px;
	top: 26px;
	width: 72px;
}

.mgroup-sector-cloud span {
	background: rgba(255, 255, 255, .86);
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	color: var(--mgroup-primary);
	font-weight: 740;
	min-height: 74px;
	padding: 18px 16px;
	position: relative;
}

.mgroup-section {
	padding: 12px 0;
}

.mgroup-section-head {
	align-items: end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.mgroup-section-head h2,
.mgroup-panel h2,
.mgroup-cta h2,
.mgroup-contact-panel h2 {
	color: var(--mgroup-primary);
	font-size: clamp(32px, 3vw, 42px);
	font-weight: 760;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0;
}

body.mgroup-page-alalaf .mgroup-section-head {
	margin-bottom: 14px;
}

body.mgroup-page-alalaf .mgroup-panel h2,
body.mgroup-page-alalaf .mgroup-cta h2,
body.mgroup-page-alalaf .mgroup-section-head h2 {
	font-size: clamp(34px, 3.2vw, 46px);
}

.mgroup-richtext {
	background: var(--mgroup-card);
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	padding: 24px 28px;
}

.mgroup-richtext p,
.mgroup-panel p,
.mgroup-card p,
.mgroup-cta p,
.mgroup-contact-panel p {
	color: var(--mgroup-muted);
	font-size: 16px;
	line-height: 1.7;
	margin: 10px 0 0;
}

.mgroup-card-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
}

.mgroup-grid-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mgroup-card,
.mgroup-panel {
	background: var(--mgroup-card);
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(18, 63, 34, .05);
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 22px;
}

body.mgroup-page-alalaf .mgroup-panel {
	padding: 24px;
}

.mgroup-card h3 {
	color: var(--mgroup-primary);
	font-size: 20px;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 14px 0 0;
}

.mgroup-card p {
	flex: 1 1 auto;
}

.mgroup-card-link {
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.mgroup-card-link:hover,
.mgroup-card-link:focus {
	border-color: var(--mgroup-accent);
	box-shadow: 0 22px 50px rgba(18, 63, 34, .1);
	transform: translateY(-2px);
}

.mgroup-card-link span {
	align-self: flex-start;
	border-top: 1px solid var(--mgroup-border);
	color: var(--mgroup-secondary);
	display: block;
	font-weight: 740;
	margin-top: auto;
	padding-top: 16px;
	width: 100%;
}

.mgroup-card-icon {
	align-items: center;
	background: #fff;
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	display: flex;
	flex: 0 0 auto;
	height: 58px;
	justify-content: center;
	padding: 8px;
	width: 58px;
}

.mgroup-card-icon img {
	display: block;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.mgroup-card-icon-logo {
	width: 84px;
}

.mgroup-product-grid {
	align-items: stretch;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mgroup-product-card {
	background: var(--mgroup-card);
	border: 1px solid var(--mgroup-border);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(18, 63, 34, .05);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.mgroup-product-image {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid var(--mgroup-border);
	display: flex;
	height: 174px;
	justify-content: center;
	padding: 16px;
}

.mgroup-product-image img {
	display: block;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

.mgroup-product-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px 18px 20px;
}

.mgroup-product-category {
	color: var(--mgroup-secondary);
	font-size: 13px;
	font-weight: 760;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.mgroup-product-card h3 {
	color: var(--mgroup-primary);
	font-size: 21px;
	line-height: 1.2;
	margin: 0;
	min-height: 50px;
}

.mgroup-product-card p:not(.mgroup-product-category) {
	color: var(--mgroup-muted);
	font-size: 15px;
	flex: 1 1 auto;
	line-height: 1.6;
	margin: 8px 0 0;
}

.mgroup-placeholder {
	background:
		linear-gradient(135deg, rgba(18, 63, 34, .08), rgba(143, 163, 107, .12)),
		repeating-linear-gradient(45deg, rgba(31, 106, 54, .08) 0 10px, transparent 10px 20px);
	border: 1px dashed var(--mgroup-accent);
	border-radius: 8px;
	min-height: 150px;
	padding: 24px;
}

.mgroup-placeholder div {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 102px;
}

.mgroup-placeholder span {
	color: var(--mgroup-secondary);
	font-size: 13px;
	font-weight: 760;
	text-transform: uppercase;
}

.mgroup-placeholder strong {
	color: var(--mgroup-primary);
	font-size: 26px;
	line-height: 1.15;
	margin-top: 8px;
}

.mgroup-placeholder p {
	color: var(--mgroup-muted);
	margin: 10px 0 0;
}

.mgroup-two-column {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mgroup-cta,
.mgroup-contact-panel {
	align-items: center;
	background: var(--mgroup-primary);
	border-radius: 8px;
	color: #fff;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding: 26px 30px;
}

.mgroup-cta h2,
.mgroup-cta p,
.mgroup-cta .mgroup-kicker,
.mgroup-contact-panel h2,
.mgroup-contact-panel p {
	color: #fff;
}

.mgroup-cta .mgroup-button,
.mgroup-contact-panel .mgroup-button {
	background: #fff;
	border-color: #fff;
	color: var(--mgroup-primary);
	flex: 0 0 auto;
}

.mgroup-small-note {
	font-size: 14px !important;
	opacity: .82;
}

.mgroup-disclaimer {
	background: #fff;
	border: 1px solid var(--mgroup-border);
	border-left: 5px solid var(--mgroup-secondary);
	border-radius: 8px;
	color: var(--mgroup-text);
	line-height: 1.7;
	margin: 0 auto 34px;
	max-width: 1180px;
	padding: 22px 24px;
}

.mgroup-floating-whatsapp {
	align-items: center;
	background: #1F6A36;
	border-radius: 999px;
	bottom: 24px;
	box-shadow: 0 16px 38px rgba(18, 63, 34, .28);
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 760;
	gap: 8px;
	min-height: 56px;
	padding: 12px 18px;
	position: fixed;
	right: 24px;
	text-decoration: none;
	z-index: 9999;
}

.mgroup-floating-whatsapp:hover,
.mgroup-floating-whatsapp:focus {
	background: #123F22;
	color: #fff;
}

.mgroup-floating-whatsapp svg {
	fill: currentColor;
	height: 26px;
	width: 26px;
}

body .powered-by,
body .footer-html .powered-by,
body .site-footer .powered-by,
body .site-footer .site-info,
body .site-footer .site-info-inner,
body .site-footer .footer-html-inner,
body .site-footer .kadence-footer-html a[href*="kadencewp.com"],
body .site-footer a[href*="kadencewp.com"],
body .site-info a[href*="kadencewp.com"] {
	display: none !important;
}

.mgroup-footer-credit {
	background: #123F22;
	color: #fff;
	margin-inline: calc(50% - 50vw);
	padding: 16px max(24px, calc((100vw - 1180px) / 2));
	text-align: center;
}

.mgroup-footer-credit p {
	color: #fff;
	font-size: 14px;
	font-weight: 640;
	margin: 0;
}

@media (max-width: 1024px) {
	.mgroup-home-hero {
		grid-template-columns: 1fr;
	}

	.mgroup-home-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mgroup-hero,
	.mgroup-card-grid,
	.mgroup-grid-5,
	.mgroup-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.mgroup-page {
		padding: 14px 18px 72px;
	}

	.mgroup-home-hero {
		gap: 22px;
		padding-top: 10px;
	}

	.mgroup-home-hero h1 {
		font-size: 42px;
	}

	.mgroup-home-sector-panel,
	.mgroup-home-card-grid {
		grid-template-columns: 1fr;
	}

	.mgroup-home-card h3 {
		min-height: 0;
	}

	.mgroup-hero,
	.mgroup-card-grid,
	.mgroup-grid-5,
	.mgroup-product-grid,
	.mgroup-two-column {
		grid-template-columns: 1fr;
	}

	.mgroup-hero {
		min-height: 0;
		padding-top: 24px;
	}

	.mgroup-hero h1 {
		font-size: 40px;
	}

	.mgroup-page-intro h1 {
		font-size: 40px;
	}

	.mgroup-brand-hero {
		padding: 22px;
	}

	.mgroup-brand-lockup {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.mgroup-brand-logo {
		max-height: 118px;
		max-width: 168px;
	}

	body.mgroup-page-alalaf .mgroup-brand-hero h1 {
		font-size: 42px;
	}

	body.mgroup-page-alalaf .mgroup-brand-hero .mgroup-lead {
		font-size: 18px;
	}

	.mgroup-product-image {
		height: 168px;
	}

	.mgroup-product-card h3 {
		min-height: 0;
	}

	.mgroup-lead {
		font-size: 17px;
	}

	.mgroup-section-head,
	.mgroup-cta,
	.mgroup-contact-panel {
		align-items: flex-start;
		flex-direction: column;
	}

	.mgroup-cta .mgroup-button,
	.mgroup-contact-panel .mgroup-button,
	.mgroup-actions .mgroup-button {
		width: 100%;
	}

	.mgroup-floating-whatsapp {
		border-radius: 999px;
		bottom: 16px;
		min-height: 54px;
		padding: 12px;
		right: 16px;
	}

	.mgroup-floating-whatsapp span {
		display: none;
	}
}
