/* Contact page — refined professional layout */
.mh-contact-page {
	--mh-gold: #c9a227;
	--mh-gold-deep: #a8861a;
	--mh-ink: #0b1220;
	--mh-slate: #3d4a5c;
	--mh-muted: #6b7789;
	--mh-line: #dde3ec;
	--mh-panel: #f4f6f9;
	--mh-ok: #1f7a3f;
	--mh-err: #b42318;
	--mh-focus: rgba(11, 18, 32, 0.12);
}

.mh-contact-section {
	background: #fff;
}

/* Unified shell */
.mh-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
	min-height: 560px;
	border: 1px solid var(--mh-line);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

@media (max-width: 991px) {
	.mh-shell {
		grid-template-columns: 1fr;
		min-height: 0;
	}
}

/* Home consultation — MNC clean split UI */
.mh-home-consult {
	background:
		linear-gradient(180deg, #fafafa 0%, #ffffff 40%, #ffffff 100%);
}

.mh-shell-consult {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 620px;
	border: none;
	box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
	background: #fff;
}

.mh-shell-consult .mh-shell-form {
	background: #fff;
	padding: 48px 44px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-right: 1px solid #eee;
}

.mh-consult-kicker {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--mh-muted);
}

.mh-consult-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--mh-ink);
	letter-spacing: -0.01em;
}

.mh-shell-consult .mh-head {
	margin-bottom: 26px;
}

.mh-shell-consult .mh-lead {
	max-width: 420px;
	font-size: 15px;
	color: #6b7280;
}

.mh-shell-consult .mh-field {
	margin-bottom: 16px;
}

.mh-shell-consult .mh-field label {
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--mh-slate);
}

.mh-shell-consult .mh-field .form-control {
	height: 48px;
	border: 1px solid #e5e7eb;
	background: #fff;
	padding: 12px 14px;
	font-size: 14px;
	color: #111827;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-shell-consult .mh-field textarea.form-control {
	min-height: 110px;
}

.mh-shell-consult .mh-field .form-control:hover {
	border-color: #d1d5db;
}

.mh-shell-consult .mh-field .form-control:focus {
	border-color: #94a3b8;
	box-shadow: 0 0 0 3px var(--mh-focus);
	background: #fff;
}

.mh-shell-consult .mh-captcha-code {
	min-width: 0;
	font-size: 18px;
	letter-spacing: 0.18em;
}

.mh-form-actions-full {
	justify-content: stretch;
	margin-top: 8px;
}

.mh-submit-btn-wide {
	width: 100%;
	min-width: 0;
	height: 52px;
	letter-spacing: 0.12em;
}

.mh-shell-media {
	position: relative;
	min-height: 100%;
	background: #111;
	overflow: hidden;
}

.mh-shell-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: absolute;
	inset: 0;
	transform: scale(1.01);
}

.mh-shell-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
	pointer-events: none;
}

@media (max-width: 991px) {
	.mh-shell-consult {
		min-height: 0;
	}

	.mh-shell-consult .mh-shell-form {
		padding: 32px 22px 28px;
		border-right: 0;
		border-top: 1px solid #eee;
	}

	.mh-shell-media {
		min-height: 280px;
		order: -1;
	}
}

.mh-shell-form {
	background: var(--mh-panel);
	padding: 42px 40px 40px;
}

.mh-shell-info {
	background: var(--mh-ink);
	color: #fff;
	padding: 42px 34px 36px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.mh-shell-info::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--mh-gold);
}

.mh-head {
	margin-bottom: 28px;
}

.mh-head .mt-separator {
	margin-bottom: 14px;
}

.mh-head .sep-line-one {
	font-size: 28px;
	letter-spacing: 0.02em;
}

.mh-head-light .mh-lead {
	color: rgba(255, 255, 255, 0.72);
}

.mh-lead {
	margin: 0;
	max-width: 480px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--mh-muted);
}

/* Form */
.mh-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

@media (max-width: 575px) {
	.mh-row-2 {
		grid-template-columns: 1fr;
	}

	.mh-shell-form,
	.mh-shell-info {
		padding: 30px 22px;
	}
}

.mh-field {
	margin-bottom: 18px;
}

.mh-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mh-slate);
}

.mh-field label span {
	color: #94a3b8;
	font-weight: 500;
}

.mh-field .form-control {
	height: 50px;
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	padding: 12px 16px;
	font-size: 15px;
	color: var(--mh-ink);
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-field textarea.form-control {
	height: auto;
	min-height: 128px;
	resize: vertical;
}

.mh-field .form-control:focus {
	outline: none;
	border-color: #94a3b8;
	box-shadow: 0 0 0 3px var(--mh-focus);
	background: #fff;
}

.mh-field .form-control.is-invalid {
	border-color: var(--mh-err);
	box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.mh-field-error {
	display: none;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--mh-err);
}

.mh-field.has-error .mh-field-error {
	display: block;
}

/* Captcha */
.mh-captcha-row {
	display: grid;
	grid-template-columns: 132px 46px 1fr;
	gap: 10px;
	align-items: stretch;
}

@media (max-width: 480px) {
	.mh-captcha-row {
		grid-template-columns: 1fr 46px;
	}

	.mh-captcha-input {
		grid-column: 1 / -1;
	}
}

.mh-captcha-code {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	background:
		repeating-linear-gradient(
			-55deg,
			#e8edf4,
			#e8edf4 6px,
			#f1f4f8 6px,
			#f1f4f8 12px
		);
	color: var(--mh-ink);
	font-family: Consolas, "Courier New", monospace;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.2em;
	user-select: none;
	border: 1px solid var(--mh-line);
}

.mh-captcha-refresh {
	border: 1px solid var(--mh-line);
	background: #fff;
	color: var(--mh-slate);
	cursor: pointer;
	font-size: 16px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mh-captcha-refresh:hover {
	background: var(--mh-ink);
	border-color: var(--mh-ink);
	color: #fff;
}

.mh-captcha-input {
	min-width: 0;
}

.mh-form-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 6px;
}

.mh-submit-btn,
.mh-contact-page .site-button.mh-submit-btn {
	position: relative;
	min-width: 170px;
	height: 50px;
	padding: 0 28px !important;
	line-height: 50px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: none !important;
	background: var(--mh-gold) !important;
	background-color: var(--mh-gold) !important;
	color: var(--mh-ink) !important;
	box-shadow: none !important;
	overflow: visible;
}

.mh-submit-btn:hover,
.mh-submit-btn:focus,
.mh-contact-page .site-button.mh-submit-btn:hover,
.mh-contact-page .site-button.mh-submit-btn:focus {
	background: #dbb436 !important;
	background-color: #dbb436 !important;
	color: var(--mh-ink) !important;
}

/* Remove theme L-corner decorations on form CTA */
.mh-submit-btn.btn-effect::before,
.mh-submit-btn.btn-effect::after,
.mh-contact-page .site-button.mh-submit-btn.btn-effect::before,
.mh-contact-page .site-button.mh-submit-btn.btn-effect::after {
	display: none !important;
	content: none !important;
}

.mh-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Info panel */
.mh-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
}

.mh-info-list li {
	display: flex;
	gap: 16px;
	margin-bottom: 26px;
}

.mh-info-list li:last-child {
	margin-bottom: 0;
}

.mh-ico {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(245, 191, 35, 0.35);
	color: var(--mh-gold);
	font-size: 16px;
}

.mh-info-list strong {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mh-gold);
}

.mh-info-list p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86);
}

.mh-info-list a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.mh-info-list a:hover {
	color: var(--mh-gold);
	border-bottom-color: rgba(245, 191, 35, 0.5);
}

.mh-quick-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mh-quick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 8px 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mh-quick:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: var(--mh-gold);
	color: var(--mh-gold) !important;
}

.mh-quick-wa:hover {
	border-color: #25d366;
	color: #25d366 !important;
}

/* Map */
.mh-map-block {
	margin-top: 36px;
}

.mh-map-caption {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 18px;
	margin-bottom: 14px;
}

.mh-map-caption strong {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mh-ink);
}

.mh-map-caption span {
	font-size: 14px;
	color: var(--mh-muted);
}

.mh-map-wrap {
	border: 1px solid var(--mh-line);
	overflow: hidden;
	background: #fafafa;
}

.mh-map-wrap iframe {
	display: block;
	width: 100%;
	border: 0;
	min-height: 400px;
	filter: grayscale(18%) contrast(1.02);
}

/* Toast */
.mh-toast-host {
	position: fixed;
	top: 90px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2147483000;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: min(420px, calc(100vw - 32px));
	pointer-events: none;
}

.mh-toast {
	pointer-events: auto;
	width: 100%;
	padding: 16px 18px;
	background: #111;
	color: #fff;
	border: 1px solid #111;
	border-left: 4px solid var(--mh-gold);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	display: flex;
	align-items: flex-start;
	gap: 12px;
	opacity: 1;
	transform: translateY(0);
}

.mh-toast.success {
	background: #14532d;
	border-color: #14532d;
	border-left-color: #4ade80;
}

.mh-toast.error {
	background: #7f1d1d;
	border-color: #7f1d1d;
	border-left-color: #f87171;
}

.mh-toast-icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #111;
	background: var(--mh-gold);
}

.mh-toast.success .mh-toast-icon {
	background: #4ade80;
	color: #14532d;
}

.mh-toast.error .mh-toast-icon {
	background: #f87171;
	color: #7f1d1d;
}

.mh-toast-body {
	flex: 1;
	padding-top: 2px;
	font-size: 14px;
	line-height: 1.45;
	color: #fff;
	font-weight: 500;
}

.mh-toast-close {
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
}

.mh-toast-close:hover {
	color: #fff;
}

@media (max-width: 575px) {
	.mh-quick-links {
		grid-template-columns: 1fr;
	}

	.mh-toast-host {
		top: 72px;
	}
}
