/* Homepage three-column Contact Us section. */

.msf-contact-home {
	position: relative;
	overflow: hidden;
	padding-bottom: clamp(4.5rem, 7vw, 7rem);
	margin-bottom: -1px;
	background:
		radial-gradient(circle at 7% 16%, rgba(137, 184, 43, 0.12), transparent 22%),
		radial-gradient(circle at 94% 86%, rgba(210, 150, 14, 0.1), transparent 24%),
		var(--msf-light) !important;
}

.msf-contact-home__shape {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.msf-contact-home__shape--one {
	top: 18%;
	left: -125px;
	width: 270px;
	height: 270px;
	border: 48px solid rgba(137, 184, 43, 0.07);
}

.msf-contact-home__shape--two {
	right: -90px;
	bottom: -105px;
	width: 260px;
	height: 260px;
	background: rgba(210, 150, 14, 0.055);
}

.msf-contact-home__heading {
	position: relative;
	z-index: 2;
	max-width: 970px;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.msf-contact-home__heading p {
	max-width: 860px;
	margin-inline: auto;
}

.msf-contact-home__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.86fr) minmax(0, 0.86fr);
	gap: clamp(1rem, 1.9vw, 1.75rem);
	align-items: stretch;
}

.msf-contact-home__card {
	min-width: 0;
	padding: clamp(1.25rem, 2.3vw, 2rem);
	border: 1px solid rgba(14, 35, 56, 0.1);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 22px 56px rgba(14, 35, 56, 0.11);
}

.msf-contact-home__card--form {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 252, 0.98));
}

.msf-contact-home__card--details {
	background:
		radial-gradient(circle at 100% 0, rgba(137, 184, 43, 0.13), transparent 31%),
		var(--msf-white);
}

.msf-contact-home__card-heading {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 0.9rem;
	align-items: start;
	margin-bottom: 1.35rem;
}

.msf-contact-home__card-heading h3 {
	margin: 0;
	font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.msf-contact-home__card-heading p {
	margin: 0.35rem 0 0;
	color: var(--msf-muted);
	font-size: 0.84rem;
	line-height: 1.6;
}

.msf-contact-home__card-icon {
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border-radius: 17px 17px 17px 6px;
	background: var(--msf-green-soft);
	color: var(--msf-green-dark);
}

.msf-contact-home__card-icon--gold {
	background: #fff0d6;
	color: var(--msf-gold-dark);
}

.msf-contact-home__card-icon--navy {
	background: var(--msf-navy);
	color: var(--msf-white);
}

.msf-contact-home__card-icon .msf-icon {
	width: 25px;
	height: 25px;
}

.msf-contact-home .msf-form {
	gap: 0.85rem;
}

.msf-contact-home .msf-form-grid {
	gap: 0.75rem;
}

.msf-contact-home .msf-field > span,
.msf-contact-home .msf-checkbox-field {
	font-size: 0.72rem;
}

.msf-contact-home .msf-field input,
.msf-contact-home .msf-field textarea {
	min-height: 44px;
	padding: 0.72rem 0.8rem;
	border-radius: 12px;
}

.msf-contact-home .msf-field textarea {
	min-height: 116px;
	resize: vertical;
}

.msf-contact-home .msf-form > .msf-button {
	justify-self: start;
}

.msf-contact-home__map {
	overflow: hidden;
	min-height: 330px;
	border: 1px solid var(--msf-border);
	border-radius: 18px;
	background: linear-gradient(145deg, var(--msf-green-soft), #e3edf2);
}

.msf-contact-home__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 330px;
	border: 0;
}

.msf-contact-home__map-placeholder {
	display: grid;
	min-height: 330px;
	place-items: center;
	align-content: center;
	gap: 0.8rem;
	padding: 1.5rem;
	color: var(--msf-green-dark);
	text-align: center;
}

.msf-contact-home__map-placeholder .msf-icon {
	width: 52px;
	height: 52px;
}

.msf-contact-home__map-placeholder strong {
	max-width: 260px;
	font-size: 0.84rem;
	line-height: 1.55;
}

.msf-contact-home__map-link {
	margin-top: 1rem;
}

.msf-contact-home__details {
	display: grid;
	gap: 0.78rem;
}

.msf-contact-home__detail {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding: 0.8rem;
	border: 1px solid var(--msf-border);
	border-radius: 14px;
	background: var(--msf-light);
}

.msf-contact-home__detail > span {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 13px;
	background: var(--msf-white);
	color: var(--msf-green-dark);
	box-shadow: 0 8px 18px rgba(14, 35, 56, 0.07);
}

.msf-contact-home__detail > span .msf-icon {
	width: 19px;
	height: 19px;
}

.msf-contact-home__detail small,
.msf-contact-home__detail a,
.msf-contact-home__detail p {
	display: block;
}

.msf-contact-home__detail small {
	margin-bottom: 0.18rem;
	color: var(--msf-green-dark);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.msf-contact-home__detail a,
.msf-contact-home__detail p {
	margin: 0;
	color: var(--msf-navy);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.55;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.msf-contact-home__detail a:hover {
	color: var(--msf-green-dark);
}

.msf-contact-home__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.2rem;
}

.msf-contact-home__actions .msf-button {
	min-height: 44px;
	padding-inline: 1rem;
	font-size: 0.68rem;
}

@media (max-width: 1180px) {
	.msf-contact-home__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.msf-contact-home__card--form {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	.msf-contact-home__grid,
	.msf-contact-home .msf-form-grid--two {
		grid-template-columns: 1fr;
	}

	.msf-contact-home__card--form {
		grid-column: auto;
	}

	.msf-contact-home__card {
		border-radius: 20px;
	}

	.msf-contact-home__map,
	.msf-contact-home__map iframe,
	.msf-contact-home__map-placeholder {
		min-height: 280px;
	}

	.msf-contact-home .msf-form > .msf-button,
	.msf-contact-home__actions .msf-button {
		width: 100%;
	}
}
