/* =========================================================================
   Contact page — [vgl_contact] block
   ========================================================================= */

.vgl-contact {
	position: relative;
	overflow: hidden;
	max-width: 1040px;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 3.2rem);
	border-radius: 26px;
	color: #fff;
	/* flat brand-purple — a background-COLOR, so Elementor's lazy-load
	   "background-image: none !important" strip on 3rd+ containers can't
	   touch it. Depth comes from the inset sheen + the vapour layer. */
	background-color: #6D35BB;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		0 30px 70px -30px rgba(85, 41, 156, 0.5);
}
/* dark band across the bottom — #4800A1 at the edge, blending up into the
   frame's #6D35BB over 400px */
.vgl-contact::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 400px;
	background: linear-gradient(to top, #4800A1 0px, #6D35BB 400px);
	pointer-events: none;
	z-index: 0;
}

.vgl-contact__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(210px, 0.82fr) 1.9fr;
	gap: clamp(1.3rem, 3.4vw, 2.8rem);
	align-items: start;
}

/* ---- left: contact info ------------------------------------------------ */
.vgl-contact__eyebrow {
	margin: 0 0 0.9rem;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.72);
}
.vgl-contact__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: clamp(1.2rem, 2.4vw, 1.55rem);
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	line-height: 1.2;
}
.vgl-contact__phone .vgl-contact__ic {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	flex: 0 0 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
}
.vgl-contact__phone .vgl-contact__ic svg { width: 17px; height: 17px; }
.vgl-contact__phone:hover { color: #EFE4FF; }

.vgl-contact__note {
	margin: 1rem 0 1.6rem;
	max-width: 22rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.vgl-contact__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.vgl-contact__social a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.42rem 0.85rem;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.12);
	transition: background 0.2s ease, transform 0.2s ease;
}
.vgl-contact__social a svg { width: 15px; height: 15px; }
.vgl-contact__social a:hover { background: rgba(255, 255, 255, 0.24); }
@media (prefers-reduced-motion: no-preference) {
	.vgl-contact__social a:hover { transform: translateY(-2px); }
}

/* ---- right: the form in a light panel -------------------------------- */
.vgl-contact__form {
	background: #F5F2FC;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 18px;
	padding: clamp(1.2rem, 3vw, 2.1rem);
}
.vgl-contact__form .fluentform { max-width: none; margin: 0; }
.vgl-contact__form .ff-el-group { margin-bottom: 1rem; }
.vgl-contact__form .ff-el-input--label label { color: var(--vgl-navy, #000B60); }
/* keep the submit button on brand */
.vgl-contact__form .ff-btn-submit {
	background: var(--vgl-navy, #000B60) !important;
	border-color: var(--vgl-navy, #000B60) !important;
}
.vgl-contact__form .ff-btn-submit:hover {
	background: var(--vgl-purple, #6D35BB) !important;
	border-color: var(--vgl-purple, #6D35BB) !important;
}

/* ---- wordmark + vapour --------------------------------------------- */
.vgl-contact__mark {
	position: relative;
	z-index: 2;
	margin-top: clamp(1.6rem, 3.8vw, 2.6rem);
	min-height: 96px;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* vapour fills the bottom band edge-to-edge — it bleeds to the frame
   border on the left, right and bottom (clipped by the frame's rounded
   overflow), no visible gap */
.vgl-vapor {
	--vgl-c-pad: clamp(1.5rem, 4vw, 3.2rem);
	position: absolute;
	left: calc(-1 * var(--vgl-c-pad));
	bottom: calc(-1 * var(--vgl-c-pad));
	width: calc(100% + 2 * var(--vgl-c-pad));
	height: 440px;
	pointer-events: none;
	opacity: 0.8;
	mix-blend-mode: screen;
	filter: blur(9px);
	z-index: 1;
}
.vgl-contact .vgl-contact__mark img.vgl-contact__script {
	position: relative;
	z-index: 1;
	width: 300px;
	max-width: 78%;
	height: auto;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

/* ---- responsive --------------------------------------------------- */
@media (max-width: 700px) {
	.vgl-contact__grid { grid-template-columns: 1fr; }
	.vgl-contact__note { max-width: none; }
}
@media (max-width: 440px) {
	.vgl-contact__script { max-width: 74vw; }
}

@media (prefers-reduced-motion: reduce) {
	.vgl-vapor { display: none; }
}
