/* ==========================================================================
   Contact Us (was Elementor page #34102): greeting, heading, CF7 form + contact boxes.
   Form fields are styled by the old child-theme rules (legacy-child.css, "Contact form css").
   Breakpoints: laptop <=1366, tablet <=1024, mobile <=767.
   ========================================================================== */

.mlc-contact > div,
.mlc-contact [class*="mlc-contact-"] { position: relative; }

.mlc-contact .mlc-img img { vertical-align: middle; }

/* --- Greeting ----------------------------------------------------------------------------- */
.mlc-contact-hello {
	display: flex;
	margin-top: 3%;
	padding: 0 10%;
}

.mlc-contact-hello__inner {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	align-self: center;
	gap: 0 20px;
	width: 100%;
}

.mlc-contact-hello__icon {
	flex: 0 0 auto;
	width: 4.303%;
	max-width: 4.303%;
	text-align: end;
}

.mlc-contact-hello__text {
	flex: 0 0 auto;
	align-self: center;
	max-width: 100%;
	padding: 12px 0 0;
	color: var(--mlc-blue);
	font-family: var(--mlc-font);
	font-size: 19px;
	font-weight: 400;
	text-align: start;
}

/* --- Heading --------------------------------------------------------------------------------- */
.mlc-contact-head {
	display: flex;
	justify-content: center;
	margin: 1% 0 3%;
	padding: 0 10%;
}

.mlc-contact-head__inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: 90%;
}

.mlc-contact .mlc-contact-head__title {
	align-self: center;
	max-width: 100%;
	color: #000;
	font-family: var(--mlc-font);
	font-size: 40px;
	font-weight: 700;
	text-align: center;
}

.mlc-contact-head__desc {
	flex: 0 0 auto;
	width: 103.951%;
	max-width: 100%; /* as rendered before: the 103.951% width is capped by the column */
	text-align: center;
}

/* --- Form + contact boxes ------------------------------------------------------------------- */
.mlc-contact-main {
	display: flex;
	margin: 3% 0;
	padding: 0 10%;
}

.mlc-contact-main__inner {
	display: flex;
	gap: 20px;
	width: 100%;
	padding: 10px;
}

.mlc-contact-main__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 60%;
	padding: 10px;
}

.mlc-contact-form { max-width: 100%; }

.mlc-contact-main__info {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 40%;
	padding: 10px;
}

.mlc-contact-box {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0 20px;
	width: 100%;
	min-height: 95px;
	padding: 0 38px;
	border-radius: 10px;
}

.mlc-contact-box--mail { background-color: #ffe9e3; }
.mlc-contact-box--call { background-color: #ecf0ff; }
.mlc-contact-box--follow { background-color: #e8eaf2; }

.mlc-contact-box > * { max-width: 100%; }

.mlc-contact .mlc-contact-box__title {
	color: var(--mlc-dark);
	font-family: var(--mlc-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 57.87px;
}

.mlc-contact .mlc-contact-box__title--follow { line-height: 28px; }

.mlc-contact-box__phone {
	color: var(--mlc-text);
	font-family: var(--mlc-font);
	font-size: 18px;
	font-weight: 400;
}

/* Social icons: shared .mlc-social-icons (main.css); size per breakpoint here */
.mlc-contact-social {
	--icon-size: 22px;
	align-self: center;
}

/* Laptop */
@media (max-width: 1366px) {
	.mlc-contact-hello,
	.mlc-contact-head,
	.mlc-contact-main { padding: 0 4%; }

	.mlc-contact-head__inner { padding: 0 4px; }

	.mlc-contact-box {
		gap: 0 10px;
		padding: 0 15px;
	}

	.mlc-contact .mlc-contact-box__title--mail {
		font-size: 19px;
		line-height: 25px;
	}

	.mlc-contact-social { --icon-size: 17px; }
}

/* Tablet */
@media (max-width: 1024px) {
	.mlc-contact-hello,
	.mlc-contact-head,
	.mlc-contact-main { padding: 0 3%; }

	.mlc-contact-hello__icon {
		width: auto;
		max-width: none;
	}

	.mlc-contact-head__inner {
		margin-top: 10px;
		padding: 0 3%;
	}

	.mlc-contact-main__inner { flex-direction: column; }

	.mlc-contact-box {
		gap: 0 20px;
		padding: 0 38px;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.mlc-contact-main__form,
	.mlc-contact-main__info { width: 100%; }
}

/* Mobile */
@media (max-width: 767px) {
	.mlc-contact-hello { padding: 0 5%; }
	.mlc-contact-hello__inner {
		flex-wrap: wrap;
		align-items: center;
	}
	.mlc-contact-hello__text { text-align: center; }

	.mlc-contact-head { padding: 0 5%; }

	.mlc-contact-head__inner {
		width: 100%;
		margin-top: 10px;
		padding: 0;
	}

	.mlc-contact .mlc-contact-head__title {
		font-size: 28px;
		line-height: 38px;
	}

	.mlc-contact-head__desc {
		width: 100%;
		max-width: 100%;
	}

	.mlc-contact-main {
		margin: 3em 0;
		padding: 0 5%;
	}

	.mlc-contact-main__inner { padding: 0; }

	.mlc-contact-main__form,
	.mlc-contact-main__info { width: 100%; }

	.mlc-contact-main__info { padding: 0; }

	.mlc-contact-box {
		flex-wrap: wrap;
		gap: 10px;
		padding: 0 15px;
	}

	.mlc-contact-box__phone { font-size: 14px; }
	.mlc-contact-social { --icon-size: 18px; }
}
