:root {
	--mg-teal: #1bafaf;
	--mg-teal-dark: #0a7a7a;
	--mg-teal-deep: #073d3d;
	--mg-coral: #e8503a;
	--mg-coral-dark: #c43d2a;
	--mg-surface: #f2f6f7;
	--mg-text: #1a2e2e;
	--mg-muted: #6b8f8f;
	--mg-border: #d5e8e8;
	--mg-white: #fff;
	--mg-shadow: 0 12px 34px rgba(7, 61, 61, 0.1);
	--mg-radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--mg-surface);
	color: var(--mg-text);
	font-family: "Plus Jakarta Sans", Arial, sans-serif;
	overflow-x: hidden;
}
a { color: var(--mg-teal-dark); text-decoration: none; }
a:hover { color: var(--mg-coral); }
img { max-width: 100%; height: auto; }
.wp-site-blocks { min-height: 100vh; }

.mg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--mg-border);
	box-shadow: 0 4px 18px rgba(7, 61, 61, 0.06);
	backdrop-filter: blur(14px);
}
.admin-bar .mg-header { top: 32px; }
.mg-header__inner {
	min-height: 72px;
	padding: 0 24px;
}
.mg-brand { gap: 10px; }
.mg-site-title a {
	color: var(--mg-text);
	font-size: 1.05rem;
	font-weight: 800;
}
.mg-nav a {
	border-radius: var(--mg-radius);
	color: var(--mg-muted);
	font-size: 0.9rem;
	font-weight: 700;
	padding: 8px 10px;
}
.mg-nav a:hover,
.mg-nav .current-menu-item > a {
	background: #e6f7f7;
	color: var(--mg-teal-dark);
}
.mg-header-cta .wp-block-button__link,
.mg-btn-coral .wp-block-button__link {
	background: var(--mg-coral);
	border-color: var(--mg-coral);
	color: var(--mg-white);
	font-weight: 800;
}
.mg-header-cta .wp-block-button__link:hover,
.mg-btn-coral .wp-block-button__link:hover {
	background: var(--mg-coral-dark);
	color: var(--mg-white);
}
.mg-btn-light .wp-block-button__link {
	color: var(--mg-white);
	border-color: rgba(255, 255, 255, 0.65);
}

.mg-main,
.mg-section {
	padding: 72px 24px;
}
.mg-page {
	background: var(--mg-surface);
}
.mg-inner-hero {
	background: var(--mg-teal-deep);
}
.mg-inner-hero h1,
.mg-inner-hero p {
	color: var(--mg-white);
}
.mg-inner-hero .mg-kicker {
	color: #7de0dc;
}
.mg-inner-title {
	padding: 86px 24px 28px;
	text-align: center;
}
.mg-inner-title h1 {
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
}
.mg-inner-title p {
	margin-left: auto;
	margin-right: auto;
	max-width: 720px;
}
.mg-page-title {
	margin-top: 0;
	text-align: center;
}
.mg-kicker {
	color: var(--mg-teal-dark);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.mg-hero {
	background: var(--mg-teal-deep);
}
.mg-hero .wp-block-cover__inner-container {
	width: min(1200px, calc(100vw - 48px));
}
.mg-hero-title {
	color: var(--mg-white);
	font-size: clamp(2.7rem, 7vw, 5.7rem);
	letter-spacing: 0;
	margin-bottom: 12px;
	max-width: 760px;
}
.mg-hero-copy {
	color: rgba(255, 255, 255, 0.78);
	font-size: 1.1rem;
	max-width: 620px;
}
.mg-search-band {
	margin-top: -42px;
	position: relative;
	z-index: 4;
}
.mg-plot-search {
	align-items: stretch;
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
	padding: 18px;
}
.mg-plot-search select,
.mg-plot-search input,
.mg-contact-form input,
.mg-contact-form textarea {
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	color: var(--mg-text);
	font: inherit;
	min-height: 48px;
	padding: 11px 13px;
	width: 100%;
}
.mg-plot-search button,
.mg-contact-form button {
	background: var(--mg-coral);
	border: 0;
	border-radius: var(--mg-radius);
	color: var(--mg-white);
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	padding: 12px 20px;
}
.mg-plot-search button:hover,
.mg-contact-form button:hover { background: var(--mg-coral-dark); }

.mg-card {
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: 0 8px 24px rgba(7, 61, 61, 0.06);
	overflow: hidden;
	padding-bottom: 20px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mg-card:hover {
	box-shadow: var(--mg-shadow);
	transform: translateY(-4px);
}
.mg-card .wp-block-post-title,
.mg-card .wp-block-post-excerpt {
	padding-left: 20px;
	padding-right: 20px;
}
.mg-card .wp-block-post-title a { color: var(--mg-text); }
.mg-card .wp-block-post-featured-image { margin: 0 0 18px; }
.mg-card .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.mg-image-frame img,
.mg-image-frame {
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	overflow: hidden;
}
.mg-stats .wp-block-column,
.mg-feature-grid .wp-block-column,
.mg-testimonials .wp-block-column,
.mg-process .wp-block-column,
.mg-contact-cards .wp-block-column,
.mg-project-highlights .wp-block-column {
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	padding: 24px;
}
.mg-stats h3 {
	color: var(--mg-teal-dark);
	font-size: 2.3rem;
	margin: 0;
}
.mg-why {
	background: var(--mg-white);
	max-width: none;
}
.mg-soft {
	background: #e6f7f7;
	max-width: none;
}
.mg-project-highlights {
	margin-bottom: 28px;
}
.mg-project-highlights .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.mg-project-highlights strong,
.mg-process span {
	color: var(--mg-coral);
	font-weight: 900;
}
.mg-project-highlights span {
	color: var(--mg-muted);
	font-size: 0.92rem;
}
.mg-check-list {
	list-style: none;
	padding-left: 0;
}
.mg-check-list li {
	margin: 10px 0;
	padding-left: 30px;
	position: relative;
}
.mg-check-list li::before {
	background: var(--mg-teal);
	border-radius: 50%;
	color: var(--mg-white);
	content: "✓";
	font-size: 0.78rem;
	font-weight: 900;
	height: 20px;
	left: 0;
	line-height: 20px;
	position: absolute;
	text-align: center;
	top: 2px;
	width: 20px;
}
.mg-process span {
	display: block;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	margin-bottom: 10px;
}
.mg-gallery-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}
.mg-gallery-filter button {
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	color: var(--mg-teal-dark);
	cursor: pointer;
	font-weight: 800;
	padding: 9px 14px;
}
.mg-gallery-filter button.is-active {
	background: var(--mg-teal-dark);
	color: var(--mg-white);
}
.mg-gallery {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mg-gallery a {
	background: var(--mg-white);
	border-radius: var(--mg-radius);
	display: block;
	overflow: hidden;
}
.mg-gallery img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
.mg-ajax-results {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 24px;
}
.mg-result-card {
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	overflow: hidden;
}
.mg-result-card img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
.mg-result-card__body { padding: 18px; }
.mg-result-meta {
	color: var(--mg-muted);
	font-size: 0.86rem;
}
.mg-contact iframe {
	border: 0;
	border-radius: var(--mg-radius);
	height: 300px;
	width: 100%;
}
.mg-contact-form {
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	display: grid;
	gap: 14px;
	padding: 26px;
}
.mg-contact-form textarea { min-height: 145px; resize: vertical; }
.mg-contact-form select {
	background: var(--mg-white);
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	color: var(--mg-text);
	font: inherit;
	min-height: 48px;
	padding: 11px 13px;
	width: 100%;
}
.mg-form-row {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mg-form-status { color: var(--mg-teal-dark); font-weight: 700; margin: 0; }
.mg-side-panel {
	background: var(--mg-teal-deep);
	border-radius: var(--mg-radius);
	color: rgba(255, 255, 255, 0.75);
	padding: 32px;
	position: sticky;
	top: 98px;
}
.mg-side-panel h3,
.mg-side-panel a {
	color: var(--mg-white);
}
.mg-side-panel .mg-check-list li::before {
	background: var(--mg-coral);
}
.mg-cta {
	background: linear-gradient(135deg, var(--mg-coral), var(--mg-coral-dark));
	color: var(--mg-white);
	padding: 72px 24px;
}
.mg-cta h2,
.mg-cta p { color: var(--mg-white); }

.mg-footer {
	background: var(--mg-teal-deep);
	color: rgba(255, 255, 255, 0.72);
	padding: 60px 24px 20px;
}
.mg-footer h3,
.mg-footer h5 { color: var(--mg-white); }
.mg-footer a { color: rgba(255, 255, 255, 0.78); }
.mg-footer a:hover { color: #7de0dc; }
.mg-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.86rem;
	margin-top: 26px;
	padding-top: 18px;
}
.mg-single-image img {
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
}

.elementor-page .mg-main { padding-top: 0; }
.elementor-template-full-width .wp-site-blocks { padding: 0; }

.mg-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
.mg-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.mg-reveal[data-animation-style="zoom"] {
	transform: scale(0.96);
}
.mg-reveal[data-animation-style="zoom"].is-visible {
	transform: scale(1);
}
.mg-reveal[data-animation-style="slide-left"] {
	transform: translateX(32px);
}
.mg-reveal[data-animation-style="slide-left"].is-visible {
	transform: translateX(0);
}

@media (max-width: 900px) {
	.admin-bar .mg-header { top: 46px; }
	.mg-header-cta { display: none; }
	.mg-plot-search,
	.mg-ajax-results,
	.mg-gallery,
	.mg-form-row {
		grid-template-columns: 1fr;
	}
	.mg-main,
	.mg-section {
		padding: 52px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
	}
}
